// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: greptime/v1/meta/ddl.proto

package greptime.v1.meta;

public final class Ddl {
  private Ddl() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code greptime.v1.meta.DdlTaskType}
   */
  public enum DdlTaskType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>Create = 0;</code>
     */
    Create(0),
    /**
     * <code>Drop = 1;</code>
     */
    Drop(1),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>Create = 0;</code>
     */
    public static final int Create_VALUE = 0;
    /**
     * <code>Drop = 1;</code>
     */
    public static final int Drop_VALUE = 1;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static DdlTaskType valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static DdlTaskType forNumber(int value) {
      switch (value) {
        case 0: return Create;
        case 1: return Drop;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<DdlTaskType>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        DdlTaskType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<DdlTaskType>() {
            public DdlTaskType findValueByNumber(int number) {
              return DdlTaskType.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.getDescriptor().getEnumTypes().get(0);
    }

    private static final DdlTaskType[] VALUES = values();

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

    private final int value;

    private DdlTaskType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:greptime.v1.meta.DdlTaskType)
  }

  public interface CreateDatabaseTaskOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.CreateDatabaseTask)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
     * @return Whether the createDatabase field is set.
     */
    boolean hasCreateDatabase();
    /**
     * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
     * @return The createDatabase.
     */
    io.greptime.v1.Ddl.CreateDatabaseExpr getCreateDatabase();
    /**
     * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
     */
    io.greptime.v1.Ddl.CreateDatabaseExprOrBuilder getCreateDatabaseOrBuilder();
  }
  /**
   * Protobuf type {@code greptime.v1.meta.CreateDatabaseTask}
   */
  public static final class CreateDatabaseTask extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.CreateDatabaseTask)
      CreateDatabaseTaskOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CreateDatabaseTask.newBuilder() to construct.
    private CreateDatabaseTask(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private CreateDatabaseTask() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new CreateDatabaseTask();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CreateDatabaseTask(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              io.greptime.v1.Ddl.CreateDatabaseExpr.Builder subBuilder = null;
              if (createDatabase_ != null) {
                subBuilder = createDatabase_.toBuilder();
              }
              createDatabase_ = input.readMessage(io.greptime.v1.Ddl.CreateDatabaseExpr.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(createDatabase_);
                createDatabase_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateDatabaseTask_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateDatabaseTask_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.CreateDatabaseTask.class, greptime.v1.meta.Ddl.CreateDatabaseTask.Builder.class);
    }

    public static final int CREATE_DATABASE_FIELD_NUMBER = 1;
    private io.greptime.v1.Ddl.CreateDatabaseExpr createDatabase_;
    /**
     * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
     * @return Whether the createDatabase field is set.
     */
    @java.lang.Override
    public boolean hasCreateDatabase() {
      return createDatabase_ != null;
    }
    /**
     * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
     * @return The createDatabase.
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.CreateDatabaseExpr getCreateDatabase() {
      return createDatabase_ == null ? io.greptime.v1.Ddl.CreateDatabaseExpr.getDefaultInstance() : createDatabase_;
    }
    /**
     * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.CreateDatabaseExprOrBuilder getCreateDatabaseOrBuilder() {
      return getCreateDatabase();
    }

    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 (createDatabase_ != null) {
        output.writeMessage(1, getCreateDatabase());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (createDatabase_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getCreateDatabase());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.CreateDatabaseTask)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.CreateDatabaseTask other = (greptime.v1.meta.Ddl.CreateDatabaseTask) obj;

      if (hasCreateDatabase() != other.hasCreateDatabase()) return false;
      if (hasCreateDatabase()) {
        if (!getCreateDatabase()
            .equals(other.getCreateDatabase())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasCreateDatabase()) {
        hash = (37 * hash) + CREATE_DATABASE_FIELD_NUMBER;
        hash = (53 * hash) + getCreateDatabase().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.CreateDatabaseTask parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateDatabaseTask parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateDatabaseTask parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateDatabaseTask parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateDatabaseTask parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateDatabaseTask parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateDatabaseTask parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateDatabaseTask 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 greptime.v1.meta.Ddl.CreateDatabaseTask parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateDatabaseTask 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 greptime.v1.meta.Ddl.CreateDatabaseTask parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateDatabaseTask 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(greptime.v1.meta.Ddl.CreateDatabaseTask 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 greptime.v1.meta.CreateDatabaseTask}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.CreateDatabaseTask)
        greptime.v1.meta.Ddl.CreateDatabaseTaskOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateDatabaseTask_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateDatabaseTask_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.CreateDatabaseTask.class, greptime.v1.meta.Ddl.CreateDatabaseTask.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.CreateDatabaseTask.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (createDatabaseBuilder_ == null) {
          createDatabase_ = null;
        } else {
          createDatabase_ = null;
          createDatabaseBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateDatabaseTask_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateDatabaseTask getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.CreateDatabaseTask.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateDatabaseTask build() {
        greptime.v1.meta.Ddl.CreateDatabaseTask result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateDatabaseTask buildPartial() {
        greptime.v1.meta.Ddl.CreateDatabaseTask result = new greptime.v1.meta.Ddl.CreateDatabaseTask(this);
        if (createDatabaseBuilder_ == null) {
          result.createDatabase_ = createDatabase_;
        } else {
          result.createDatabase_ = createDatabaseBuilder_.build();
        }
        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 greptime.v1.meta.Ddl.CreateDatabaseTask) {
          return mergeFrom((greptime.v1.meta.Ddl.CreateDatabaseTask)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.CreateDatabaseTask other) {
        if (other == greptime.v1.meta.Ddl.CreateDatabaseTask.getDefaultInstance()) return this;
        if (other.hasCreateDatabase()) {
          mergeCreateDatabase(other.getCreateDatabase());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.CreateDatabaseTask parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.CreateDatabaseTask) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private io.greptime.v1.Ddl.CreateDatabaseExpr createDatabase_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.CreateDatabaseExpr, io.greptime.v1.Ddl.CreateDatabaseExpr.Builder, io.greptime.v1.Ddl.CreateDatabaseExprOrBuilder> createDatabaseBuilder_;
      /**
       * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
       * @return Whether the createDatabase field is set.
       */
      public boolean hasCreateDatabase() {
        return createDatabaseBuilder_ != null || createDatabase_ != null;
      }
      /**
       * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
       * @return The createDatabase.
       */
      public io.greptime.v1.Ddl.CreateDatabaseExpr getCreateDatabase() {
        if (createDatabaseBuilder_ == null) {
          return createDatabase_ == null ? io.greptime.v1.Ddl.CreateDatabaseExpr.getDefaultInstance() : createDatabase_;
        } else {
          return createDatabaseBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
       */
      public Builder setCreateDatabase(io.greptime.v1.Ddl.CreateDatabaseExpr value) {
        if (createDatabaseBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          createDatabase_ = value;
          onChanged();
        } else {
          createDatabaseBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
       */
      public Builder setCreateDatabase(
          io.greptime.v1.Ddl.CreateDatabaseExpr.Builder builderForValue) {
        if (createDatabaseBuilder_ == null) {
          createDatabase_ = builderForValue.build();
          onChanged();
        } else {
          createDatabaseBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
       */
      public Builder mergeCreateDatabase(io.greptime.v1.Ddl.CreateDatabaseExpr value) {
        if (createDatabaseBuilder_ == null) {
          if (createDatabase_ != null) {
            createDatabase_ =
              io.greptime.v1.Ddl.CreateDatabaseExpr.newBuilder(createDatabase_).mergeFrom(value).buildPartial();
          } else {
            createDatabase_ = value;
          }
          onChanged();
        } else {
          createDatabaseBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
       */
      public Builder clearCreateDatabase() {
        if (createDatabaseBuilder_ == null) {
          createDatabase_ = null;
          onChanged();
        } else {
          createDatabase_ = null;
          createDatabaseBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
       */
      public io.greptime.v1.Ddl.CreateDatabaseExpr.Builder getCreateDatabaseBuilder() {
        
        onChanged();
        return getCreateDatabaseFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
       */
      public io.greptime.v1.Ddl.CreateDatabaseExprOrBuilder getCreateDatabaseOrBuilder() {
        if (createDatabaseBuilder_ != null) {
          return createDatabaseBuilder_.getMessageOrBuilder();
        } else {
          return createDatabase_ == null ?
              io.greptime.v1.Ddl.CreateDatabaseExpr.getDefaultInstance() : createDatabase_;
        }
      }
      /**
       * <code>.greptime.v1.CreateDatabaseExpr create_database = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.CreateDatabaseExpr, io.greptime.v1.Ddl.CreateDatabaseExpr.Builder, io.greptime.v1.Ddl.CreateDatabaseExprOrBuilder> 
          getCreateDatabaseFieldBuilder() {
        if (createDatabaseBuilder_ == null) {
          createDatabaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.greptime.v1.Ddl.CreateDatabaseExpr, io.greptime.v1.Ddl.CreateDatabaseExpr.Builder, io.greptime.v1.Ddl.CreateDatabaseExprOrBuilder>(
                  getCreateDatabase(),
                  getParentForChildren(),
                  isClean());
          createDatabase_ = null;
        }
        return createDatabaseBuilder_;
      }
      @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:greptime.v1.meta.CreateDatabaseTask)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.CreateDatabaseTask)
    private static final greptime.v1.meta.Ddl.CreateDatabaseTask DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.CreateDatabaseTask();
    }

    public static greptime.v1.meta.Ddl.CreateDatabaseTask getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateDatabaseTask getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface CreateTableTaskOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.CreateTableTask)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
     * @return Whether the createTable field is set.
     */
    boolean hasCreateTable();
    /**
     * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
     * @return The createTable.
     */
    io.greptime.v1.Ddl.CreateTableExpr getCreateTable();
    /**
     * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
     */
    io.greptime.v1.Ddl.CreateTableExprOrBuilder getCreateTableOrBuilder();

    /**
     * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
     */
    java.util.List<greptime.v1.meta.Route.Partition> 
        getPartitionsList();
    /**
     * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
     */
    greptime.v1.meta.Route.Partition getPartitions(int index);
    /**
     * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
     */
    int getPartitionsCount();
    /**
     * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
     */
    java.util.List<? extends greptime.v1.meta.Route.PartitionOrBuilder> 
        getPartitionsOrBuilderList();
    /**
     * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
     */
    greptime.v1.meta.Route.PartitionOrBuilder getPartitionsOrBuilder(
        int index);

    /**
     * <code>bytes table_info = 3;</code>
     * @return The tableInfo.
     */
    com.google.protobuf.ByteString getTableInfo();
  }
  /**
   * Protobuf type {@code greptime.v1.meta.CreateTableTask}
   */
  public static final class CreateTableTask extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.CreateTableTask)
      CreateTableTaskOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CreateTableTask.newBuilder() to construct.
    private CreateTableTask(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private CreateTableTask() {
      partitions_ = java.util.Collections.emptyList();
      tableInfo_ = com.google.protobuf.ByteString.EMPTY;
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new CreateTableTask();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CreateTableTask(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              io.greptime.v1.Ddl.CreateTableExpr.Builder subBuilder = null;
              if (createTable_ != null) {
                subBuilder = createTable_.toBuilder();
              }
              createTable_ = input.readMessage(io.greptime.v1.Ddl.CreateTableExpr.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(createTable_);
                createTable_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                partitions_ = new java.util.ArrayList<greptime.v1.meta.Route.Partition>();
                mutable_bitField0_ |= 0x00000001;
              }
              partitions_.add(
                  input.readMessage(greptime.v1.meta.Route.Partition.parser(), extensionRegistry));
              break;
            }
            case 26: {

              tableInfo_ = input.readBytes();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          partitions_ = java.util.Collections.unmodifiableList(partitions_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateTableTask_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateTableTask_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.CreateTableTask.class, greptime.v1.meta.Ddl.CreateTableTask.Builder.class);
    }

    public static final int CREATE_TABLE_FIELD_NUMBER = 1;
    private io.greptime.v1.Ddl.CreateTableExpr createTable_;
    /**
     * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
     * @return Whether the createTable field is set.
     */
    @java.lang.Override
    public boolean hasCreateTable() {
      return createTable_ != null;
    }
    /**
     * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
     * @return The createTable.
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.CreateTableExpr getCreateTable() {
      return createTable_ == null ? io.greptime.v1.Ddl.CreateTableExpr.getDefaultInstance() : createTable_;
    }
    /**
     * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.CreateTableExprOrBuilder getCreateTableOrBuilder() {
      return getCreateTable();
    }

    public static final int PARTITIONS_FIELD_NUMBER = 2;
    private java.util.List<greptime.v1.meta.Route.Partition> partitions_;
    /**
     * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
     */
    @java.lang.Override
    public java.util.List<greptime.v1.meta.Route.Partition> getPartitionsList() {
      return partitions_;
    }
    /**
     * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
     */
    @java.lang.Override
    public java.util.List<? extends greptime.v1.meta.Route.PartitionOrBuilder> 
        getPartitionsOrBuilderList() {
      return partitions_;
    }
    /**
     * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
     */
    @java.lang.Override
    public int getPartitionsCount() {
      return partitions_.size();
    }
    /**
     * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Route.Partition getPartitions(int index) {
      return partitions_.get(index);
    }
    /**
     * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Route.PartitionOrBuilder getPartitionsOrBuilder(
        int index) {
      return partitions_.get(index);
    }

    public static final int TABLE_INFO_FIELD_NUMBER = 3;
    private com.google.protobuf.ByteString tableInfo_;
    /**
     * <code>bytes table_info = 3;</code>
     * @return The tableInfo.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getTableInfo() {
      return tableInfo_;
    }

    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 (createTable_ != null) {
        output.writeMessage(1, getCreateTable());
      }
      for (int i = 0; i < partitions_.size(); i++) {
        output.writeMessage(2, partitions_.get(i));
      }
      if (!tableInfo_.isEmpty()) {
        output.writeBytes(3, tableInfo_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (createTable_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getCreateTable());
      }
      for (int i = 0; i < partitions_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, partitions_.get(i));
      }
      if (!tableInfo_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(3, tableInfo_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.CreateTableTask)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.CreateTableTask other = (greptime.v1.meta.Ddl.CreateTableTask) obj;

      if (hasCreateTable() != other.hasCreateTable()) return false;
      if (hasCreateTable()) {
        if (!getCreateTable()
            .equals(other.getCreateTable())) return false;
      }
      if (!getPartitionsList()
          .equals(other.getPartitionsList())) return false;
      if (!getTableInfo()
          .equals(other.getTableInfo())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasCreateTable()) {
        hash = (37 * hash) + CREATE_TABLE_FIELD_NUMBER;
        hash = (53 * hash) + getCreateTable().hashCode();
      }
      if (getPartitionsCount() > 0) {
        hash = (37 * hash) + PARTITIONS_FIELD_NUMBER;
        hash = (53 * hash) + getPartitionsList().hashCode();
      }
      hash = (37 * hash) + TABLE_INFO_FIELD_NUMBER;
      hash = (53 * hash) + getTableInfo().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.CreateTableTask parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateTableTask parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateTableTask parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateTableTask parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateTableTask parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateTableTask parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateTableTask parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateTableTask 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 greptime.v1.meta.Ddl.CreateTableTask parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateTableTask 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 greptime.v1.meta.Ddl.CreateTableTask parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateTableTask 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(greptime.v1.meta.Ddl.CreateTableTask 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 greptime.v1.meta.CreateTableTask}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.CreateTableTask)
        greptime.v1.meta.Ddl.CreateTableTaskOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateTableTask_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateTableTask_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.CreateTableTask.class, greptime.v1.meta.Ddl.CreateTableTask.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.CreateTableTask.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getPartitionsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (createTableBuilder_ == null) {
          createTable_ = null;
        } else {
          createTable_ = null;
          createTableBuilder_ = null;
        }
        if (partitionsBuilder_ == null) {
          partitions_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          partitionsBuilder_.clear();
        }
        tableInfo_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateTableTask_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateTableTask getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.CreateTableTask.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateTableTask build() {
        greptime.v1.meta.Ddl.CreateTableTask result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateTableTask buildPartial() {
        greptime.v1.meta.Ddl.CreateTableTask result = new greptime.v1.meta.Ddl.CreateTableTask(this);
        int from_bitField0_ = bitField0_;
        if (createTableBuilder_ == null) {
          result.createTable_ = createTable_;
        } else {
          result.createTable_ = createTableBuilder_.build();
        }
        if (partitionsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            partitions_ = java.util.Collections.unmodifiableList(partitions_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.partitions_ = partitions_;
        } else {
          result.partitions_ = partitionsBuilder_.build();
        }
        result.tableInfo_ = tableInfo_;
        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 greptime.v1.meta.Ddl.CreateTableTask) {
          return mergeFrom((greptime.v1.meta.Ddl.CreateTableTask)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.CreateTableTask other) {
        if (other == greptime.v1.meta.Ddl.CreateTableTask.getDefaultInstance()) return this;
        if (other.hasCreateTable()) {
          mergeCreateTable(other.getCreateTable());
        }
        if (partitionsBuilder_ == null) {
          if (!other.partitions_.isEmpty()) {
            if (partitions_.isEmpty()) {
              partitions_ = other.partitions_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensurePartitionsIsMutable();
              partitions_.addAll(other.partitions_);
            }
            onChanged();
          }
        } else {
          if (!other.partitions_.isEmpty()) {
            if (partitionsBuilder_.isEmpty()) {
              partitionsBuilder_.dispose();
              partitionsBuilder_ = null;
              partitions_ = other.partitions_;
              bitField0_ = (bitField0_ & ~0x00000001);
              partitionsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getPartitionsFieldBuilder() : null;
            } else {
              partitionsBuilder_.addAllMessages(other.partitions_);
            }
          }
        }
        if (other.getTableInfo() != com.google.protobuf.ByteString.EMPTY) {
          setTableInfo(other.getTableInfo());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.CreateTableTask parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.CreateTableTask) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private io.greptime.v1.Ddl.CreateTableExpr createTable_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.CreateTableExpr, io.greptime.v1.Ddl.CreateTableExpr.Builder, io.greptime.v1.Ddl.CreateTableExprOrBuilder> createTableBuilder_;
      /**
       * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
       * @return Whether the createTable field is set.
       */
      public boolean hasCreateTable() {
        return createTableBuilder_ != null || createTable_ != null;
      }
      /**
       * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
       * @return The createTable.
       */
      public io.greptime.v1.Ddl.CreateTableExpr getCreateTable() {
        if (createTableBuilder_ == null) {
          return createTable_ == null ? io.greptime.v1.Ddl.CreateTableExpr.getDefaultInstance() : createTable_;
        } else {
          return createTableBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
       */
      public Builder setCreateTable(io.greptime.v1.Ddl.CreateTableExpr value) {
        if (createTableBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          createTable_ = value;
          onChanged();
        } else {
          createTableBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
       */
      public Builder setCreateTable(
          io.greptime.v1.Ddl.CreateTableExpr.Builder builderForValue) {
        if (createTableBuilder_ == null) {
          createTable_ = builderForValue.build();
          onChanged();
        } else {
          createTableBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
       */
      public Builder mergeCreateTable(io.greptime.v1.Ddl.CreateTableExpr value) {
        if (createTableBuilder_ == null) {
          if (createTable_ != null) {
            createTable_ =
              io.greptime.v1.Ddl.CreateTableExpr.newBuilder(createTable_).mergeFrom(value).buildPartial();
          } else {
            createTable_ = value;
          }
          onChanged();
        } else {
          createTableBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
       */
      public Builder clearCreateTable() {
        if (createTableBuilder_ == null) {
          createTable_ = null;
          onChanged();
        } else {
          createTable_ = null;
          createTableBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
       */
      public io.greptime.v1.Ddl.CreateTableExpr.Builder getCreateTableBuilder() {
        
        onChanged();
        return getCreateTableFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
       */
      public io.greptime.v1.Ddl.CreateTableExprOrBuilder getCreateTableOrBuilder() {
        if (createTableBuilder_ != null) {
          return createTableBuilder_.getMessageOrBuilder();
        } else {
          return createTable_ == null ?
              io.greptime.v1.Ddl.CreateTableExpr.getDefaultInstance() : createTable_;
        }
      }
      /**
       * <code>.greptime.v1.CreateTableExpr create_table = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.CreateTableExpr, io.greptime.v1.Ddl.CreateTableExpr.Builder, io.greptime.v1.Ddl.CreateTableExprOrBuilder> 
          getCreateTableFieldBuilder() {
        if (createTableBuilder_ == null) {
          createTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.greptime.v1.Ddl.CreateTableExpr, io.greptime.v1.Ddl.CreateTableExpr.Builder, io.greptime.v1.Ddl.CreateTableExprOrBuilder>(
                  getCreateTable(),
                  getParentForChildren(),
                  isClean());
          createTable_ = null;
        }
        return createTableBuilder_;
      }

      private java.util.List<greptime.v1.meta.Route.Partition> partitions_ =
        java.util.Collections.emptyList();
      private void ensurePartitionsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          partitions_ = new java.util.ArrayList<greptime.v1.meta.Route.Partition>(partitions_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          greptime.v1.meta.Route.Partition, greptime.v1.meta.Route.Partition.Builder, greptime.v1.meta.Route.PartitionOrBuilder> partitionsBuilder_;

      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public java.util.List<greptime.v1.meta.Route.Partition> getPartitionsList() {
        if (partitionsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(partitions_);
        } else {
          return partitionsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public int getPartitionsCount() {
        if (partitionsBuilder_ == null) {
          return partitions_.size();
        } else {
          return partitionsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public greptime.v1.meta.Route.Partition getPartitions(int index) {
        if (partitionsBuilder_ == null) {
          return partitions_.get(index);
        } else {
          return partitionsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public Builder setPartitions(
          int index, greptime.v1.meta.Route.Partition value) {
        if (partitionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePartitionsIsMutable();
          partitions_.set(index, value);
          onChanged();
        } else {
          partitionsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public Builder setPartitions(
          int index, greptime.v1.meta.Route.Partition.Builder builderForValue) {
        if (partitionsBuilder_ == null) {
          ensurePartitionsIsMutable();
          partitions_.set(index, builderForValue.build());
          onChanged();
        } else {
          partitionsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public Builder addPartitions(greptime.v1.meta.Route.Partition value) {
        if (partitionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePartitionsIsMutable();
          partitions_.add(value);
          onChanged();
        } else {
          partitionsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public Builder addPartitions(
          int index, greptime.v1.meta.Route.Partition value) {
        if (partitionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePartitionsIsMutable();
          partitions_.add(index, value);
          onChanged();
        } else {
          partitionsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public Builder addPartitions(
          greptime.v1.meta.Route.Partition.Builder builderForValue) {
        if (partitionsBuilder_ == null) {
          ensurePartitionsIsMutable();
          partitions_.add(builderForValue.build());
          onChanged();
        } else {
          partitionsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public Builder addPartitions(
          int index, greptime.v1.meta.Route.Partition.Builder builderForValue) {
        if (partitionsBuilder_ == null) {
          ensurePartitionsIsMutable();
          partitions_.add(index, builderForValue.build());
          onChanged();
        } else {
          partitionsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public Builder addAllPartitions(
          java.lang.Iterable<? extends greptime.v1.meta.Route.Partition> values) {
        if (partitionsBuilder_ == null) {
          ensurePartitionsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, partitions_);
          onChanged();
        } else {
          partitionsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public Builder clearPartitions() {
        if (partitionsBuilder_ == null) {
          partitions_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          partitionsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public Builder removePartitions(int index) {
        if (partitionsBuilder_ == null) {
          ensurePartitionsIsMutable();
          partitions_.remove(index);
          onChanged();
        } else {
          partitionsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public greptime.v1.meta.Route.Partition.Builder getPartitionsBuilder(
          int index) {
        return getPartitionsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public greptime.v1.meta.Route.PartitionOrBuilder getPartitionsOrBuilder(
          int index) {
        if (partitionsBuilder_ == null) {
          return partitions_.get(index);  } else {
          return partitionsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public java.util.List<? extends greptime.v1.meta.Route.PartitionOrBuilder> 
           getPartitionsOrBuilderList() {
        if (partitionsBuilder_ != null) {
          return partitionsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(partitions_);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public greptime.v1.meta.Route.Partition.Builder addPartitionsBuilder() {
        return getPartitionsFieldBuilder().addBuilder(
            greptime.v1.meta.Route.Partition.getDefaultInstance());
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public greptime.v1.meta.Route.Partition.Builder addPartitionsBuilder(
          int index) {
        return getPartitionsFieldBuilder().addBuilder(
            index, greptime.v1.meta.Route.Partition.getDefaultInstance());
      }
      /**
       * <code>repeated .greptime.v1.meta.Partition partitions = 2;</code>
       */
      public java.util.List<greptime.v1.meta.Route.Partition.Builder> 
           getPartitionsBuilderList() {
        return getPartitionsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          greptime.v1.meta.Route.Partition, greptime.v1.meta.Route.Partition.Builder, greptime.v1.meta.Route.PartitionOrBuilder> 
          getPartitionsFieldBuilder() {
        if (partitionsBuilder_ == null) {
          partitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              greptime.v1.meta.Route.Partition, greptime.v1.meta.Route.Partition.Builder, greptime.v1.meta.Route.PartitionOrBuilder>(
                  partitions_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          partitions_ = null;
        }
        return partitionsBuilder_;
      }

      private com.google.protobuf.ByteString tableInfo_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>bytes table_info = 3;</code>
       * @return The tableInfo.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getTableInfo() {
        return tableInfo_;
      }
      /**
       * <code>bytes table_info = 3;</code>
       * @param value The tableInfo to set.
       * @return This builder for chaining.
       */
      public Builder setTableInfo(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        tableInfo_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bytes table_info = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearTableInfo() {
        
        tableInfo_ = getDefaultInstance().getTableInfo();
        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:greptime.v1.meta.CreateTableTask)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.CreateTableTask)
    private static final greptime.v1.meta.Ddl.CreateTableTask DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.CreateTableTask();
    }

    public static greptime.v1.meta.Ddl.CreateTableTask getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateTableTask getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface CreateTableTasksOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.CreateTableTasks)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
     */
    java.util.List<greptime.v1.meta.Ddl.CreateTableTask> 
        getTasksList();
    /**
     * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
     */
    greptime.v1.meta.Ddl.CreateTableTask getTasks(int index);
    /**
     * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
     */
    int getTasksCount();
    /**
     * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
     */
    java.util.List<? extends greptime.v1.meta.Ddl.CreateTableTaskOrBuilder> 
        getTasksOrBuilderList();
    /**
     * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
     */
    greptime.v1.meta.Ddl.CreateTableTaskOrBuilder getTasksOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code greptime.v1.meta.CreateTableTasks}
   */
  public static final class CreateTableTasks extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.CreateTableTasks)
      CreateTableTasksOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CreateTableTasks.newBuilder() to construct.
    private CreateTableTasks(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private CreateTableTasks() {
      tasks_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new CreateTableTasks();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CreateTableTasks(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                tasks_ = new java.util.ArrayList<greptime.v1.meta.Ddl.CreateTableTask>();
                mutable_bitField0_ |= 0x00000001;
              }
              tasks_.add(
                  input.readMessage(greptime.v1.meta.Ddl.CreateTableTask.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          tasks_ = java.util.Collections.unmodifiableList(tasks_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateTableTasks_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateTableTasks_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.CreateTableTasks.class, greptime.v1.meta.Ddl.CreateTableTasks.Builder.class);
    }

    public static final int TASKS_FIELD_NUMBER = 1;
    private java.util.List<greptime.v1.meta.Ddl.CreateTableTask> tasks_;
    /**
     * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public java.util.List<greptime.v1.meta.Ddl.CreateTableTask> getTasksList() {
      return tasks_;
    }
    /**
     * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public java.util.List<? extends greptime.v1.meta.Ddl.CreateTableTaskOrBuilder> 
        getTasksOrBuilderList() {
      return tasks_;
    }
    /**
     * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public int getTasksCount() {
      return tasks_.size();
    }
    /**
     * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateTableTask getTasks(int index) {
      return tasks_.get(index);
    }
    /**
     * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateTableTaskOrBuilder getTasksOrBuilder(
        int index) {
      return tasks_.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 < tasks_.size(); i++) {
        output.writeMessage(1, tasks_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < tasks_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, tasks_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.CreateTableTasks)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.CreateTableTasks other = (greptime.v1.meta.Ddl.CreateTableTasks) obj;

      if (!getTasksList()
          .equals(other.getTasksList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getTasksCount() > 0) {
        hash = (37 * hash) + TASKS_FIELD_NUMBER;
        hash = (53 * hash) + getTasksList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.CreateTableTasks parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateTableTasks parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateTableTasks parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateTableTasks parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateTableTasks parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateTableTasks parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateTableTasks parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateTableTasks 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 greptime.v1.meta.Ddl.CreateTableTasks parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateTableTasks 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 greptime.v1.meta.Ddl.CreateTableTasks parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateTableTasks 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(greptime.v1.meta.Ddl.CreateTableTasks 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 greptime.v1.meta.CreateTableTasks}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.CreateTableTasks)
        greptime.v1.meta.Ddl.CreateTableTasksOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateTableTasks_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateTableTasks_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.CreateTableTasks.class, greptime.v1.meta.Ddl.CreateTableTasks.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.CreateTableTasks.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getTasksFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (tasksBuilder_ == null) {
          tasks_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          tasksBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateTableTasks_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateTableTasks getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.CreateTableTasks.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateTableTasks build() {
        greptime.v1.meta.Ddl.CreateTableTasks result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateTableTasks buildPartial() {
        greptime.v1.meta.Ddl.CreateTableTasks result = new greptime.v1.meta.Ddl.CreateTableTasks(this);
        int from_bitField0_ = bitField0_;
        if (tasksBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            tasks_ = java.util.Collections.unmodifiableList(tasks_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.tasks_ = tasks_;
        } else {
          result.tasks_ = tasksBuilder_.build();
        }
        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 greptime.v1.meta.Ddl.CreateTableTasks) {
          return mergeFrom((greptime.v1.meta.Ddl.CreateTableTasks)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.CreateTableTasks other) {
        if (other == greptime.v1.meta.Ddl.CreateTableTasks.getDefaultInstance()) return this;
        if (tasksBuilder_ == null) {
          if (!other.tasks_.isEmpty()) {
            if (tasks_.isEmpty()) {
              tasks_ = other.tasks_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureTasksIsMutable();
              tasks_.addAll(other.tasks_);
            }
            onChanged();
          }
        } else {
          if (!other.tasks_.isEmpty()) {
            if (tasksBuilder_.isEmpty()) {
              tasksBuilder_.dispose();
              tasksBuilder_ = null;
              tasks_ = other.tasks_;
              bitField0_ = (bitField0_ & ~0x00000001);
              tasksBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getTasksFieldBuilder() : null;
            } else {
              tasksBuilder_.addAllMessages(other.tasks_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.CreateTableTasks parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.CreateTableTasks) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<greptime.v1.meta.Ddl.CreateTableTask> tasks_ =
        java.util.Collections.emptyList();
      private void ensureTasksIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          tasks_ = new java.util.ArrayList<greptime.v1.meta.Ddl.CreateTableTask>(tasks_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          greptime.v1.meta.Ddl.CreateTableTask, greptime.v1.meta.Ddl.CreateTableTask.Builder, greptime.v1.meta.Ddl.CreateTableTaskOrBuilder> tasksBuilder_;

      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public java.util.List<greptime.v1.meta.Ddl.CreateTableTask> getTasksList() {
        if (tasksBuilder_ == null) {
          return java.util.Collections.unmodifiableList(tasks_);
        } else {
          return tasksBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public int getTasksCount() {
        if (tasksBuilder_ == null) {
          return tasks_.size();
        } else {
          return tasksBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.CreateTableTask getTasks(int index) {
        if (tasksBuilder_ == null) {
          return tasks_.get(index);
        } else {
          return tasksBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public Builder setTasks(
          int index, greptime.v1.meta.Ddl.CreateTableTask value) {
        if (tasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTasksIsMutable();
          tasks_.set(index, value);
          onChanged();
        } else {
          tasksBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public Builder setTasks(
          int index, greptime.v1.meta.Ddl.CreateTableTask.Builder builderForValue) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.set(index, builderForValue.build());
          onChanged();
        } else {
          tasksBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public Builder addTasks(greptime.v1.meta.Ddl.CreateTableTask value) {
        if (tasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTasksIsMutable();
          tasks_.add(value);
          onChanged();
        } else {
          tasksBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public Builder addTasks(
          int index, greptime.v1.meta.Ddl.CreateTableTask value) {
        if (tasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTasksIsMutable();
          tasks_.add(index, value);
          onChanged();
        } else {
          tasksBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public Builder addTasks(
          greptime.v1.meta.Ddl.CreateTableTask.Builder builderForValue) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.add(builderForValue.build());
          onChanged();
        } else {
          tasksBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public Builder addTasks(
          int index, greptime.v1.meta.Ddl.CreateTableTask.Builder builderForValue) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.add(index, builderForValue.build());
          onChanged();
        } else {
          tasksBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public Builder addAllTasks(
          java.lang.Iterable<? extends greptime.v1.meta.Ddl.CreateTableTask> values) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, tasks_);
          onChanged();
        } else {
          tasksBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public Builder clearTasks() {
        if (tasksBuilder_ == null) {
          tasks_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          tasksBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public Builder removeTasks(int index) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.remove(index);
          onChanged();
        } else {
          tasksBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.CreateTableTask.Builder getTasksBuilder(
          int index) {
        return getTasksFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.CreateTableTaskOrBuilder getTasksOrBuilder(
          int index) {
        if (tasksBuilder_ == null) {
          return tasks_.get(index);  } else {
          return tasksBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public java.util.List<? extends greptime.v1.meta.Ddl.CreateTableTaskOrBuilder> 
           getTasksOrBuilderList() {
        if (tasksBuilder_ != null) {
          return tasksBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(tasks_);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.CreateTableTask.Builder addTasksBuilder() {
        return getTasksFieldBuilder().addBuilder(
            greptime.v1.meta.Ddl.CreateTableTask.getDefaultInstance());
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.CreateTableTask.Builder addTasksBuilder(
          int index) {
        return getTasksFieldBuilder().addBuilder(
            index, greptime.v1.meta.Ddl.CreateTableTask.getDefaultInstance());
      }
      /**
       * <code>repeated .greptime.v1.meta.CreateTableTask tasks = 1;</code>
       */
      public java.util.List<greptime.v1.meta.Ddl.CreateTableTask.Builder> 
           getTasksBuilderList() {
        return getTasksFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          greptime.v1.meta.Ddl.CreateTableTask, greptime.v1.meta.Ddl.CreateTableTask.Builder, greptime.v1.meta.Ddl.CreateTableTaskOrBuilder> 
          getTasksFieldBuilder() {
        if (tasksBuilder_ == null) {
          tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              greptime.v1.meta.Ddl.CreateTableTask, greptime.v1.meta.Ddl.CreateTableTask.Builder, greptime.v1.meta.Ddl.CreateTableTaskOrBuilder>(
                  tasks_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          tasks_ = null;
        }
        return tasksBuilder_;
      }
      @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:greptime.v1.meta.CreateTableTasks)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.CreateTableTasks)
    private static final greptime.v1.meta.Ddl.CreateTableTasks DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.CreateTableTasks();
    }

    public static greptime.v1.meta.Ddl.CreateTableTasks getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateTableTasks getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DropTableTaskOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.DropTableTask)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
     * @return Whether the dropTable field is set.
     */
    boolean hasDropTable();
    /**
     * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
     * @return The dropTable.
     */
    io.greptime.v1.Ddl.DropTableExpr getDropTable();
    /**
     * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
     */
    io.greptime.v1.Ddl.DropTableExprOrBuilder getDropTableOrBuilder();
  }
  /**
   * Protobuf type {@code greptime.v1.meta.DropTableTask}
   */
  public static final class DropTableTask extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.DropTableTask)
      DropTableTaskOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DropTableTask.newBuilder() to construct.
    private DropTableTask(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DropTableTask() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new DropTableTask();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DropTableTask(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              io.greptime.v1.Ddl.DropTableExpr.Builder subBuilder = null;
              if (dropTable_ != null) {
                subBuilder = dropTable_.toBuilder();
              }
              dropTable_ = input.readMessage(io.greptime.v1.Ddl.DropTableExpr.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(dropTable_);
                dropTable_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropTableTask_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropTableTask_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.DropTableTask.class, greptime.v1.meta.Ddl.DropTableTask.Builder.class);
    }

    public static final int DROP_TABLE_FIELD_NUMBER = 1;
    private io.greptime.v1.Ddl.DropTableExpr dropTable_;
    /**
     * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
     * @return Whether the dropTable field is set.
     */
    @java.lang.Override
    public boolean hasDropTable() {
      return dropTable_ != null;
    }
    /**
     * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
     * @return The dropTable.
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.DropTableExpr getDropTable() {
      return dropTable_ == null ? io.greptime.v1.Ddl.DropTableExpr.getDefaultInstance() : dropTable_;
    }
    /**
     * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.DropTableExprOrBuilder getDropTableOrBuilder() {
      return getDropTable();
    }

    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 (dropTable_ != null) {
        output.writeMessage(1, getDropTable());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (dropTable_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getDropTable());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.DropTableTask)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.DropTableTask other = (greptime.v1.meta.Ddl.DropTableTask) obj;

      if (hasDropTable() != other.hasDropTable()) return false;
      if (hasDropTable()) {
        if (!getDropTable()
            .equals(other.getDropTable())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasDropTable()) {
        hash = (37 * hash) + DROP_TABLE_FIELD_NUMBER;
        hash = (53 * hash) + getDropTable().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.DropTableTask parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropTableTask parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropTableTask parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropTableTask parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropTableTask parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropTableTask parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropTableTask parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropTableTask 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 greptime.v1.meta.Ddl.DropTableTask parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropTableTask 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 greptime.v1.meta.Ddl.DropTableTask parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropTableTask 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(greptime.v1.meta.Ddl.DropTableTask 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 greptime.v1.meta.DropTableTask}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.DropTableTask)
        greptime.v1.meta.Ddl.DropTableTaskOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropTableTask_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropTableTask_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.DropTableTask.class, greptime.v1.meta.Ddl.DropTableTask.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.DropTableTask.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (dropTableBuilder_ == null) {
          dropTable_ = null;
        } else {
          dropTable_ = null;
          dropTableBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropTableTask_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropTableTask getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.DropTableTask.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropTableTask build() {
        greptime.v1.meta.Ddl.DropTableTask result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropTableTask buildPartial() {
        greptime.v1.meta.Ddl.DropTableTask result = new greptime.v1.meta.Ddl.DropTableTask(this);
        if (dropTableBuilder_ == null) {
          result.dropTable_ = dropTable_;
        } else {
          result.dropTable_ = dropTableBuilder_.build();
        }
        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 greptime.v1.meta.Ddl.DropTableTask) {
          return mergeFrom((greptime.v1.meta.Ddl.DropTableTask)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.DropTableTask other) {
        if (other == greptime.v1.meta.Ddl.DropTableTask.getDefaultInstance()) return this;
        if (other.hasDropTable()) {
          mergeDropTable(other.getDropTable());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.DropTableTask parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.DropTableTask) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private io.greptime.v1.Ddl.DropTableExpr dropTable_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.DropTableExpr, io.greptime.v1.Ddl.DropTableExpr.Builder, io.greptime.v1.Ddl.DropTableExprOrBuilder> dropTableBuilder_;
      /**
       * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
       * @return Whether the dropTable field is set.
       */
      public boolean hasDropTable() {
        return dropTableBuilder_ != null || dropTable_ != null;
      }
      /**
       * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
       * @return The dropTable.
       */
      public io.greptime.v1.Ddl.DropTableExpr getDropTable() {
        if (dropTableBuilder_ == null) {
          return dropTable_ == null ? io.greptime.v1.Ddl.DropTableExpr.getDefaultInstance() : dropTable_;
        } else {
          return dropTableBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
       */
      public Builder setDropTable(io.greptime.v1.Ddl.DropTableExpr value) {
        if (dropTableBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          dropTable_ = value;
          onChanged();
        } else {
          dropTableBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
       */
      public Builder setDropTable(
          io.greptime.v1.Ddl.DropTableExpr.Builder builderForValue) {
        if (dropTableBuilder_ == null) {
          dropTable_ = builderForValue.build();
          onChanged();
        } else {
          dropTableBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
       */
      public Builder mergeDropTable(io.greptime.v1.Ddl.DropTableExpr value) {
        if (dropTableBuilder_ == null) {
          if (dropTable_ != null) {
            dropTable_ =
              io.greptime.v1.Ddl.DropTableExpr.newBuilder(dropTable_).mergeFrom(value).buildPartial();
          } else {
            dropTable_ = value;
          }
          onChanged();
        } else {
          dropTableBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
       */
      public Builder clearDropTable() {
        if (dropTableBuilder_ == null) {
          dropTable_ = null;
          onChanged();
        } else {
          dropTable_ = null;
          dropTableBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
       */
      public io.greptime.v1.Ddl.DropTableExpr.Builder getDropTableBuilder() {
        
        onChanged();
        return getDropTableFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
       */
      public io.greptime.v1.Ddl.DropTableExprOrBuilder getDropTableOrBuilder() {
        if (dropTableBuilder_ != null) {
          return dropTableBuilder_.getMessageOrBuilder();
        } else {
          return dropTable_ == null ?
              io.greptime.v1.Ddl.DropTableExpr.getDefaultInstance() : dropTable_;
        }
      }
      /**
       * <code>.greptime.v1.DropTableExpr drop_table = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.DropTableExpr, io.greptime.v1.Ddl.DropTableExpr.Builder, io.greptime.v1.Ddl.DropTableExprOrBuilder> 
          getDropTableFieldBuilder() {
        if (dropTableBuilder_ == null) {
          dropTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.greptime.v1.Ddl.DropTableExpr, io.greptime.v1.Ddl.DropTableExpr.Builder, io.greptime.v1.Ddl.DropTableExprOrBuilder>(
                  getDropTable(),
                  getParentForChildren(),
                  isClean());
          dropTable_ = null;
        }
        return dropTableBuilder_;
      }
      @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:greptime.v1.meta.DropTableTask)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.DropTableTask)
    private static final greptime.v1.meta.Ddl.DropTableTask DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.DropTableTask();
    }

    public static greptime.v1.meta.Ddl.DropTableTask getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.DropTableTask getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DropTableTasksOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.DropTableTasks)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
     */
    java.util.List<greptime.v1.meta.Ddl.DropTableTask> 
        getTasksList();
    /**
     * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
     */
    greptime.v1.meta.Ddl.DropTableTask getTasks(int index);
    /**
     * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
     */
    int getTasksCount();
    /**
     * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
     */
    java.util.List<? extends greptime.v1.meta.Ddl.DropTableTaskOrBuilder> 
        getTasksOrBuilderList();
    /**
     * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
     */
    greptime.v1.meta.Ddl.DropTableTaskOrBuilder getTasksOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code greptime.v1.meta.DropTableTasks}
   */
  public static final class DropTableTasks extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.DropTableTasks)
      DropTableTasksOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DropTableTasks.newBuilder() to construct.
    private DropTableTasks(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DropTableTasks() {
      tasks_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new DropTableTasks();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DropTableTasks(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                tasks_ = new java.util.ArrayList<greptime.v1.meta.Ddl.DropTableTask>();
                mutable_bitField0_ |= 0x00000001;
              }
              tasks_.add(
                  input.readMessage(greptime.v1.meta.Ddl.DropTableTask.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          tasks_ = java.util.Collections.unmodifiableList(tasks_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropTableTasks_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropTableTasks_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.DropTableTasks.class, greptime.v1.meta.Ddl.DropTableTasks.Builder.class);
    }

    public static final int TASKS_FIELD_NUMBER = 1;
    private java.util.List<greptime.v1.meta.Ddl.DropTableTask> tasks_;
    /**
     * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public java.util.List<greptime.v1.meta.Ddl.DropTableTask> getTasksList() {
      return tasks_;
    }
    /**
     * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public java.util.List<? extends greptime.v1.meta.Ddl.DropTableTaskOrBuilder> 
        getTasksOrBuilderList() {
      return tasks_;
    }
    /**
     * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public int getTasksCount() {
      return tasks_.size();
    }
    /**
     * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.DropTableTask getTasks(int index) {
      return tasks_.get(index);
    }
    /**
     * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.DropTableTaskOrBuilder getTasksOrBuilder(
        int index) {
      return tasks_.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 < tasks_.size(); i++) {
        output.writeMessage(1, tasks_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < tasks_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, tasks_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.DropTableTasks)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.DropTableTasks other = (greptime.v1.meta.Ddl.DropTableTasks) obj;

      if (!getTasksList()
          .equals(other.getTasksList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getTasksCount() > 0) {
        hash = (37 * hash) + TASKS_FIELD_NUMBER;
        hash = (53 * hash) + getTasksList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.DropTableTasks parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropTableTasks parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropTableTasks parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropTableTasks parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropTableTasks parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropTableTasks parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropTableTasks parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropTableTasks 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 greptime.v1.meta.Ddl.DropTableTasks parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropTableTasks 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 greptime.v1.meta.Ddl.DropTableTasks parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropTableTasks 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(greptime.v1.meta.Ddl.DropTableTasks 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 greptime.v1.meta.DropTableTasks}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.DropTableTasks)
        greptime.v1.meta.Ddl.DropTableTasksOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropTableTasks_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropTableTasks_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.DropTableTasks.class, greptime.v1.meta.Ddl.DropTableTasks.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.DropTableTasks.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getTasksFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (tasksBuilder_ == null) {
          tasks_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          tasksBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropTableTasks_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropTableTasks getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.DropTableTasks.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropTableTasks build() {
        greptime.v1.meta.Ddl.DropTableTasks result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropTableTasks buildPartial() {
        greptime.v1.meta.Ddl.DropTableTasks result = new greptime.v1.meta.Ddl.DropTableTasks(this);
        int from_bitField0_ = bitField0_;
        if (tasksBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            tasks_ = java.util.Collections.unmodifiableList(tasks_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.tasks_ = tasks_;
        } else {
          result.tasks_ = tasksBuilder_.build();
        }
        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 greptime.v1.meta.Ddl.DropTableTasks) {
          return mergeFrom((greptime.v1.meta.Ddl.DropTableTasks)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.DropTableTasks other) {
        if (other == greptime.v1.meta.Ddl.DropTableTasks.getDefaultInstance()) return this;
        if (tasksBuilder_ == null) {
          if (!other.tasks_.isEmpty()) {
            if (tasks_.isEmpty()) {
              tasks_ = other.tasks_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureTasksIsMutable();
              tasks_.addAll(other.tasks_);
            }
            onChanged();
          }
        } else {
          if (!other.tasks_.isEmpty()) {
            if (tasksBuilder_.isEmpty()) {
              tasksBuilder_.dispose();
              tasksBuilder_ = null;
              tasks_ = other.tasks_;
              bitField0_ = (bitField0_ & ~0x00000001);
              tasksBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getTasksFieldBuilder() : null;
            } else {
              tasksBuilder_.addAllMessages(other.tasks_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.DropTableTasks parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.DropTableTasks) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<greptime.v1.meta.Ddl.DropTableTask> tasks_ =
        java.util.Collections.emptyList();
      private void ensureTasksIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          tasks_ = new java.util.ArrayList<greptime.v1.meta.Ddl.DropTableTask>(tasks_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          greptime.v1.meta.Ddl.DropTableTask, greptime.v1.meta.Ddl.DropTableTask.Builder, greptime.v1.meta.Ddl.DropTableTaskOrBuilder> tasksBuilder_;

      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public java.util.List<greptime.v1.meta.Ddl.DropTableTask> getTasksList() {
        if (tasksBuilder_ == null) {
          return java.util.Collections.unmodifiableList(tasks_);
        } else {
          return tasksBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public int getTasksCount() {
        if (tasksBuilder_ == null) {
          return tasks_.size();
        } else {
          return tasksBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.DropTableTask getTasks(int index) {
        if (tasksBuilder_ == null) {
          return tasks_.get(index);
        } else {
          return tasksBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public Builder setTasks(
          int index, greptime.v1.meta.Ddl.DropTableTask value) {
        if (tasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTasksIsMutable();
          tasks_.set(index, value);
          onChanged();
        } else {
          tasksBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public Builder setTasks(
          int index, greptime.v1.meta.Ddl.DropTableTask.Builder builderForValue) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.set(index, builderForValue.build());
          onChanged();
        } else {
          tasksBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public Builder addTasks(greptime.v1.meta.Ddl.DropTableTask value) {
        if (tasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTasksIsMutable();
          tasks_.add(value);
          onChanged();
        } else {
          tasksBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public Builder addTasks(
          int index, greptime.v1.meta.Ddl.DropTableTask value) {
        if (tasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTasksIsMutable();
          tasks_.add(index, value);
          onChanged();
        } else {
          tasksBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public Builder addTasks(
          greptime.v1.meta.Ddl.DropTableTask.Builder builderForValue) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.add(builderForValue.build());
          onChanged();
        } else {
          tasksBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public Builder addTasks(
          int index, greptime.v1.meta.Ddl.DropTableTask.Builder builderForValue) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.add(index, builderForValue.build());
          onChanged();
        } else {
          tasksBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public Builder addAllTasks(
          java.lang.Iterable<? extends greptime.v1.meta.Ddl.DropTableTask> values) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, tasks_);
          onChanged();
        } else {
          tasksBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public Builder clearTasks() {
        if (tasksBuilder_ == null) {
          tasks_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          tasksBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public Builder removeTasks(int index) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.remove(index);
          onChanged();
        } else {
          tasksBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.DropTableTask.Builder getTasksBuilder(
          int index) {
        return getTasksFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.DropTableTaskOrBuilder getTasksOrBuilder(
          int index) {
        if (tasksBuilder_ == null) {
          return tasks_.get(index);  } else {
          return tasksBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public java.util.List<? extends greptime.v1.meta.Ddl.DropTableTaskOrBuilder> 
           getTasksOrBuilderList() {
        if (tasksBuilder_ != null) {
          return tasksBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(tasks_);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.DropTableTask.Builder addTasksBuilder() {
        return getTasksFieldBuilder().addBuilder(
            greptime.v1.meta.Ddl.DropTableTask.getDefaultInstance());
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.DropTableTask.Builder addTasksBuilder(
          int index) {
        return getTasksFieldBuilder().addBuilder(
            index, greptime.v1.meta.Ddl.DropTableTask.getDefaultInstance());
      }
      /**
       * <code>repeated .greptime.v1.meta.DropTableTask tasks = 1;</code>
       */
      public java.util.List<greptime.v1.meta.Ddl.DropTableTask.Builder> 
           getTasksBuilderList() {
        return getTasksFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          greptime.v1.meta.Ddl.DropTableTask, greptime.v1.meta.Ddl.DropTableTask.Builder, greptime.v1.meta.Ddl.DropTableTaskOrBuilder> 
          getTasksFieldBuilder() {
        if (tasksBuilder_ == null) {
          tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              greptime.v1.meta.Ddl.DropTableTask, greptime.v1.meta.Ddl.DropTableTask.Builder, greptime.v1.meta.Ddl.DropTableTaskOrBuilder>(
                  tasks_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          tasks_ = null;
        }
        return tasksBuilder_;
      }
      @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:greptime.v1.meta.DropTableTasks)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.DropTableTasks)
    private static final greptime.v1.meta.Ddl.DropTableTasks DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.DropTableTasks();
    }

    public static greptime.v1.meta.Ddl.DropTableTasks getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.DropTableTasks getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface AlterTableTaskOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.AlterTableTask)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
     * @return Whether the alterTable field is set.
     */
    boolean hasAlterTable();
    /**
     * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
     * @return The alterTable.
     */
    io.greptime.v1.Ddl.AlterTableExpr getAlterTable();
    /**
     * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
     */
    io.greptime.v1.Ddl.AlterTableExprOrBuilder getAlterTableOrBuilder();
  }
  /**
   * Protobuf type {@code greptime.v1.meta.AlterTableTask}
   */
  public static final class AlterTableTask extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.AlterTableTask)
      AlterTableTaskOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AlterTableTask.newBuilder() to construct.
    private AlterTableTask(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AlterTableTask() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new AlterTableTask();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private AlterTableTask(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              io.greptime.v1.Ddl.AlterTableExpr.Builder subBuilder = null;
              if (alterTable_ != null) {
                subBuilder = alterTable_.toBuilder();
              }
              alterTable_ = input.readMessage(io.greptime.v1.Ddl.AlterTableExpr.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(alterTable_);
                alterTable_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterTableTask_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterTableTask_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.AlterTableTask.class, greptime.v1.meta.Ddl.AlterTableTask.Builder.class);
    }

    public static final int ALTER_TABLE_FIELD_NUMBER = 1;
    private io.greptime.v1.Ddl.AlterTableExpr alterTable_;
    /**
     * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
     * @return Whether the alterTable field is set.
     */
    @java.lang.Override
    public boolean hasAlterTable() {
      return alterTable_ != null;
    }
    /**
     * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
     * @return The alterTable.
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.AlterTableExpr getAlterTable() {
      return alterTable_ == null ? io.greptime.v1.Ddl.AlterTableExpr.getDefaultInstance() : alterTable_;
    }
    /**
     * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.AlterTableExprOrBuilder getAlterTableOrBuilder() {
      return getAlterTable();
    }

    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 (alterTable_ != null) {
        output.writeMessage(1, getAlterTable());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (alterTable_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getAlterTable());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.AlterTableTask)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.AlterTableTask other = (greptime.v1.meta.Ddl.AlterTableTask) obj;

      if (hasAlterTable() != other.hasAlterTable()) return false;
      if (hasAlterTable()) {
        if (!getAlterTable()
            .equals(other.getAlterTable())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasAlterTable()) {
        hash = (37 * hash) + ALTER_TABLE_FIELD_NUMBER;
        hash = (53 * hash) + getAlterTable().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.AlterTableTask parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.AlterTableTask parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.AlterTableTask parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.AlterTableTask parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.AlterTableTask parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.AlterTableTask parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.AlterTableTask parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.AlterTableTask 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 greptime.v1.meta.Ddl.AlterTableTask parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.AlterTableTask 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 greptime.v1.meta.Ddl.AlterTableTask parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.AlterTableTask 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(greptime.v1.meta.Ddl.AlterTableTask 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 greptime.v1.meta.AlterTableTask}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.AlterTableTask)
        greptime.v1.meta.Ddl.AlterTableTaskOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterTableTask_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterTableTask_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.AlterTableTask.class, greptime.v1.meta.Ddl.AlterTableTask.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.AlterTableTask.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (alterTableBuilder_ == null) {
          alterTable_ = null;
        } else {
          alterTable_ = null;
          alterTableBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterTableTask_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterTableTask getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.AlterTableTask.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterTableTask build() {
        greptime.v1.meta.Ddl.AlterTableTask result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterTableTask buildPartial() {
        greptime.v1.meta.Ddl.AlterTableTask result = new greptime.v1.meta.Ddl.AlterTableTask(this);
        if (alterTableBuilder_ == null) {
          result.alterTable_ = alterTable_;
        } else {
          result.alterTable_ = alterTableBuilder_.build();
        }
        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 greptime.v1.meta.Ddl.AlterTableTask) {
          return mergeFrom((greptime.v1.meta.Ddl.AlterTableTask)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.AlterTableTask other) {
        if (other == greptime.v1.meta.Ddl.AlterTableTask.getDefaultInstance()) return this;
        if (other.hasAlterTable()) {
          mergeAlterTable(other.getAlterTable());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.AlterTableTask parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.AlterTableTask) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private io.greptime.v1.Ddl.AlterTableExpr alterTable_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.AlterTableExpr, io.greptime.v1.Ddl.AlterTableExpr.Builder, io.greptime.v1.Ddl.AlterTableExprOrBuilder> alterTableBuilder_;
      /**
       * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
       * @return Whether the alterTable field is set.
       */
      public boolean hasAlterTable() {
        return alterTableBuilder_ != null || alterTable_ != null;
      }
      /**
       * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
       * @return The alterTable.
       */
      public io.greptime.v1.Ddl.AlterTableExpr getAlterTable() {
        if (alterTableBuilder_ == null) {
          return alterTable_ == null ? io.greptime.v1.Ddl.AlterTableExpr.getDefaultInstance() : alterTable_;
        } else {
          return alterTableBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
       */
      public Builder setAlterTable(io.greptime.v1.Ddl.AlterTableExpr value) {
        if (alterTableBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          alterTable_ = value;
          onChanged();
        } else {
          alterTableBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
       */
      public Builder setAlterTable(
          io.greptime.v1.Ddl.AlterTableExpr.Builder builderForValue) {
        if (alterTableBuilder_ == null) {
          alterTable_ = builderForValue.build();
          onChanged();
        } else {
          alterTableBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
       */
      public Builder mergeAlterTable(io.greptime.v1.Ddl.AlterTableExpr value) {
        if (alterTableBuilder_ == null) {
          if (alterTable_ != null) {
            alterTable_ =
              io.greptime.v1.Ddl.AlterTableExpr.newBuilder(alterTable_).mergeFrom(value).buildPartial();
          } else {
            alterTable_ = value;
          }
          onChanged();
        } else {
          alterTableBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
       */
      public Builder clearAlterTable() {
        if (alterTableBuilder_ == null) {
          alterTable_ = null;
          onChanged();
        } else {
          alterTable_ = null;
          alterTableBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
       */
      public io.greptime.v1.Ddl.AlterTableExpr.Builder getAlterTableBuilder() {
        
        onChanged();
        return getAlterTableFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
       */
      public io.greptime.v1.Ddl.AlterTableExprOrBuilder getAlterTableOrBuilder() {
        if (alterTableBuilder_ != null) {
          return alterTableBuilder_.getMessageOrBuilder();
        } else {
          return alterTable_ == null ?
              io.greptime.v1.Ddl.AlterTableExpr.getDefaultInstance() : alterTable_;
        }
      }
      /**
       * <code>.greptime.v1.AlterTableExpr alter_table = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.AlterTableExpr, io.greptime.v1.Ddl.AlterTableExpr.Builder, io.greptime.v1.Ddl.AlterTableExprOrBuilder> 
          getAlterTableFieldBuilder() {
        if (alterTableBuilder_ == null) {
          alterTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.greptime.v1.Ddl.AlterTableExpr, io.greptime.v1.Ddl.AlterTableExpr.Builder, io.greptime.v1.Ddl.AlterTableExprOrBuilder>(
                  getAlterTable(),
                  getParentForChildren(),
                  isClean());
          alterTable_ = null;
        }
        return alterTableBuilder_;
      }
      @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:greptime.v1.meta.AlterTableTask)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.AlterTableTask)
    private static final greptime.v1.meta.Ddl.AlterTableTask DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.AlterTableTask();
    }

    public static greptime.v1.meta.Ddl.AlterTableTask getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.AlterTableTask getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface AlterTableTasksOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.AlterTableTasks)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
     */
    java.util.List<greptime.v1.meta.Ddl.AlterTableTask> 
        getTasksList();
    /**
     * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
     */
    greptime.v1.meta.Ddl.AlterTableTask getTasks(int index);
    /**
     * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
     */
    int getTasksCount();
    /**
     * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
     */
    java.util.List<? extends greptime.v1.meta.Ddl.AlterTableTaskOrBuilder> 
        getTasksOrBuilderList();
    /**
     * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
     */
    greptime.v1.meta.Ddl.AlterTableTaskOrBuilder getTasksOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code greptime.v1.meta.AlterTableTasks}
   */
  public static final class AlterTableTasks extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.AlterTableTasks)
      AlterTableTasksOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AlterTableTasks.newBuilder() to construct.
    private AlterTableTasks(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AlterTableTasks() {
      tasks_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new AlterTableTasks();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private AlterTableTasks(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                tasks_ = new java.util.ArrayList<greptime.v1.meta.Ddl.AlterTableTask>();
                mutable_bitField0_ |= 0x00000001;
              }
              tasks_.add(
                  input.readMessage(greptime.v1.meta.Ddl.AlterTableTask.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          tasks_ = java.util.Collections.unmodifiableList(tasks_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterTableTasks_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterTableTasks_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.AlterTableTasks.class, greptime.v1.meta.Ddl.AlterTableTasks.Builder.class);
    }

    public static final int TASKS_FIELD_NUMBER = 1;
    private java.util.List<greptime.v1.meta.Ddl.AlterTableTask> tasks_;
    /**
     * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public java.util.List<greptime.v1.meta.Ddl.AlterTableTask> getTasksList() {
      return tasks_;
    }
    /**
     * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public java.util.List<? extends greptime.v1.meta.Ddl.AlterTableTaskOrBuilder> 
        getTasksOrBuilderList() {
      return tasks_;
    }
    /**
     * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public int getTasksCount() {
      return tasks_.size();
    }
    /**
     * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.AlterTableTask getTasks(int index) {
      return tasks_.get(index);
    }
    /**
     * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.AlterTableTaskOrBuilder getTasksOrBuilder(
        int index) {
      return tasks_.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 < tasks_.size(); i++) {
        output.writeMessage(1, tasks_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < tasks_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, tasks_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.AlterTableTasks)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.AlterTableTasks other = (greptime.v1.meta.Ddl.AlterTableTasks) obj;

      if (!getTasksList()
          .equals(other.getTasksList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getTasksCount() > 0) {
        hash = (37 * hash) + TASKS_FIELD_NUMBER;
        hash = (53 * hash) + getTasksList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.AlterTableTasks parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.AlterTableTasks parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.AlterTableTasks parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.AlterTableTasks parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.AlterTableTasks parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.AlterTableTasks parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.AlterTableTasks parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.AlterTableTasks 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 greptime.v1.meta.Ddl.AlterTableTasks parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.AlterTableTasks 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 greptime.v1.meta.Ddl.AlterTableTasks parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.AlterTableTasks 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(greptime.v1.meta.Ddl.AlterTableTasks 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 greptime.v1.meta.AlterTableTasks}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.AlterTableTasks)
        greptime.v1.meta.Ddl.AlterTableTasksOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterTableTasks_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterTableTasks_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.AlterTableTasks.class, greptime.v1.meta.Ddl.AlterTableTasks.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.AlterTableTasks.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getTasksFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (tasksBuilder_ == null) {
          tasks_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          tasksBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterTableTasks_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterTableTasks getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.AlterTableTasks.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterTableTasks build() {
        greptime.v1.meta.Ddl.AlterTableTasks result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterTableTasks buildPartial() {
        greptime.v1.meta.Ddl.AlterTableTasks result = new greptime.v1.meta.Ddl.AlterTableTasks(this);
        int from_bitField0_ = bitField0_;
        if (tasksBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            tasks_ = java.util.Collections.unmodifiableList(tasks_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.tasks_ = tasks_;
        } else {
          result.tasks_ = tasksBuilder_.build();
        }
        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 greptime.v1.meta.Ddl.AlterTableTasks) {
          return mergeFrom((greptime.v1.meta.Ddl.AlterTableTasks)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.AlterTableTasks other) {
        if (other == greptime.v1.meta.Ddl.AlterTableTasks.getDefaultInstance()) return this;
        if (tasksBuilder_ == null) {
          if (!other.tasks_.isEmpty()) {
            if (tasks_.isEmpty()) {
              tasks_ = other.tasks_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureTasksIsMutable();
              tasks_.addAll(other.tasks_);
            }
            onChanged();
          }
        } else {
          if (!other.tasks_.isEmpty()) {
            if (tasksBuilder_.isEmpty()) {
              tasksBuilder_.dispose();
              tasksBuilder_ = null;
              tasks_ = other.tasks_;
              bitField0_ = (bitField0_ & ~0x00000001);
              tasksBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getTasksFieldBuilder() : null;
            } else {
              tasksBuilder_.addAllMessages(other.tasks_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.AlterTableTasks parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.AlterTableTasks) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<greptime.v1.meta.Ddl.AlterTableTask> tasks_ =
        java.util.Collections.emptyList();
      private void ensureTasksIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          tasks_ = new java.util.ArrayList<greptime.v1.meta.Ddl.AlterTableTask>(tasks_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          greptime.v1.meta.Ddl.AlterTableTask, greptime.v1.meta.Ddl.AlterTableTask.Builder, greptime.v1.meta.Ddl.AlterTableTaskOrBuilder> tasksBuilder_;

      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public java.util.List<greptime.v1.meta.Ddl.AlterTableTask> getTasksList() {
        if (tasksBuilder_ == null) {
          return java.util.Collections.unmodifiableList(tasks_);
        } else {
          return tasksBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public int getTasksCount() {
        if (tasksBuilder_ == null) {
          return tasks_.size();
        } else {
          return tasksBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.AlterTableTask getTasks(int index) {
        if (tasksBuilder_ == null) {
          return tasks_.get(index);
        } else {
          return tasksBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public Builder setTasks(
          int index, greptime.v1.meta.Ddl.AlterTableTask value) {
        if (tasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTasksIsMutable();
          tasks_.set(index, value);
          onChanged();
        } else {
          tasksBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public Builder setTasks(
          int index, greptime.v1.meta.Ddl.AlterTableTask.Builder builderForValue) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.set(index, builderForValue.build());
          onChanged();
        } else {
          tasksBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public Builder addTasks(greptime.v1.meta.Ddl.AlterTableTask value) {
        if (tasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTasksIsMutable();
          tasks_.add(value);
          onChanged();
        } else {
          tasksBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public Builder addTasks(
          int index, greptime.v1.meta.Ddl.AlterTableTask value) {
        if (tasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTasksIsMutable();
          tasks_.add(index, value);
          onChanged();
        } else {
          tasksBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public Builder addTasks(
          greptime.v1.meta.Ddl.AlterTableTask.Builder builderForValue) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.add(builderForValue.build());
          onChanged();
        } else {
          tasksBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public Builder addTasks(
          int index, greptime.v1.meta.Ddl.AlterTableTask.Builder builderForValue) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.add(index, builderForValue.build());
          onChanged();
        } else {
          tasksBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public Builder addAllTasks(
          java.lang.Iterable<? extends greptime.v1.meta.Ddl.AlterTableTask> values) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, tasks_);
          onChanged();
        } else {
          tasksBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public Builder clearTasks() {
        if (tasksBuilder_ == null) {
          tasks_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          tasksBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public Builder removeTasks(int index) {
        if (tasksBuilder_ == null) {
          ensureTasksIsMutable();
          tasks_.remove(index);
          onChanged();
        } else {
          tasksBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.AlterTableTask.Builder getTasksBuilder(
          int index) {
        return getTasksFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.AlterTableTaskOrBuilder getTasksOrBuilder(
          int index) {
        if (tasksBuilder_ == null) {
          return tasks_.get(index);  } else {
          return tasksBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public java.util.List<? extends greptime.v1.meta.Ddl.AlterTableTaskOrBuilder> 
           getTasksOrBuilderList() {
        if (tasksBuilder_ != null) {
          return tasksBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(tasks_);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.AlterTableTask.Builder addTasksBuilder() {
        return getTasksFieldBuilder().addBuilder(
            greptime.v1.meta.Ddl.AlterTableTask.getDefaultInstance());
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public greptime.v1.meta.Ddl.AlterTableTask.Builder addTasksBuilder(
          int index) {
        return getTasksFieldBuilder().addBuilder(
            index, greptime.v1.meta.Ddl.AlterTableTask.getDefaultInstance());
      }
      /**
       * <code>repeated .greptime.v1.meta.AlterTableTask tasks = 1;</code>
       */
      public java.util.List<greptime.v1.meta.Ddl.AlterTableTask.Builder> 
           getTasksBuilderList() {
        return getTasksFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          greptime.v1.meta.Ddl.AlterTableTask, greptime.v1.meta.Ddl.AlterTableTask.Builder, greptime.v1.meta.Ddl.AlterTableTaskOrBuilder> 
          getTasksFieldBuilder() {
        if (tasksBuilder_ == null) {
          tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              greptime.v1.meta.Ddl.AlterTableTask, greptime.v1.meta.Ddl.AlterTableTask.Builder, greptime.v1.meta.Ddl.AlterTableTaskOrBuilder>(
                  tasks_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          tasks_ = null;
        }
        return tasksBuilder_;
      }
      @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:greptime.v1.meta.AlterTableTasks)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.AlterTableTasks)
    private static final greptime.v1.meta.Ddl.AlterTableTasks DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.AlterTableTasks();
    }

    public static greptime.v1.meta.Ddl.AlterTableTasks getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.AlterTableTasks getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface TruncateTableTaskOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.TruncateTableTask)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
     * @return Whether the truncateTable field is set.
     */
    boolean hasTruncateTable();
    /**
     * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
     * @return The truncateTable.
     */
    io.greptime.v1.Ddl.TruncateTableExpr getTruncateTable();
    /**
     * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
     */
    io.greptime.v1.Ddl.TruncateTableExprOrBuilder getTruncateTableOrBuilder();
  }
  /**
   * Protobuf type {@code greptime.v1.meta.TruncateTableTask}
   */
  public static final class TruncateTableTask extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.TruncateTableTask)
      TruncateTableTaskOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use TruncateTableTask.newBuilder() to construct.
    private TruncateTableTask(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private TruncateTableTask() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new TruncateTableTask();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private TruncateTableTask(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              io.greptime.v1.Ddl.TruncateTableExpr.Builder subBuilder = null;
              if (truncateTable_ != null) {
                subBuilder = truncateTable_.toBuilder();
              }
              truncateTable_ = input.readMessage(io.greptime.v1.Ddl.TruncateTableExpr.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(truncateTable_);
                truncateTable_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_TruncateTableTask_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_TruncateTableTask_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.TruncateTableTask.class, greptime.v1.meta.Ddl.TruncateTableTask.Builder.class);
    }

    public static final int TRUNCATE_TABLE_FIELD_NUMBER = 1;
    private io.greptime.v1.Ddl.TruncateTableExpr truncateTable_;
    /**
     * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
     * @return Whether the truncateTable field is set.
     */
    @java.lang.Override
    public boolean hasTruncateTable() {
      return truncateTable_ != null;
    }
    /**
     * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
     * @return The truncateTable.
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.TruncateTableExpr getTruncateTable() {
      return truncateTable_ == null ? io.greptime.v1.Ddl.TruncateTableExpr.getDefaultInstance() : truncateTable_;
    }
    /**
     * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.TruncateTableExprOrBuilder getTruncateTableOrBuilder() {
      return getTruncateTable();
    }

    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 (truncateTable_ != null) {
        output.writeMessage(1, getTruncateTable());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (truncateTable_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getTruncateTable());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.TruncateTableTask)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.TruncateTableTask other = (greptime.v1.meta.Ddl.TruncateTableTask) obj;

      if (hasTruncateTable() != other.hasTruncateTable()) return false;
      if (hasTruncateTable()) {
        if (!getTruncateTable()
            .equals(other.getTruncateTable())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasTruncateTable()) {
        hash = (37 * hash) + TRUNCATE_TABLE_FIELD_NUMBER;
        hash = (53 * hash) + getTruncateTable().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.TruncateTableTask parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.TruncateTableTask parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.TruncateTableTask parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.TruncateTableTask parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.TruncateTableTask parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.TruncateTableTask parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.TruncateTableTask parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.TruncateTableTask 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 greptime.v1.meta.Ddl.TruncateTableTask parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.TruncateTableTask 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 greptime.v1.meta.Ddl.TruncateTableTask parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.TruncateTableTask 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(greptime.v1.meta.Ddl.TruncateTableTask 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 greptime.v1.meta.TruncateTableTask}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.TruncateTableTask)
        greptime.v1.meta.Ddl.TruncateTableTaskOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_TruncateTableTask_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_TruncateTableTask_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.TruncateTableTask.class, greptime.v1.meta.Ddl.TruncateTableTask.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.TruncateTableTask.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (truncateTableBuilder_ == null) {
          truncateTable_ = null;
        } else {
          truncateTable_ = null;
          truncateTableBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_TruncateTableTask_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.TruncateTableTask getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.TruncateTableTask.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.TruncateTableTask build() {
        greptime.v1.meta.Ddl.TruncateTableTask result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.TruncateTableTask buildPartial() {
        greptime.v1.meta.Ddl.TruncateTableTask result = new greptime.v1.meta.Ddl.TruncateTableTask(this);
        if (truncateTableBuilder_ == null) {
          result.truncateTable_ = truncateTable_;
        } else {
          result.truncateTable_ = truncateTableBuilder_.build();
        }
        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 greptime.v1.meta.Ddl.TruncateTableTask) {
          return mergeFrom((greptime.v1.meta.Ddl.TruncateTableTask)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.TruncateTableTask other) {
        if (other == greptime.v1.meta.Ddl.TruncateTableTask.getDefaultInstance()) return this;
        if (other.hasTruncateTable()) {
          mergeTruncateTable(other.getTruncateTable());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.TruncateTableTask parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.TruncateTableTask) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private io.greptime.v1.Ddl.TruncateTableExpr truncateTable_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.TruncateTableExpr, io.greptime.v1.Ddl.TruncateTableExpr.Builder, io.greptime.v1.Ddl.TruncateTableExprOrBuilder> truncateTableBuilder_;
      /**
       * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
       * @return Whether the truncateTable field is set.
       */
      public boolean hasTruncateTable() {
        return truncateTableBuilder_ != null || truncateTable_ != null;
      }
      /**
       * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
       * @return The truncateTable.
       */
      public io.greptime.v1.Ddl.TruncateTableExpr getTruncateTable() {
        if (truncateTableBuilder_ == null) {
          return truncateTable_ == null ? io.greptime.v1.Ddl.TruncateTableExpr.getDefaultInstance() : truncateTable_;
        } else {
          return truncateTableBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
       */
      public Builder setTruncateTable(io.greptime.v1.Ddl.TruncateTableExpr value) {
        if (truncateTableBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          truncateTable_ = value;
          onChanged();
        } else {
          truncateTableBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
       */
      public Builder setTruncateTable(
          io.greptime.v1.Ddl.TruncateTableExpr.Builder builderForValue) {
        if (truncateTableBuilder_ == null) {
          truncateTable_ = builderForValue.build();
          onChanged();
        } else {
          truncateTableBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
       */
      public Builder mergeTruncateTable(io.greptime.v1.Ddl.TruncateTableExpr value) {
        if (truncateTableBuilder_ == null) {
          if (truncateTable_ != null) {
            truncateTable_ =
              io.greptime.v1.Ddl.TruncateTableExpr.newBuilder(truncateTable_).mergeFrom(value).buildPartial();
          } else {
            truncateTable_ = value;
          }
          onChanged();
        } else {
          truncateTableBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
       */
      public Builder clearTruncateTable() {
        if (truncateTableBuilder_ == null) {
          truncateTable_ = null;
          onChanged();
        } else {
          truncateTable_ = null;
          truncateTableBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
       */
      public io.greptime.v1.Ddl.TruncateTableExpr.Builder getTruncateTableBuilder() {
        
        onChanged();
        return getTruncateTableFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
       */
      public io.greptime.v1.Ddl.TruncateTableExprOrBuilder getTruncateTableOrBuilder() {
        if (truncateTableBuilder_ != null) {
          return truncateTableBuilder_.getMessageOrBuilder();
        } else {
          return truncateTable_ == null ?
              io.greptime.v1.Ddl.TruncateTableExpr.getDefaultInstance() : truncateTable_;
        }
      }
      /**
       * <code>.greptime.v1.TruncateTableExpr truncate_table = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.TruncateTableExpr, io.greptime.v1.Ddl.TruncateTableExpr.Builder, io.greptime.v1.Ddl.TruncateTableExprOrBuilder> 
          getTruncateTableFieldBuilder() {
        if (truncateTableBuilder_ == null) {
          truncateTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.greptime.v1.Ddl.TruncateTableExpr, io.greptime.v1.Ddl.TruncateTableExpr.Builder, io.greptime.v1.Ddl.TruncateTableExprOrBuilder>(
                  getTruncateTable(),
                  getParentForChildren(),
                  isClean());
          truncateTable_ = null;
        }
        return truncateTableBuilder_;
      }
      @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:greptime.v1.meta.TruncateTableTask)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.TruncateTableTask)
    private static final greptime.v1.meta.Ddl.TruncateTableTask DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.TruncateTableTask();
    }

    public static greptime.v1.meta.Ddl.TruncateTableTask getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.TruncateTableTask getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DropDatabaseTaskOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.DropDatabaseTask)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
     * @return Whether the dropDatabase field is set.
     */
    boolean hasDropDatabase();
    /**
     * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
     * @return The dropDatabase.
     */
    io.greptime.v1.Ddl.DropDatabaseExpr getDropDatabase();
    /**
     * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
     */
    io.greptime.v1.Ddl.DropDatabaseExprOrBuilder getDropDatabaseOrBuilder();
  }
  /**
   * Protobuf type {@code greptime.v1.meta.DropDatabaseTask}
   */
  public static final class DropDatabaseTask extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.DropDatabaseTask)
      DropDatabaseTaskOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DropDatabaseTask.newBuilder() to construct.
    private DropDatabaseTask(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DropDatabaseTask() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new DropDatabaseTask();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DropDatabaseTask(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              io.greptime.v1.Ddl.DropDatabaseExpr.Builder subBuilder = null;
              if (dropDatabase_ != null) {
                subBuilder = dropDatabase_.toBuilder();
              }
              dropDatabase_ = input.readMessage(io.greptime.v1.Ddl.DropDatabaseExpr.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(dropDatabase_);
                dropDatabase_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropDatabaseTask_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropDatabaseTask_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.DropDatabaseTask.class, greptime.v1.meta.Ddl.DropDatabaseTask.Builder.class);
    }

    public static final int DROP_DATABASE_FIELD_NUMBER = 1;
    private io.greptime.v1.Ddl.DropDatabaseExpr dropDatabase_;
    /**
     * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
     * @return Whether the dropDatabase field is set.
     */
    @java.lang.Override
    public boolean hasDropDatabase() {
      return dropDatabase_ != null;
    }
    /**
     * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
     * @return The dropDatabase.
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.DropDatabaseExpr getDropDatabase() {
      return dropDatabase_ == null ? io.greptime.v1.Ddl.DropDatabaseExpr.getDefaultInstance() : dropDatabase_;
    }
    /**
     * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.DropDatabaseExprOrBuilder getDropDatabaseOrBuilder() {
      return getDropDatabase();
    }

    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 (dropDatabase_ != null) {
        output.writeMessage(1, getDropDatabase());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (dropDatabase_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getDropDatabase());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.DropDatabaseTask)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.DropDatabaseTask other = (greptime.v1.meta.Ddl.DropDatabaseTask) obj;

      if (hasDropDatabase() != other.hasDropDatabase()) return false;
      if (hasDropDatabase()) {
        if (!getDropDatabase()
            .equals(other.getDropDatabase())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasDropDatabase()) {
        hash = (37 * hash) + DROP_DATABASE_FIELD_NUMBER;
        hash = (53 * hash) + getDropDatabase().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.DropDatabaseTask parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropDatabaseTask parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropDatabaseTask parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropDatabaseTask parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropDatabaseTask parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropDatabaseTask parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropDatabaseTask parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropDatabaseTask 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 greptime.v1.meta.Ddl.DropDatabaseTask parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropDatabaseTask 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 greptime.v1.meta.Ddl.DropDatabaseTask parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropDatabaseTask 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(greptime.v1.meta.Ddl.DropDatabaseTask 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 greptime.v1.meta.DropDatabaseTask}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.DropDatabaseTask)
        greptime.v1.meta.Ddl.DropDatabaseTaskOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropDatabaseTask_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropDatabaseTask_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.DropDatabaseTask.class, greptime.v1.meta.Ddl.DropDatabaseTask.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.DropDatabaseTask.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (dropDatabaseBuilder_ == null) {
          dropDatabase_ = null;
        } else {
          dropDatabase_ = null;
          dropDatabaseBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropDatabaseTask_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropDatabaseTask getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.DropDatabaseTask.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropDatabaseTask build() {
        greptime.v1.meta.Ddl.DropDatabaseTask result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropDatabaseTask buildPartial() {
        greptime.v1.meta.Ddl.DropDatabaseTask result = new greptime.v1.meta.Ddl.DropDatabaseTask(this);
        if (dropDatabaseBuilder_ == null) {
          result.dropDatabase_ = dropDatabase_;
        } else {
          result.dropDatabase_ = dropDatabaseBuilder_.build();
        }
        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 greptime.v1.meta.Ddl.DropDatabaseTask) {
          return mergeFrom((greptime.v1.meta.Ddl.DropDatabaseTask)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.DropDatabaseTask other) {
        if (other == greptime.v1.meta.Ddl.DropDatabaseTask.getDefaultInstance()) return this;
        if (other.hasDropDatabase()) {
          mergeDropDatabase(other.getDropDatabase());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.DropDatabaseTask parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.DropDatabaseTask) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private io.greptime.v1.Ddl.DropDatabaseExpr dropDatabase_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.DropDatabaseExpr, io.greptime.v1.Ddl.DropDatabaseExpr.Builder, io.greptime.v1.Ddl.DropDatabaseExprOrBuilder> dropDatabaseBuilder_;
      /**
       * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
       * @return Whether the dropDatabase field is set.
       */
      public boolean hasDropDatabase() {
        return dropDatabaseBuilder_ != null || dropDatabase_ != null;
      }
      /**
       * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
       * @return The dropDatabase.
       */
      public io.greptime.v1.Ddl.DropDatabaseExpr getDropDatabase() {
        if (dropDatabaseBuilder_ == null) {
          return dropDatabase_ == null ? io.greptime.v1.Ddl.DropDatabaseExpr.getDefaultInstance() : dropDatabase_;
        } else {
          return dropDatabaseBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
       */
      public Builder setDropDatabase(io.greptime.v1.Ddl.DropDatabaseExpr value) {
        if (dropDatabaseBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          dropDatabase_ = value;
          onChanged();
        } else {
          dropDatabaseBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
       */
      public Builder setDropDatabase(
          io.greptime.v1.Ddl.DropDatabaseExpr.Builder builderForValue) {
        if (dropDatabaseBuilder_ == null) {
          dropDatabase_ = builderForValue.build();
          onChanged();
        } else {
          dropDatabaseBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
       */
      public Builder mergeDropDatabase(io.greptime.v1.Ddl.DropDatabaseExpr value) {
        if (dropDatabaseBuilder_ == null) {
          if (dropDatabase_ != null) {
            dropDatabase_ =
              io.greptime.v1.Ddl.DropDatabaseExpr.newBuilder(dropDatabase_).mergeFrom(value).buildPartial();
          } else {
            dropDatabase_ = value;
          }
          onChanged();
        } else {
          dropDatabaseBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
       */
      public Builder clearDropDatabase() {
        if (dropDatabaseBuilder_ == null) {
          dropDatabase_ = null;
          onChanged();
        } else {
          dropDatabase_ = null;
          dropDatabaseBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
       */
      public io.greptime.v1.Ddl.DropDatabaseExpr.Builder getDropDatabaseBuilder() {
        
        onChanged();
        return getDropDatabaseFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
       */
      public io.greptime.v1.Ddl.DropDatabaseExprOrBuilder getDropDatabaseOrBuilder() {
        if (dropDatabaseBuilder_ != null) {
          return dropDatabaseBuilder_.getMessageOrBuilder();
        } else {
          return dropDatabase_ == null ?
              io.greptime.v1.Ddl.DropDatabaseExpr.getDefaultInstance() : dropDatabase_;
        }
      }
      /**
       * <code>.greptime.v1.DropDatabaseExpr drop_database = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.DropDatabaseExpr, io.greptime.v1.Ddl.DropDatabaseExpr.Builder, io.greptime.v1.Ddl.DropDatabaseExprOrBuilder> 
          getDropDatabaseFieldBuilder() {
        if (dropDatabaseBuilder_ == null) {
          dropDatabaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.greptime.v1.Ddl.DropDatabaseExpr, io.greptime.v1.Ddl.DropDatabaseExpr.Builder, io.greptime.v1.Ddl.DropDatabaseExprOrBuilder>(
                  getDropDatabase(),
                  getParentForChildren(),
                  isClean());
          dropDatabase_ = null;
        }
        return dropDatabaseBuilder_;
      }
      @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:greptime.v1.meta.DropDatabaseTask)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.DropDatabaseTask)
    private static final greptime.v1.meta.Ddl.DropDatabaseTask DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.DropDatabaseTask();
    }

    public static greptime.v1.meta.Ddl.DropDatabaseTask getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.DropDatabaseTask getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface CreateFlowTaskOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.CreateFlowTask)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
     * @return Whether the createFlow field is set.
     */
    boolean hasCreateFlow();
    /**
     * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
     * @return The createFlow.
     */
    io.greptime.v1.Ddl.CreateFlowExpr getCreateFlow();
    /**
     * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
     */
    io.greptime.v1.Ddl.CreateFlowExprOrBuilder getCreateFlowOrBuilder();
  }
  /**
   * Protobuf type {@code greptime.v1.meta.CreateFlowTask}
   */
  public static final class CreateFlowTask extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.CreateFlowTask)
      CreateFlowTaskOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CreateFlowTask.newBuilder() to construct.
    private CreateFlowTask(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private CreateFlowTask() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new CreateFlowTask();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CreateFlowTask(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              io.greptime.v1.Ddl.CreateFlowExpr.Builder subBuilder = null;
              if (createFlow_ != null) {
                subBuilder = createFlow_.toBuilder();
              }
              createFlow_ = input.readMessage(io.greptime.v1.Ddl.CreateFlowExpr.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(createFlow_);
                createFlow_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateFlowTask_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateFlowTask_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.CreateFlowTask.class, greptime.v1.meta.Ddl.CreateFlowTask.Builder.class);
    }

    public static final int CREATE_FLOW_FIELD_NUMBER = 1;
    private io.greptime.v1.Ddl.CreateFlowExpr createFlow_;
    /**
     * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
     * @return Whether the createFlow field is set.
     */
    @java.lang.Override
    public boolean hasCreateFlow() {
      return createFlow_ != null;
    }
    /**
     * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
     * @return The createFlow.
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.CreateFlowExpr getCreateFlow() {
      return createFlow_ == null ? io.greptime.v1.Ddl.CreateFlowExpr.getDefaultInstance() : createFlow_;
    }
    /**
     * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.CreateFlowExprOrBuilder getCreateFlowOrBuilder() {
      return getCreateFlow();
    }

    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 (createFlow_ != null) {
        output.writeMessage(1, getCreateFlow());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (createFlow_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getCreateFlow());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.CreateFlowTask)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.CreateFlowTask other = (greptime.v1.meta.Ddl.CreateFlowTask) obj;

      if (hasCreateFlow() != other.hasCreateFlow()) return false;
      if (hasCreateFlow()) {
        if (!getCreateFlow()
            .equals(other.getCreateFlow())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasCreateFlow()) {
        hash = (37 * hash) + CREATE_FLOW_FIELD_NUMBER;
        hash = (53 * hash) + getCreateFlow().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.CreateFlowTask parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateFlowTask parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateFlowTask parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateFlowTask parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateFlowTask parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateFlowTask parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateFlowTask parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateFlowTask 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 greptime.v1.meta.Ddl.CreateFlowTask parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateFlowTask 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 greptime.v1.meta.Ddl.CreateFlowTask parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateFlowTask 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(greptime.v1.meta.Ddl.CreateFlowTask 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 greptime.v1.meta.CreateFlowTask}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.CreateFlowTask)
        greptime.v1.meta.Ddl.CreateFlowTaskOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateFlowTask_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateFlowTask_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.CreateFlowTask.class, greptime.v1.meta.Ddl.CreateFlowTask.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.CreateFlowTask.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (createFlowBuilder_ == null) {
          createFlow_ = null;
        } else {
          createFlow_ = null;
          createFlowBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateFlowTask_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateFlowTask getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.CreateFlowTask.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateFlowTask build() {
        greptime.v1.meta.Ddl.CreateFlowTask result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateFlowTask buildPartial() {
        greptime.v1.meta.Ddl.CreateFlowTask result = new greptime.v1.meta.Ddl.CreateFlowTask(this);
        if (createFlowBuilder_ == null) {
          result.createFlow_ = createFlow_;
        } else {
          result.createFlow_ = createFlowBuilder_.build();
        }
        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 greptime.v1.meta.Ddl.CreateFlowTask) {
          return mergeFrom((greptime.v1.meta.Ddl.CreateFlowTask)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.CreateFlowTask other) {
        if (other == greptime.v1.meta.Ddl.CreateFlowTask.getDefaultInstance()) return this;
        if (other.hasCreateFlow()) {
          mergeCreateFlow(other.getCreateFlow());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.CreateFlowTask parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.CreateFlowTask) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private io.greptime.v1.Ddl.CreateFlowExpr createFlow_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.CreateFlowExpr, io.greptime.v1.Ddl.CreateFlowExpr.Builder, io.greptime.v1.Ddl.CreateFlowExprOrBuilder> createFlowBuilder_;
      /**
       * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
       * @return Whether the createFlow field is set.
       */
      public boolean hasCreateFlow() {
        return createFlowBuilder_ != null || createFlow_ != null;
      }
      /**
       * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
       * @return The createFlow.
       */
      public io.greptime.v1.Ddl.CreateFlowExpr getCreateFlow() {
        if (createFlowBuilder_ == null) {
          return createFlow_ == null ? io.greptime.v1.Ddl.CreateFlowExpr.getDefaultInstance() : createFlow_;
        } else {
          return createFlowBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
       */
      public Builder setCreateFlow(io.greptime.v1.Ddl.CreateFlowExpr value) {
        if (createFlowBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          createFlow_ = value;
          onChanged();
        } else {
          createFlowBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
       */
      public Builder setCreateFlow(
          io.greptime.v1.Ddl.CreateFlowExpr.Builder builderForValue) {
        if (createFlowBuilder_ == null) {
          createFlow_ = builderForValue.build();
          onChanged();
        } else {
          createFlowBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
       */
      public Builder mergeCreateFlow(io.greptime.v1.Ddl.CreateFlowExpr value) {
        if (createFlowBuilder_ == null) {
          if (createFlow_ != null) {
            createFlow_ =
              io.greptime.v1.Ddl.CreateFlowExpr.newBuilder(createFlow_).mergeFrom(value).buildPartial();
          } else {
            createFlow_ = value;
          }
          onChanged();
        } else {
          createFlowBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
       */
      public Builder clearCreateFlow() {
        if (createFlowBuilder_ == null) {
          createFlow_ = null;
          onChanged();
        } else {
          createFlow_ = null;
          createFlowBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
       */
      public io.greptime.v1.Ddl.CreateFlowExpr.Builder getCreateFlowBuilder() {
        
        onChanged();
        return getCreateFlowFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
       */
      public io.greptime.v1.Ddl.CreateFlowExprOrBuilder getCreateFlowOrBuilder() {
        if (createFlowBuilder_ != null) {
          return createFlowBuilder_.getMessageOrBuilder();
        } else {
          return createFlow_ == null ?
              io.greptime.v1.Ddl.CreateFlowExpr.getDefaultInstance() : createFlow_;
        }
      }
      /**
       * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.CreateFlowExpr, io.greptime.v1.Ddl.CreateFlowExpr.Builder, io.greptime.v1.Ddl.CreateFlowExprOrBuilder> 
          getCreateFlowFieldBuilder() {
        if (createFlowBuilder_ == null) {
          createFlowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.greptime.v1.Ddl.CreateFlowExpr, io.greptime.v1.Ddl.CreateFlowExpr.Builder, io.greptime.v1.Ddl.CreateFlowExprOrBuilder>(
                  getCreateFlow(),
                  getParentForChildren(),
                  isClean());
          createFlow_ = null;
        }
        return createFlowBuilder_;
      }
      @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:greptime.v1.meta.CreateFlowTask)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.CreateFlowTask)
    private static final greptime.v1.meta.Ddl.CreateFlowTask DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.CreateFlowTask();
    }

    public static greptime.v1.meta.Ddl.CreateFlowTask getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateFlowTask getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DropFlowTaskOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.DropFlowTask)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
     * @return Whether the dropFlow field is set.
     */
    boolean hasDropFlow();
    /**
     * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
     * @return The dropFlow.
     */
    io.greptime.v1.Ddl.DropFlowExpr getDropFlow();
    /**
     * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
     */
    io.greptime.v1.Ddl.DropFlowExprOrBuilder getDropFlowOrBuilder();
  }
  /**
   * Protobuf type {@code greptime.v1.meta.DropFlowTask}
   */
  public static final class DropFlowTask extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.DropFlowTask)
      DropFlowTaskOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DropFlowTask.newBuilder() to construct.
    private DropFlowTask(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DropFlowTask() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new DropFlowTask();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DropFlowTask(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              io.greptime.v1.Ddl.DropFlowExpr.Builder subBuilder = null;
              if (dropFlow_ != null) {
                subBuilder = dropFlow_.toBuilder();
              }
              dropFlow_ = input.readMessage(io.greptime.v1.Ddl.DropFlowExpr.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(dropFlow_);
                dropFlow_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropFlowTask_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropFlowTask_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.DropFlowTask.class, greptime.v1.meta.Ddl.DropFlowTask.Builder.class);
    }

    public static final int DROP_FLOW_FIELD_NUMBER = 1;
    private io.greptime.v1.Ddl.DropFlowExpr dropFlow_;
    /**
     * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
     * @return Whether the dropFlow field is set.
     */
    @java.lang.Override
    public boolean hasDropFlow() {
      return dropFlow_ != null;
    }
    /**
     * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
     * @return The dropFlow.
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.DropFlowExpr getDropFlow() {
      return dropFlow_ == null ? io.greptime.v1.Ddl.DropFlowExpr.getDefaultInstance() : dropFlow_;
    }
    /**
     * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.DropFlowExprOrBuilder getDropFlowOrBuilder() {
      return getDropFlow();
    }

    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 (dropFlow_ != null) {
        output.writeMessage(1, getDropFlow());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (dropFlow_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getDropFlow());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.DropFlowTask)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.DropFlowTask other = (greptime.v1.meta.Ddl.DropFlowTask) obj;

      if (hasDropFlow() != other.hasDropFlow()) return false;
      if (hasDropFlow()) {
        if (!getDropFlow()
            .equals(other.getDropFlow())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasDropFlow()) {
        hash = (37 * hash) + DROP_FLOW_FIELD_NUMBER;
        hash = (53 * hash) + getDropFlow().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.DropFlowTask parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropFlowTask parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropFlowTask parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropFlowTask parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropFlowTask parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropFlowTask parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropFlowTask parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropFlowTask 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 greptime.v1.meta.Ddl.DropFlowTask parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropFlowTask 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 greptime.v1.meta.Ddl.DropFlowTask parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropFlowTask 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(greptime.v1.meta.Ddl.DropFlowTask 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 greptime.v1.meta.DropFlowTask}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.DropFlowTask)
        greptime.v1.meta.Ddl.DropFlowTaskOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropFlowTask_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropFlowTask_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.DropFlowTask.class, greptime.v1.meta.Ddl.DropFlowTask.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.DropFlowTask.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (dropFlowBuilder_ == null) {
          dropFlow_ = null;
        } else {
          dropFlow_ = null;
          dropFlowBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropFlowTask_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropFlowTask getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.DropFlowTask.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropFlowTask build() {
        greptime.v1.meta.Ddl.DropFlowTask result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropFlowTask buildPartial() {
        greptime.v1.meta.Ddl.DropFlowTask result = new greptime.v1.meta.Ddl.DropFlowTask(this);
        if (dropFlowBuilder_ == null) {
          result.dropFlow_ = dropFlow_;
        } else {
          result.dropFlow_ = dropFlowBuilder_.build();
        }
        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 greptime.v1.meta.Ddl.DropFlowTask) {
          return mergeFrom((greptime.v1.meta.Ddl.DropFlowTask)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.DropFlowTask other) {
        if (other == greptime.v1.meta.Ddl.DropFlowTask.getDefaultInstance()) return this;
        if (other.hasDropFlow()) {
          mergeDropFlow(other.getDropFlow());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.DropFlowTask parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.DropFlowTask) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private io.greptime.v1.Ddl.DropFlowExpr dropFlow_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.DropFlowExpr, io.greptime.v1.Ddl.DropFlowExpr.Builder, io.greptime.v1.Ddl.DropFlowExprOrBuilder> dropFlowBuilder_;
      /**
       * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
       * @return Whether the dropFlow field is set.
       */
      public boolean hasDropFlow() {
        return dropFlowBuilder_ != null || dropFlow_ != null;
      }
      /**
       * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
       * @return The dropFlow.
       */
      public io.greptime.v1.Ddl.DropFlowExpr getDropFlow() {
        if (dropFlowBuilder_ == null) {
          return dropFlow_ == null ? io.greptime.v1.Ddl.DropFlowExpr.getDefaultInstance() : dropFlow_;
        } else {
          return dropFlowBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
       */
      public Builder setDropFlow(io.greptime.v1.Ddl.DropFlowExpr value) {
        if (dropFlowBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          dropFlow_ = value;
          onChanged();
        } else {
          dropFlowBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
       */
      public Builder setDropFlow(
          io.greptime.v1.Ddl.DropFlowExpr.Builder builderForValue) {
        if (dropFlowBuilder_ == null) {
          dropFlow_ = builderForValue.build();
          onChanged();
        } else {
          dropFlowBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
       */
      public Builder mergeDropFlow(io.greptime.v1.Ddl.DropFlowExpr value) {
        if (dropFlowBuilder_ == null) {
          if (dropFlow_ != null) {
            dropFlow_ =
              io.greptime.v1.Ddl.DropFlowExpr.newBuilder(dropFlow_).mergeFrom(value).buildPartial();
          } else {
            dropFlow_ = value;
          }
          onChanged();
        } else {
          dropFlowBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
       */
      public Builder clearDropFlow() {
        if (dropFlowBuilder_ == null) {
          dropFlow_ = null;
          onChanged();
        } else {
          dropFlow_ = null;
          dropFlowBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
       */
      public io.greptime.v1.Ddl.DropFlowExpr.Builder getDropFlowBuilder() {
        
        onChanged();
        return getDropFlowFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
       */
      public io.greptime.v1.Ddl.DropFlowExprOrBuilder getDropFlowOrBuilder() {
        if (dropFlowBuilder_ != null) {
          return dropFlowBuilder_.getMessageOrBuilder();
        } else {
          return dropFlow_ == null ?
              io.greptime.v1.Ddl.DropFlowExpr.getDefaultInstance() : dropFlow_;
        }
      }
      /**
       * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.DropFlowExpr, io.greptime.v1.Ddl.DropFlowExpr.Builder, io.greptime.v1.Ddl.DropFlowExprOrBuilder> 
          getDropFlowFieldBuilder() {
        if (dropFlowBuilder_ == null) {
          dropFlowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.greptime.v1.Ddl.DropFlowExpr, io.greptime.v1.Ddl.DropFlowExpr.Builder, io.greptime.v1.Ddl.DropFlowExprOrBuilder>(
                  getDropFlow(),
                  getParentForChildren(),
                  isClean());
          dropFlow_ = null;
        }
        return dropFlowBuilder_;
      }
      @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:greptime.v1.meta.DropFlowTask)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.DropFlowTask)
    private static final greptime.v1.meta.Ddl.DropFlowTask DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.DropFlowTask();
    }

    public static greptime.v1.meta.Ddl.DropFlowTask getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.DropFlowTask getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface CreateViewTaskOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.CreateViewTask)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
     * @return Whether the createView field is set.
     */
    boolean hasCreateView();
    /**
     * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
     * @return The createView.
     */
    io.greptime.v1.Ddl.CreateViewExpr getCreateView();
    /**
     * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
     */
    io.greptime.v1.Ddl.CreateViewExprOrBuilder getCreateViewOrBuilder();

    /**
     * <code>bytes view_info = 2;</code>
     * @return The viewInfo.
     */
    com.google.protobuf.ByteString getViewInfo();
  }
  /**
   * <pre>
   * Create a view task
   * </pre>
   *
   * Protobuf type {@code greptime.v1.meta.CreateViewTask}
   */
  public static final class CreateViewTask extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.CreateViewTask)
      CreateViewTaskOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CreateViewTask.newBuilder() to construct.
    private CreateViewTask(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private CreateViewTask() {
      viewInfo_ = com.google.protobuf.ByteString.EMPTY;
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new CreateViewTask();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CreateViewTask(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              io.greptime.v1.Ddl.CreateViewExpr.Builder subBuilder = null;
              if (createView_ != null) {
                subBuilder = createView_.toBuilder();
              }
              createView_ = input.readMessage(io.greptime.v1.Ddl.CreateViewExpr.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(createView_);
                createView_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {

              viewInfo_ = input.readBytes();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateViewTask_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateViewTask_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.CreateViewTask.class, greptime.v1.meta.Ddl.CreateViewTask.Builder.class);
    }

    public static final int CREATE_VIEW_FIELD_NUMBER = 1;
    private io.greptime.v1.Ddl.CreateViewExpr createView_;
    /**
     * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
     * @return Whether the createView field is set.
     */
    @java.lang.Override
    public boolean hasCreateView() {
      return createView_ != null;
    }
    /**
     * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
     * @return The createView.
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.CreateViewExpr getCreateView() {
      return createView_ == null ? io.greptime.v1.Ddl.CreateViewExpr.getDefaultInstance() : createView_;
    }
    /**
     * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.CreateViewExprOrBuilder getCreateViewOrBuilder() {
      return getCreateView();
    }

    public static final int VIEW_INFO_FIELD_NUMBER = 2;
    private com.google.protobuf.ByteString viewInfo_;
    /**
     * <code>bytes view_info = 2;</code>
     * @return The viewInfo.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getViewInfo() {
      return viewInfo_;
    }

    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 (createView_ != null) {
        output.writeMessage(1, getCreateView());
      }
      if (!viewInfo_.isEmpty()) {
        output.writeBytes(2, viewInfo_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (createView_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getCreateView());
      }
      if (!viewInfo_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, viewInfo_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.CreateViewTask)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.CreateViewTask other = (greptime.v1.meta.Ddl.CreateViewTask) obj;

      if (hasCreateView() != other.hasCreateView()) return false;
      if (hasCreateView()) {
        if (!getCreateView()
            .equals(other.getCreateView())) return false;
      }
      if (!getViewInfo()
          .equals(other.getViewInfo())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasCreateView()) {
        hash = (37 * hash) + CREATE_VIEW_FIELD_NUMBER;
        hash = (53 * hash) + getCreateView().hashCode();
      }
      hash = (37 * hash) + VIEW_INFO_FIELD_NUMBER;
      hash = (53 * hash) + getViewInfo().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.CreateViewTask parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateViewTask parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateViewTask parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateViewTask parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateViewTask parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.CreateViewTask parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.CreateViewTask parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateViewTask 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 greptime.v1.meta.Ddl.CreateViewTask parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateViewTask 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 greptime.v1.meta.Ddl.CreateViewTask parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.CreateViewTask 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(greptime.v1.meta.Ddl.CreateViewTask 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;
    }
    /**
     * <pre>
     * Create a view task
     * </pre>
     *
     * Protobuf type {@code greptime.v1.meta.CreateViewTask}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.CreateViewTask)
        greptime.v1.meta.Ddl.CreateViewTaskOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateViewTask_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateViewTask_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.CreateViewTask.class, greptime.v1.meta.Ddl.CreateViewTask.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.CreateViewTask.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (createViewBuilder_ == null) {
          createView_ = null;
        } else {
          createView_ = null;
          createViewBuilder_ = null;
        }
        viewInfo_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CreateViewTask_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateViewTask getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.CreateViewTask.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateViewTask build() {
        greptime.v1.meta.Ddl.CreateViewTask result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateViewTask buildPartial() {
        greptime.v1.meta.Ddl.CreateViewTask result = new greptime.v1.meta.Ddl.CreateViewTask(this);
        if (createViewBuilder_ == null) {
          result.createView_ = createView_;
        } else {
          result.createView_ = createViewBuilder_.build();
        }
        result.viewInfo_ = viewInfo_;
        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 greptime.v1.meta.Ddl.CreateViewTask) {
          return mergeFrom((greptime.v1.meta.Ddl.CreateViewTask)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.CreateViewTask other) {
        if (other == greptime.v1.meta.Ddl.CreateViewTask.getDefaultInstance()) return this;
        if (other.hasCreateView()) {
          mergeCreateView(other.getCreateView());
        }
        if (other.getViewInfo() != com.google.protobuf.ByteString.EMPTY) {
          setViewInfo(other.getViewInfo());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.CreateViewTask parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.CreateViewTask) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private io.greptime.v1.Ddl.CreateViewExpr createView_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.CreateViewExpr, io.greptime.v1.Ddl.CreateViewExpr.Builder, io.greptime.v1.Ddl.CreateViewExprOrBuilder> createViewBuilder_;
      /**
       * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
       * @return Whether the createView field is set.
       */
      public boolean hasCreateView() {
        return createViewBuilder_ != null || createView_ != null;
      }
      /**
       * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
       * @return The createView.
       */
      public io.greptime.v1.Ddl.CreateViewExpr getCreateView() {
        if (createViewBuilder_ == null) {
          return createView_ == null ? io.greptime.v1.Ddl.CreateViewExpr.getDefaultInstance() : createView_;
        } else {
          return createViewBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
       */
      public Builder setCreateView(io.greptime.v1.Ddl.CreateViewExpr value) {
        if (createViewBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          createView_ = value;
          onChanged();
        } else {
          createViewBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
       */
      public Builder setCreateView(
          io.greptime.v1.Ddl.CreateViewExpr.Builder builderForValue) {
        if (createViewBuilder_ == null) {
          createView_ = builderForValue.build();
          onChanged();
        } else {
          createViewBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
       */
      public Builder mergeCreateView(io.greptime.v1.Ddl.CreateViewExpr value) {
        if (createViewBuilder_ == null) {
          if (createView_ != null) {
            createView_ =
              io.greptime.v1.Ddl.CreateViewExpr.newBuilder(createView_).mergeFrom(value).buildPartial();
          } else {
            createView_ = value;
          }
          onChanged();
        } else {
          createViewBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
       */
      public Builder clearCreateView() {
        if (createViewBuilder_ == null) {
          createView_ = null;
          onChanged();
        } else {
          createView_ = null;
          createViewBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
       */
      public io.greptime.v1.Ddl.CreateViewExpr.Builder getCreateViewBuilder() {
        
        onChanged();
        return getCreateViewFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
       */
      public io.greptime.v1.Ddl.CreateViewExprOrBuilder getCreateViewOrBuilder() {
        if (createViewBuilder_ != null) {
          return createViewBuilder_.getMessageOrBuilder();
        } else {
          return createView_ == null ?
              io.greptime.v1.Ddl.CreateViewExpr.getDefaultInstance() : createView_;
        }
      }
      /**
       * <code>.greptime.v1.CreateViewExpr create_view = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.CreateViewExpr, io.greptime.v1.Ddl.CreateViewExpr.Builder, io.greptime.v1.Ddl.CreateViewExprOrBuilder> 
          getCreateViewFieldBuilder() {
        if (createViewBuilder_ == null) {
          createViewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.greptime.v1.Ddl.CreateViewExpr, io.greptime.v1.Ddl.CreateViewExpr.Builder, io.greptime.v1.Ddl.CreateViewExprOrBuilder>(
                  getCreateView(),
                  getParentForChildren(),
                  isClean());
          createView_ = null;
        }
        return createViewBuilder_;
      }

      private com.google.protobuf.ByteString viewInfo_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>bytes view_info = 2;</code>
       * @return The viewInfo.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getViewInfo() {
        return viewInfo_;
      }
      /**
       * <code>bytes view_info = 2;</code>
       * @param value The viewInfo to set.
       * @return This builder for chaining.
       */
      public Builder setViewInfo(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        viewInfo_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bytes view_info = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearViewInfo() {
        
        viewInfo_ = getDefaultInstance().getViewInfo();
        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:greptime.v1.meta.CreateViewTask)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.CreateViewTask)
    private static final greptime.v1.meta.Ddl.CreateViewTask DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.CreateViewTask();
    }

    public static greptime.v1.meta.Ddl.CreateViewTask getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateViewTask getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DropViewTaskOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.DropViewTask)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
     * @return Whether the dropView field is set.
     */
    boolean hasDropView();
    /**
     * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
     * @return The dropView.
     */
    io.greptime.v1.Ddl.DropViewExpr getDropView();
    /**
     * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
     */
    io.greptime.v1.Ddl.DropViewExprOrBuilder getDropViewOrBuilder();
  }
  /**
   * <pre>
   * Drop a view task
   * </pre>
   *
   * Protobuf type {@code greptime.v1.meta.DropViewTask}
   */
  public static final class DropViewTask extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.DropViewTask)
      DropViewTaskOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DropViewTask.newBuilder() to construct.
    private DropViewTask(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DropViewTask() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new DropViewTask();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DropViewTask(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              io.greptime.v1.Ddl.DropViewExpr.Builder subBuilder = null;
              if (dropView_ != null) {
                subBuilder = dropView_.toBuilder();
              }
              dropView_ = input.readMessage(io.greptime.v1.Ddl.DropViewExpr.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(dropView_);
                dropView_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropViewTask_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropViewTask_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.DropViewTask.class, greptime.v1.meta.Ddl.DropViewTask.Builder.class);
    }

    public static final int DROP_VIEW_FIELD_NUMBER = 1;
    private io.greptime.v1.Ddl.DropViewExpr dropView_;
    /**
     * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
     * @return Whether the dropView field is set.
     */
    @java.lang.Override
    public boolean hasDropView() {
      return dropView_ != null;
    }
    /**
     * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
     * @return The dropView.
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.DropViewExpr getDropView() {
      return dropView_ == null ? io.greptime.v1.Ddl.DropViewExpr.getDefaultInstance() : dropView_;
    }
    /**
     * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.DropViewExprOrBuilder getDropViewOrBuilder() {
      return getDropView();
    }

    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 (dropView_ != null) {
        output.writeMessage(1, getDropView());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (dropView_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getDropView());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.DropViewTask)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.DropViewTask other = (greptime.v1.meta.Ddl.DropViewTask) obj;

      if (hasDropView() != other.hasDropView()) return false;
      if (hasDropView()) {
        if (!getDropView()
            .equals(other.getDropView())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasDropView()) {
        hash = (37 * hash) + DROP_VIEW_FIELD_NUMBER;
        hash = (53 * hash) + getDropView().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.DropViewTask parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropViewTask parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropViewTask parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropViewTask parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropViewTask parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DropViewTask parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DropViewTask parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropViewTask 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 greptime.v1.meta.Ddl.DropViewTask parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropViewTask 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 greptime.v1.meta.Ddl.DropViewTask parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DropViewTask 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(greptime.v1.meta.Ddl.DropViewTask 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;
    }
    /**
     * <pre>
     * Drop a view task
     * </pre>
     *
     * Protobuf type {@code greptime.v1.meta.DropViewTask}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.DropViewTask)
        greptime.v1.meta.Ddl.DropViewTaskOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropViewTask_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropViewTask_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.DropViewTask.class, greptime.v1.meta.Ddl.DropViewTask.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.DropViewTask.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (dropViewBuilder_ == null) {
          dropView_ = null;
        } else {
          dropView_ = null;
          dropViewBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DropViewTask_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropViewTask getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.DropViewTask.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropViewTask build() {
        greptime.v1.meta.Ddl.DropViewTask result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DropViewTask buildPartial() {
        greptime.v1.meta.Ddl.DropViewTask result = new greptime.v1.meta.Ddl.DropViewTask(this);
        if (dropViewBuilder_ == null) {
          result.dropView_ = dropView_;
        } else {
          result.dropView_ = dropViewBuilder_.build();
        }
        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 greptime.v1.meta.Ddl.DropViewTask) {
          return mergeFrom((greptime.v1.meta.Ddl.DropViewTask)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.DropViewTask other) {
        if (other == greptime.v1.meta.Ddl.DropViewTask.getDefaultInstance()) return this;
        if (other.hasDropView()) {
          mergeDropView(other.getDropView());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.DropViewTask parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.DropViewTask) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private io.greptime.v1.Ddl.DropViewExpr dropView_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.DropViewExpr, io.greptime.v1.Ddl.DropViewExpr.Builder, io.greptime.v1.Ddl.DropViewExprOrBuilder> dropViewBuilder_;
      /**
       * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
       * @return Whether the dropView field is set.
       */
      public boolean hasDropView() {
        return dropViewBuilder_ != null || dropView_ != null;
      }
      /**
       * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
       * @return The dropView.
       */
      public io.greptime.v1.Ddl.DropViewExpr getDropView() {
        if (dropViewBuilder_ == null) {
          return dropView_ == null ? io.greptime.v1.Ddl.DropViewExpr.getDefaultInstance() : dropView_;
        } else {
          return dropViewBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
       */
      public Builder setDropView(io.greptime.v1.Ddl.DropViewExpr value) {
        if (dropViewBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          dropView_ = value;
          onChanged();
        } else {
          dropViewBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
       */
      public Builder setDropView(
          io.greptime.v1.Ddl.DropViewExpr.Builder builderForValue) {
        if (dropViewBuilder_ == null) {
          dropView_ = builderForValue.build();
          onChanged();
        } else {
          dropViewBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
       */
      public Builder mergeDropView(io.greptime.v1.Ddl.DropViewExpr value) {
        if (dropViewBuilder_ == null) {
          if (dropView_ != null) {
            dropView_ =
              io.greptime.v1.Ddl.DropViewExpr.newBuilder(dropView_).mergeFrom(value).buildPartial();
          } else {
            dropView_ = value;
          }
          onChanged();
        } else {
          dropViewBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
       */
      public Builder clearDropView() {
        if (dropViewBuilder_ == null) {
          dropView_ = null;
          onChanged();
        } else {
          dropView_ = null;
          dropViewBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
       */
      public io.greptime.v1.Ddl.DropViewExpr.Builder getDropViewBuilder() {
        
        onChanged();
        return getDropViewFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
       */
      public io.greptime.v1.Ddl.DropViewExprOrBuilder getDropViewOrBuilder() {
        if (dropViewBuilder_ != null) {
          return dropViewBuilder_.getMessageOrBuilder();
        } else {
          return dropView_ == null ?
              io.greptime.v1.Ddl.DropViewExpr.getDefaultInstance() : dropView_;
        }
      }
      /**
       * <code>.greptime.v1.DropViewExpr drop_view = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.DropViewExpr, io.greptime.v1.Ddl.DropViewExpr.Builder, io.greptime.v1.Ddl.DropViewExprOrBuilder> 
          getDropViewFieldBuilder() {
        if (dropViewBuilder_ == null) {
          dropViewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.greptime.v1.Ddl.DropViewExpr, io.greptime.v1.Ddl.DropViewExpr.Builder, io.greptime.v1.Ddl.DropViewExprOrBuilder>(
                  getDropView(),
                  getParentForChildren(),
                  isClean());
          dropView_ = null;
        }
        return dropViewBuilder_;
      }
      @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:greptime.v1.meta.DropViewTask)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.DropViewTask)
    private static final greptime.v1.meta.Ddl.DropViewTask DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.DropViewTask();
    }

    public static greptime.v1.meta.Ddl.DropViewTask getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.DropViewTask getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface AlterDatabaseTaskOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.AlterDatabaseTask)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
     * @return Whether the task field is set.
     */
    boolean hasTask();
    /**
     * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
     * @return The task.
     */
    io.greptime.v1.Ddl.AlterDatabaseExpr getTask();
    /**
     * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
     */
    io.greptime.v1.Ddl.AlterDatabaseExprOrBuilder getTaskOrBuilder();
  }
  /**
   * <pre>
   * Alter database tasks
   * </pre>
   *
   * Protobuf type {@code greptime.v1.meta.AlterDatabaseTask}
   */
  public static final class AlterDatabaseTask extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.AlterDatabaseTask)
      AlterDatabaseTaskOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AlterDatabaseTask.newBuilder() to construct.
    private AlterDatabaseTask(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AlterDatabaseTask() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new AlterDatabaseTask();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private AlterDatabaseTask(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              io.greptime.v1.Ddl.AlterDatabaseExpr.Builder subBuilder = null;
              if (task_ != null) {
                subBuilder = task_.toBuilder();
              }
              task_ = input.readMessage(io.greptime.v1.Ddl.AlterDatabaseExpr.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(task_);
                task_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterDatabaseTask_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterDatabaseTask_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.AlterDatabaseTask.class, greptime.v1.meta.Ddl.AlterDatabaseTask.Builder.class);
    }

    public static final int TASK_FIELD_NUMBER = 1;
    private io.greptime.v1.Ddl.AlterDatabaseExpr task_;
    /**
     * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
     * @return Whether the task field is set.
     */
    @java.lang.Override
    public boolean hasTask() {
      return task_ != null;
    }
    /**
     * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
     * @return The task.
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.AlterDatabaseExpr getTask() {
      return task_ == null ? io.greptime.v1.Ddl.AlterDatabaseExpr.getDefaultInstance() : task_;
    }
    /**
     * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.AlterDatabaseExprOrBuilder getTaskOrBuilder() {
      return getTask();
    }

    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 (task_ != null) {
        output.writeMessage(1, getTask());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (task_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getTask());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.AlterDatabaseTask)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.AlterDatabaseTask other = (greptime.v1.meta.Ddl.AlterDatabaseTask) obj;

      if (hasTask() != other.hasTask()) return false;
      if (hasTask()) {
        if (!getTask()
            .equals(other.getTask())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasTask()) {
        hash = (37 * hash) + TASK_FIELD_NUMBER;
        hash = (53 * hash) + getTask().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.AlterDatabaseTask parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.AlterDatabaseTask parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.AlterDatabaseTask parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.AlterDatabaseTask parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.AlterDatabaseTask parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.AlterDatabaseTask parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.AlterDatabaseTask parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.AlterDatabaseTask 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 greptime.v1.meta.Ddl.AlterDatabaseTask parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.AlterDatabaseTask 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 greptime.v1.meta.Ddl.AlterDatabaseTask parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.AlterDatabaseTask 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(greptime.v1.meta.Ddl.AlterDatabaseTask 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;
    }
    /**
     * <pre>
     * Alter database tasks
     * </pre>
     *
     * Protobuf type {@code greptime.v1.meta.AlterDatabaseTask}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.AlterDatabaseTask)
        greptime.v1.meta.Ddl.AlterDatabaseTaskOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterDatabaseTask_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterDatabaseTask_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.AlterDatabaseTask.class, greptime.v1.meta.Ddl.AlterDatabaseTask.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.AlterDatabaseTask.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (taskBuilder_ == null) {
          task_ = null;
        } else {
          task_ = null;
          taskBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_AlterDatabaseTask_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterDatabaseTask getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.AlterDatabaseTask.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterDatabaseTask build() {
        greptime.v1.meta.Ddl.AlterDatabaseTask result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterDatabaseTask buildPartial() {
        greptime.v1.meta.Ddl.AlterDatabaseTask result = new greptime.v1.meta.Ddl.AlterDatabaseTask(this);
        if (taskBuilder_ == null) {
          result.task_ = task_;
        } else {
          result.task_ = taskBuilder_.build();
        }
        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 greptime.v1.meta.Ddl.AlterDatabaseTask) {
          return mergeFrom((greptime.v1.meta.Ddl.AlterDatabaseTask)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.AlterDatabaseTask other) {
        if (other == greptime.v1.meta.Ddl.AlterDatabaseTask.getDefaultInstance()) return this;
        if (other.hasTask()) {
          mergeTask(other.getTask());
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.AlterDatabaseTask parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.AlterDatabaseTask) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private io.greptime.v1.Ddl.AlterDatabaseExpr task_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.AlterDatabaseExpr, io.greptime.v1.Ddl.AlterDatabaseExpr.Builder, io.greptime.v1.Ddl.AlterDatabaseExprOrBuilder> taskBuilder_;
      /**
       * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
       * @return Whether the task field is set.
       */
      public boolean hasTask() {
        return taskBuilder_ != null || task_ != null;
      }
      /**
       * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
       * @return The task.
       */
      public io.greptime.v1.Ddl.AlterDatabaseExpr getTask() {
        if (taskBuilder_ == null) {
          return task_ == null ? io.greptime.v1.Ddl.AlterDatabaseExpr.getDefaultInstance() : task_;
        } else {
          return taskBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
       */
      public Builder setTask(io.greptime.v1.Ddl.AlterDatabaseExpr value) {
        if (taskBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          taskBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
       */
      public Builder setTask(
          io.greptime.v1.Ddl.AlterDatabaseExpr.Builder builderForValue) {
        if (taskBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          taskBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
       */
      public Builder mergeTask(io.greptime.v1.Ddl.AlterDatabaseExpr value) {
        if (taskBuilder_ == null) {
          if (task_ != null) {
            task_ =
              io.greptime.v1.Ddl.AlterDatabaseExpr.newBuilder(task_).mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          taskBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
       */
      public Builder clearTask() {
        if (taskBuilder_ == null) {
          task_ = null;
          onChanged();
        } else {
          task_ = null;
          taskBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
       */
      public io.greptime.v1.Ddl.AlterDatabaseExpr.Builder getTaskBuilder() {
        
        onChanged();
        return getTaskFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
       */
      public io.greptime.v1.Ddl.AlterDatabaseExprOrBuilder getTaskOrBuilder() {
        if (taskBuilder_ != null) {
          return taskBuilder_.getMessageOrBuilder();
        } else {
          return task_ == null ?
              io.greptime.v1.Ddl.AlterDatabaseExpr.getDefaultInstance() : task_;
        }
      }
      /**
       * <code>.greptime.v1.AlterDatabaseExpr task = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Ddl.AlterDatabaseExpr, io.greptime.v1.Ddl.AlterDatabaseExpr.Builder, io.greptime.v1.Ddl.AlterDatabaseExprOrBuilder> 
          getTaskFieldBuilder() {
        if (taskBuilder_ == null) {
          taskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.greptime.v1.Ddl.AlterDatabaseExpr, io.greptime.v1.Ddl.AlterDatabaseExpr.Builder, io.greptime.v1.Ddl.AlterDatabaseExprOrBuilder>(
                  getTask(),
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        return taskBuilder_;
      }
      @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:greptime.v1.meta.AlterDatabaseTask)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.AlterDatabaseTask)
    private static final greptime.v1.meta.Ddl.AlterDatabaseTask DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.AlterDatabaseTask();
    }

    public static greptime.v1.meta.Ddl.AlterDatabaseTask getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.AlterDatabaseTask getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DdlTaskRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.DdlTaskRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
     * @return Whether the header field is set.
     */
    boolean hasHeader();
    /**
     * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
     * @return The header.
     */
    greptime.v1.meta.Common.RequestHeader getHeader();
    /**
     * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
     */
    greptime.v1.meta.Common.RequestHeaderOrBuilder getHeaderOrBuilder();

    /**
     * <code>.greptime.v1.QueryContext query_context = 64;</code>
     * @return Whether the queryContext field is set.
     */
    boolean hasQueryContext();
    /**
     * <code>.greptime.v1.QueryContext query_context = 64;</code>
     * @return The queryContext.
     */
    io.greptime.v1.Common.QueryContext getQueryContext();
    /**
     * <code>.greptime.v1.QueryContext query_context = 64;</code>
     */
    io.greptime.v1.Common.QueryContextOrBuilder getQueryContextOrBuilder();

    /**
     * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
     * @return Whether the createTableTask field is set.
     */
    boolean hasCreateTableTask();
    /**
     * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
     * @return The createTableTask.
     */
    greptime.v1.meta.Ddl.CreateTableTask getCreateTableTask();
    /**
     * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
     */
    greptime.v1.meta.Ddl.CreateTableTaskOrBuilder getCreateTableTaskOrBuilder();

    /**
     * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
     * @return Whether the dropTableTask field is set.
     */
    boolean hasDropTableTask();
    /**
     * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
     * @return The dropTableTask.
     */
    greptime.v1.meta.Ddl.DropTableTask getDropTableTask();
    /**
     * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
     */
    greptime.v1.meta.Ddl.DropTableTaskOrBuilder getDropTableTaskOrBuilder();

    /**
     * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
     * @return Whether the alterTableTask field is set.
     */
    boolean hasAlterTableTask();
    /**
     * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
     * @return The alterTableTask.
     */
    greptime.v1.meta.Ddl.AlterTableTask getAlterTableTask();
    /**
     * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
     */
    greptime.v1.meta.Ddl.AlterTableTaskOrBuilder getAlterTableTaskOrBuilder();

    /**
     * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
     * @return Whether the truncateTableTask field is set.
     */
    boolean hasTruncateTableTask();
    /**
     * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
     * @return The truncateTableTask.
     */
    greptime.v1.meta.Ddl.TruncateTableTask getTruncateTableTask();
    /**
     * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
     */
    greptime.v1.meta.Ddl.TruncateTableTaskOrBuilder getTruncateTableTaskOrBuilder();

    /**
     * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
     * @return Whether the createTableTasks field is set.
     */
    boolean hasCreateTableTasks();
    /**
     * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
     * @return The createTableTasks.
     */
    greptime.v1.meta.Ddl.CreateTableTasks getCreateTableTasks();
    /**
     * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
     */
    greptime.v1.meta.Ddl.CreateTableTasksOrBuilder getCreateTableTasksOrBuilder();

    /**
     * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
     * @return Whether the dropTableTasks field is set.
     */
    boolean hasDropTableTasks();
    /**
     * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
     * @return The dropTableTasks.
     */
    greptime.v1.meta.Ddl.DropTableTasks getDropTableTasks();
    /**
     * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
     */
    greptime.v1.meta.Ddl.DropTableTasksOrBuilder getDropTableTasksOrBuilder();

    /**
     * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
     * @return Whether the alterTableTasks field is set.
     */
    boolean hasAlterTableTasks();
    /**
     * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
     * @return The alterTableTasks.
     */
    greptime.v1.meta.Ddl.AlterTableTasks getAlterTableTasks();
    /**
     * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
     */
    greptime.v1.meta.Ddl.AlterTableTasksOrBuilder getAlterTableTasksOrBuilder();

    /**
     * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
     * @return Whether the dropDatabaseTask field is set.
     */
    boolean hasDropDatabaseTask();
    /**
     * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
     * @return The dropDatabaseTask.
     */
    greptime.v1.meta.Ddl.DropDatabaseTask getDropDatabaseTask();
    /**
     * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
     */
    greptime.v1.meta.Ddl.DropDatabaseTaskOrBuilder getDropDatabaseTaskOrBuilder();

    /**
     * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
     * @return Whether the createDatabaseTask field is set.
     */
    boolean hasCreateDatabaseTask();
    /**
     * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
     * @return The createDatabaseTask.
     */
    greptime.v1.meta.Ddl.CreateDatabaseTask getCreateDatabaseTask();
    /**
     * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
     */
    greptime.v1.meta.Ddl.CreateDatabaseTaskOrBuilder getCreateDatabaseTaskOrBuilder();

    /**
     * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
     * @return Whether the createFlowTask field is set.
     */
    boolean hasCreateFlowTask();
    /**
     * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
     * @return The createFlowTask.
     */
    greptime.v1.meta.Ddl.CreateFlowTask getCreateFlowTask();
    /**
     * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
     */
    greptime.v1.meta.Ddl.CreateFlowTaskOrBuilder getCreateFlowTaskOrBuilder();

    /**
     * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
     * @return Whether the dropFlowTask field is set.
     */
    boolean hasDropFlowTask();
    /**
     * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
     * @return The dropFlowTask.
     */
    greptime.v1.meta.Ddl.DropFlowTask getDropFlowTask();
    /**
     * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
     */
    greptime.v1.meta.Ddl.DropFlowTaskOrBuilder getDropFlowTaskOrBuilder();

    /**
     * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
     * @return Whether the createViewTask field is set.
     */
    boolean hasCreateViewTask();
    /**
     * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
     * @return The createViewTask.
     */
    greptime.v1.meta.Ddl.CreateViewTask getCreateViewTask();
    /**
     * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
     */
    greptime.v1.meta.Ddl.CreateViewTaskOrBuilder getCreateViewTaskOrBuilder();

    /**
     * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
     * @return Whether the dropViewTask field is set.
     */
    boolean hasDropViewTask();
    /**
     * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
     * @return The dropViewTask.
     */
    greptime.v1.meta.Ddl.DropViewTask getDropViewTask();
    /**
     * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
     */
    greptime.v1.meta.Ddl.DropViewTaskOrBuilder getDropViewTaskOrBuilder();

    /**
     * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
     * @return Whether the alterDatabaseTask field is set.
     */
    boolean hasAlterDatabaseTask();
    /**
     * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
     * @return The alterDatabaseTask.
     */
    greptime.v1.meta.Ddl.AlterDatabaseTask getAlterDatabaseTask();
    /**
     * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
     */
    greptime.v1.meta.Ddl.AlterDatabaseTaskOrBuilder getAlterDatabaseTaskOrBuilder();

    public greptime.v1.meta.Ddl.DdlTaskRequest.TaskCase getTaskCase();
  }
  /**
   * Protobuf type {@code greptime.v1.meta.DdlTaskRequest}
   */
  public static final class DdlTaskRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.DdlTaskRequest)
      DdlTaskRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DdlTaskRequest.newBuilder() to construct.
    private DdlTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DdlTaskRequest() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new DdlTaskRequest();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DdlTaskRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              greptime.v1.meta.Common.RequestHeader.Builder subBuilder = null;
              if (header_ != null) {
                subBuilder = header_.toBuilder();
              }
              header_ = input.readMessage(greptime.v1.meta.Common.RequestHeader.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(header_);
                header_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              greptime.v1.meta.Ddl.CreateTableTask.Builder subBuilder = null;
              if (taskCase_ == 2) {
                subBuilder = ((greptime.v1.meta.Ddl.CreateTableTask) task_).toBuilder();
              }
              task_ =
                  input.readMessage(greptime.v1.meta.Ddl.CreateTableTask.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((greptime.v1.meta.Ddl.CreateTableTask) task_);
                task_ = subBuilder.buildPartial();
              }
              taskCase_ = 2;
              break;
            }
            case 26: {
              greptime.v1.meta.Ddl.DropTableTask.Builder subBuilder = null;
              if (taskCase_ == 3) {
                subBuilder = ((greptime.v1.meta.Ddl.DropTableTask) task_).toBuilder();
              }
              task_ =
                  input.readMessage(greptime.v1.meta.Ddl.DropTableTask.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((greptime.v1.meta.Ddl.DropTableTask) task_);
                task_ = subBuilder.buildPartial();
              }
              taskCase_ = 3;
              break;
            }
            case 34: {
              greptime.v1.meta.Ddl.AlterTableTask.Builder subBuilder = null;
              if (taskCase_ == 4) {
                subBuilder = ((greptime.v1.meta.Ddl.AlterTableTask) task_).toBuilder();
              }
              task_ =
                  input.readMessage(greptime.v1.meta.Ddl.AlterTableTask.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((greptime.v1.meta.Ddl.AlterTableTask) task_);
                task_ = subBuilder.buildPartial();
              }
              taskCase_ = 4;
              break;
            }
            case 42: {
              greptime.v1.meta.Ddl.TruncateTableTask.Builder subBuilder = null;
              if (taskCase_ == 5) {
                subBuilder = ((greptime.v1.meta.Ddl.TruncateTableTask) task_).toBuilder();
              }
              task_ =
                  input.readMessage(greptime.v1.meta.Ddl.TruncateTableTask.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((greptime.v1.meta.Ddl.TruncateTableTask) task_);
                task_ = subBuilder.buildPartial();
              }
              taskCase_ = 5;
              break;
            }
            case 50: {
              greptime.v1.meta.Ddl.CreateTableTasks.Builder subBuilder = null;
              if (taskCase_ == 6) {
                subBuilder = ((greptime.v1.meta.Ddl.CreateTableTasks) task_).toBuilder();
              }
              task_ =
                  input.readMessage(greptime.v1.meta.Ddl.CreateTableTasks.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((greptime.v1.meta.Ddl.CreateTableTasks) task_);
                task_ = subBuilder.buildPartial();
              }
              taskCase_ = 6;
              break;
            }
            case 58: {
              greptime.v1.meta.Ddl.DropTableTasks.Builder subBuilder = null;
              if (taskCase_ == 7) {
                subBuilder = ((greptime.v1.meta.Ddl.DropTableTasks) task_).toBuilder();
              }
              task_ =
                  input.readMessage(greptime.v1.meta.Ddl.DropTableTasks.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((greptime.v1.meta.Ddl.DropTableTasks) task_);
                task_ = subBuilder.buildPartial();
              }
              taskCase_ = 7;
              break;
            }
            case 66: {
              greptime.v1.meta.Ddl.AlterTableTasks.Builder subBuilder = null;
              if (taskCase_ == 8) {
                subBuilder = ((greptime.v1.meta.Ddl.AlterTableTasks) task_).toBuilder();
              }
              task_ =
                  input.readMessage(greptime.v1.meta.Ddl.AlterTableTasks.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((greptime.v1.meta.Ddl.AlterTableTasks) task_);
                task_ = subBuilder.buildPartial();
              }
              taskCase_ = 8;
              break;
            }
            case 74: {
              greptime.v1.meta.Ddl.DropDatabaseTask.Builder subBuilder = null;
              if (taskCase_ == 9) {
                subBuilder = ((greptime.v1.meta.Ddl.DropDatabaseTask) task_).toBuilder();
              }
              task_ =
                  input.readMessage(greptime.v1.meta.Ddl.DropDatabaseTask.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((greptime.v1.meta.Ddl.DropDatabaseTask) task_);
                task_ = subBuilder.buildPartial();
              }
              taskCase_ = 9;
              break;
            }
            case 82: {
              greptime.v1.meta.Ddl.CreateDatabaseTask.Builder subBuilder = null;
              if (taskCase_ == 10) {
                subBuilder = ((greptime.v1.meta.Ddl.CreateDatabaseTask) task_).toBuilder();
              }
              task_ =
                  input.readMessage(greptime.v1.meta.Ddl.CreateDatabaseTask.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((greptime.v1.meta.Ddl.CreateDatabaseTask) task_);
                task_ = subBuilder.buildPartial();
              }
              taskCase_ = 10;
              break;
            }
            case 90: {
              greptime.v1.meta.Ddl.CreateFlowTask.Builder subBuilder = null;
              if (taskCase_ == 11) {
                subBuilder = ((greptime.v1.meta.Ddl.CreateFlowTask) task_).toBuilder();
              }
              task_ =
                  input.readMessage(greptime.v1.meta.Ddl.CreateFlowTask.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((greptime.v1.meta.Ddl.CreateFlowTask) task_);
                task_ = subBuilder.buildPartial();
              }
              taskCase_ = 11;
              break;
            }
            case 98: {
              greptime.v1.meta.Ddl.DropFlowTask.Builder subBuilder = null;
              if (taskCase_ == 12) {
                subBuilder = ((greptime.v1.meta.Ddl.DropFlowTask) task_).toBuilder();
              }
              task_ =
                  input.readMessage(greptime.v1.meta.Ddl.DropFlowTask.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((greptime.v1.meta.Ddl.DropFlowTask) task_);
                task_ = subBuilder.buildPartial();
              }
              taskCase_ = 12;
              break;
            }
            case 106: {
              greptime.v1.meta.Ddl.CreateViewTask.Builder subBuilder = null;
              if (taskCase_ == 13) {
                subBuilder = ((greptime.v1.meta.Ddl.CreateViewTask) task_).toBuilder();
              }
              task_ =
                  input.readMessage(greptime.v1.meta.Ddl.CreateViewTask.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((greptime.v1.meta.Ddl.CreateViewTask) task_);
                task_ = subBuilder.buildPartial();
              }
              taskCase_ = 13;
              break;
            }
            case 114: {
              greptime.v1.meta.Ddl.DropViewTask.Builder subBuilder = null;
              if (taskCase_ == 14) {
                subBuilder = ((greptime.v1.meta.Ddl.DropViewTask) task_).toBuilder();
              }
              task_ =
                  input.readMessage(greptime.v1.meta.Ddl.DropViewTask.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((greptime.v1.meta.Ddl.DropViewTask) task_);
                task_ = subBuilder.buildPartial();
              }
              taskCase_ = 14;
              break;
            }
            case 122: {
              greptime.v1.meta.Ddl.AlterDatabaseTask.Builder subBuilder = null;
              if (taskCase_ == 15) {
                subBuilder = ((greptime.v1.meta.Ddl.AlterDatabaseTask) task_).toBuilder();
              }
              task_ =
                  input.readMessage(greptime.v1.meta.Ddl.AlterDatabaseTask.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom((greptime.v1.meta.Ddl.AlterDatabaseTask) task_);
                task_ = subBuilder.buildPartial();
              }
              taskCase_ = 15;
              break;
            }
            case 514: {
              io.greptime.v1.Common.QueryContext.Builder subBuilder = null;
              if (queryContext_ != null) {
                subBuilder = queryContext_.toBuilder();
              }
              queryContext_ = input.readMessage(io.greptime.v1.Common.QueryContext.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(queryContext_);
                queryContext_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DdlTaskRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DdlTaskRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.DdlTaskRequest.class, greptime.v1.meta.Ddl.DdlTaskRequest.Builder.class);
    }

    private int taskCase_ = 0;
    private java.lang.Object task_;
    public enum TaskCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      CREATE_TABLE_TASK(2),
      DROP_TABLE_TASK(3),
      ALTER_TABLE_TASK(4),
      TRUNCATE_TABLE_TASK(5),
      CREATE_TABLE_TASKS(6),
      DROP_TABLE_TASKS(7),
      ALTER_TABLE_TASKS(8),
      DROP_DATABASE_TASK(9),
      CREATE_DATABASE_TASK(10),
      CREATE_FLOW_TASK(11),
      DROP_FLOW_TASK(12),
      CREATE_VIEW_TASK(13),
      DROP_VIEW_TASK(14),
      ALTER_DATABASE_TASK(15),
      TASK_NOT_SET(0);
      private final int value;
      private TaskCase(int value) {
        this.value = value;
      }
      /**
       * @param value The number of the enum to look for.
       * @return The enum associated with the given number.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static TaskCase valueOf(int value) {
        return forNumber(value);
      }

      public static TaskCase forNumber(int value) {
        switch (value) {
          case 2: return CREATE_TABLE_TASK;
          case 3: return DROP_TABLE_TASK;
          case 4: return ALTER_TABLE_TASK;
          case 5: return TRUNCATE_TABLE_TASK;
          case 6: return CREATE_TABLE_TASKS;
          case 7: return DROP_TABLE_TASKS;
          case 8: return ALTER_TABLE_TASKS;
          case 9: return DROP_DATABASE_TASK;
          case 10: return CREATE_DATABASE_TASK;
          case 11: return CREATE_FLOW_TASK;
          case 12: return DROP_FLOW_TASK;
          case 13: return CREATE_VIEW_TASK;
          case 14: return DROP_VIEW_TASK;
          case 15: return ALTER_DATABASE_TASK;
          case 0: return TASK_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public TaskCase
    getTaskCase() {
      return TaskCase.forNumber(
          taskCase_);
    }

    public static final int HEADER_FIELD_NUMBER = 1;
    private greptime.v1.meta.Common.RequestHeader header_;
    /**
     * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
     * @return Whether the header field is set.
     */
    @java.lang.Override
    public boolean hasHeader() {
      return header_ != null;
    }
    /**
     * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
     * @return The header.
     */
    @java.lang.Override
    public greptime.v1.meta.Common.RequestHeader getHeader() {
      return header_ == null ? greptime.v1.meta.Common.RequestHeader.getDefaultInstance() : header_;
    }
    /**
     * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Common.RequestHeaderOrBuilder getHeaderOrBuilder() {
      return getHeader();
    }

    public static final int QUERY_CONTEXT_FIELD_NUMBER = 64;
    private io.greptime.v1.Common.QueryContext queryContext_;
    /**
     * <code>.greptime.v1.QueryContext query_context = 64;</code>
     * @return Whether the queryContext field is set.
     */
    @java.lang.Override
    public boolean hasQueryContext() {
      return queryContext_ != null;
    }
    /**
     * <code>.greptime.v1.QueryContext query_context = 64;</code>
     * @return The queryContext.
     */
    @java.lang.Override
    public io.greptime.v1.Common.QueryContext getQueryContext() {
      return queryContext_ == null ? io.greptime.v1.Common.QueryContext.getDefaultInstance() : queryContext_;
    }
    /**
     * <code>.greptime.v1.QueryContext query_context = 64;</code>
     */
    @java.lang.Override
    public io.greptime.v1.Common.QueryContextOrBuilder getQueryContextOrBuilder() {
      return getQueryContext();
    }

    public static final int CREATE_TABLE_TASK_FIELD_NUMBER = 2;
    /**
     * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
     * @return Whether the createTableTask field is set.
     */
    @java.lang.Override
    public boolean hasCreateTableTask() {
      return taskCase_ == 2;
    }
    /**
     * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
     * @return The createTableTask.
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateTableTask getCreateTableTask() {
      if (taskCase_ == 2) {
         return (greptime.v1.meta.Ddl.CreateTableTask) task_;
      }
      return greptime.v1.meta.Ddl.CreateTableTask.getDefaultInstance();
    }
    /**
     * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateTableTaskOrBuilder getCreateTableTaskOrBuilder() {
      if (taskCase_ == 2) {
         return (greptime.v1.meta.Ddl.CreateTableTask) task_;
      }
      return greptime.v1.meta.Ddl.CreateTableTask.getDefaultInstance();
    }

    public static final int DROP_TABLE_TASK_FIELD_NUMBER = 3;
    /**
     * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
     * @return Whether the dropTableTask field is set.
     */
    @java.lang.Override
    public boolean hasDropTableTask() {
      return taskCase_ == 3;
    }
    /**
     * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
     * @return The dropTableTask.
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.DropTableTask getDropTableTask() {
      if (taskCase_ == 3) {
         return (greptime.v1.meta.Ddl.DropTableTask) task_;
      }
      return greptime.v1.meta.Ddl.DropTableTask.getDefaultInstance();
    }
    /**
     * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.DropTableTaskOrBuilder getDropTableTaskOrBuilder() {
      if (taskCase_ == 3) {
         return (greptime.v1.meta.Ddl.DropTableTask) task_;
      }
      return greptime.v1.meta.Ddl.DropTableTask.getDefaultInstance();
    }

    public static final int ALTER_TABLE_TASK_FIELD_NUMBER = 4;
    /**
     * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
     * @return Whether the alterTableTask field is set.
     */
    @java.lang.Override
    public boolean hasAlterTableTask() {
      return taskCase_ == 4;
    }
    /**
     * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
     * @return The alterTableTask.
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.AlterTableTask getAlterTableTask() {
      if (taskCase_ == 4) {
         return (greptime.v1.meta.Ddl.AlterTableTask) task_;
      }
      return greptime.v1.meta.Ddl.AlterTableTask.getDefaultInstance();
    }
    /**
     * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.AlterTableTaskOrBuilder getAlterTableTaskOrBuilder() {
      if (taskCase_ == 4) {
         return (greptime.v1.meta.Ddl.AlterTableTask) task_;
      }
      return greptime.v1.meta.Ddl.AlterTableTask.getDefaultInstance();
    }

    public static final int TRUNCATE_TABLE_TASK_FIELD_NUMBER = 5;
    /**
     * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
     * @return Whether the truncateTableTask field is set.
     */
    @java.lang.Override
    public boolean hasTruncateTableTask() {
      return taskCase_ == 5;
    }
    /**
     * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
     * @return The truncateTableTask.
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.TruncateTableTask getTruncateTableTask() {
      if (taskCase_ == 5) {
         return (greptime.v1.meta.Ddl.TruncateTableTask) task_;
      }
      return greptime.v1.meta.Ddl.TruncateTableTask.getDefaultInstance();
    }
    /**
     * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.TruncateTableTaskOrBuilder getTruncateTableTaskOrBuilder() {
      if (taskCase_ == 5) {
         return (greptime.v1.meta.Ddl.TruncateTableTask) task_;
      }
      return greptime.v1.meta.Ddl.TruncateTableTask.getDefaultInstance();
    }

    public static final int CREATE_TABLE_TASKS_FIELD_NUMBER = 6;
    /**
     * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
     * @return Whether the createTableTasks field is set.
     */
    @java.lang.Override
    public boolean hasCreateTableTasks() {
      return taskCase_ == 6;
    }
    /**
     * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
     * @return The createTableTasks.
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateTableTasks getCreateTableTasks() {
      if (taskCase_ == 6) {
         return (greptime.v1.meta.Ddl.CreateTableTasks) task_;
      }
      return greptime.v1.meta.Ddl.CreateTableTasks.getDefaultInstance();
    }
    /**
     * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateTableTasksOrBuilder getCreateTableTasksOrBuilder() {
      if (taskCase_ == 6) {
         return (greptime.v1.meta.Ddl.CreateTableTasks) task_;
      }
      return greptime.v1.meta.Ddl.CreateTableTasks.getDefaultInstance();
    }

    public static final int DROP_TABLE_TASKS_FIELD_NUMBER = 7;
    /**
     * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
     * @return Whether the dropTableTasks field is set.
     */
    @java.lang.Override
    public boolean hasDropTableTasks() {
      return taskCase_ == 7;
    }
    /**
     * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
     * @return The dropTableTasks.
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.DropTableTasks getDropTableTasks() {
      if (taskCase_ == 7) {
         return (greptime.v1.meta.Ddl.DropTableTasks) task_;
      }
      return greptime.v1.meta.Ddl.DropTableTasks.getDefaultInstance();
    }
    /**
     * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.DropTableTasksOrBuilder getDropTableTasksOrBuilder() {
      if (taskCase_ == 7) {
         return (greptime.v1.meta.Ddl.DropTableTasks) task_;
      }
      return greptime.v1.meta.Ddl.DropTableTasks.getDefaultInstance();
    }

    public static final int ALTER_TABLE_TASKS_FIELD_NUMBER = 8;
    /**
     * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
     * @return Whether the alterTableTasks field is set.
     */
    @java.lang.Override
    public boolean hasAlterTableTasks() {
      return taskCase_ == 8;
    }
    /**
     * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
     * @return The alterTableTasks.
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.AlterTableTasks getAlterTableTasks() {
      if (taskCase_ == 8) {
         return (greptime.v1.meta.Ddl.AlterTableTasks) task_;
      }
      return greptime.v1.meta.Ddl.AlterTableTasks.getDefaultInstance();
    }
    /**
     * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.AlterTableTasksOrBuilder getAlterTableTasksOrBuilder() {
      if (taskCase_ == 8) {
         return (greptime.v1.meta.Ddl.AlterTableTasks) task_;
      }
      return greptime.v1.meta.Ddl.AlterTableTasks.getDefaultInstance();
    }

    public static final int DROP_DATABASE_TASK_FIELD_NUMBER = 9;
    /**
     * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
     * @return Whether the dropDatabaseTask field is set.
     */
    @java.lang.Override
    public boolean hasDropDatabaseTask() {
      return taskCase_ == 9;
    }
    /**
     * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
     * @return The dropDatabaseTask.
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.DropDatabaseTask getDropDatabaseTask() {
      if (taskCase_ == 9) {
         return (greptime.v1.meta.Ddl.DropDatabaseTask) task_;
      }
      return greptime.v1.meta.Ddl.DropDatabaseTask.getDefaultInstance();
    }
    /**
     * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.DropDatabaseTaskOrBuilder getDropDatabaseTaskOrBuilder() {
      if (taskCase_ == 9) {
         return (greptime.v1.meta.Ddl.DropDatabaseTask) task_;
      }
      return greptime.v1.meta.Ddl.DropDatabaseTask.getDefaultInstance();
    }

    public static final int CREATE_DATABASE_TASK_FIELD_NUMBER = 10;
    /**
     * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
     * @return Whether the createDatabaseTask field is set.
     */
    @java.lang.Override
    public boolean hasCreateDatabaseTask() {
      return taskCase_ == 10;
    }
    /**
     * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
     * @return The createDatabaseTask.
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateDatabaseTask getCreateDatabaseTask() {
      if (taskCase_ == 10) {
         return (greptime.v1.meta.Ddl.CreateDatabaseTask) task_;
      }
      return greptime.v1.meta.Ddl.CreateDatabaseTask.getDefaultInstance();
    }
    /**
     * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateDatabaseTaskOrBuilder getCreateDatabaseTaskOrBuilder() {
      if (taskCase_ == 10) {
         return (greptime.v1.meta.Ddl.CreateDatabaseTask) task_;
      }
      return greptime.v1.meta.Ddl.CreateDatabaseTask.getDefaultInstance();
    }

    public static final int CREATE_FLOW_TASK_FIELD_NUMBER = 11;
    /**
     * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
     * @return Whether the createFlowTask field is set.
     */
    @java.lang.Override
    public boolean hasCreateFlowTask() {
      return taskCase_ == 11;
    }
    /**
     * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
     * @return The createFlowTask.
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateFlowTask getCreateFlowTask() {
      if (taskCase_ == 11) {
         return (greptime.v1.meta.Ddl.CreateFlowTask) task_;
      }
      return greptime.v1.meta.Ddl.CreateFlowTask.getDefaultInstance();
    }
    /**
     * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateFlowTaskOrBuilder getCreateFlowTaskOrBuilder() {
      if (taskCase_ == 11) {
         return (greptime.v1.meta.Ddl.CreateFlowTask) task_;
      }
      return greptime.v1.meta.Ddl.CreateFlowTask.getDefaultInstance();
    }

    public static final int DROP_FLOW_TASK_FIELD_NUMBER = 12;
    /**
     * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
     * @return Whether the dropFlowTask field is set.
     */
    @java.lang.Override
    public boolean hasDropFlowTask() {
      return taskCase_ == 12;
    }
    /**
     * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
     * @return The dropFlowTask.
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.DropFlowTask getDropFlowTask() {
      if (taskCase_ == 12) {
         return (greptime.v1.meta.Ddl.DropFlowTask) task_;
      }
      return greptime.v1.meta.Ddl.DropFlowTask.getDefaultInstance();
    }
    /**
     * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.DropFlowTaskOrBuilder getDropFlowTaskOrBuilder() {
      if (taskCase_ == 12) {
         return (greptime.v1.meta.Ddl.DropFlowTask) task_;
      }
      return greptime.v1.meta.Ddl.DropFlowTask.getDefaultInstance();
    }

    public static final int CREATE_VIEW_TASK_FIELD_NUMBER = 13;
    /**
     * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
     * @return Whether the createViewTask field is set.
     */
    @java.lang.Override
    public boolean hasCreateViewTask() {
      return taskCase_ == 13;
    }
    /**
     * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
     * @return The createViewTask.
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateViewTask getCreateViewTask() {
      if (taskCase_ == 13) {
         return (greptime.v1.meta.Ddl.CreateViewTask) task_;
      }
      return greptime.v1.meta.Ddl.CreateViewTask.getDefaultInstance();
    }
    /**
     * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.CreateViewTaskOrBuilder getCreateViewTaskOrBuilder() {
      if (taskCase_ == 13) {
         return (greptime.v1.meta.Ddl.CreateViewTask) task_;
      }
      return greptime.v1.meta.Ddl.CreateViewTask.getDefaultInstance();
    }

    public static final int DROP_VIEW_TASK_FIELD_NUMBER = 14;
    /**
     * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
     * @return Whether the dropViewTask field is set.
     */
    @java.lang.Override
    public boolean hasDropViewTask() {
      return taskCase_ == 14;
    }
    /**
     * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
     * @return The dropViewTask.
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.DropViewTask getDropViewTask() {
      if (taskCase_ == 14) {
         return (greptime.v1.meta.Ddl.DropViewTask) task_;
      }
      return greptime.v1.meta.Ddl.DropViewTask.getDefaultInstance();
    }
    /**
     * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.DropViewTaskOrBuilder getDropViewTaskOrBuilder() {
      if (taskCase_ == 14) {
         return (greptime.v1.meta.Ddl.DropViewTask) task_;
      }
      return greptime.v1.meta.Ddl.DropViewTask.getDefaultInstance();
    }

    public static final int ALTER_DATABASE_TASK_FIELD_NUMBER = 15;
    /**
     * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
     * @return Whether the alterDatabaseTask field is set.
     */
    @java.lang.Override
    public boolean hasAlterDatabaseTask() {
      return taskCase_ == 15;
    }
    /**
     * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
     * @return The alterDatabaseTask.
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.AlterDatabaseTask getAlterDatabaseTask() {
      if (taskCase_ == 15) {
         return (greptime.v1.meta.Ddl.AlterDatabaseTask) task_;
      }
      return greptime.v1.meta.Ddl.AlterDatabaseTask.getDefaultInstance();
    }
    /**
     * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Ddl.AlterDatabaseTaskOrBuilder getAlterDatabaseTaskOrBuilder() {
      if (taskCase_ == 15) {
         return (greptime.v1.meta.Ddl.AlterDatabaseTask) task_;
      }
      return greptime.v1.meta.Ddl.AlterDatabaseTask.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;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (header_ != null) {
        output.writeMessage(1, getHeader());
      }
      if (taskCase_ == 2) {
        output.writeMessage(2, (greptime.v1.meta.Ddl.CreateTableTask) task_);
      }
      if (taskCase_ == 3) {
        output.writeMessage(3, (greptime.v1.meta.Ddl.DropTableTask) task_);
      }
      if (taskCase_ == 4) {
        output.writeMessage(4, (greptime.v1.meta.Ddl.AlterTableTask) task_);
      }
      if (taskCase_ == 5) {
        output.writeMessage(5, (greptime.v1.meta.Ddl.TruncateTableTask) task_);
      }
      if (taskCase_ == 6) {
        output.writeMessage(6, (greptime.v1.meta.Ddl.CreateTableTasks) task_);
      }
      if (taskCase_ == 7) {
        output.writeMessage(7, (greptime.v1.meta.Ddl.DropTableTasks) task_);
      }
      if (taskCase_ == 8) {
        output.writeMessage(8, (greptime.v1.meta.Ddl.AlterTableTasks) task_);
      }
      if (taskCase_ == 9) {
        output.writeMessage(9, (greptime.v1.meta.Ddl.DropDatabaseTask) task_);
      }
      if (taskCase_ == 10) {
        output.writeMessage(10, (greptime.v1.meta.Ddl.CreateDatabaseTask) task_);
      }
      if (taskCase_ == 11) {
        output.writeMessage(11, (greptime.v1.meta.Ddl.CreateFlowTask) task_);
      }
      if (taskCase_ == 12) {
        output.writeMessage(12, (greptime.v1.meta.Ddl.DropFlowTask) task_);
      }
      if (taskCase_ == 13) {
        output.writeMessage(13, (greptime.v1.meta.Ddl.CreateViewTask) task_);
      }
      if (taskCase_ == 14) {
        output.writeMessage(14, (greptime.v1.meta.Ddl.DropViewTask) task_);
      }
      if (taskCase_ == 15) {
        output.writeMessage(15, (greptime.v1.meta.Ddl.AlterDatabaseTask) task_);
      }
      if (queryContext_ != null) {
        output.writeMessage(64, getQueryContext());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (header_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getHeader());
      }
      if (taskCase_ == 2) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, (greptime.v1.meta.Ddl.CreateTableTask) task_);
      }
      if (taskCase_ == 3) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, (greptime.v1.meta.Ddl.DropTableTask) task_);
      }
      if (taskCase_ == 4) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, (greptime.v1.meta.Ddl.AlterTableTask) task_);
      }
      if (taskCase_ == 5) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, (greptime.v1.meta.Ddl.TruncateTableTask) task_);
      }
      if (taskCase_ == 6) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, (greptime.v1.meta.Ddl.CreateTableTasks) task_);
      }
      if (taskCase_ == 7) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, (greptime.v1.meta.Ddl.DropTableTasks) task_);
      }
      if (taskCase_ == 8) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, (greptime.v1.meta.Ddl.AlterTableTasks) task_);
      }
      if (taskCase_ == 9) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(9, (greptime.v1.meta.Ddl.DropDatabaseTask) task_);
      }
      if (taskCase_ == 10) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(10, (greptime.v1.meta.Ddl.CreateDatabaseTask) task_);
      }
      if (taskCase_ == 11) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(11, (greptime.v1.meta.Ddl.CreateFlowTask) task_);
      }
      if (taskCase_ == 12) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(12, (greptime.v1.meta.Ddl.DropFlowTask) task_);
      }
      if (taskCase_ == 13) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(13, (greptime.v1.meta.Ddl.CreateViewTask) task_);
      }
      if (taskCase_ == 14) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(14, (greptime.v1.meta.Ddl.DropViewTask) task_);
      }
      if (taskCase_ == 15) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(15, (greptime.v1.meta.Ddl.AlterDatabaseTask) task_);
      }
      if (queryContext_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(64, getQueryContext());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.DdlTaskRequest)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.DdlTaskRequest other = (greptime.v1.meta.Ddl.DdlTaskRequest) obj;

      if (hasHeader() != other.hasHeader()) return false;
      if (hasHeader()) {
        if (!getHeader()
            .equals(other.getHeader())) return false;
      }
      if (hasQueryContext() != other.hasQueryContext()) return false;
      if (hasQueryContext()) {
        if (!getQueryContext()
            .equals(other.getQueryContext())) return false;
      }
      if (!getTaskCase().equals(other.getTaskCase())) return false;
      switch (taskCase_) {
        case 2:
          if (!getCreateTableTask()
              .equals(other.getCreateTableTask())) return false;
          break;
        case 3:
          if (!getDropTableTask()
              .equals(other.getDropTableTask())) return false;
          break;
        case 4:
          if (!getAlterTableTask()
              .equals(other.getAlterTableTask())) return false;
          break;
        case 5:
          if (!getTruncateTableTask()
              .equals(other.getTruncateTableTask())) return false;
          break;
        case 6:
          if (!getCreateTableTasks()
              .equals(other.getCreateTableTasks())) return false;
          break;
        case 7:
          if (!getDropTableTasks()
              .equals(other.getDropTableTasks())) return false;
          break;
        case 8:
          if (!getAlterTableTasks()
              .equals(other.getAlterTableTasks())) return false;
          break;
        case 9:
          if (!getDropDatabaseTask()
              .equals(other.getDropDatabaseTask())) return false;
          break;
        case 10:
          if (!getCreateDatabaseTask()
              .equals(other.getCreateDatabaseTask())) return false;
          break;
        case 11:
          if (!getCreateFlowTask()
              .equals(other.getCreateFlowTask())) return false;
          break;
        case 12:
          if (!getDropFlowTask()
              .equals(other.getDropFlowTask())) return false;
          break;
        case 13:
          if (!getCreateViewTask()
              .equals(other.getCreateViewTask())) return false;
          break;
        case 14:
          if (!getDropViewTask()
              .equals(other.getDropViewTask())) return false;
          break;
        case 15:
          if (!getAlterDatabaseTask()
              .equals(other.getAlterDatabaseTask())) return false;
          break;
        case 0:
        default:
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasHeader()) {
        hash = (37 * hash) + HEADER_FIELD_NUMBER;
        hash = (53 * hash) + getHeader().hashCode();
      }
      if (hasQueryContext()) {
        hash = (37 * hash) + QUERY_CONTEXT_FIELD_NUMBER;
        hash = (53 * hash) + getQueryContext().hashCode();
      }
      switch (taskCase_) {
        case 2:
          hash = (37 * hash) + CREATE_TABLE_TASK_FIELD_NUMBER;
          hash = (53 * hash) + getCreateTableTask().hashCode();
          break;
        case 3:
          hash = (37 * hash) + DROP_TABLE_TASK_FIELD_NUMBER;
          hash = (53 * hash) + getDropTableTask().hashCode();
          break;
        case 4:
          hash = (37 * hash) + ALTER_TABLE_TASK_FIELD_NUMBER;
          hash = (53 * hash) + getAlterTableTask().hashCode();
          break;
        case 5:
          hash = (37 * hash) + TRUNCATE_TABLE_TASK_FIELD_NUMBER;
          hash = (53 * hash) + getTruncateTableTask().hashCode();
          break;
        case 6:
          hash = (37 * hash) + CREATE_TABLE_TASKS_FIELD_NUMBER;
          hash = (53 * hash) + getCreateTableTasks().hashCode();
          break;
        case 7:
          hash = (37 * hash) + DROP_TABLE_TASKS_FIELD_NUMBER;
          hash = (53 * hash) + getDropTableTasks().hashCode();
          break;
        case 8:
          hash = (37 * hash) + ALTER_TABLE_TASKS_FIELD_NUMBER;
          hash = (53 * hash) + getAlterTableTasks().hashCode();
          break;
        case 9:
          hash = (37 * hash) + DROP_DATABASE_TASK_FIELD_NUMBER;
          hash = (53 * hash) + getDropDatabaseTask().hashCode();
          break;
        case 10:
          hash = (37 * hash) + CREATE_DATABASE_TASK_FIELD_NUMBER;
          hash = (53 * hash) + getCreateDatabaseTask().hashCode();
          break;
        case 11:
          hash = (37 * hash) + CREATE_FLOW_TASK_FIELD_NUMBER;
          hash = (53 * hash) + getCreateFlowTask().hashCode();
          break;
        case 12:
          hash = (37 * hash) + DROP_FLOW_TASK_FIELD_NUMBER;
          hash = (53 * hash) + getDropFlowTask().hashCode();
          break;
        case 13:
          hash = (37 * hash) + CREATE_VIEW_TASK_FIELD_NUMBER;
          hash = (53 * hash) + getCreateViewTask().hashCode();
          break;
        case 14:
          hash = (37 * hash) + DROP_VIEW_TASK_FIELD_NUMBER;
          hash = (53 * hash) + getDropViewTask().hashCode();
          break;
        case 15:
          hash = (37 * hash) + ALTER_DATABASE_TASK_FIELD_NUMBER;
          hash = (53 * hash) + getAlterDatabaseTask().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.DdlTaskRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DdlTaskRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DdlTaskRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DdlTaskRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DdlTaskRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DdlTaskRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DdlTaskRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DdlTaskRequest 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 greptime.v1.meta.Ddl.DdlTaskRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DdlTaskRequest 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 greptime.v1.meta.Ddl.DdlTaskRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DdlTaskRequest 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(greptime.v1.meta.Ddl.DdlTaskRequest 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 greptime.v1.meta.DdlTaskRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.DdlTaskRequest)
        greptime.v1.meta.Ddl.DdlTaskRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DdlTaskRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DdlTaskRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.DdlTaskRequest.class, greptime.v1.meta.Ddl.DdlTaskRequest.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.DdlTaskRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (headerBuilder_ == null) {
          header_ = null;
        } else {
          header_ = null;
          headerBuilder_ = null;
        }
        if (queryContextBuilder_ == null) {
          queryContext_ = null;
        } else {
          queryContext_ = null;
          queryContextBuilder_ = null;
        }
        taskCase_ = 0;
        task_ = null;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DdlTaskRequest_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DdlTaskRequest getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.DdlTaskRequest.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DdlTaskRequest build() {
        greptime.v1.meta.Ddl.DdlTaskRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DdlTaskRequest buildPartial() {
        greptime.v1.meta.Ddl.DdlTaskRequest result = new greptime.v1.meta.Ddl.DdlTaskRequest(this);
        if (headerBuilder_ == null) {
          result.header_ = header_;
        } else {
          result.header_ = headerBuilder_.build();
        }
        if (queryContextBuilder_ == null) {
          result.queryContext_ = queryContext_;
        } else {
          result.queryContext_ = queryContextBuilder_.build();
        }
        if (taskCase_ == 2) {
          if (createTableTaskBuilder_ == null) {
            result.task_ = task_;
          } else {
            result.task_ = createTableTaskBuilder_.build();
          }
        }
        if (taskCase_ == 3) {
          if (dropTableTaskBuilder_ == null) {
            result.task_ = task_;
          } else {
            result.task_ = dropTableTaskBuilder_.build();
          }
        }
        if (taskCase_ == 4) {
          if (alterTableTaskBuilder_ == null) {
            result.task_ = task_;
          } else {
            result.task_ = alterTableTaskBuilder_.build();
          }
        }
        if (taskCase_ == 5) {
          if (truncateTableTaskBuilder_ == null) {
            result.task_ = task_;
          } else {
            result.task_ = truncateTableTaskBuilder_.build();
          }
        }
        if (taskCase_ == 6) {
          if (createTableTasksBuilder_ == null) {
            result.task_ = task_;
          } else {
            result.task_ = createTableTasksBuilder_.build();
          }
        }
        if (taskCase_ == 7) {
          if (dropTableTasksBuilder_ == null) {
            result.task_ = task_;
          } else {
            result.task_ = dropTableTasksBuilder_.build();
          }
        }
        if (taskCase_ == 8) {
          if (alterTableTasksBuilder_ == null) {
            result.task_ = task_;
          } else {
            result.task_ = alterTableTasksBuilder_.build();
          }
        }
        if (taskCase_ == 9) {
          if (dropDatabaseTaskBuilder_ == null) {
            result.task_ = task_;
          } else {
            result.task_ = dropDatabaseTaskBuilder_.build();
          }
        }
        if (taskCase_ == 10) {
          if (createDatabaseTaskBuilder_ == null) {
            result.task_ = task_;
          } else {
            result.task_ = createDatabaseTaskBuilder_.build();
          }
        }
        if (taskCase_ == 11) {
          if (createFlowTaskBuilder_ == null) {
            result.task_ = task_;
          } else {
            result.task_ = createFlowTaskBuilder_.build();
          }
        }
        if (taskCase_ == 12) {
          if (dropFlowTaskBuilder_ == null) {
            result.task_ = task_;
          } else {
            result.task_ = dropFlowTaskBuilder_.build();
          }
        }
        if (taskCase_ == 13) {
          if (createViewTaskBuilder_ == null) {
            result.task_ = task_;
          } else {
            result.task_ = createViewTaskBuilder_.build();
          }
        }
        if (taskCase_ == 14) {
          if (dropViewTaskBuilder_ == null) {
            result.task_ = task_;
          } else {
            result.task_ = dropViewTaskBuilder_.build();
          }
        }
        if (taskCase_ == 15) {
          if (alterDatabaseTaskBuilder_ == null) {
            result.task_ = task_;
          } else {
            result.task_ = alterDatabaseTaskBuilder_.build();
          }
        }
        result.taskCase_ = taskCase_;
        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 greptime.v1.meta.Ddl.DdlTaskRequest) {
          return mergeFrom((greptime.v1.meta.Ddl.DdlTaskRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.DdlTaskRequest other) {
        if (other == greptime.v1.meta.Ddl.DdlTaskRequest.getDefaultInstance()) return this;
        if (other.hasHeader()) {
          mergeHeader(other.getHeader());
        }
        if (other.hasQueryContext()) {
          mergeQueryContext(other.getQueryContext());
        }
        switch (other.getTaskCase()) {
          case CREATE_TABLE_TASK: {
            mergeCreateTableTask(other.getCreateTableTask());
            break;
          }
          case DROP_TABLE_TASK: {
            mergeDropTableTask(other.getDropTableTask());
            break;
          }
          case ALTER_TABLE_TASK: {
            mergeAlterTableTask(other.getAlterTableTask());
            break;
          }
          case TRUNCATE_TABLE_TASK: {
            mergeTruncateTableTask(other.getTruncateTableTask());
            break;
          }
          case CREATE_TABLE_TASKS: {
            mergeCreateTableTasks(other.getCreateTableTasks());
            break;
          }
          case DROP_TABLE_TASKS: {
            mergeDropTableTasks(other.getDropTableTasks());
            break;
          }
          case ALTER_TABLE_TASKS: {
            mergeAlterTableTasks(other.getAlterTableTasks());
            break;
          }
          case DROP_DATABASE_TASK: {
            mergeDropDatabaseTask(other.getDropDatabaseTask());
            break;
          }
          case CREATE_DATABASE_TASK: {
            mergeCreateDatabaseTask(other.getCreateDatabaseTask());
            break;
          }
          case CREATE_FLOW_TASK: {
            mergeCreateFlowTask(other.getCreateFlowTask());
            break;
          }
          case DROP_FLOW_TASK: {
            mergeDropFlowTask(other.getDropFlowTask());
            break;
          }
          case CREATE_VIEW_TASK: {
            mergeCreateViewTask(other.getCreateViewTask());
            break;
          }
          case DROP_VIEW_TASK: {
            mergeDropViewTask(other.getDropViewTask());
            break;
          }
          case ALTER_DATABASE_TASK: {
            mergeAlterDatabaseTask(other.getAlterDatabaseTask());
            break;
          }
          case TASK_NOT_SET: {
            break;
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.DdlTaskRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.DdlTaskRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int taskCase_ = 0;
      private java.lang.Object task_;
      public TaskCase
          getTaskCase() {
        return TaskCase.forNumber(
            taskCase_);
      }

      public Builder clearTask() {
        taskCase_ = 0;
        task_ = null;
        onChanged();
        return this;
      }


      private greptime.v1.meta.Common.RequestHeader header_;
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Common.RequestHeader, greptime.v1.meta.Common.RequestHeader.Builder, greptime.v1.meta.Common.RequestHeaderOrBuilder> headerBuilder_;
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       * @return Whether the header field is set.
       */
      public boolean hasHeader() {
        return headerBuilder_ != null || header_ != null;
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       * @return The header.
       */
      public greptime.v1.meta.Common.RequestHeader getHeader() {
        if (headerBuilder_ == null) {
          return header_ == null ? greptime.v1.meta.Common.RequestHeader.getDefaultInstance() : header_;
        } else {
          return headerBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       */
      public Builder setHeader(greptime.v1.meta.Common.RequestHeader value) {
        if (headerBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          header_ = value;
          onChanged();
        } else {
          headerBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       */
      public Builder setHeader(
          greptime.v1.meta.Common.RequestHeader.Builder builderForValue) {
        if (headerBuilder_ == null) {
          header_ = builderForValue.build();
          onChanged();
        } else {
          headerBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       */
      public Builder mergeHeader(greptime.v1.meta.Common.RequestHeader value) {
        if (headerBuilder_ == null) {
          if (header_ != null) {
            header_ =
              greptime.v1.meta.Common.RequestHeader.newBuilder(header_).mergeFrom(value).buildPartial();
          } else {
            header_ = value;
          }
          onChanged();
        } else {
          headerBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       */
      public Builder clearHeader() {
        if (headerBuilder_ == null) {
          header_ = null;
          onChanged();
        } else {
          header_ = null;
          headerBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       */
      public greptime.v1.meta.Common.RequestHeader.Builder getHeaderBuilder() {
        
        onChanged();
        return getHeaderFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       */
      public greptime.v1.meta.Common.RequestHeaderOrBuilder getHeaderOrBuilder() {
        if (headerBuilder_ != null) {
          return headerBuilder_.getMessageOrBuilder();
        } else {
          return header_ == null ?
              greptime.v1.meta.Common.RequestHeader.getDefaultInstance() : header_;
        }
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Common.RequestHeader, greptime.v1.meta.Common.RequestHeader.Builder, greptime.v1.meta.Common.RequestHeaderOrBuilder> 
          getHeaderFieldBuilder() {
        if (headerBuilder_ == null) {
          headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Common.RequestHeader, greptime.v1.meta.Common.RequestHeader.Builder, greptime.v1.meta.Common.RequestHeaderOrBuilder>(
                  getHeader(),
                  getParentForChildren(),
                  isClean());
          header_ = null;
        }
        return headerBuilder_;
      }

      private io.greptime.v1.Common.QueryContext queryContext_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Common.QueryContext, io.greptime.v1.Common.QueryContext.Builder, io.greptime.v1.Common.QueryContextOrBuilder> queryContextBuilder_;
      /**
       * <code>.greptime.v1.QueryContext query_context = 64;</code>
       * @return Whether the queryContext field is set.
       */
      public boolean hasQueryContext() {
        return queryContextBuilder_ != null || queryContext_ != null;
      }
      /**
       * <code>.greptime.v1.QueryContext query_context = 64;</code>
       * @return The queryContext.
       */
      public io.greptime.v1.Common.QueryContext getQueryContext() {
        if (queryContextBuilder_ == null) {
          return queryContext_ == null ? io.greptime.v1.Common.QueryContext.getDefaultInstance() : queryContext_;
        } else {
          return queryContextBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.QueryContext query_context = 64;</code>
       */
      public Builder setQueryContext(io.greptime.v1.Common.QueryContext value) {
        if (queryContextBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          queryContext_ = value;
          onChanged();
        } else {
          queryContextBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.QueryContext query_context = 64;</code>
       */
      public Builder setQueryContext(
          io.greptime.v1.Common.QueryContext.Builder builderForValue) {
        if (queryContextBuilder_ == null) {
          queryContext_ = builderForValue.build();
          onChanged();
        } else {
          queryContextBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.QueryContext query_context = 64;</code>
       */
      public Builder mergeQueryContext(io.greptime.v1.Common.QueryContext value) {
        if (queryContextBuilder_ == null) {
          if (queryContext_ != null) {
            queryContext_ =
              io.greptime.v1.Common.QueryContext.newBuilder(queryContext_).mergeFrom(value).buildPartial();
          } else {
            queryContext_ = value;
          }
          onChanged();
        } else {
          queryContextBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.QueryContext query_context = 64;</code>
       */
      public Builder clearQueryContext() {
        if (queryContextBuilder_ == null) {
          queryContext_ = null;
          onChanged();
        } else {
          queryContext_ = null;
          queryContextBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.QueryContext query_context = 64;</code>
       */
      public io.greptime.v1.Common.QueryContext.Builder getQueryContextBuilder() {
        
        onChanged();
        return getQueryContextFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.QueryContext query_context = 64;</code>
       */
      public io.greptime.v1.Common.QueryContextOrBuilder getQueryContextOrBuilder() {
        if (queryContextBuilder_ != null) {
          return queryContextBuilder_.getMessageOrBuilder();
        } else {
          return queryContext_ == null ?
              io.greptime.v1.Common.QueryContext.getDefaultInstance() : queryContext_;
        }
      }
      /**
       * <code>.greptime.v1.QueryContext query_context = 64;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.greptime.v1.Common.QueryContext, io.greptime.v1.Common.QueryContext.Builder, io.greptime.v1.Common.QueryContextOrBuilder> 
          getQueryContextFieldBuilder() {
        if (queryContextBuilder_ == null) {
          queryContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.greptime.v1.Common.QueryContext, io.greptime.v1.Common.QueryContext.Builder, io.greptime.v1.Common.QueryContextOrBuilder>(
                  getQueryContext(),
                  getParentForChildren(),
                  isClean());
          queryContext_ = null;
        }
        return queryContextBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.CreateTableTask, greptime.v1.meta.Ddl.CreateTableTask.Builder, greptime.v1.meta.Ddl.CreateTableTaskOrBuilder> createTableTaskBuilder_;
      /**
       * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
       * @return Whether the createTableTask field is set.
       */
      @java.lang.Override
      public boolean hasCreateTableTask() {
        return taskCase_ == 2;
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
       * @return The createTableTask.
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateTableTask getCreateTableTask() {
        if (createTableTaskBuilder_ == null) {
          if (taskCase_ == 2) {
            return (greptime.v1.meta.Ddl.CreateTableTask) task_;
          }
          return greptime.v1.meta.Ddl.CreateTableTask.getDefaultInstance();
        } else {
          if (taskCase_ == 2) {
            return createTableTaskBuilder_.getMessage();
          }
          return greptime.v1.meta.Ddl.CreateTableTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
       */
      public Builder setCreateTableTask(greptime.v1.meta.Ddl.CreateTableTask value) {
        if (createTableTaskBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          createTableTaskBuilder_.setMessage(value);
        }
        taskCase_ = 2;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
       */
      public Builder setCreateTableTask(
          greptime.v1.meta.Ddl.CreateTableTask.Builder builderForValue) {
        if (createTableTaskBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          createTableTaskBuilder_.setMessage(builderForValue.build());
        }
        taskCase_ = 2;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
       */
      public Builder mergeCreateTableTask(greptime.v1.meta.Ddl.CreateTableTask value) {
        if (createTableTaskBuilder_ == null) {
          if (taskCase_ == 2 &&
              task_ != greptime.v1.meta.Ddl.CreateTableTask.getDefaultInstance()) {
            task_ = greptime.v1.meta.Ddl.CreateTableTask.newBuilder((greptime.v1.meta.Ddl.CreateTableTask) task_)
                .mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          if (taskCase_ == 2) {
            createTableTaskBuilder_.mergeFrom(value);
          } else {
            createTableTaskBuilder_.setMessage(value);
          }
        }
        taskCase_ = 2;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
       */
      public Builder clearCreateTableTask() {
        if (createTableTaskBuilder_ == null) {
          if (taskCase_ == 2) {
            taskCase_ = 0;
            task_ = null;
            onChanged();
          }
        } else {
          if (taskCase_ == 2) {
            taskCase_ = 0;
            task_ = null;
          }
          createTableTaskBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
       */
      public greptime.v1.meta.Ddl.CreateTableTask.Builder getCreateTableTaskBuilder() {
        return getCreateTableTaskFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateTableTaskOrBuilder getCreateTableTaskOrBuilder() {
        if ((taskCase_ == 2) && (createTableTaskBuilder_ != null)) {
          return createTableTaskBuilder_.getMessageOrBuilder();
        } else {
          if (taskCase_ == 2) {
            return (greptime.v1.meta.Ddl.CreateTableTask) task_;
          }
          return greptime.v1.meta.Ddl.CreateTableTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTask create_table_task = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.CreateTableTask, greptime.v1.meta.Ddl.CreateTableTask.Builder, greptime.v1.meta.Ddl.CreateTableTaskOrBuilder> 
          getCreateTableTaskFieldBuilder() {
        if (createTableTaskBuilder_ == null) {
          if (!(taskCase_ == 2)) {
            task_ = greptime.v1.meta.Ddl.CreateTableTask.getDefaultInstance();
          }
          createTableTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Ddl.CreateTableTask, greptime.v1.meta.Ddl.CreateTableTask.Builder, greptime.v1.meta.Ddl.CreateTableTaskOrBuilder>(
                  (greptime.v1.meta.Ddl.CreateTableTask) task_,
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        taskCase_ = 2;
        onChanged();;
        return createTableTaskBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.DropTableTask, greptime.v1.meta.Ddl.DropTableTask.Builder, greptime.v1.meta.Ddl.DropTableTaskOrBuilder> dropTableTaskBuilder_;
      /**
       * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
       * @return Whether the dropTableTask field is set.
       */
      @java.lang.Override
      public boolean hasDropTableTask() {
        return taskCase_ == 3;
      }
      /**
       * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
       * @return The dropTableTask.
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.DropTableTask getDropTableTask() {
        if (dropTableTaskBuilder_ == null) {
          if (taskCase_ == 3) {
            return (greptime.v1.meta.Ddl.DropTableTask) task_;
          }
          return greptime.v1.meta.Ddl.DropTableTask.getDefaultInstance();
        } else {
          if (taskCase_ == 3) {
            return dropTableTaskBuilder_.getMessage();
          }
          return greptime.v1.meta.Ddl.DropTableTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
       */
      public Builder setDropTableTask(greptime.v1.meta.Ddl.DropTableTask value) {
        if (dropTableTaskBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          dropTableTaskBuilder_.setMessage(value);
        }
        taskCase_ = 3;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
       */
      public Builder setDropTableTask(
          greptime.v1.meta.Ddl.DropTableTask.Builder builderForValue) {
        if (dropTableTaskBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          dropTableTaskBuilder_.setMessage(builderForValue.build());
        }
        taskCase_ = 3;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
       */
      public Builder mergeDropTableTask(greptime.v1.meta.Ddl.DropTableTask value) {
        if (dropTableTaskBuilder_ == null) {
          if (taskCase_ == 3 &&
              task_ != greptime.v1.meta.Ddl.DropTableTask.getDefaultInstance()) {
            task_ = greptime.v1.meta.Ddl.DropTableTask.newBuilder((greptime.v1.meta.Ddl.DropTableTask) task_)
                .mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          if (taskCase_ == 3) {
            dropTableTaskBuilder_.mergeFrom(value);
          } else {
            dropTableTaskBuilder_.setMessage(value);
          }
        }
        taskCase_ = 3;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
       */
      public Builder clearDropTableTask() {
        if (dropTableTaskBuilder_ == null) {
          if (taskCase_ == 3) {
            taskCase_ = 0;
            task_ = null;
            onChanged();
          }
        } else {
          if (taskCase_ == 3) {
            taskCase_ = 0;
            task_ = null;
          }
          dropTableTaskBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
       */
      public greptime.v1.meta.Ddl.DropTableTask.Builder getDropTableTaskBuilder() {
        return getDropTableTaskFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.DropTableTaskOrBuilder getDropTableTaskOrBuilder() {
        if ((taskCase_ == 3) && (dropTableTaskBuilder_ != null)) {
          return dropTableTaskBuilder_.getMessageOrBuilder();
        } else {
          if (taskCase_ == 3) {
            return (greptime.v1.meta.Ddl.DropTableTask) task_;
          }
          return greptime.v1.meta.Ddl.DropTableTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.DropTableTask drop_table_task = 3;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.DropTableTask, greptime.v1.meta.Ddl.DropTableTask.Builder, greptime.v1.meta.Ddl.DropTableTaskOrBuilder> 
          getDropTableTaskFieldBuilder() {
        if (dropTableTaskBuilder_ == null) {
          if (!(taskCase_ == 3)) {
            task_ = greptime.v1.meta.Ddl.DropTableTask.getDefaultInstance();
          }
          dropTableTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Ddl.DropTableTask, greptime.v1.meta.Ddl.DropTableTask.Builder, greptime.v1.meta.Ddl.DropTableTaskOrBuilder>(
                  (greptime.v1.meta.Ddl.DropTableTask) task_,
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        taskCase_ = 3;
        onChanged();;
        return dropTableTaskBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.AlterTableTask, greptime.v1.meta.Ddl.AlterTableTask.Builder, greptime.v1.meta.Ddl.AlterTableTaskOrBuilder> alterTableTaskBuilder_;
      /**
       * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
       * @return Whether the alterTableTask field is set.
       */
      @java.lang.Override
      public boolean hasAlterTableTask() {
        return taskCase_ == 4;
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
       * @return The alterTableTask.
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterTableTask getAlterTableTask() {
        if (alterTableTaskBuilder_ == null) {
          if (taskCase_ == 4) {
            return (greptime.v1.meta.Ddl.AlterTableTask) task_;
          }
          return greptime.v1.meta.Ddl.AlterTableTask.getDefaultInstance();
        } else {
          if (taskCase_ == 4) {
            return alterTableTaskBuilder_.getMessage();
          }
          return greptime.v1.meta.Ddl.AlterTableTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
       */
      public Builder setAlterTableTask(greptime.v1.meta.Ddl.AlterTableTask value) {
        if (alterTableTaskBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          alterTableTaskBuilder_.setMessage(value);
        }
        taskCase_ = 4;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
       */
      public Builder setAlterTableTask(
          greptime.v1.meta.Ddl.AlterTableTask.Builder builderForValue) {
        if (alterTableTaskBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          alterTableTaskBuilder_.setMessage(builderForValue.build());
        }
        taskCase_ = 4;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
       */
      public Builder mergeAlterTableTask(greptime.v1.meta.Ddl.AlterTableTask value) {
        if (alterTableTaskBuilder_ == null) {
          if (taskCase_ == 4 &&
              task_ != greptime.v1.meta.Ddl.AlterTableTask.getDefaultInstance()) {
            task_ = greptime.v1.meta.Ddl.AlterTableTask.newBuilder((greptime.v1.meta.Ddl.AlterTableTask) task_)
                .mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          if (taskCase_ == 4) {
            alterTableTaskBuilder_.mergeFrom(value);
          } else {
            alterTableTaskBuilder_.setMessage(value);
          }
        }
        taskCase_ = 4;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
       */
      public Builder clearAlterTableTask() {
        if (alterTableTaskBuilder_ == null) {
          if (taskCase_ == 4) {
            taskCase_ = 0;
            task_ = null;
            onChanged();
          }
        } else {
          if (taskCase_ == 4) {
            taskCase_ = 0;
            task_ = null;
          }
          alterTableTaskBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
       */
      public greptime.v1.meta.Ddl.AlterTableTask.Builder getAlterTableTaskBuilder() {
        return getAlterTableTaskFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterTableTaskOrBuilder getAlterTableTaskOrBuilder() {
        if ((taskCase_ == 4) && (alterTableTaskBuilder_ != null)) {
          return alterTableTaskBuilder_.getMessageOrBuilder();
        } else {
          if (taskCase_ == 4) {
            return (greptime.v1.meta.Ddl.AlterTableTask) task_;
          }
          return greptime.v1.meta.Ddl.AlterTableTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTask alter_table_task = 4;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.AlterTableTask, greptime.v1.meta.Ddl.AlterTableTask.Builder, greptime.v1.meta.Ddl.AlterTableTaskOrBuilder> 
          getAlterTableTaskFieldBuilder() {
        if (alterTableTaskBuilder_ == null) {
          if (!(taskCase_ == 4)) {
            task_ = greptime.v1.meta.Ddl.AlterTableTask.getDefaultInstance();
          }
          alterTableTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Ddl.AlterTableTask, greptime.v1.meta.Ddl.AlterTableTask.Builder, greptime.v1.meta.Ddl.AlterTableTaskOrBuilder>(
                  (greptime.v1.meta.Ddl.AlterTableTask) task_,
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        taskCase_ = 4;
        onChanged();;
        return alterTableTaskBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.TruncateTableTask, greptime.v1.meta.Ddl.TruncateTableTask.Builder, greptime.v1.meta.Ddl.TruncateTableTaskOrBuilder> truncateTableTaskBuilder_;
      /**
       * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
       * @return Whether the truncateTableTask field is set.
       */
      @java.lang.Override
      public boolean hasTruncateTableTask() {
        return taskCase_ == 5;
      }
      /**
       * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
       * @return The truncateTableTask.
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.TruncateTableTask getTruncateTableTask() {
        if (truncateTableTaskBuilder_ == null) {
          if (taskCase_ == 5) {
            return (greptime.v1.meta.Ddl.TruncateTableTask) task_;
          }
          return greptime.v1.meta.Ddl.TruncateTableTask.getDefaultInstance();
        } else {
          if (taskCase_ == 5) {
            return truncateTableTaskBuilder_.getMessage();
          }
          return greptime.v1.meta.Ddl.TruncateTableTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
       */
      public Builder setTruncateTableTask(greptime.v1.meta.Ddl.TruncateTableTask value) {
        if (truncateTableTaskBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          truncateTableTaskBuilder_.setMessage(value);
        }
        taskCase_ = 5;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
       */
      public Builder setTruncateTableTask(
          greptime.v1.meta.Ddl.TruncateTableTask.Builder builderForValue) {
        if (truncateTableTaskBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          truncateTableTaskBuilder_.setMessage(builderForValue.build());
        }
        taskCase_ = 5;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
       */
      public Builder mergeTruncateTableTask(greptime.v1.meta.Ddl.TruncateTableTask value) {
        if (truncateTableTaskBuilder_ == null) {
          if (taskCase_ == 5 &&
              task_ != greptime.v1.meta.Ddl.TruncateTableTask.getDefaultInstance()) {
            task_ = greptime.v1.meta.Ddl.TruncateTableTask.newBuilder((greptime.v1.meta.Ddl.TruncateTableTask) task_)
                .mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          if (taskCase_ == 5) {
            truncateTableTaskBuilder_.mergeFrom(value);
          } else {
            truncateTableTaskBuilder_.setMessage(value);
          }
        }
        taskCase_ = 5;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
       */
      public Builder clearTruncateTableTask() {
        if (truncateTableTaskBuilder_ == null) {
          if (taskCase_ == 5) {
            taskCase_ = 0;
            task_ = null;
            onChanged();
          }
        } else {
          if (taskCase_ == 5) {
            taskCase_ = 0;
            task_ = null;
          }
          truncateTableTaskBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
       */
      public greptime.v1.meta.Ddl.TruncateTableTask.Builder getTruncateTableTaskBuilder() {
        return getTruncateTableTaskFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.TruncateTableTaskOrBuilder getTruncateTableTaskOrBuilder() {
        if ((taskCase_ == 5) && (truncateTableTaskBuilder_ != null)) {
          return truncateTableTaskBuilder_.getMessageOrBuilder();
        } else {
          if (taskCase_ == 5) {
            return (greptime.v1.meta.Ddl.TruncateTableTask) task_;
          }
          return greptime.v1.meta.Ddl.TruncateTableTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.TruncateTableTask truncate_table_task = 5;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.TruncateTableTask, greptime.v1.meta.Ddl.TruncateTableTask.Builder, greptime.v1.meta.Ddl.TruncateTableTaskOrBuilder> 
          getTruncateTableTaskFieldBuilder() {
        if (truncateTableTaskBuilder_ == null) {
          if (!(taskCase_ == 5)) {
            task_ = greptime.v1.meta.Ddl.TruncateTableTask.getDefaultInstance();
          }
          truncateTableTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Ddl.TruncateTableTask, greptime.v1.meta.Ddl.TruncateTableTask.Builder, greptime.v1.meta.Ddl.TruncateTableTaskOrBuilder>(
                  (greptime.v1.meta.Ddl.TruncateTableTask) task_,
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        taskCase_ = 5;
        onChanged();;
        return truncateTableTaskBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.CreateTableTasks, greptime.v1.meta.Ddl.CreateTableTasks.Builder, greptime.v1.meta.Ddl.CreateTableTasksOrBuilder> createTableTasksBuilder_;
      /**
       * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
       * @return Whether the createTableTasks field is set.
       */
      @java.lang.Override
      public boolean hasCreateTableTasks() {
        return taskCase_ == 6;
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
       * @return The createTableTasks.
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateTableTasks getCreateTableTasks() {
        if (createTableTasksBuilder_ == null) {
          if (taskCase_ == 6) {
            return (greptime.v1.meta.Ddl.CreateTableTasks) task_;
          }
          return greptime.v1.meta.Ddl.CreateTableTasks.getDefaultInstance();
        } else {
          if (taskCase_ == 6) {
            return createTableTasksBuilder_.getMessage();
          }
          return greptime.v1.meta.Ddl.CreateTableTasks.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
       */
      public Builder setCreateTableTasks(greptime.v1.meta.Ddl.CreateTableTasks value) {
        if (createTableTasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          createTableTasksBuilder_.setMessage(value);
        }
        taskCase_ = 6;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
       */
      public Builder setCreateTableTasks(
          greptime.v1.meta.Ddl.CreateTableTasks.Builder builderForValue) {
        if (createTableTasksBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          createTableTasksBuilder_.setMessage(builderForValue.build());
        }
        taskCase_ = 6;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
       */
      public Builder mergeCreateTableTasks(greptime.v1.meta.Ddl.CreateTableTasks value) {
        if (createTableTasksBuilder_ == null) {
          if (taskCase_ == 6 &&
              task_ != greptime.v1.meta.Ddl.CreateTableTasks.getDefaultInstance()) {
            task_ = greptime.v1.meta.Ddl.CreateTableTasks.newBuilder((greptime.v1.meta.Ddl.CreateTableTasks) task_)
                .mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          if (taskCase_ == 6) {
            createTableTasksBuilder_.mergeFrom(value);
          } else {
            createTableTasksBuilder_.setMessage(value);
          }
        }
        taskCase_ = 6;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
       */
      public Builder clearCreateTableTasks() {
        if (createTableTasksBuilder_ == null) {
          if (taskCase_ == 6) {
            taskCase_ = 0;
            task_ = null;
            onChanged();
          }
        } else {
          if (taskCase_ == 6) {
            taskCase_ = 0;
            task_ = null;
          }
          createTableTasksBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
       */
      public greptime.v1.meta.Ddl.CreateTableTasks.Builder getCreateTableTasksBuilder() {
        return getCreateTableTasksFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateTableTasksOrBuilder getCreateTableTasksOrBuilder() {
        if ((taskCase_ == 6) && (createTableTasksBuilder_ != null)) {
          return createTableTasksBuilder_.getMessageOrBuilder();
        } else {
          if (taskCase_ == 6) {
            return (greptime.v1.meta.Ddl.CreateTableTasks) task_;
          }
          return greptime.v1.meta.Ddl.CreateTableTasks.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.CreateTableTasks create_table_tasks = 6;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.CreateTableTasks, greptime.v1.meta.Ddl.CreateTableTasks.Builder, greptime.v1.meta.Ddl.CreateTableTasksOrBuilder> 
          getCreateTableTasksFieldBuilder() {
        if (createTableTasksBuilder_ == null) {
          if (!(taskCase_ == 6)) {
            task_ = greptime.v1.meta.Ddl.CreateTableTasks.getDefaultInstance();
          }
          createTableTasksBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Ddl.CreateTableTasks, greptime.v1.meta.Ddl.CreateTableTasks.Builder, greptime.v1.meta.Ddl.CreateTableTasksOrBuilder>(
                  (greptime.v1.meta.Ddl.CreateTableTasks) task_,
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        taskCase_ = 6;
        onChanged();;
        return createTableTasksBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.DropTableTasks, greptime.v1.meta.Ddl.DropTableTasks.Builder, greptime.v1.meta.Ddl.DropTableTasksOrBuilder> dropTableTasksBuilder_;
      /**
       * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
       * @return Whether the dropTableTasks field is set.
       */
      @java.lang.Override
      public boolean hasDropTableTasks() {
        return taskCase_ == 7;
      }
      /**
       * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
       * @return The dropTableTasks.
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.DropTableTasks getDropTableTasks() {
        if (dropTableTasksBuilder_ == null) {
          if (taskCase_ == 7) {
            return (greptime.v1.meta.Ddl.DropTableTasks) task_;
          }
          return greptime.v1.meta.Ddl.DropTableTasks.getDefaultInstance();
        } else {
          if (taskCase_ == 7) {
            return dropTableTasksBuilder_.getMessage();
          }
          return greptime.v1.meta.Ddl.DropTableTasks.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
       */
      public Builder setDropTableTasks(greptime.v1.meta.Ddl.DropTableTasks value) {
        if (dropTableTasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          dropTableTasksBuilder_.setMessage(value);
        }
        taskCase_ = 7;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
       */
      public Builder setDropTableTasks(
          greptime.v1.meta.Ddl.DropTableTasks.Builder builderForValue) {
        if (dropTableTasksBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          dropTableTasksBuilder_.setMessage(builderForValue.build());
        }
        taskCase_ = 7;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
       */
      public Builder mergeDropTableTasks(greptime.v1.meta.Ddl.DropTableTasks value) {
        if (dropTableTasksBuilder_ == null) {
          if (taskCase_ == 7 &&
              task_ != greptime.v1.meta.Ddl.DropTableTasks.getDefaultInstance()) {
            task_ = greptime.v1.meta.Ddl.DropTableTasks.newBuilder((greptime.v1.meta.Ddl.DropTableTasks) task_)
                .mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          if (taskCase_ == 7) {
            dropTableTasksBuilder_.mergeFrom(value);
          } else {
            dropTableTasksBuilder_.setMessage(value);
          }
        }
        taskCase_ = 7;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
       */
      public Builder clearDropTableTasks() {
        if (dropTableTasksBuilder_ == null) {
          if (taskCase_ == 7) {
            taskCase_ = 0;
            task_ = null;
            onChanged();
          }
        } else {
          if (taskCase_ == 7) {
            taskCase_ = 0;
            task_ = null;
          }
          dropTableTasksBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
       */
      public greptime.v1.meta.Ddl.DropTableTasks.Builder getDropTableTasksBuilder() {
        return getDropTableTasksFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.DropTableTasksOrBuilder getDropTableTasksOrBuilder() {
        if ((taskCase_ == 7) && (dropTableTasksBuilder_ != null)) {
          return dropTableTasksBuilder_.getMessageOrBuilder();
        } else {
          if (taskCase_ == 7) {
            return (greptime.v1.meta.Ddl.DropTableTasks) task_;
          }
          return greptime.v1.meta.Ddl.DropTableTasks.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.DropTableTasks drop_table_tasks = 7;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.DropTableTasks, greptime.v1.meta.Ddl.DropTableTasks.Builder, greptime.v1.meta.Ddl.DropTableTasksOrBuilder> 
          getDropTableTasksFieldBuilder() {
        if (dropTableTasksBuilder_ == null) {
          if (!(taskCase_ == 7)) {
            task_ = greptime.v1.meta.Ddl.DropTableTasks.getDefaultInstance();
          }
          dropTableTasksBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Ddl.DropTableTasks, greptime.v1.meta.Ddl.DropTableTasks.Builder, greptime.v1.meta.Ddl.DropTableTasksOrBuilder>(
                  (greptime.v1.meta.Ddl.DropTableTasks) task_,
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        taskCase_ = 7;
        onChanged();;
        return dropTableTasksBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.AlterTableTasks, greptime.v1.meta.Ddl.AlterTableTasks.Builder, greptime.v1.meta.Ddl.AlterTableTasksOrBuilder> alterTableTasksBuilder_;
      /**
       * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
       * @return Whether the alterTableTasks field is set.
       */
      @java.lang.Override
      public boolean hasAlterTableTasks() {
        return taskCase_ == 8;
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
       * @return The alterTableTasks.
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterTableTasks getAlterTableTasks() {
        if (alterTableTasksBuilder_ == null) {
          if (taskCase_ == 8) {
            return (greptime.v1.meta.Ddl.AlterTableTasks) task_;
          }
          return greptime.v1.meta.Ddl.AlterTableTasks.getDefaultInstance();
        } else {
          if (taskCase_ == 8) {
            return alterTableTasksBuilder_.getMessage();
          }
          return greptime.v1.meta.Ddl.AlterTableTasks.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
       */
      public Builder setAlterTableTasks(greptime.v1.meta.Ddl.AlterTableTasks value) {
        if (alterTableTasksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          alterTableTasksBuilder_.setMessage(value);
        }
        taskCase_ = 8;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
       */
      public Builder setAlterTableTasks(
          greptime.v1.meta.Ddl.AlterTableTasks.Builder builderForValue) {
        if (alterTableTasksBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          alterTableTasksBuilder_.setMessage(builderForValue.build());
        }
        taskCase_ = 8;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
       */
      public Builder mergeAlterTableTasks(greptime.v1.meta.Ddl.AlterTableTasks value) {
        if (alterTableTasksBuilder_ == null) {
          if (taskCase_ == 8 &&
              task_ != greptime.v1.meta.Ddl.AlterTableTasks.getDefaultInstance()) {
            task_ = greptime.v1.meta.Ddl.AlterTableTasks.newBuilder((greptime.v1.meta.Ddl.AlterTableTasks) task_)
                .mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          if (taskCase_ == 8) {
            alterTableTasksBuilder_.mergeFrom(value);
          } else {
            alterTableTasksBuilder_.setMessage(value);
          }
        }
        taskCase_ = 8;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
       */
      public Builder clearAlterTableTasks() {
        if (alterTableTasksBuilder_ == null) {
          if (taskCase_ == 8) {
            taskCase_ = 0;
            task_ = null;
            onChanged();
          }
        } else {
          if (taskCase_ == 8) {
            taskCase_ = 0;
            task_ = null;
          }
          alterTableTasksBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
       */
      public greptime.v1.meta.Ddl.AlterTableTasks.Builder getAlterTableTasksBuilder() {
        return getAlterTableTasksFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterTableTasksOrBuilder getAlterTableTasksOrBuilder() {
        if ((taskCase_ == 8) && (alterTableTasksBuilder_ != null)) {
          return alterTableTasksBuilder_.getMessageOrBuilder();
        } else {
          if (taskCase_ == 8) {
            return (greptime.v1.meta.Ddl.AlterTableTasks) task_;
          }
          return greptime.v1.meta.Ddl.AlterTableTasks.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.AlterTableTasks alter_table_tasks = 8;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.AlterTableTasks, greptime.v1.meta.Ddl.AlterTableTasks.Builder, greptime.v1.meta.Ddl.AlterTableTasksOrBuilder> 
          getAlterTableTasksFieldBuilder() {
        if (alterTableTasksBuilder_ == null) {
          if (!(taskCase_ == 8)) {
            task_ = greptime.v1.meta.Ddl.AlterTableTasks.getDefaultInstance();
          }
          alterTableTasksBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Ddl.AlterTableTasks, greptime.v1.meta.Ddl.AlterTableTasks.Builder, greptime.v1.meta.Ddl.AlterTableTasksOrBuilder>(
                  (greptime.v1.meta.Ddl.AlterTableTasks) task_,
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        taskCase_ = 8;
        onChanged();;
        return alterTableTasksBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.DropDatabaseTask, greptime.v1.meta.Ddl.DropDatabaseTask.Builder, greptime.v1.meta.Ddl.DropDatabaseTaskOrBuilder> dropDatabaseTaskBuilder_;
      /**
       * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
       * @return Whether the dropDatabaseTask field is set.
       */
      @java.lang.Override
      public boolean hasDropDatabaseTask() {
        return taskCase_ == 9;
      }
      /**
       * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
       * @return The dropDatabaseTask.
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.DropDatabaseTask getDropDatabaseTask() {
        if (dropDatabaseTaskBuilder_ == null) {
          if (taskCase_ == 9) {
            return (greptime.v1.meta.Ddl.DropDatabaseTask) task_;
          }
          return greptime.v1.meta.Ddl.DropDatabaseTask.getDefaultInstance();
        } else {
          if (taskCase_ == 9) {
            return dropDatabaseTaskBuilder_.getMessage();
          }
          return greptime.v1.meta.Ddl.DropDatabaseTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
       */
      public Builder setDropDatabaseTask(greptime.v1.meta.Ddl.DropDatabaseTask value) {
        if (dropDatabaseTaskBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          dropDatabaseTaskBuilder_.setMessage(value);
        }
        taskCase_ = 9;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
       */
      public Builder setDropDatabaseTask(
          greptime.v1.meta.Ddl.DropDatabaseTask.Builder builderForValue) {
        if (dropDatabaseTaskBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          dropDatabaseTaskBuilder_.setMessage(builderForValue.build());
        }
        taskCase_ = 9;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
       */
      public Builder mergeDropDatabaseTask(greptime.v1.meta.Ddl.DropDatabaseTask value) {
        if (dropDatabaseTaskBuilder_ == null) {
          if (taskCase_ == 9 &&
              task_ != greptime.v1.meta.Ddl.DropDatabaseTask.getDefaultInstance()) {
            task_ = greptime.v1.meta.Ddl.DropDatabaseTask.newBuilder((greptime.v1.meta.Ddl.DropDatabaseTask) task_)
                .mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          if (taskCase_ == 9) {
            dropDatabaseTaskBuilder_.mergeFrom(value);
          } else {
            dropDatabaseTaskBuilder_.setMessage(value);
          }
        }
        taskCase_ = 9;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
       */
      public Builder clearDropDatabaseTask() {
        if (dropDatabaseTaskBuilder_ == null) {
          if (taskCase_ == 9) {
            taskCase_ = 0;
            task_ = null;
            onChanged();
          }
        } else {
          if (taskCase_ == 9) {
            taskCase_ = 0;
            task_ = null;
          }
          dropDatabaseTaskBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
       */
      public greptime.v1.meta.Ddl.DropDatabaseTask.Builder getDropDatabaseTaskBuilder() {
        return getDropDatabaseTaskFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.DropDatabaseTaskOrBuilder getDropDatabaseTaskOrBuilder() {
        if ((taskCase_ == 9) && (dropDatabaseTaskBuilder_ != null)) {
          return dropDatabaseTaskBuilder_.getMessageOrBuilder();
        } else {
          if (taskCase_ == 9) {
            return (greptime.v1.meta.Ddl.DropDatabaseTask) task_;
          }
          return greptime.v1.meta.Ddl.DropDatabaseTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.DropDatabaseTask drop_database_task = 9;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.DropDatabaseTask, greptime.v1.meta.Ddl.DropDatabaseTask.Builder, greptime.v1.meta.Ddl.DropDatabaseTaskOrBuilder> 
          getDropDatabaseTaskFieldBuilder() {
        if (dropDatabaseTaskBuilder_ == null) {
          if (!(taskCase_ == 9)) {
            task_ = greptime.v1.meta.Ddl.DropDatabaseTask.getDefaultInstance();
          }
          dropDatabaseTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Ddl.DropDatabaseTask, greptime.v1.meta.Ddl.DropDatabaseTask.Builder, greptime.v1.meta.Ddl.DropDatabaseTaskOrBuilder>(
                  (greptime.v1.meta.Ddl.DropDatabaseTask) task_,
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        taskCase_ = 9;
        onChanged();;
        return dropDatabaseTaskBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.CreateDatabaseTask, greptime.v1.meta.Ddl.CreateDatabaseTask.Builder, greptime.v1.meta.Ddl.CreateDatabaseTaskOrBuilder> createDatabaseTaskBuilder_;
      /**
       * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
       * @return Whether the createDatabaseTask field is set.
       */
      @java.lang.Override
      public boolean hasCreateDatabaseTask() {
        return taskCase_ == 10;
      }
      /**
       * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
       * @return The createDatabaseTask.
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateDatabaseTask getCreateDatabaseTask() {
        if (createDatabaseTaskBuilder_ == null) {
          if (taskCase_ == 10) {
            return (greptime.v1.meta.Ddl.CreateDatabaseTask) task_;
          }
          return greptime.v1.meta.Ddl.CreateDatabaseTask.getDefaultInstance();
        } else {
          if (taskCase_ == 10) {
            return createDatabaseTaskBuilder_.getMessage();
          }
          return greptime.v1.meta.Ddl.CreateDatabaseTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
       */
      public Builder setCreateDatabaseTask(greptime.v1.meta.Ddl.CreateDatabaseTask value) {
        if (createDatabaseTaskBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          createDatabaseTaskBuilder_.setMessage(value);
        }
        taskCase_ = 10;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
       */
      public Builder setCreateDatabaseTask(
          greptime.v1.meta.Ddl.CreateDatabaseTask.Builder builderForValue) {
        if (createDatabaseTaskBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          createDatabaseTaskBuilder_.setMessage(builderForValue.build());
        }
        taskCase_ = 10;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
       */
      public Builder mergeCreateDatabaseTask(greptime.v1.meta.Ddl.CreateDatabaseTask value) {
        if (createDatabaseTaskBuilder_ == null) {
          if (taskCase_ == 10 &&
              task_ != greptime.v1.meta.Ddl.CreateDatabaseTask.getDefaultInstance()) {
            task_ = greptime.v1.meta.Ddl.CreateDatabaseTask.newBuilder((greptime.v1.meta.Ddl.CreateDatabaseTask) task_)
                .mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          if (taskCase_ == 10) {
            createDatabaseTaskBuilder_.mergeFrom(value);
          } else {
            createDatabaseTaskBuilder_.setMessage(value);
          }
        }
        taskCase_ = 10;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
       */
      public Builder clearCreateDatabaseTask() {
        if (createDatabaseTaskBuilder_ == null) {
          if (taskCase_ == 10) {
            taskCase_ = 0;
            task_ = null;
            onChanged();
          }
        } else {
          if (taskCase_ == 10) {
            taskCase_ = 0;
            task_ = null;
          }
          createDatabaseTaskBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
       */
      public greptime.v1.meta.Ddl.CreateDatabaseTask.Builder getCreateDatabaseTaskBuilder() {
        return getCreateDatabaseTaskFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateDatabaseTaskOrBuilder getCreateDatabaseTaskOrBuilder() {
        if ((taskCase_ == 10) && (createDatabaseTaskBuilder_ != null)) {
          return createDatabaseTaskBuilder_.getMessageOrBuilder();
        } else {
          if (taskCase_ == 10) {
            return (greptime.v1.meta.Ddl.CreateDatabaseTask) task_;
          }
          return greptime.v1.meta.Ddl.CreateDatabaseTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.CreateDatabaseTask create_database_task = 10;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.CreateDatabaseTask, greptime.v1.meta.Ddl.CreateDatabaseTask.Builder, greptime.v1.meta.Ddl.CreateDatabaseTaskOrBuilder> 
          getCreateDatabaseTaskFieldBuilder() {
        if (createDatabaseTaskBuilder_ == null) {
          if (!(taskCase_ == 10)) {
            task_ = greptime.v1.meta.Ddl.CreateDatabaseTask.getDefaultInstance();
          }
          createDatabaseTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Ddl.CreateDatabaseTask, greptime.v1.meta.Ddl.CreateDatabaseTask.Builder, greptime.v1.meta.Ddl.CreateDatabaseTaskOrBuilder>(
                  (greptime.v1.meta.Ddl.CreateDatabaseTask) task_,
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        taskCase_ = 10;
        onChanged();;
        return createDatabaseTaskBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.CreateFlowTask, greptime.v1.meta.Ddl.CreateFlowTask.Builder, greptime.v1.meta.Ddl.CreateFlowTaskOrBuilder> createFlowTaskBuilder_;
      /**
       * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
       * @return Whether the createFlowTask field is set.
       */
      @java.lang.Override
      public boolean hasCreateFlowTask() {
        return taskCase_ == 11;
      }
      /**
       * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
       * @return The createFlowTask.
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateFlowTask getCreateFlowTask() {
        if (createFlowTaskBuilder_ == null) {
          if (taskCase_ == 11) {
            return (greptime.v1.meta.Ddl.CreateFlowTask) task_;
          }
          return greptime.v1.meta.Ddl.CreateFlowTask.getDefaultInstance();
        } else {
          if (taskCase_ == 11) {
            return createFlowTaskBuilder_.getMessage();
          }
          return greptime.v1.meta.Ddl.CreateFlowTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
       */
      public Builder setCreateFlowTask(greptime.v1.meta.Ddl.CreateFlowTask value) {
        if (createFlowTaskBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          createFlowTaskBuilder_.setMessage(value);
        }
        taskCase_ = 11;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
       */
      public Builder setCreateFlowTask(
          greptime.v1.meta.Ddl.CreateFlowTask.Builder builderForValue) {
        if (createFlowTaskBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          createFlowTaskBuilder_.setMessage(builderForValue.build());
        }
        taskCase_ = 11;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
       */
      public Builder mergeCreateFlowTask(greptime.v1.meta.Ddl.CreateFlowTask value) {
        if (createFlowTaskBuilder_ == null) {
          if (taskCase_ == 11 &&
              task_ != greptime.v1.meta.Ddl.CreateFlowTask.getDefaultInstance()) {
            task_ = greptime.v1.meta.Ddl.CreateFlowTask.newBuilder((greptime.v1.meta.Ddl.CreateFlowTask) task_)
                .mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          if (taskCase_ == 11) {
            createFlowTaskBuilder_.mergeFrom(value);
          } else {
            createFlowTaskBuilder_.setMessage(value);
          }
        }
        taskCase_ = 11;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
       */
      public Builder clearCreateFlowTask() {
        if (createFlowTaskBuilder_ == null) {
          if (taskCase_ == 11) {
            taskCase_ = 0;
            task_ = null;
            onChanged();
          }
        } else {
          if (taskCase_ == 11) {
            taskCase_ = 0;
            task_ = null;
          }
          createFlowTaskBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
       */
      public greptime.v1.meta.Ddl.CreateFlowTask.Builder getCreateFlowTaskBuilder() {
        return getCreateFlowTaskFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateFlowTaskOrBuilder getCreateFlowTaskOrBuilder() {
        if ((taskCase_ == 11) && (createFlowTaskBuilder_ != null)) {
          return createFlowTaskBuilder_.getMessageOrBuilder();
        } else {
          if (taskCase_ == 11) {
            return (greptime.v1.meta.Ddl.CreateFlowTask) task_;
          }
          return greptime.v1.meta.Ddl.CreateFlowTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.CreateFlowTask create_flow_task = 11;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.CreateFlowTask, greptime.v1.meta.Ddl.CreateFlowTask.Builder, greptime.v1.meta.Ddl.CreateFlowTaskOrBuilder> 
          getCreateFlowTaskFieldBuilder() {
        if (createFlowTaskBuilder_ == null) {
          if (!(taskCase_ == 11)) {
            task_ = greptime.v1.meta.Ddl.CreateFlowTask.getDefaultInstance();
          }
          createFlowTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Ddl.CreateFlowTask, greptime.v1.meta.Ddl.CreateFlowTask.Builder, greptime.v1.meta.Ddl.CreateFlowTaskOrBuilder>(
                  (greptime.v1.meta.Ddl.CreateFlowTask) task_,
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        taskCase_ = 11;
        onChanged();;
        return createFlowTaskBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.DropFlowTask, greptime.v1.meta.Ddl.DropFlowTask.Builder, greptime.v1.meta.Ddl.DropFlowTaskOrBuilder> dropFlowTaskBuilder_;
      /**
       * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
       * @return Whether the dropFlowTask field is set.
       */
      @java.lang.Override
      public boolean hasDropFlowTask() {
        return taskCase_ == 12;
      }
      /**
       * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
       * @return The dropFlowTask.
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.DropFlowTask getDropFlowTask() {
        if (dropFlowTaskBuilder_ == null) {
          if (taskCase_ == 12) {
            return (greptime.v1.meta.Ddl.DropFlowTask) task_;
          }
          return greptime.v1.meta.Ddl.DropFlowTask.getDefaultInstance();
        } else {
          if (taskCase_ == 12) {
            return dropFlowTaskBuilder_.getMessage();
          }
          return greptime.v1.meta.Ddl.DropFlowTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
       */
      public Builder setDropFlowTask(greptime.v1.meta.Ddl.DropFlowTask value) {
        if (dropFlowTaskBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          dropFlowTaskBuilder_.setMessage(value);
        }
        taskCase_ = 12;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
       */
      public Builder setDropFlowTask(
          greptime.v1.meta.Ddl.DropFlowTask.Builder builderForValue) {
        if (dropFlowTaskBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          dropFlowTaskBuilder_.setMessage(builderForValue.build());
        }
        taskCase_ = 12;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
       */
      public Builder mergeDropFlowTask(greptime.v1.meta.Ddl.DropFlowTask value) {
        if (dropFlowTaskBuilder_ == null) {
          if (taskCase_ == 12 &&
              task_ != greptime.v1.meta.Ddl.DropFlowTask.getDefaultInstance()) {
            task_ = greptime.v1.meta.Ddl.DropFlowTask.newBuilder((greptime.v1.meta.Ddl.DropFlowTask) task_)
                .mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          if (taskCase_ == 12) {
            dropFlowTaskBuilder_.mergeFrom(value);
          } else {
            dropFlowTaskBuilder_.setMessage(value);
          }
        }
        taskCase_ = 12;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
       */
      public Builder clearDropFlowTask() {
        if (dropFlowTaskBuilder_ == null) {
          if (taskCase_ == 12) {
            taskCase_ = 0;
            task_ = null;
            onChanged();
          }
        } else {
          if (taskCase_ == 12) {
            taskCase_ = 0;
            task_ = null;
          }
          dropFlowTaskBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
       */
      public greptime.v1.meta.Ddl.DropFlowTask.Builder getDropFlowTaskBuilder() {
        return getDropFlowTaskFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.DropFlowTaskOrBuilder getDropFlowTaskOrBuilder() {
        if ((taskCase_ == 12) && (dropFlowTaskBuilder_ != null)) {
          return dropFlowTaskBuilder_.getMessageOrBuilder();
        } else {
          if (taskCase_ == 12) {
            return (greptime.v1.meta.Ddl.DropFlowTask) task_;
          }
          return greptime.v1.meta.Ddl.DropFlowTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.DropFlowTask drop_flow_task = 12;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.DropFlowTask, greptime.v1.meta.Ddl.DropFlowTask.Builder, greptime.v1.meta.Ddl.DropFlowTaskOrBuilder> 
          getDropFlowTaskFieldBuilder() {
        if (dropFlowTaskBuilder_ == null) {
          if (!(taskCase_ == 12)) {
            task_ = greptime.v1.meta.Ddl.DropFlowTask.getDefaultInstance();
          }
          dropFlowTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Ddl.DropFlowTask, greptime.v1.meta.Ddl.DropFlowTask.Builder, greptime.v1.meta.Ddl.DropFlowTaskOrBuilder>(
                  (greptime.v1.meta.Ddl.DropFlowTask) task_,
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        taskCase_ = 12;
        onChanged();;
        return dropFlowTaskBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.CreateViewTask, greptime.v1.meta.Ddl.CreateViewTask.Builder, greptime.v1.meta.Ddl.CreateViewTaskOrBuilder> createViewTaskBuilder_;
      /**
       * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
       * @return Whether the createViewTask field is set.
       */
      @java.lang.Override
      public boolean hasCreateViewTask() {
        return taskCase_ == 13;
      }
      /**
       * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
       * @return The createViewTask.
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateViewTask getCreateViewTask() {
        if (createViewTaskBuilder_ == null) {
          if (taskCase_ == 13) {
            return (greptime.v1.meta.Ddl.CreateViewTask) task_;
          }
          return greptime.v1.meta.Ddl.CreateViewTask.getDefaultInstance();
        } else {
          if (taskCase_ == 13) {
            return createViewTaskBuilder_.getMessage();
          }
          return greptime.v1.meta.Ddl.CreateViewTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
       */
      public Builder setCreateViewTask(greptime.v1.meta.Ddl.CreateViewTask value) {
        if (createViewTaskBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          createViewTaskBuilder_.setMessage(value);
        }
        taskCase_ = 13;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
       */
      public Builder setCreateViewTask(
          greptime.v1.meta.Ddl.CreateViewTask.Builder builderForValue) {
        if (createViewTaskBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          createViewTaskBuilder_.setMessage(builderForValue.build());
        }
        taskCase_ = 13;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
       */
      public Builder mergeCreateViewTask(greptime.v1.meta.Ddl.CreateViewTask value) {
        if (createViewTaskBuilder_ == null) {
          if (taskCase_ == 13 &&
              task_ != greptime.v1.meta.Ddl.CreateViewTask.getDefaultInstance()) {
            task_ = greptime.v1.meta.Ddl.CreateViewTask.newBuilder((greptime.v1.meta.Ddl.CreateViewTask) task_)
                .mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          if (taskCase_ == 13) {
            createViewTaskBuilder_.mergeFrom(value);
          } else {
            createViewTaskBuilder_.setMessage(value);
          }
        }
        taskCase_ = 13;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
       */
      public Builder clearCreateViewTask() {
        if (createViewTaskBuilder_ == null) {
          if (taskCase_ == 13) {
            taskCase_ = 0;
            task_ = null;
            onChanged();
          }
        } else {
          if (taskCase_ == 13) {
            taskCase_ = 0;
            task_ = null;
          }
          createViewTaskBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
       */
      public greptime.v1.meta.Ddl.CreateViewTask.Builder getCreateViewTaskBuilder() {
        return getCreateViewTaskFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.CreateViewTaskOrBuilder getCreateViewTaskOrBuilder() {
        if ((taskCase_ == 13) && (createViewTaskBuilder_ != null)) {
          return createViewTaskBuilder_.getMessageOrBuilder();
        } else {
          if (taskCase_ == 13) {
            return (greptime.v1.meta.Ddl.CreateViewTask) task_;
          }
          return greptime.v1.meta.Ddl.CreateViewTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.CreateViewTask create_view_task = 13;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.CreateViewTask, greptime.v1.meta.Ddl.CreateViewTask.Builder, greptime.v1.meta.Ddl.CreateViewTaskOrBuilder> 
          getCreateViewTaskFieldBuilder() {
        if (createViewTaskBuilder_ == null) {
          if (!(taskCase_ == 13)) {
            task_ = greptime.v1.meta.Ddl.CreateViewTask.getDefaultInstance();
          }
          createViewTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Ddl.CreateViewTask, greptime.v1.meta.Ddl.CreateViewTask.Builder, greptime.v1.meta.Ddl.CreateViewTaskOrBuilder>(
                  (greptime.v1.meta.Ddl.CreateViewTask) task_,
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        taskCase_ = 13;
        onChanged();;
        return createViewTaskBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.DropViewTask, greptime.v1.meta.Ddl.DropViewTask.Builder, greptime.v1.meta.Ddl.DropViewTaskOrBuilder> dropViewTaskBuilder_;
      /**
       * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
       * @return Whether the dropViewTask field is set.
       */
      @java.lang.Override
      public boolean hasDropViewTask() {
        return taskCase_ == 14;
      }
      /**
       * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
       * @return The dropViewTask.
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.DropViewTask getDropViewTask() {
        if (dropViewTaskBuilder_ == null) {
          if (taskCase_ == 14) {
            return (greptime.v1.meta.Ddl.DropViewTask) task_;
          }
          return greptime.v1.meta.Ddl.DropViewTask.getDefaultInstance();
        } else {
          if (taskCase_ == 14) {
            return dropViewTaskBuilder_.getMessage();
          }
          return greptime.v1.meta.Ddl.DropViewTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
       */
      public Builder setDropViewTask(greptime.v1.meta.Ddl.DropViewTask value) {
        if (dropViewTaskBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          dropViewTaskBuilder_.setMessage(value);
        }
        taskCase_ = 14;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
       */
      public Builder setDropViewTask(
          greptime.v1.meta.Ddl.DropViewTask.Builder builderForValue) {
        if (dropViewTaskBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          dropViewTaskBuilder_.setMessage(builderForValue.build());
        }
        taskCase_ = 14;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
       */
      public Builder mergeDropViewTask(greptime.v1.meta.Ddl.DropViewTask value) {
        if (dropViewTaskBuilder_ == null) {
          if (taskCase_ == 14 &&
              task_ != greptime.v1.meta.Ddl.DropViewTask.getDefaultInstance()) {
            task_ = greptime.v1.meta.Ddl.DropViewTask.newBuilder((greptime.v1.meta.Ddl.DropViewTask) task_)
                .mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          if (taskCase_ == 14) {
            dropViewTaskBuilder_.mergeFrom(value);
          } else {
            dropViewTaskBuilder_.setMessage(value);
          }
        }
        taskCase_ = 14;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
       */
      public Builder clearDropViewTask() {
        if (dropViewTaskBuilder_ == null) {
          if (taskCase_ == 14) {
            taskCase_ = 0;
            task_ = null;
            onChanged();
          }
        } else {
          if (taskCase_ == 14) {
            taskCase_ = 0;
            task_ = null;
          }
          dropViewTaskBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
       */
      public greptime.v1.meta.Ddl.DropViewTask.Builder getDropViewTaskBuilder() {
        return getDropViewTaskFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.DropViewTaskOrBuilder getDropViewTaskOrBuilder() {
        if ((taskCase_ == 14) && (dropViewTaskBuilder_ != null)) {
          return dropViewTaskBuilder_.getMessageOrBuilder();
        } else {
          if (taskCase_ == 14) {
            return (greptime.v1.meta.Ddl.DropViewTask) task_;
          }
          return greptime.v1.meta.Ddl.DropViewTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.DropViewTask drop_view_task = 14;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.DropViewTask, greptime.v1.meta.Ddl.DropViewTask.Builder, greptime.v1.meta.Ddl.DropViewTaskOrBuilder> 
          getDropViewTaskFieldBuilder() {
        if (dropViewTaskBuilder_ == null) {
          if (!(taskCase_ == 14)) {
            task_ = greptime.v1.meta.Ddl.DropViewTask.getDefaultInstance();
          }
          dropViewTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Ddl.DropViewTask, greptime.v1.meta.Ddl.DropViewTask.Builder, greptime.v1.meta.Ddl.DropViewTaskOrBuilder>(
                  (greptime.v1.meta.Ddl.DropViewTask) task_,
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        taskCase_ = 14;
        onChanged();;
        return dropViewTaskBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.AlterDatabaseTask, greptime.v1.meta.Ddl.AlterDatabaseTask.Builder, greptime.v1.meta.Ddl.AlterDatabaseTaskOrBuilder> alterDatabaseTaskBuilder_;
      /**
       * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
       * @return Whether the alterDatabaseTask field is set.
       */
      @java.lang.Override
      public boolean hasAlterDatabaseTask() {
        return taskCase_ == 15;
      }
      /**
       * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
       * @return The alterDatabaseTask.
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterDatabaseTask getAlterDatabaseTask() {
        if (alterDatabaseTaskBuilder_ == null) {
          if (taskCase_ == 15) {
            return (greptime.v1.meta.Ddl.AlterDatabaseTask) task_;
          }
          return greptime.v1.meta.Ddl.AlterDatabaseTask.getDefaultInstance();
        } else {
          if (taskCase_ == 15) {
            return alterDatabaseTaskBuilder_.getMessage();
          }
          return greptime.v1.meta.Ddl.AlterDatabaseTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
       */
      public Builder setAlterDatabaseTask(greptime.v1.meta.Ddl.AlterDatabaseTask value) {
        if (alterDatabaseTaskBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          task_ = value;
          onChanged();
        } else {
          alterDatabaseTaskBuilder_.setMessage(value);
        }
        taskCase_ = 15;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
       */
      public Builder setAlterDatabaseTask(
          greptime.v1.meta.Ddl.AlterDatabaseTask.Builder builderForValue) {
        if (alterDatabaseTaskBuilder_ == null) {
          task_ = builderForValue.build();
          onChanged();
        } else {
          alterDatabaseTaskBuilder_.setMessage(builderForValue.build());
        }
        taskCase_ = 15;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
       */
      public Builder mergeAlterDatabaseTask(greptime.v1.meta.Ddl.AlterDatabaseTask value) {
        if (alterDatabaseTaskBuilder_ == null) {
          if (taskCase_ == 15 &&
              task_ != greptime.v1.meta.Ddl.AlterDatabaseTask.getDefaultInstance()) {
            task_ = greptime.v1.meta.Ddl.AlterDatabaseTask.newBuilder((greptime.v1.meta.Ddl.AlterDatabaseTask) task_)
                .mergeFrom(value).buildPartial();
          } else {
            task_ = value;
          }
          onChanged();
        } else {
          if (taskCase_ == 15) {
            alterDatabaseTaskBuilder_.mergeFrom(value);
          } else {
            alterDatabaseTaskBuilder_.setMessage(value);
          }
        }
        taskCase_ = 15;
        return this;
      }
      /**
       * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
       */
      public Builder clearAlterDatabaseTask() {
        if (alterDatabaseTaskBuilder_ == null) {
          if (taskCase_ == 15) {
            taskCase_ = 0;
            task_ = null;
            onChanged();
          }
        } else {
          if (taskCase_ == 15) {
            taskCase_ = 0;
            task_ = null;
          }
          alterDatabaseTaskBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
       */
      public greptime.v1.meta.Ddl.AlterDatabaseTask.Builder getAlterDatabaseTaskBuilder() {
        return getAlterDatabaseTaskFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
       */
      @java.lang.Override
      public greptime.v1.meta.Ddl.AlterDatabaseTaskOrBuilder getAlterDatabaseTaskOrBuilder() {
        if ((taskCase_ == 15) && (alterDatabaseTaskBuilder_ != null)) {
          return alterDatabaseTaskBuilder_.getMessageOrBuilder();
        } else {
          if (taskCase_ == 15) {
            return (greptime.v1.meta.Ddl.AlterDatabaseTask) task_;
          }
          return greptime.v1.meta.Ddl.AlterDatabaseTask.getDefaultInstance();
        }
      }
      /**
       * <code>.greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Ddl.AlterDatabaseTask, greptime.v1.meta.Ddl.AlterDatabaseTask.Builder, greptime.v1.meta.Ddl.AlterDatabaseTaskOrBuilder> 
          getAlterDatabaseTaskFieldBuilder() {
        if (alterDatabaseTaskBuilder_ == null) {
          if (!(taskCase_ == 15)) {
            task_ = greptime.v1.meta.Ddl.AlterDatabaseTask.getDefaultInstance();
          }
          alterDatabaseTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Ddl.AlterDatabaseTask, greptime.v1.meta.Ddl.AlterDatabaseTask.Builder, greptime.v1.meta.Ddl.AlterDatabaseTaskOrBuilder>(
                  (greptime.v1.meta.Ddl.AlterDatabaseTask) task_,
                  getParentForChildren(),
                  isClean());
          task_ = null;
        }
        taskCase_ = 15;
        onChanged();;
        return alterDatabaseTaskBuilder_;
      }
      @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:greptime.v1.meta.DdlTaskRequest)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.DdlTaskRequest)
    private static final greptime.v1.meta.Ddl.DdlTaskRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.DdlTaskRequest();
    }

    public static greptime.v1.meta.Ddl.DdlTaskRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.DdlTaskRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DdlTaskResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.DdlTaskResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
     * @return Whether the header field is set.
     */
    boolean hasHeader();
    /**
     * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
     * @return The header.
     */
    greptime.v1.meta.Common.ResponseHeader getHeader();
    /**
     * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
     */
    greptime.v1.meta.Common.ResponseHeaderOrBuilder getHeaderOrBuilder();

    /**
     * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
     * @return Whether the pid field is set.
     */
    boolean hasPid();
    /**
     * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
     * @return The pid.
     */
    greptime.v1.meta.Common.ProcedureId getPid();
    /**
     * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
     */
    greptime.v1.meta.Common.ProcedureIdOrBuilder getPidOrBuilder();

    /**
     * <pre>
     * Returns if the tables created.
     * </pre>
     *
     * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
     */
    java.util.List<io.greptime.v1.Ddl.TableId> 
        getTableIdsList();
    /**
     * <pre>
     * Returns if the tables created.
     * </pre>
     *
     * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
     */
    io.greptime.v1.Ddl.TableId getTableIds(int index);
    /**
     * <pre>
     * Returns if the tables created.
     * </pre>
     *
     * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
     */
    int getTableIdsCount();
    /**
     * <pre>
     * Returns if the tables created.
     * </pre>
     *
     * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
     */
    java.util.List<? extends io.greptime.v1.Ddl.TableIdOrBuilder> 
        getTableIdsOrBuilderList();
    /**
     * <pre>
     * Returns if the tables created.
     * </pre>
     *
     * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
     */
    io.greptime.v1.Ddl.TableIdOrBuilder getTableIdsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code greptime.v1.meta.DdlTaskResponse}
   */
  public static final class DdlTaskResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.DdlTaskResponse)
      DdlTaskResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DdlTaskResponse.newBuilder() to construct.
    private DdlTaskResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DdlTaskResponse() {
      tableIds_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new DdlTaskResponse();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DdlTaskResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              greptime.v1.meta.Common.ResponseHeader.Builder subBuilder = null;
              if (header_ != null) {
                subBuilder = header_.toBuilder();
              }
              header_ = input.readMessage(greptime.v1.meta.Common.ResponseHeader.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(header_);
                header_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              greptime.v1.meta.Common.ProcedureId.Builder subBuilder = null;
              if (pid_ != null) {
                subBuilder = pid_.toBuilder();
              }
              pid_ = input.readMessage(greptime.v1.meta.Common.ProcedureId.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(pid_);
                pid_ = subBuilder.buildPartial();
              }

              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                tableIds_ = new java.util.ArrayList<io.greptime.v1.Ddl.TableId>();
                mutable_bitField0_ |= 0x00000001;
              }
              tableIds_.add(
                  input.readMessage(io.greptime.v1.Ddl.TableId.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          tableIds_ = java.util.Collections.unmodifiableList(tableIds_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DdlTaskResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DdlTaskResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.Ddl.DdlTaskResponse.class, greptime.v1.meta.Ddl.DdlTaskResponse.Builder.class);
    }

    public static final int HEADER_FIELD_NUMBER = 1;
    private greptime.v1.meta.Common.ResponseHeader header_;
    /**
     * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
     * @return Whether the header field is set.
     */
    @java.lang.Override
    public boolean hasHeader() {
      return header_ != null;
    }
    /**
     * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
     * @return The header.
     */
    @java.lang.Override
    public greptime.v1.meta.Common.ResponseHeader getHeader() {
      return header_ == null ? greptime.v1.meta.Common.ResponseHeader.getDefaultInstance() : header_;
    }
    /**
     * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Common.ResponseHeaderOrBuilder getHeaderOrBuilder() {
      return getHeader();
    }

    public static final int PID_FIELD_NUMBER = 2;
    private greptime.v1.meta.Common.ProcedureId pid_;
    /**
     * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
     * @return Whether the pid field is set.
     */
    @java.lang.Override
    public boolean hasPid() {
      return pid_ != null;
    }
    /**
     * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
     * @return The pid.
     */
    @java.lang.Override
    public greptime.v1.meta.Common.ProcedureId getPid() {
      return pid_ == null ? greptime.v1.meta.Common.ProcedureId.getDefaultInstance() : pid_;
    }
    /**
     * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Common.ProcedureIdOrBuilder getPidOrBuilder() {
      return getPid();
    }

    public static final int TABLE_IDS_FIELD_NUMBER = 5;
    private java.util.List<io.greptime.v1.Ddl.TableId> tableIds_;
    /**
     * <pre>
     * Returns if the tables created.
     * </pre>
     *
     * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
     */
    @java.lang.Override
    public java.util.List<io.greptime.v1.Ddl.TableId> getTableIdsList() {
      return tableIds_;
    }
    /**
     * <pre>
     * Returns if the tables created.
     * </pre>
     *
     * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
     */
    @java.lang.Override
    public java.util.List<? extends io.greptime.v1.Ddl.TableIdOrBuilder> 
        getTableIdsOrBuilderList() {
      return tableIds_;
    }
    /**
     * <pre>
     * Returns if the tables created.
     * </pre>
     *
     * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
     */
    @java.lang.Override
    public int getTableIdsCount() {
      return tableIds_.size();
    }
    /**
     * <pre>
     * Returns if the tables created.
     * </pre>
     *
     * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.TableId getTableIds(int index) {
      return tableIds_.get(index);
    }
    /**
     * <pre>
     * Returns if the tables created.
     * </pre>
     *
     * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
     */
    @java.lang.Override
    public io.greptime.v1.Ddl.TableIdOrBuilder getTableIdsOrBuilder(
        int index) {
      return tableIds_.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 (header_ != null) {
        output.writeMessage(1, getHeader());
      }
      if (pid_ != null) {
        output.writeMessage(2, getPid());
      }
      for (int i = 0; i < tableIds_.size(); i++) {
        output.writeMessage(5, tableIds_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (header_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getHeader());
      }
      if (pid_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getPid());
      }
      for (int i = 0; i < tableIds_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, tableIds_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.Ddl.DdlTaskResponse)) {
        return super.equals(obj);
      }
      greptime.v1.meta.Ddl.DdlTaskResponse other = (greptime.v1.meta.Ddl.DdlTaskResponse) obj;

      if (hasHeader() != other.hasHeader()) return false;
      if (hasHeader()) {
        if (!getHeader()
            .equals(other.getHeader())) return false;
      }
      if (hasPid() != other.hasPid()) return false;
      if (hasPid()) {
        if (!getPid()
            .equals(other.getPid())) return false;
      }
      if (!getTableIdsList()
          .equals(other.getTableIdsList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasHeader()) {
        hash = (37 * hash) + HEADER_FIELD_NUMBER;
        hash = (53 * hash) + getHeader().hashCode();
      }
      if (hasPid()) {
        hash = (37 * hash) + PID_FIELD_NUMBER;
        hash = (53 * hash) + getPid().hashCode();
      }
      if (getTableIdsCount() > 0) {
        hash = (37 * hash) + TABLE_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getTableIdsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.Ddl.DdlTaskResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DdlTaskResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DdlTaskResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DdlTaskResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DdlTaskResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.Ddl.DdlTaskResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.Ddl.DdlTaskResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DdlTaskResponse 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 greptime.v1.meta.Ddl.DdlTaskResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DdlTaskResponse 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 greptime.v1.meta.Ddl.DdlTaskResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.Ddl.DdlTaskResponse 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(greptime.v1.meta.Ddl.DdlTaskResponse 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 greptime.v1.meta.DdlTaskResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.DdlTaskResponse)
        greptime.v1.meta.Ddl.DdlTaskResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DdlTaskResponse_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DdlTaskResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.Ddl.DdlTaskResponse.class, greptime.v1.meta.Ddl.DdlTaskResponse.Builder.class);
      }

      // Construct using greptime.v1.meta.Ddl.DdlTaskResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getTableIdsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (headerBuilder_ == null) {
          header_ = null;
        } else {
          header_ = null;
          headerBuilder_ = null;
        }
        if (pidBuilder_ == null) {
          pid_ = null;
        } else {
          pid_ = null;
          pidBuilder_ = null;
        }
        if (tableIdsBuilder_ == null) {
          tableIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          tableIdsBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_DdlTaskResponse_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DdlTaskResponse getDefaultInstanceForType() {
        return greptime.v1.meta.Ddl.DdlTaskResponse.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DdlTaskResponse build() {
        greptime.v1.meta.Ddl.DdlTaskResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.Ddl.DdlTaskResponse buildPartial() {
        greptime.v1.meta.Ddl.DdlTaskResponse result = new greptime.v1.meta.Ddl.DdlTaskResponse(this);
        int from_bitField0_ = bitField0_;
        if (headerBuilder_ == null) {
          result.header_ = header_;
        } else {
          result.header_ = headerBuilder_.build();
        }
        if (pidBuilder_ == null) {
          result.pid_ = pid_;
        } else {
          result.pid_ = pidBuilder_.build();
        }
        if (tableIdsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            tableIds_ = java.util.Collections.unmodifiableList(tableIds_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.tableIds_ = tableIds_;
        } else {
          result.tableIds_ = tableIdsBuilder_.build();
        }
        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 greptime.v1.meta.Ddl.DdlTaskResponse) {
          return mergeFrom((greptime.v1.meta.Ddl.DdlTaskResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.Ddl.DdlTaskResponse other) {
        if (other == greptime.v1.meta.Ddl.DdlTaskResponse.getDefaultInstance()) return this;
        if (other.hasHeader()) {
          mergeHeader(other.getHeader());
        }
        if (other.hasPid()) {
          mergePid(other.getPid());
        }
        if (tableIdsBuilder_ == null) {
          if (!other.tableIds_.isEmpty()) {
            if (tableIds_.isEmpty()) {
              tableIds_ = other.tableIds_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureTableIdsIsMutable();
              tableIds_.addAll(other.tableIds_);
            }
            onChanged();
          }
        } else {
          if (!other.tableIds_.isEmpty()) {
            if (tableIdsBuilder_.isEmpty()) {
              tableIdsBuilder_.dispose();
              tableIdsBuilder_ = null;
              tableIds_ = other.tableIds_;
              bitField0_ = (bitField0_ & ~0x00000001);
              tableIdsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getTableIdsFieldBuilder() : null;
            } else {
              tableIdsBuilder_.addAllMessages(other.tableIds_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        greptime.v1.meta.Ddl.DdlTaskResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.Ddl.DdlTaskResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private greptime.v1.meta.Common.ResponseHeader header_;
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Common.ResponseHeader, greptime.v1.meta.Common.ResponseHeader.Builder, greptime.v1.meta.Common.ResponseHeaderOrBuilder> headerBuilder_;
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       * @return Whether the header field is set.
       */
      public boolean hasHeader() {
        return headerBuilder_ != null || header_ != null;
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       * @return The header.
       */
      public greptime.v1.meta.Common.ResponseHeader getHeader() {
        if (headerBuilder_ == null) {
          return header_ == null ? greptime.v1.meta.Common.ResponseHeader.getDefaultInstance() : header_;
        } else {
          return headerBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       */
      public Builder setHeader(greptime.v1.meta.Common.ResponseHeader value) {
        if (headerBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          header_ = value;
          onChanged();
        } else {
          headerBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       */
      public Builder setHeader(
          greptime.v1.meta.Common.ResponseHeader.Builder builderForValue) {
        if (headerBuilder_ == null) {
          header_ = builderForValue.build();
          onChanged();
        } else {
          headerBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       */
      public Builder mergeHeader(greptime.v1.meta.Common.ResponseHeader value) {
        if (headerBuilder_ == null) {
          if (header_ != null) {
            header_ =
              greptime.v1.meta.Common.ResponseHeader.newBuilder(header_).mergeFrom(value).buildPartial();
          } else {
            header_ = value;
          }
          onChanged();
        } else {
          headerBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       */
      public Builder clearHeader() {
        if (headerBuilder_ == null) {
          header_ = null;
          onChanged();
        } else {
          header_ = null;
          headerBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       */
      public greptime.v1.meta.Common.ResponseHeader.Builder getHeaderBuilder() {
        
        onChanged();
        return getHeaderFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       */
      public greptime.v1.meta.Common.ResponseHeaderOrBuilder getHeaderOrBuilder() {
        if (headerBuilder_ != null) {
          return headerBuilder_.getMessageOrBuilder();
        } else {
          return header_ == null ?
              greptime.v1.meta.Common.ResponseHeader.getDefaultInstance() : header_;
        }
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Common.ResponseHeader, greptime.v1.meta.Common.ResponseHeader.Builder, greptime.v1.meta.Common.ResponseHeaderOrBuilder> 
          getHeaderFieldBuilder() {
        if (headerBuilder_ == null) {
          headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Common.ResponseHeader, greptime.v1.meta.Common.ResponseHeader.Builder, greptime.v1.meta.Common.ResponseHeaderOrBuilder>(
                  getHeader(),
                  getParentForChildren(),
                  isClean());
          header_ = null;
        }
        return headerBuilder_;
      }

      private greptime.v1.meta.Common.ProcedureId pid_;
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Common.ProcedureId, greptime.v1.meta.Common.ProcedureId.Builder, greptime.v1.meta.Common.ProcedureIdOrBuilder> pidBuilder_;
      /**
       * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
       * @return Whether the pid field is set.
       */
      public boolean hasPid() {
        return pidBuilder_ != null || pid_ != null;
      }
      /**
       * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
       * @return The pid.
       */
      public greptime.v1.meta.Common.ProcedureId getPid() {
        if (pidBuilder_ == null) {
          return pid_ == null ? greptime.v1.meta.Common.ProcedureId.getDefaultInstance() : pid_;
        } else {
          return pidBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
       */
      public Builder setPid(greptime.v1.meta.Common.ProcedureId value) {
        if (pidBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          pid_ = value;
          onChanged();
        } else {
          pidBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
       */
      public Builder setPid(
          greptime.v1.meta.Common.ProcedureId.Builder builderForValue) {
        if (pidBuilder_ == null) {
          pid_ = builderForValue.build();
          onChanged();
        } else {
          pidBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
       */
      public Builder mergePid(greptime.v1.meta.Common.ProcedureId value) {
        if (pidBuilder_ == null) {
          if (pid_ != null) {
            pid_ =
              greptime.v1.meta.Common.ProcedureId.newBuilder(pid_).mergeFrom(value).buildPartial();
          } else {
            pid_ = value;
          }
          onChanged();
        } else {
          pidBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
       */
      public Builder clearPid() {
        if (pidBuilder_ == null) {
          pid_ = null;
          onChanged();
        } else {
          pid_ = null;
          pidBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
       */
      public greptime.v1.meta.Common.ProcedureId.Builder getPidBuilder() {
        
        onChanged();
        return getPidFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
       */
      public greptime.v1.meta.Common.ProcedureIdOrBuilder getPidOrBuilder() {
        if (pidBuilder_ != null) {
          return pidBuilder_.getMessageOrBuilder();
        } else {
          return pid_ == null ?
              greptime.v1.meta.Common.ProcedureId.getDefaultInstance() : pid_;
        }
      }
      /**
       * <code>.greptime.v1.meta.ProcedureId pid = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Common.ProcedureId, greptime.v1.meta.Common.ProcedureId.Builder, greptime.v1.meta.Common.ProcedureIdOrBuilder> 
          getPidFieldBuilder() {
        if (pidBuilder_ == null) {
          pidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Common.ProcedureId, greptime.v1.meta.Common.ProcedureId.Builder, greptime.v1.meta.Common.ProcedureIdOrBuilder>(
                  getPid(),
                  getParentForChildren(),
                  isClean());
          pid_ = null;
        }
        return pidBuilder_;
      }

      private java.util.List<io.greptime.v1.Ddl.TableId> tableIds_ =
        java.util.Collections.emptyList();
      private void ensureTableIdsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          tableIds_ = new java.util.ArrayList<io.greptime.v1.Ddl.TableId>(tableIds_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.greptime.v1.Ddl.TableId, io.greptime.v1.Ddl.TableId.Builder, io.greptime.v1.Ddl.TableIdOrBuilder> tableIdsBuilder_;

      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public java.util.List<io.greptime.v1.Ddl.TableId> getTableIdsList() {
        if (tableIdsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(tableIds_);
        } else {
          return tableIdsBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public int getTableIdsCount() {
        if (tableIdsBuilder_ == null) {
          return tableIds_.size();
        } else {
          return tableIdsBuilder_.getCount();
        }
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public io.greptime.v1.Ddl.TableId getTableIds(int index) {
        if (tableIdsBuilder_ == null) {
          return tableIds_.get(index);
        } else {
          return tableIdsBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public Builder setTableIds(
          int index, io.greptime.v1.Ddl.TableId value) {
        if (tableIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTableIdsIsMutable();
          tableIds_.set(index, value);
          onChanged();
        } else {
          tableIdsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public Builder setTableIds(
          int index, io.greptime.v1.Ddl.TableId.Builder builderForValue) {
        if (tableIdsBuilder_ == null) {
          ensureTableIdsIsMutable();
          tableIds_.set(index, builderForValue.build());
          onChanged();
        } else {
          tableIdsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public Builder addTableIds(io.greptime.v1.Ddl.TableId value) {
        if (tableIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTableIdsIsMutable();
          tableIds_.add(value);
          onChanged();
        } else {
          tableIdsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public Builder addTableIds(
          int index, io.greptime.v1.Ddl.TableId value) {
        if (tableIdsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTableIdsIsMutable();
          tableIds_.add(index, value);
          onChanged();
        } else {
          tableIdsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public Builder addTableIds(
          io.greptime.v1.Ddl.TableId.Builder builderForValue) {
        if (tableIdsBuilder_ == null) {
          ensureTableIdsIsMutable();
          tableIds_.add(builderForValue.build());
          onChanged();
        } else {
          tableIdsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public Builder addTableIds(
          int index, io.greptime.v1.Ddl.TableId.Builder builderForValue) {
        if (tableIdsBuilder_ == null) {
          ensureTableIdsIsMutable();
          tableIds_.add(index, builderForValue.build());
          onChanged();
        } else {
          tableIdsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public Builder addAllTableIds(
          java.lang.Iterable<? extends io.greptime.v1.Ddl.TableId> values) {
        if (tableIdsBuilder_ == null) {
          ensureTableIdsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, tableIds_);
          onChanged();
        } else {
          tableIdsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public Builder clearTableIds() {
        if (tableIdsBuilder_ == null) {
          tableIds_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          tableIdsBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public Builder removeTableIds(int index) {
        if (tableIdsBuilder_ == null) {
          ensureTableIdsIsMutable();
          tableIds_.remove(index);
          onChanged();
        } else {
          tableIdsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public io.greptime.v1.Ddl.TableId.Builder getTableIdsBuilder(
          int index) {
        return getTableIdsFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public io.greptime.v1.Ddl.TableIdOrBuilder getTableIdsOrBuilder(
          int index) {
        if (tableIdsBuilder_ == null) {
          return tableIds_.get(index);  } else {
          return tableIdsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public java.util.List<? extends io.greptime.v1.Ddl.TableIdOrBuilder> 
           getTableIdsOrBuilderList() {
        if (tableIdsBuilder_ != null) {
          return tableIdsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(tableIds_);
        }
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public io.greptime.v1.Ddl.TableId.Builder addTableIdsBuilder() {
        return getTableIdsFieldBuilder().addBuilder(
            io.greptime.v1.Ddl.TableId.getDefaultInstance());
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public io.greptime.v1.Ddl.TableId.Builder addTableIdsBuilder(
          int index) {
        return getTableIdsFieldBuilder().addBuilder(
            index, io.greptime.v1.Ddl.TableId.getDefaultInstance());
      }
      /**
       * <pre>
       * Returns if the tables created.
       * </pre>
       *
       * <code>repeated .greptime.v1.TableId table_ids = 5;</code>
       */
      public java.util.List<io.greptime.v1.Ddl.TableId.Builder> 
           getTableIdsBuilderList() {
        return getTableIdsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.greptime.v1.Ddl.TableId, io.greptime.v1.Ddl.TableId.Builder, io.greptime.v1.Ddl.TableIdOrBuilder> 
          getTableIdsFieldBuilder() {
        if (tableIdsBuilder_ == null) {
          tableIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              io.greptime.v1.Ddl.TableId, io.greptime.v1.Ddl.TableId.Builder, io.greptime.v1.Ddl.TableIdOrBuilder>(
                  tableIds_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          tableIds_ = null;
        }
        return tableIdsBuilder_;
      }
      @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:greptime.v1.meta.DdlTaskResponse)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.DdlTaskResponse)
    private static final greptime.v1.meta.Ddl.DdlTaskResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.DdlTaskResponse();
    }

    public static greptime.v1.meta.Ddl.DdlTaskResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.Ddl.DdlTaskResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_CreateDatabaseTask_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_CreateDatabaseTask_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_CreateTableTask_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_CreateTableTask_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_CreateTableTasks_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_CreateTableTasks_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_DropTableTask_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_DropTableTask_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_DropTableTasks_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_DropTableTasks_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_AlterTableTask_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_AlterTableTask_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_AlterTableTasks_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_AlterTableTasks_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_TruncateTableTask_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_TruncateTableTask_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_DropDatabaseTask_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_DropDatabaseTask_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_CreateFlowTask_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_CreateFlowTask_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_DropFlowTask_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_DropFlowTask_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_CreateViewTask_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_CreateViewTask_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_DropViewTask_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_DropViewTask_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_AlterDatabaseTask_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_AlterDatabaseTask_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_DdlTaskRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_DdlTaskRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_DdlTaskResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_DdlTaskResponse_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\032greptime/v1/meta/ddl.proto\022\020greptime.v" +
      "1.meta\032\035greptime/v1/meta/common.proto\032\034g" +
      "reptime/v1/meta/route.proto\032\025greptime/v1" +
      "/ddl.proto\032\030greptime/v1/common.proto\"N\n\022" +
      "CreateDatabaseTask\0228\n\017create_database\030\001 " +
      "\001(\0132\037.greptime.v1.CreateDatabaseExpr\"\212\001\n" +
      "\017CreateTableTask\0222\n\014create_table\030\001 \001(\0132\034" +
      ".greptime.v1.CreateTableExpr\022/\n\npartitio" +
      "ns\030\002 \003(\0132\033.greptime.v1.meta.Partition\022\022\n" +
      "\ntable_info\030\003 \001(\014\"D\n\020CreateTableTasks\0220\n" +
      "\005tasks\030\001 \003(\0132!.greptime.v1.meta.CreateTa" +
      "bleTask\"?\n\rDropTableTask\022.\n\ndrop_table\030\001" +
      " \001(\0132\032.greptime.v1.DropTableExpr\"@\n\016Drop" +
      "TableTasks\022.\n\005tasks\030\001 \003(\0132\037.greptime.v1." +
      "meta.DropTableTask\"B\n\016AlterTableTask\0220\n\013" +
      "alter_table\030\001 \001(\0132\033.greptime.v1.AlterTab" +
      "leExpr\"B\n\017AlterTableTasks\022/\n\005tasks\030\001 \003(\013" +
      "2 .greptime.v1.meta.AlterTableTask\"K\n\021Tr" +
      "uncateTableTask\0226\n\016truncate_table\030\001 \001(\0132" +
      "\036.greptime.v1.TruncateTableExpr\"H\n\020DropD" +
      "atabaseTask\0224\n\rdrop_database\030\001 \001(\0132\035.gre" +
      "ptime.v1.DropDatabaseExpr\"B\n\016CreateFlowT" +
      "ask\0220\n\013create_flow\030\001 \001(\0132\033.greptime.v1.C" +
      "reateFlowExpr\"<\n\014DropFlowTask\022,\n\tdrop_fl" +
      "ow\030\001 \001(\0132\031.greptime.v1.DropFlowExpr\"U\n\016C" +
      "reateViewTask\0220\n\013create_view\030\001 \001(\0132\033.gre" +
      "ptime.v1.CreateViewExpr\022\021\n\tview_info\030\002 \001" +
      "(\014\"<\n\014DropViewTask\022,\n\tdrop_view\030\001 \001(\0132\031." +
      "greptime.v1.DropViewExpr\"A\n\021AlterDatabas" +
      "eTask\022,\n\004task\030\001 \001(\0132\036.greptime.v1.AlterD" +
      "atabaseExpr\"\365\007\n\016DdlTaskRequest\022/\n\006header" +
      "\030\001 \001(\0132\037.greptime.v1.meta.RequestHeader\022" +
      "0\n\rquery_context\030@ \001(\0132\031.greptime.v1.Que" +
      "ryContext\022>\n\021create_table_task\030\002 \001(\0132!.g" +
      "reptime.v1.meta.CreateTableTaskH\000\022:\n\017dro" +
      "p_table_task\030\003 \001(\0132\037.greptime.v1.meta.Dr" +
      "opTableTaskH\000\022<\n\020alter_table_task\030\004 \001(\0132" +
      " .greptime.v1.meta.AlterTableTaskH\000\022B\n\023t" +
      "runcate_table_task\030\005 \001(\0132#.greptime.v1.m" +
      "eta.TruncateTableTaskH\000\022@\n\022create_table_" +
      "tasks\030\006 \001(\0132\".greptime.v1.meta.CreateTab" +
      "leTasksH\000\022<\n\020drop_table_tasks\030\007 \001(\0132 .gr" +
      "eptime.v1.meta.DropTableTasksH\000\022>\n\021alter" +
      "_table_tasks\030\010 \001(\0132!.greptime.v1.meta.Al" +
      "terTableTasksH\000\022@\n\022drop_database_task\030\t " +
      "\001(\0132\".greptime.v1.meta.DropDatabaseTaskH" +
      "\000\022D\n\024create_database_task\030\n \001(\0132$.grepti" +
      "me.v1.meta.CreateDatabaseTaskH\000\022<\n\020creat" +
      "e_flow_task\030\013 \001(\0132 .greptime.v1.meta.Cre" +
      "ateFlowTaskH\000\0228\n\016drop_flow_task\030\014 \001(\0132\036." +
      "greptime.v1.meta.DropFlowTaskH\000\022<\n\020creat" +
      "e_view_task\030\r \001(\0132 .greptime.v1.meta.Cre" +
      "ateViewTaskH\000\0228\n\016drop_view_task\030\016 \001(\0132\036." +
      "greptime.v1.meta.DropViewTaskH\000\022B\n\023alter" +
      "_database_task\030\017 \001(\0132#.greptime.v1.meta." +
      "AlterDatabaseTaskH\000B\006\n\004task\"\230\001\n\017DdlTaskR" +
      "esponse\0220\n\006header\030\001 \001(\0132 .greptime.v1.me" +
      "ta.ResponseHeader\022*\n\003pid\030\002 \001(\0132\035.greptim" +
      "e.v1.meta.ProcedureId\022\'\n\ttable_ids\030\005 \003(\013" +
      "2\024.greptime.v1.TableId*#\n\013DdlTaskType\022\n\n" +
      "\006Create\020\000\022\010\n\004Drop\020\001B<Z:github.com/Grepti" +
      "meTeam/greptime-proto/go/greptime/v1/met" +
      "ab\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          greptime.v1.meta.Common.getDescriptor(),
          greptime.v1.meta.Route.getDescriptor(),
          io.greptime.v1.Ddl.getDescriptor(),
          io.greptime.v1.Common.getDescriptor(),
        });
    internal_static_greptime_v1_meta_CreateDatabaseTask_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_greptime_v1_meta_CreateDatabaseTask_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_CreateDatabaseTask_descriptor,
        new java.lang.String[] { "CreateDatabase", });
    internal_static_greptime_v1_meta_CreateTableTask_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_greptime_v1_meta_CreateTableTask_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_CreateTableTask_descriptor,
        new java.lang.String[] { "CreateTable", "Partitions", "TableInfo", });
    internal_static_greptime_v1_meta_CreateTableTasks_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_greptime_v1_meta_CreateTableTasks_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_CreateTableTasks_descriptor,
        new java.lang.String[] { "Tasks", });
    internal_static_greptime_v1_meta_DropTableTask_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_greptime_v1_meta_DropTableTask_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_DropTableTask_descriptor,
        new java.lang.String[] { "DropTable", });
    internal_static_greptime_v1_meta_DropTableTasks_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_greptime_v1_meta_DropTableTasks_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_DropTableTasks_descriptor,
        new java.lang.String[] { "Tasks", });
    internal_static_greptime_v1_meta_AlterTableTask_descriptor =
      getDescriptor().getMessageTypes().get(5);
    internal_static_greptime_v1_meta_AlterTableTask_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_AlterTableTask_descriptor,
        new java.lang.String[] { "AlterTable", });
    internal_static_greptime_v1_meta_AlterTableTasks_descriptor =
      getDescriptor().getMessageTypes().get(6);
    internal_static_greptime_v1_meta_AlterTableTasks_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_AlterTableTasks_descriptor,
        new java.lang.String[] { "Tasks", });
    internal_static_greptime_v1_meta_TruncateTableTask_descriptor =
      getDescriptor().getMessageTypes().get(7);
    internal_static_greptime_v1_meta_TruncateTableTask_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_TruncateTableTask_descriptor,
        new java.lang.String[] { "TruncateTable", });
    internal_static_greptime_v1_meta_DropDatabaseTask_descriptor =
      getDescriptor().getMessageTypes().get(8);
    internal_static_greptime_v1_meta_DropDatabaseTask_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_DropDatabaseTask_descriptor,
        new java.lang.String[] { "DropDatabase", });
    internal_static_greptime_v1_meta_CreateFlowTask_descriptor =
      getDescriptor().getMessageTypes().get(9);
    internal_static_greptime_v1_meta_CreateFlowTask_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_CreateFlowTask_descriptor,
        new java.lang.String[] { "CreateFlow", });
    internal_static_greptime_v1_meta_DropFlowTask_descriptor =
      getDescriptor().getMessageTypes().get(10);
    internal_static_greptime_v1_meta_DropFlowTask_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_DropFlowTask_descriptor,
        new java.lang.String[] { "DropFlow", });
    internal_static_greptime_v1_meta_CreateViewTask_descriptor =
      getDescriptor().getMessageTypes().get(11);
    internal_static_greptime_v1_meta_CreateViewTask_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_CreateViewTask_descriptor,
        new java.lang.String[] { "CreateView", "ViewInfo", });
    internal_static_greptime_v1_meta_DropViewTask_descriptor =
      getDescriptor().getMessageTypes().get(12);
    internal_static_greptime_v1_meta_DropViewTask_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_DropViewTask_descriptor,
        new java.lang.String[] { "DropView", });
    internal_static_greptime_v1_meta_AlterDatabaseTask_descriptor =
      getDescriptor().getMessageTypes().get(13);
    internal_static_greptime_v1_meta_AlterDatabaseTask_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_AlterDatabaseTask_descriptor,
        new java.lang.String[] { "Task", });
    internal_static_greptime_v1_meta_DdlTaskRequest_descriptor =
      getDescriptor().getMessageTypes().get(14);
    internal_static_greptime_v1_meta_DdlTaskRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_DdlTaskRequest_descriptor,
        new java.lang.String[] { "Header", "QueryContext", "CreateTableTask", "DropTableTask", "AlterTableTask", "TruncateTableTask", "CreateTableTasks", "DropTableTasks", "AlterTableTasks", "DropDatabaseTask", "CreateDatabaseTask", "CreateFlowTask", "DropFlowTask", "CreateViewTask", "DropViewTask", "AlterDatabaseTask", "Task", });
    internal_static_greptime_v1_meta_DdlTaskResponse_descriptor =
      getDescriptor().getMessageTypes().get(15);
    internal_static_greptime_v1_meta_DdlTaskResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_DdlTaskResponse_descriptor,
        new java.lang.String[] { "Header", "Pid", "TableIds", });
    greptime.v1.meta.Common.getDescriptor();
    greptime.v1.meta.Route.getDescriptor();
    io.greptime.v1.Ddl.getDescriptor();
    io.greptime.v1.Common.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
