/*
 * Copyright (C) 2016-2022 ActionTech.
 * License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher.
 */

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

package com.actiontech.dble.cluster.general.impl.ushard;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface EmptyOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.Empty)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code ushard.Empty}
   */
  public  static final class Empty extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.Empty)
      EmptyOrBuilder {
    // Use Empty.newBuilder() to construct.
    private Empty(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Empty() {
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private Empty(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_Empty_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_Empty_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty.Builder.class);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
    }

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

      size = 0;
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty) obj;

      boolean result = true;
      return result;
    }

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

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.Empty}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.Empty)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.EmptyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_Empty_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_Empty_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_Empty_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty(this);
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty.getDefaultInstance()) return this;
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.Empty)
    }

    // @@protoc_insertion_point(class_scope:ushard.Empty)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.Empty getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface PutKvInputOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.PutKvInput)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string Key = 1;</code>
     */
    java.lang.String getKey();
    /**
     * <code>string Key = 1;</code>
     */
    com.google.protobuf.ByteString
        getKeyBytes();

    /**
     * <code>string Value = 2;</code>
     */
    java.lang.String getValue();
    /**
     * <code>string Value = 2;</code>
     */
    com.google.protobuf.ByteString
        getValueBytes();
  }
  /**
   * Protobuf type {@code ushard.PutKvInput}
   */
  public  static final class PutKvInput extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.PutKvInput)
      PutKvInputOrBuilder {
    // Use PutKvInput.newBuilder() to construct.
    private PutKvInput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private PutKvInput() {
      key_ = "";
      value_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private PutKvInput(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              key_ = s;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              value_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_PutKvInput_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_PutKvInput_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput.Builder.class);
    }

    public static final int KEY_FIELD_NUMBER = 1;
    private volatile java.lang.Object key_;
    /**
     * <code>string Key = 1;</code>
     */
    public java.lang.String getKey() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        key_ = s;
        return s;
      }
    }
    /**
     * <code>string Key = 1;</code>
     */
    public com.google.protobuf.ByteString
        getKeyBytes() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        key_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int VALUE_FIELD_NUMBER = 2;
    private volatile java.lang.Object value_;
    /**
     * <code>string Value = 2;</code>
     */
    public java.lang.String getValue() {
      java.lang.Object ref = value_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        value_ = s;
        return s;
      }
    }
    /**
     * <code>string Value = 2;</code>
     */
    public com.google.protobuf.ByteString
        getValueBytes() {
      java.lang.Object ref = value_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        value_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getKeyBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
      }
      if (!getValueBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_);
      }
    }

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

      size = 0;
      if (!getKeyBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
      }
      if (!getValueBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput) obj;

      boolean result = true;
      result = result && getKey()
          .equals(other.getKey());
      result = result && getValue()
          .equals(other.getValue());
      return result;
    }

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

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.PutKvInput}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.PutKvInput)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInputOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_PutKvInput_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_PutKvInput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        key_ = "";

        value_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_PutKvInput_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput(this);
        result.key_ = key_;
        result.value_ = value_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput.getDefaultInstance()) return this;
        if (!other.getKey().isEmpty()) {
          key_ = other.key_;
          onChanged();
        }
        if (!other.getValue().isEmpty()) {
          value_ = other.value_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object key_ = "";
      /**
       * <code>string Key = 1;</code>
       */
      public java.lang.String getKey() {
        java.lang.Object ref = key_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          key_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Key = 1;</code>
       */
      public com.google.protobuf.ByteString
          getKeyBytes() {
        java.lang.Object ref = key_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          key_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder setKey(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        key_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder clearKey() {
        
        key_ = getDefaultInstance().getKey();
        onChanged();
        return this;
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder setKeyBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        key_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object value_ = "";
      /**
       * <code>string Value = 2;</code>
       */
      public java.lang.String getValue() {
        java.lang.Object ref = value_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          value_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Value = 2;</code>
       */
      public com.google.protobuf.ByteString
          getValueBytes() {
        java.lang.Object ref = value_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          value_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Value = 2;</code>
       */
      public Builder setValue(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        value_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Value = 2;</code>
       */
      public Builder clearValue() {
        
        value_ = getDefaultInstance().getValue();
        onChanged();
        return this;
      }
      /**
       * <code>string Value = 2;</code>
       */
      public Builder setValueBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        value_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.PutKvInput)
    }

    // @@protoc_insertion_point(class_scope:ushard.PutKvInput)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.PutKvInput getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface GetKvInputOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.GetKvInput)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string Key = 1;</code>
     */
    java.lang.String getKey();
    /**
     * <code>string Key = 1;</code>
     */
    com.google.protobuf.ByteString
        getKeyBytes();
  }
  /**
   * Protobuf type {@code ushard.GetKvInput}
   */
  public  static final class GetKvInput extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.GetKvInput)
      GetKvInputOrBuilder {
    // Use GetKvInput.newBuilder() to construct.
    private GetKvInput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GetKvInput() {
      key_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private GetKvInput(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              key_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvInput_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvInput_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput.Builder.class);
    }

    public static final int KEY_FIELD_NUMBER = 1;
    private volatile java.lang.Object key_;
    /**
     * <code>string Key = 1;</code>
     */
    public java.lang.String getKey() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        key_ = s;
        return s;
      }
    }
    /**
     * <code>string Key = 1;</code>
     */
    public com.google.protobuf.ByteString
        getKeyBytes() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        key_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getKeyBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
      }
    }

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

      size = 0;
      if (!getKeyBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput) obj;

      boolean result = true;
      result = result && getKey()
          .equals(other.getKey());
      return result;
    }

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

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.GetKvInput}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.GetKvInput)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInputOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvInput_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvInput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        key_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvInput_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput(this);
        result.key_ = key_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput.getDefaultInstance()) return this;
        if (!other.getKey().isEmpty()) {
          key_ = other.key_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object key_ = "";
      /**
       * <code>string Key = 1;</code>
       */
      public java.lang.String getKey() {
        java.lang.Object ref = key_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          key_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Key = 1;</code>
       */
      public com.google.protobuf.ByteString
          getKeyBytes() {
        java.lang.Object ref = key_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          key_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder setKey(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        key_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder clearKey() {
        
        key_ = getDefaultInstance().getKey();
        onChanged();
        return this;
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder setKeyBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        key_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.GetKvInput)
    }

    // @@protoc_insertion_point(class_scope:ushard.GetKvInput)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvInput getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface GetKvOutputOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.GetKvOutput)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string Value = 1;</code>
     */
    java.lang.String getValue();
    /**
     * <code>string Value = 1;</code>
     */
    com.google.protobuf.ByteString
        getValueBytes();
  }
  /**
   * Protobuf type {@code ushard.GetKvOutput}
   */
  public  static final class GetKvOutput extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.GetKvOutput)
      GetKvOutputOrBuilder {
    // Use GetKvOutput.newBuilder() to construct.
    private GetKvOutput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GetKvOutput() {
      value_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private GetKvOutput(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              value_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvOutput_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvOutput_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput.Builder.class);
    }

    public static final int VALUE_FIELD_NUMBER = 1;
    private volatile java.lang.Object value_;
    /**
     * <code>string Value = 1;</code>
     */
    public java.lang.String getValue() {
      java.lang.Object ref = value_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        value_ = s;
        return s;
      }
    }
    /**
     * <code>string Value = 1;</code>
     */
    public com.google.protobuf.ByteString
        getValueBytes() {
      java.lang.Object ref = value_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        value_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getValueBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_);
      }
    }

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

      size = 0;
      if (!getValueBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput) obj;

      boolean result = true;
      result = result && getValue()
          .equals(other.getValue());
      return result;
    }

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

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.GetKvOutput}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.GetKvOutput)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutputOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvOutput_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvOutput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        value_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvOutput_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput(this);
        result.value_ = value_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput.getDefaultInstance()) return this;
        if (!other.getValue().isEmpty()) {
          value_ = other.value_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object value_ = "";
      /**
       * <code>string Value = 1;</code>
       */
      public java.lang.String getValue() {
        java.lang.Object ref = value_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          value_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Value = 1;</code>
       */
      public com.google.protobuf.ByteString
          getValueBytes() {
        java.lang.Object ref = value_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          value_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Value = 1;</code>
       */
      public Builder setValue(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        value_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Value = 1;</code>
       */
      public Builder clearValue() {
        
        value_ = getDefaultInstance().getValue();
        onChanged();
        return this;
      }
      /**
       * <code>string Value = 1;</code>
       */
      public Builder setValueBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        value_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.GetKvOutput)
    }

    // @@protoc_insertion_point(class_scope:ushard.GetKvOutput)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvOutput getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DeleteKvInputOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.DeleteKvInput)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string Key = 1;</code>
     */
    java.lang.String getKey();
    /**
     * <code>string Key = 1;</code>
     */
    com.google.protobuf.ByteString
        getKeyBytes();
  }
  /**
   * Protobuf type {@code ushard.DeleteKvInput}
   */
  public  static final class DeleteKvInput extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.DeleteKvInput)
      DeleteKvInputOrBuilder {
    // Use DeleteKvInput.newBuilder() to construct.
    private DeleteKvInput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DeleteKvInput() {
      key_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private DeleteKvInput(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              key_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_DeleteKvInput_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_DeleteKvInput_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput.Builder.class);
    }

    public static final int KEY_FIELD_NUMBER = 1;
    private volatile java.lang.Object key_;
    /**
     * <code>string Key = 1;</code>
     */
    public java.lang.String getKey() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        key_ = s;
        return s;
      }
    }
    /**
     * <code>string Key = 1;</code>
     */
    public com.google.protobuf.ByteString
        getKeyBytes() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        key_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getKeyBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
      }
    }

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

      size = 0;
      if (!getKeyBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput) obj;

      boolean result = true;
      result = result && getKey()
          .equals(other.getKey());
      return result;
    }

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

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.DeleteKvInput}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.DeleteKvInput)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInputOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_DeleteKvInput_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_DeleteKvInput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        key_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_DeleteKvInput_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput(this);
        result.key_ = key_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput.getDefaultInstance()) return this;
        if (!other.getKey().isEmpty()) {
          key_ = other.key_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object key_ = "";
      /**
       * <code>string Key = 1;</code>
       */
      public java.lang.String getKey() {
        java.lang.Object ref = key_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          key_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Key = 1;</code>
       */
      public com.google.protobuf.ByteString
          getKeyBytes() {
        java.lang.Object ref = key_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          key_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder setKey(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        key_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder clearKey() {
        
        key_ = getDefaultInstance().getKey();
        onChanged();
        return this;
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder setKeyBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        key_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.DeleteKvInput)
    }

    // @@protoc_insertion_point(class_scope:ushard.DeleteKvInput)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvInput getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DeleteKvTreeInputOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.DeleteKvTreeInput)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string Key = 1;</code>
     */
    java.lang.String getKey();
    /**
     * <code>string Key = 1;</code>
     */
    com.google.protobuf.ByteString
        getKeyBytes();
  }
  /**
   * Protobuf type {@code ushard.DeleteKvTreeInput}
   */
  public  static final class DeleteKvTreeInput extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.DeleteKvTreeInput)
      DeleteKvTreeInputOrBuilder {
    // Use DeleteKvTreeInput.newBuilder() to construct.
    private DeleteKvTreeInput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DeleteKvTreeInput() {
      key_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private DeleteKvTreeInput(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              key_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_DeleteKvTreeInput_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_DeleteKvTreeInput_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput.Builder.class);
    }

    public static final int KEY_FIELD_NUMBER = 1;
    private volatile java.lang.Object key_;
    /**
     * <code>string Key = 1;</code>
     */
    public java.lang.String getKey() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        key_ = s;
        return s;
      }
    }
    /**
     * <code>string Key = 1;</code>
     */
    public com.google.protobuf.ByteString
        getKeyBytes() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        key_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getKeyBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
      }
    }

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

      size = 0;
      if (!getKeyBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput) obj;

      boolean result = true;
      result = result && getKey()
          .equals(other.getKey());
      return result;
    }

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

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.DeleteKvTreeInput}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.DeleteKvTreeInput)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInputOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_DeleteKvTreeInput_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_DeleteKvTreeInput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        key_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_DeleteKvTreeInput_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput(this);
        result.key_ = key_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput.getDefaultInstance()) return this;
        if (!other.getKey().isEmpty()) {
          key_ = other.key_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object key_ = "";
      /**
       * <code>string Key = 1;</code>
       */
      public java.lang.String getKey() {
        java.lang.Object ref = key_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          key_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Key = 1;</code>
       */
      public com.google.protobuf.ByteString
          getKeyBytes() {
        java.lang.Object ref = key_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          key_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder setKey(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        key_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder clearKey() {
        
        key_ = getDefaultInstance().getKey();
        onChanged();
        return this;
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder setKeyBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        key_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.DeleteKvTreeInput)
    }

    // @@protoc_insertion_point(class_scope:ushard.DeleteKvTreeInput)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.DeleteKvTreeInput getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface SubscribeKvPrefixInputOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.SubscribeKvPrefixInput)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string KeyPrefix = 1;</code>
     */
    java.lang.String getKeyPrefix();
    /**
     * <code>string KeyPrefix = 1;</code>
     */
    com.google.protobuf.ByteString
        getKeyPrefixBytes();

    /**
     * <code>uint64 Index = 2;</code>
     */
    long getIndex();

    /**
     * <code>uint32 Duration = 3;</code>
     */
    int getDuration();
  }
  /**
   * Protobuf type {@code ushard.SubscribeKvPrefixInput}
   */
  public  static final class SubscribeKvPrefixInput extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.SubscribeKvPrefixInput)
      SubscribeKvPrefixInputOrBuilder {
    // Use SubscribeKvPrefixInput.newBuilder() to construct.
    private SubscribeKvPrefixInput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private SubscribeKvPrefixInput() {
      keyPrefix_ = "";
      index_ = 0L;
      duration_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private SubscribeKvPrefixInput(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              keyPrefix_ = s;
              break;
            }
            case 16: {

              index_ = input.readUInt64();
              break;
            }
            case 24: {

              duration_ = input.readUInt32();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_SubscribeKvPrefixInput_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_SubscribeKvPrefixInput_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput.Builder.class);
    }

    public static final int KEYPREFIX_FIELD_NUMBER = 1;
    private volatile java.lang.Object keyPrefix_;
    /**
     * <code>string KeyPrefix = 1;</code>
     */
    public java.lang.String getKeyPrefix() {
      java.lang.Object ref = keyPrefix_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        keyPrefix_ = s;
        return s;
      }
    }
    /**
     * <code>string KeyPrefix = 1;</code>
     */
    public com.google.protobuf.ByteString
        getKeyPrefixBytes() {
      java.lang.Object ref = keyPrefix_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        keyPrefix_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int INDEX_FIELD_NUMBER = 2;
    private long index_;
    /**
     * <code>uint64 Index = 2;</code>
     */
    public long getIndex() {
      return index_;
    }

    public static final int DURATION_FIELD_NUMBER = 3;
    private int duration_;
    /**
     * <code>uint32 Duration = 3;</code>
     */
    public int getDuration() {
      return duration_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getKeyPrefixBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyPrefix_);
      }
      if (index_ != 0L) {
        output.writeUInt64(2, index_);
      }
      if (duration_ != 0) {
        output.writeUInt32(3, duration_);
      }
    }

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

      size = 0;
      if (!getKeyPrefixBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyPrefix_);
      }
      if (index_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(2, index_);
      }
      if (duration_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, duration_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput) obj;

      boolean result = true;
      result = result && getKeyPrefix()
          .equals(other.getKeyPrefix());
      result = result && (getIndex()
          == other.getIndex());
      result = result && (getDuration()
          == other.getDuration());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + KEYPREFIX_FIELD_NUMBER;
      hash = (53 * hash) + getKeyPrefix().hashCode();
      hash = (37 * hash) + INDEX_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getIndex());
      hash = (37 * hash) + DURATION_FIELD_NUMBER;
      hash = (53 * hash) + getDuration();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.SubscribeKvPrefixInput}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.SubscribeKvPrefixInput)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInputOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_SubscribeKvPrefixInput_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_SubscribeKvPrefixInput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        keyPrefix_ = "";

        index_ = 0L;

        duration_ = 0;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_SubscribeKvPrefixInput_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput(this);
        result.keyPrefix_ = keyPrefix_;
        result.index_ = index_;
        result.duration_ = duration_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput.getDefaultInstance()) return this;
        if (!other.getKeyPrefix().isEmpty()) {
          keyPrefix_ = other.keyPrefix_;
          onChanged();
        }
        if (other.getIndex() != 0L) {
          setIndex(other.getIndex());
        }
        if (other.getDuration() != 0) {
          setDuration(other.getDuration());
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object keyPrefix_ = "";
      /**
       * <code>string KeyPrefix = 1;</code>
       */
      public java.lang.String getKeyPrefix() {
        java.lang.Object ref = keyPrefix_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          keyPrefix_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string KeyPrefix = 1;</code>
       */
      public com.google.protobuf.ByteString
          getKeyPrefixBytes() {
        java.lang.Object ref = keyPrefix_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          keyPrefix_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string KeyPrefix = 1;</code>
       */
      public Builder setKeyPrefix(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        keyPrefix_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string KeyPrefix = 1;</code>
       */
      public Builder clearKeyPrefix() {
        
        keyPrefix_ = getDefaultInstance().getKeyPrefix();
        onChanged();
        return this;
      }
      /**
       * <code>string KeyPrefix = 1;</code>
       */
      public Builder setKeyPrefixBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        keyPrefix_ = value;
        onChanged();
        return this;
      }

      private long index_ ;
      /**
       * <code>uint64 Index = 2;</code>
       */
      public long getIndex() {
        return index_;
      }
      /**
       * <code>uint64 Index = 2;</code>
       */
      public Builder setIndex(long value) {
        
        index_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 Index = 2;</code>
       */
      public Builder clearIndex() {
        
        index_ = 0L;
        onChanged();
        return this;
      }

      private int duration_ ;
      /**
       * <code>uint32 Duration = 3;</code>
       */
      public int getDuration() {
        return duration_;
      }
      /**
       * <code>uint32 Duration = 3;</code>
       */
      public Builder setDuration(int value) {
        
        duration_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 Duration = 3;</code>
       */
      public Builder clearDuration() {
        
        duration_ = 0;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.SubscribeKvPrefixInput)
    }

    // @@protoc_insertion_point(class_scope:ushard.SubscribeKvPrefixInput)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixInput getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface SubscribeKvPrefixOutputOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.SubscribeKvPrefixOutput)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>uint64 Index = 1;</code>
     */
    long getIndex();

    /**
     * <code>repeated string Keys = 2;</code>
     */
    java.util.List<java.lang.String>
        getKeysList();
    /**
     * <code>repeated string Keys = 2;</code>
     */
    int getKeysCount();
    /**
     * <code>repeated string Keys = 2;</code>
     */
    java.lang.String getKeys(int index);
    /**
     * <code>repeated string Keys = 2;</code>
     */
    com.google.protobuf.ByteString
        getKeysBytes(int index);

    /**
     * <code>repeated string Values = 3;</code>
     */
    java.util.List<java.lang.String>
        getValuesList();
    /**
     * <code>repeated string Values = 3;</code>
     */
    int getValuesCount();
    /**
     * <code>repeated string Values = 3;</code>
     */
    java.lang.String getValues(int index);
    /**
     * <code>repeated string Values = 3;</code>
     */
    com.google.protobuf.ByteString
        getValuesBytes(int index);
  }
  /**
   * Protobuf type {@code ushard.SubscribeKvPrefixOutput}
   */
  public  static final class SubscribeKvPrefixOutput extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.SubscribeKvPrefixOutput)
      SubscribeKvPrefixOutputOrBuilder {
    // Use SubscribeKvPrefixOutput.newBuilder() to construct.
    private SubscribeKvPrefixOutput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private SubscribeKvPrefixOutput() {
      index_ = 0L;
      keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private SubscribeKvPrefixOutput(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 8: {

              index_ = input.readUInt64();
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                keys_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              keys_.add(s);
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                values_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              values_.add(s);
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          keys_ = keys_.getUnmodifiableView();
        }
        if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
          values_ = values_.getUnmodifiableView();
        }
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_SubscribeKvPrefixOutput_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_SubscribeKvPrefixOutput_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput.Builder.class);
    }

    private int bitField0_;
    public static final int INDEX_FIELD_NUMBER = 1;
    private long index_;
    /**
     * <code>uint64 Index = 1;</code>
     */
    public long getIndex() {
      return index_;
    }

    public static final int KEYS_FIELD_NUMBER = 2;
    private com.google.protobuf.LazyStringList keys_;
    /**
     * <code>repeated string Keys = 2;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getKeysList() {
      return keys_;
    }
    /**
     * <code>repeated string Keys = 2;</code>
     */
    public int getKeysCount() {
      return keys_.size();
    }
    /**
     * <code>repeated string Keys = 2;</code>
     */
    public java.lang.String getKeys(int index) {
      return keys_.get(index);
    }
    /**
     * <code>repeated string Keys = 2;</code>
     */
    public com.google.protobuf.ByteString
        getKeysBytes(int index) {
      return keys_.getByteString(index);
    }

    public static final int VALUES_FIELD_NUMBER = 3;
    private com.google.protobuf.LazyStringList values_;
    /**
     * <code>repeated string Values = 3;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getValuesList() {
      return values_;
    }
    /**
     * <code>repeated string Values = 3;</code>
     */
    public int getValuesCount() {
      return values_.size();
    }
    /**
     * <code>repeated string Values = 3;</code>
     */
    public java.lang.String getValues(int index) {
      return values_.get(index);
    }
    /**
     * <code>repeated string Values = 3;</code>
     */
    public com.google.protobuf.ByteString
        getValuesBytes(int index) {
      return values_.getByteString(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (index_ != 0L) {
        output.writeUInt64(1, index_);
      }
      for (int i = 0; i < keys_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, keys_.getRaw(i));
      }
      for (int i = 0; i < values_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, values_.getRaw(i));
      }
    }

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

      size = 0;
      if (index_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(1, index_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < keys_.size(); i++) {
          dataSize += computeStringSizeNoTag(keys_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getKeysList().size();
      }
      {
        int dataSize = 0;
        for (int i = 0; i < values_.size(); i++) {
          dataSize += computeStringSizeNoTag(values_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getValuesList().size();
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput) obj;

      boolean result = true;
      result = result && (getIndex()
          == other.getIndex());
      result = result && getKeysList()
          .equals(other.getKeysList());
      result = result && getValuesList()
          .equals(other.getValuesList());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + INDEX_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getIndex());
      if (getKeysCount() > 0) {
        hash = (37 * hash) + KEYS_FIELD_NUMBER;
        hash = (53 * hash) + getKeysList().hashCode();
      }
      if (getValuesCount() > 0) {
        hash = (37 * hash) + VALUES_FIELD_NUMBER;
        hash = (53 * hash) + getValuesList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.SubscribeKvPrefixOutput}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.SubscribeKvPrefixOutput)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutputOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_SubscribeKvPrefixOutput_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_SubscribeKvPrefixOutput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        index_ = 0L;

        keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_SubscribeKvPrefixOutput_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.index_ = index_;
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          keys_ = keys_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.keys_ = keys_;
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          values_ = values_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.values_ = values_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput.getDefaultInstance()) return this;
        if (other.getIndex() != 0L) {
          setIndex(other.getIndex());
        }
        if (!other.keys_.isEmpty()) {
          if (keys_.isEmpty()) {
            keys_ = other.keys_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureKeysIsMutable();
            keys_.addAll(other.keys_);
          }
          onChanged();
        }
        if (!other.values_.isEmpty()) {
          if (values_.isEmpty()) {
            values_ = other.values_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureValuesIsMutable();
            values_.addAll(other.values_);
          }
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private long index_ ;
      /**
       * <code>uint64 Index = 1;</code>
       */
      public long getIndex() {
        return index_;
      }
      /**
       * <code>uint64 Index = 1;</code>
       */
      public Builder setIndex(long value) {
        
        index_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 Index = 1;</code>
       */
      public Builder clearIndex() {
        
        index_ = 0L;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureKeysIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          keys_ = new com.google.protobuf.LazyStringArrayList(keys_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getKeysList() {
        return keys_.getUnmodifiableView();
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public int getKeysCount() {
        return keys_.size();
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public java.lang.String getKeys(int index) {
        return keys_.get(index);
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public com.google.protobuf.ByteString
          getKeysBytes(int index) {
        return keys_.getByteString(index);
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public Builder setKeys(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureKeysIsMutable();
        keys_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public Builder addKeys(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureKeysIsMutable();
        keys_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public Builder addAllKeys(
          java.lang.Iterable<java.lang.String> values) {
        ensureKeysIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, keys_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public Builder clearKeys() {
        keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public Builder addKeysBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureKeysIsMutable();
        keys_.add(value);
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureValuesIsMutable() {
        if (!((bitField0_ & 0x00000004) == 0x00000004)) {
          values_ = new com.google.protobuf.LazyStringArrayList(values_);
          bitField0_ |= 0x00000004;
         }
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getValuesList() {
        return values_.getUnmodifiableView();
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public int getValuesCount() {
        return values_.size();
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public java.lang.String getValues(int index) {
        return values_.get(index);
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public com.google.protobuf.ByteString
          getValuesBytes(int index) {
        return values_.getByteString(index);
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public Builder setValues(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureValuesIsMutable();
        values_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public Builder addValues(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureValuesIsMutable();
        values_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public Builder addAllValues(
          java.lang.Iterable<java.lang.String> values) {
        ensureValuesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, values_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public Builder clearValues() {
        values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public Builder addValuesBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureValuesIsMutable();
        values_.add(value);
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.SubscribeKvPrefixOutput)
    }

    // @@protoc_insertion_point(class_scope:ushard.SubscribeKvPrefixOutput)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.SubscribeKvPrefixOutput getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface GetKvTreeInputOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.GetKvTreeInput)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string Key = 1;</code>
     */
    java.lang.String getKey();
    /**
     * <code>string Key = 1;</code>
     */
    com.google.protobuf.ByteString
        getKeyBytes();
  }
  /**
   * Protobuf type {@code ushard.GetKvTreeInput}
   */
  public  static final class GetKvTreeInput extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.GetKvTreeInput)
      GetKvTreeInputOrBuilder {
    // Use GetKvTreeInput.newBuilder() to construct.
    private GetKvTreeInput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GetKvTreeInput() {
      key_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private GetKvTreeInput(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              key_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvTreeInput_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvTreeInput_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput.Builder.class);
    }

    public static final int KEY_FIELD_NUMBER = 1;
    private volatile java.lang.Object key_;
    /**
     * <code>string Key = 1;</code>
     */
    public java.lang.String getKey() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        key_ = s;
        return s;
      }
    }
    /**
     * <code>string Key = 1;</code>
     */
    public com.google.protobuf.ByteString
        getKeyBytes() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        key_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getKeyBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
      }
    }

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

      size = 0;
      if (!getKeyBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput) obj;

      boolean result = true;
      result = result && getKey()
          .equals(other.getKey());
      return result;
    }

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

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.GetKvTreeInput}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.GetKvTreeInput)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInputOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvTreeInput_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvTreeInput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        key_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvTreeInput_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput(this);
        result.key_ = key_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput.getDefaultInstance()) return this;
        if (!other.getKey().isEmpty()) {
          key_ = other.key_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object key_ = "";
      /**
       * <code>string Key = 1;</code>
       */
      public java.lang.String getKey() {
        java.lang.Object ref = key_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          key_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Key = 1;</code>
       */
      public com.google.protobuf.ByteString
          getKeyBytes() {
        java.lang.Object ref = key_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          key_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder setKey(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        key_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder clearKey() {
        
        key_ = getDefaultInstance().getKey();
        onChanged();
        return this;
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder setKeyBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        key_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.GetKvTreeInput)
    }

    // @@protoc_insertion_point(class_scope:ushard.GetKvTreeInput)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeInput getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface GetKvTreeOutputOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.GetKvTreeOutput)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>uint64 Index = 1;</code>
     */
    long getIndex();

    /**
     * <code>repeated string Keys = 2;</code>
     */
    java.util.List<java.lang.String>
        getKeysList();
    /**
     * <code>repeated string Keys = 2;</code>
     */
    int getKeysCount();
    /**
     * <code>repeated string Keys = 2;</code>
     */
    java.lang.String getKeys(int index);
    /**
     * <code>repeated string Keys = 2;</code>
     */
    com.google.protobuf.ByteString
        getKeysBytes(int index);

    /**
     * <code>repeated string Values = 3;</code>
     */
    java.util.List<java.lang.String>
        getValuesList();
    /**
     * <code>repeated string Values = 3;</code>
     */
    int getValuesCount();
    /**
     * <code>repeated string Values = 3;</code>
     */
    java.lang.String getValues(int index);
    /**
     * <code>repeated string Values = 3;</code>
     */
    com.google.protobuf.ByteString
        getValuesBytes(int index);
  }
  /**
   * Protobuf type {@code ushard.GetKvTreeOutput}
   */
  public  static final class GetKvTreeOutput extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.GetKvTreeOutput)
      GetKvTreeOutputOrBuilder {
    // Use GetKvTreeOutput.newBuilder() to construct.
    private GetKvTreeOutput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GetKvTreeOutput() {
      index_ = 0L;
      keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private GetKvTreeOutput(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 8: {

              index_ = input.readUInt64();
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                keys_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              keys_.add(s);
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                values_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              values_.add(s);
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          keys_ = keys_.getUnmodifiableView();
        }
        if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
          values_ = values_.getUnmodifiableView();
        }
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvTreeOutput_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvTreeOutput_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput.Builder.class);
    }

    private int bitField0_;
    public static final int INDEX_FIELD_NUMBER = 1;
    private long index_;
    /**
     * <code>uint64 Index = 1;</code>
     */
    public long getIndex() {
      return index_;
    }

    public static final int KEYS_FIELD_NUMBER = 2;
    private com.google.protobuf.LazyStringList keys_;
    /**
     * <code>repeated string Keys = 2;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getKeysList() {
      return keys_;
    }
    /**
     * <code>repeated string Keys = 2;</code>
     */
    public int getKeysCount() {
      return keys_.size();
    }
    /**
     * <code>repeated string Keys = 2;</code>
     */
    public java.lang.String getKeys(int index) {
      return keys_.get(index);
    }
    /**
     * <code>repeated string Keys = 2;</code>
     */
    public com.google.protobuf.ByteString
        getKeysBytes(int index) {
      return keys_.getByteString(index);
    }

    public static final int VALUES_FIELD_NUMBER = 3;
    private com.google.protobuf.LazyStringList values_;
    /**
     * <code>repeated string Values = 3;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getValuesList() {
      return values_;
    }
    /**
     * <code>repeated string Values = 3;</code>
     */
    public int getValuesCount() {
      return values_.size();
    }
    /**
     * <code>repeated string Values = 3;</code>
     */
    public java.lang.String getValues(int index) {
      return values_.get(index);
    }
    /**
     * <code>repeated string Values = 3;</code>
     */
    public com.google.protobuf.ByteString
        getValuesBytes(int index) {
      return values_.getByteString(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (index_ != 0L) {
        output.writeUInt64(1, index_);
      }
      for (int i = 0; i < keys_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, keys_.getRaw(i));
      }
      for (int i = 0; i < values_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, values_.getRaw(i));
      }
    }

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

      size = 0;
      if (index_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(1, index_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < keys_.size(); i++) {
          dataSize += computeStringSizeNoTag(keys_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getKeysList().size();
      }
      {
        int dataSize = 0;
        for (int i = 0; i < values_.size(); i++) {
          dataSize += computeStringSizeNoTag(values_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getValuesList().size();
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput) obj;

      boolean result = true;
      result = result && (getIndex()
          == other.getIndex());
      result = result && getKeysList()
          .equals(other.getKeysList());
      result = result && getValuesList()
          .equals(other.getValuesList());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + INDEX_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getIndex());
      if (getKeysCount() > 0) {
        hash = (37 * hash) + KEYS_FIELD_NUMBER;
        hash = (53 * hash) + getKeysList().hashCode();
      }
      if (getValuesCount() > 0) {
        hash = (37 * hash) + VALUES_FIELD_NUMBER;
        hash = (53 * hash) + getValuesList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.GetKvTreeOutput}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.GetKvTreeOutput)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutputOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvTreeOutput_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvTreeOutput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        index_ = 0L;

        keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_GetKvTreeOutput_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.index_ = index_;
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          keys_ = keys_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.keys_ = keys_;
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          values_ = values_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.values_ = values_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput.getDefaultInstance()) return this;
        if (other.getIndex() != 0L) {
          setIndex(other.getIndex());
        }
        if (!other.keys_.isEmpty()) {
          if (keys_.isEmpty()) {
            keys_ = other.keys_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureKeysIsMutable();
            keys_.addAll(other.keys_);
          }
          onChanged();
        }
        if (!other.values_.isEmpty()) {
          if (values_.isEmpty()) {
            values_ = other.values_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureValuesIsMutable();
            values_.addAll(other.values_);
          }
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private long index_ ;
      /**
       * <code>uint64 Index = 1;</code>
       */
      public long getIndex() {
        return index_;
      }
      /**
       * <code>uint64 Index = 1;</code>
       */
      public Builder setIndex(long value) {
        
        index_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 Index = 1;</code>
       */
      public Builder clearIndex() {
        
        index_ = 0L;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureKeysIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          keys_ = new com.google.protobuf.LazyStringArrayList(keys_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getKeysList() {
        return keys_.getUnmodifiableView();
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public int getKeysCount() {
        return keys_.size();
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public java.lang.String getKeys(int index) {
        return keys_.get(index);
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public com.google.protobuf.ByteString
          getKeysBytes(int index) {
        return keys_.getByteString(index);
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public Builder setKeys(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureKeysIsMutable();
        keys_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public Builder addKeys(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureKeysIsMutable();
        keys_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public Builder addAllKeys(
          java.lang.Iterable<java.lang.String> values) {
        ensureKeysIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, keys_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public Builder clearKeys() {
        keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Keys = 2;</code>
       */
      public Builder addKeysBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureKeysIsMutable();
        keys_.add(value);
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureValuesIsMutable() {
        if (!((bitField0_ & 0x00000004) == 0x00000004)) {
          values_ = new com.google.protobuf.LazyStringArrayList(values_);
          bitField0_ |= 0x00000004;
         }
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getValuesList() {
        return values_.getUnmodifiableView();
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public int getValuesCount() {
        return values_.size();
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public java.lang.String getValues(int index) {
        return values_.get(index);
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public com.google.protobuf.ByteString
          getValuesBytes(int index) {
        return values_.getByteString(index);
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public Builder setValues(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureValuesIsMutable();
        values_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public Builder addValues(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureValuesIsMutable();
        values_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public Builder addAllValues(
          java.lang.Iterable<java.lang.String> values) {
        ensureValuesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, values_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public Builder clearValues() {
        values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string Values = 3;</code>
       */
      public Builder addValuesBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureValuesIsMutable();
        values_.add(value);
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.GetKvTreeOutput)
    }

    // @@protoc_insertion_point(class_scope:ushard.GetKvTreeOutput)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.GetKvTreeOutput getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface AlertInputOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.AlertInput)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string Code = 1;</code>
     */
    java.lang.String getCode();
    /**
     * <code>string Code = 1;</code>
     */
    com.google.protobuf.ByteString
        getCodeBytes();

    /**
     * <code>string Level = 2;</code>
     */
    java.lang.String getLevel();
    /**
     * <code>string Level = 2;</code>
     */
    com.google.protobuf.ByteString
        getLevelBytes();

    /**
     * <code>string Desc = 3;</code>
     */
    java.lang.String getDesc();
    /**
     * <code>string Desc = 3;</code>
     */
    com.google.protobuf.ByteString
        getDescBytes();

    /**
     * <code>string SourceComponentType = 4;</code>
     */
    java.lang.String getSourceComponentType();
    /**
     * <code>string SourceComponentType = 4;</code>
     */
    com.google.protobuf.ByteString
        getSourceComponentTypeBytes();

    /**
     * <code>string SourceComponentId = 5;</code>
     */
    java.lang.String getSourceComponentId();
    /**
     * <code>string SourceComponentId = 5;</code>
     */
    com.google.protobuf.ByteString
        getSourceComponentIdBytes();

    /**
     * <code>string AlertComponentType = 6;</code>
     */
    java.lang.String getAlertComponentType();
    /**
     * <code>string AlertComponentType = 6;</code>
     */
    com.google.protobuf.ByteString
        getAlertComponentTypeBytes();

    /**
     * <code>string AlertComponentId = 7;</code>
     */
    java.lang.String getAlertComponentId();
    /**
     * <code>string AlertComponentId = 7;</code>
     */
    com.google.protobuf.ByteString
        getAlertComponentIdBytes();

    /**
     * <code>string ServerId = 8;</code>
     */
    java.lang.String getServerId();
    /**
     * <code>string ServerId = 8;</code>
     */
    com.google.protobuf.ByteString
        getServerIdBytes();

    /**
     * <code>map&lt;string, string&gt; Labels = 9;</code>
     */
    int getLabelsCount();
    /**
     * <code>map&lt;string, string&gt; Labels = 9;</code>
     */
    boolean containsLabels(
        java.lang.String key);
    /**
     * Use {@link #getLabelsMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.String, java.lang.String>
    getLabels();
    /**
     * <code>map&lt;string, string&gt; Labels = 9;</code>
     */
    java.util.Map<java.lang.String, java.lang.String>
    getLabelsMap();
    /**
     * <code>map&lt;string, string&gt; Labels = 9;</code>
     */

    java.lang.String getLabelsOrDefault(
        java.lang.String key,
        java.lang.String defaultValue);
    /**
     * <code>map&lt;string, string&gt; Labels = 9;</code>
     */

    java.lang.String getLabelsOrThrow(
        java.lang.String key);

    /**
     * <code>map&lt;string, string&gt; Annotations = 10;</code>
     */
    int getAnnotationsCount();
    /**
     * <code>map&lt;string, string&gt; Annotations = 10;</code>
     */
    boolean containsAnnotations(
        java.lang.String key);
    /**
     * Use {@link #getAnnotationsMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.String, java.lang.String>
    getAnnotations();
    /**
     * <code>map&lt;string, string&gt; Annotations = 10;</code>
     */
    java.util.Map<java.lang.String, java.lang.String>
    getAnnotationsMap();
    /**
     * <code>map&lt;string, string&gt; Annotations = 10;</code>
     */

    java.lang.String getAnnotationsOrDefault(
        java.lang.String key,
        java.lang.String defaultValue);
    /**
     * <code>map&lt;string, string&gt; Annotations = 10;</code>
     */

    java.lang.String getAnnotationsOrThrow(
        java.lang.String key);

    /**
     * <code>int64 TimestampUnix = 11;</code>
     */
    long getTimestampUnix();

    /**
     * <code>int64 ResolveTimestampUnix = 12;</code>
     */
    long getResolveTimestampUnix();
  }
  /**
   * Protobuf type {@code ushard.AlertInput}
   */
  public  static final class AlertInput extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.AlertInput)
      AlertInputOrBuilder {
    // Use AlertInput.newBuilder() to construct.
    private AlertInput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AlertInput() {
      code_ = "";
      level_ = "";
      desc_ = "";
      sourceComponentType_ = "";
      sourceComponentId_ = "";
      alertComponentType_ = "";
      alertComponentId_ = "";
      serverId_ = "";
      timestampUnix_ = 0L;
      resolveTimestampUnix_ = 0L;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private AlertInput(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              code_ = s;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              level_ = s;
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();

              desc_ = s;
              break;
            }
            case 34: {
              java.lang.String s = input.readStringRequireUtf8();

              sourceComponentType_ = s;
              break;
            }
            case 42: {
              java.lang.String s = input.readStringRequireUtf8();

              sourceComponentId_ = s;
              break;
            }
            case 50: {
              java.lang.String s = input.readStringRequireUtf8();

              alertComponentType_ = s;
              break;
            }
            case 58: {
              java.lang.String s = input.readStringRequireUtf8();

              alertComponentId_ = s;
              break;
            }
            case 66: {
              java.lang.String s = input.readStringRequireUtf8();

              serverId_ = s;
              break;
            }
            case 74: {
              if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
                labels_ = com.google.protobuf.MapField.newMapField(
                    LabelsDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000100;
              }
              com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
              labels__ = input.readMessage(
                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              labels_.getMutableMap().put(
                  labels__.getKey(), labels__.getValue());
              break;
            }
            case 82: {
              if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
                annotations_ = com.google.protobuf.MapField.newMapField(
                    AnnotationsDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000200;
              }
              com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
              annotations__ = input.readMessage(
                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              annotations_.getMutableMap().put(
                  annotations__.getKey(), annotations__.getValue());
              break;
            }
            case 88: {

              timestampUnix_ = input.readInt64();
              break;
            }
            case 96: {

              resolveTimestampUnix_ = input.readInt64();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_AlertInput_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 9:
          return internalGetLabels();
        case 10:
          return internalGetAnnotations();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_AlertInput_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput.Builder.class);
    }

    private int bitField0_;
    public static final int CODE_FIELD_NUMBER = 1;
    private volatile java.lang.Object code_;
    /**
     * <code>string Code = 1;</code>
     */
    public java.lang.String getCode() {
      java.lang.Object ref = code_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        code_ = s;
        return s;
      }
    }
    /**
     * <code>string Code = 1;</code>
     */
    public com.google.protobuf.ByteString
        getCodeBytes() {
      java.lang.Object ref = code_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        code_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int LEVEL_FIELD_NUMBER = 2;
    private volatile java.lang.Object level_;
    /**
     * <code>string Level = 2;</code>
     */
    public java.lang.String getLevel() {
      java.lang.Object ref = level_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        level_ = s;
        return s;
      }
    }
    /**
     * <code>string Level = 2;</code>
     */
    public com.google.protobuf.ByteString
        getLevelBytes() {
      java.lang.Object ref = level_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        level_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DESC_FIELD_NUMBER = 3;
    private volatile java.lang.Object desc_;
    /**
     * <code>string Desc = 3;</code>
     */
    public java.lang.String getDesc() {
      java.lang.Object ref = desc_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        desc_ = s;
        return s;
      }
    }
    /**
     * <code>string Desc = 3;</code>
     */
    public com.google.protobuf.ByteString
        getDescBytes() {
      java.lang.Object ref = desc_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        desc_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SOURCECOMPONENTTYPE_FIELD_NUMBER = 4;
    private volatile java.lang.Object sourceComponentType_;
    /**
     * <code>string SourceComponentType = 4;</code>
     */
    public java.lang.String getSourceComponentType() {
      java.lang.Object ref = sourceComponentType_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        sourceComponentType_ = s;
        return s;
      }
    }
    /**
     * <code>string SourceComponentType = 4;</code>
     */
    public com.google.protobuf.ByteString
        getSourceComponentTypeBytes() {
      java.lang.Object ref = sourceComponentType_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sourceComponentType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SOURCECOMPONENTID_FIELD_NUMBER = 5;
    private volatile java.lang.Object sourceComponentId_;
    /**
     * <code>string SourceComponentId = 5;</code>
     */
    public java.lang.String getSourceComponentId() {
      java.lang.Object ref = sourceComponentId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        sourceComponentId_ = s;
        return s;
      }
    }
    /**
     * <code>string SourceComponentId = 5;</code>
     */
    public com.google.protobuf.ByteString
        getSourceComponentIdBytes() {
      java.lang.Object ref = sourceComponentId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sourceComponentId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ALERTCOMPONENTTYPE_FIELD_NUMBER = 6;
    private volatile java.lang.Object alertComponentType_;
    /**
     * <code>string AlertComponentType = 6;</code>
     */
    public java.lang.String getAlertComponentType() {
      java.lang.Object ref = alertComponentType_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        alertComponentType_ = s;
        return s;
      }
    }
    /**
     * <code>string AlertComponentType = 6;</code>
     */
    public com.google.protobuf.ByteString
        getAlertComponentTypeBytes() {
      java.lang.Object ref = alertComponentType_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        alertComponentType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ALERTCOMPONENTID_FIELD_NUMBER = 7;
    private volatile java.lang.Object alertComponentId_;
    /**
     * <code>string AlertComponentId = 7;</code>
     */
    public java.lang.String getAlertComponentId() {
      java.lang.Object ref = alertComponentId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        alertComponentId_ = s;
        return s;
      }
    }
    /**
     * <code>string AlertComponentId = 7;</code>
     */
    public com.google.protobuf.ByteString
        getAlertComponentIdBytes() {
      java.lang.Object ref = alertComponentId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        alertComponentId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SERVERID_FIELD_NUMBER = 8;
    private volatile java.lang.Object serverId_;
    /**
     * <code>string ServerId = 8;</code>
     */
    public java.lang.String getServerId() {
      java.lang.Object ref = serverId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        serverId_ = s;
        return s;
      }
    }
    /**
     * <code>string ServerId = 8;</code>
     */
    public com.google.protobuf.ByteString
        getServerIdBytes() {
      java.lang.Object ref = serverId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        serverId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int LABELS_FIELD_NUMBER = 9;
    private static final class LabelsDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.String, java.lang.String> defaultEntry =
              com.google.protobuf.MapEntry
              .<java.lang.String, java.lang.String>newDefaultInstance(
                  com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_AlertInput_LabelsEntry_descriptor,
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "",
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "");
    }
    private com.google.protobuf.MapField<
        java.lang.String, java.lang.String> labels_;
    private com.google.protobuf.MapField<java.lang.String, java.lang.String>
    internalGetLabels() {
      if (labels_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            LabelsDefaultEntryHolder.defaultEntry);
      }
      return labels_;
    }

    public int getLabelsCount() {
      return internalGetLabels().getMap().size();
    }
    /**
     * <code>map&lt;string, string&gt; Labels = 9;</code>
     */

    public boolean containsLabels(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      return internalGetLabels().getMap().containsKey(key);
    }
    /**
     * Use {@link #getLabelsMap()} instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, java.lang.String> getLabels() {
      return getLabelsMap();
    }
    /**
     * <code>map&lt;string, string&gt; Labels = 9;</code>
     */

    public java.util.Map<java.lang.String, java.lang.String> getLabelsMap() {
      return internalGetLabels().getMap();
    }
    /**
     * <code>map&lt;string, string&gt; Labels = 9;</code>
     */

    public java.lang.String getLabelsOrDefault(
        java.lang.String key,
        java.lang.String defaultValue) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, java.lang.String> map =
          internalGetLabels().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;string, string&gt; Labels = 9;</code>
     */

    public java.lang.String getLabelsOrThrow(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, java.lang.String> map =
          internalGetLabels().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public static final int ANNOTATIONS_FIELD_NUMBER = 10;
    private static final class AnnotationsDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.String, java.lang.String> defaultEntry =
              com.google.protobuf.MapEntry
              .<java.lang.String, java.lang.String>newDefaultInstance(
                  com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_AlertInput_AnnotationsEntry_descriptor,
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "",
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "");
    }
    private com.google.protobuf.MapField<
        java.lang.String, java.lang.String> annotations_;
    private com.google.protobuf.MapField<java.lang.String, java.lang.String>
    internalGetAnnotations() {
      if (annotations_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            AnnotationsDefaultEntryHolder.defaultEntry);
      }
      return annotations_;
    }

    public int getAnnotationsCount() {
      return internalGetAnnotations().getMap().size();
    }
    /**
     * <code>map&lt;string, string&gt; Annotations = 10;</code>
     */

    public boolean containsAnnotations(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      return internalGetAnnotations().getMap().containsKey(key);
    }
    /**
     * Use {@link #getAnnotationsMap()} instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, java.lang.String> getAnnotations() {
      return getAnnotationsMap();
    }
    /**
     * <code>map&lt;string, string&gt; Annotations = 10;</code>
     */

    public java.util.Map<java.lang.String, java.lang.String> getAnnotationsMap() {
      return internalGetAnnotations().getMap();
    }
    /**
     * <code>map&lt;string, string&gt; Annotations = 10;</code>
     */

    public java.lang.String getAnnotationsOrDefault(
        java.lang.String key,
        java.lang.String defaultValue) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, java.lang.String> map =
          internalGetAnnotations().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;string, string&gt; Annotations = 10;</code>
     */

    public java.lang.String getAnnotationsOrThrow(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, java.lang.String> map =
          internalGetAnnotations().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public static final int TIMESTAMPUNIX_FIELD_NUMBER = 11;
    private long timestampUnix_;
    /**
     * <code>int64 TimestampUnix = 11;</code>
     */
    public long getTimestampUnix() {
      return timestampUnix_;
    }

    public static final int RESOLVETIMESTAMPUNIX_FIELD_NUMBER = 12;
    private long resolveTimestampUnix_;
    /**
     * <code>int64 ResolveTimestampUnix = 12;</code>
     */
    public long getResolveTimestampUnix() {
      return resolveTimestampUnix_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getCodeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_);
      }
      if (!getLevelBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, level_);
      }
      if (!getDescBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, desc_);
      }
      if (!getSourceComponentTypeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sourceComponentType_);
      }
      if (!getSourceComponentIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, sourceComponentId_);
      }
      if (!getAlertComponentTypeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 6, alertComponentType_);
      }
      if (!getAlertComponentIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 7, alertComponentId_);
      }
      if (!getServerIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 8, serverId_);
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeStringMapTo(
          output,
          internalGetLabels(),
          LabelsDefaultEntryHolder.defaultEntry,
          9);
      com.google.protobuf.GeneratedMessageV3
        .serializeStringMapTo(
          output,
          internalGetAnnotations(),
          AnnotationsDefaultEntryHolder.defaultEntry,
          10);
      if (timestampUnix_ != 0L) {
        output.writeInt64(11, timestampUnix_);
      }
      if (resolveTimestampUnix_ != 0L) {
        output.writeInt64(12, resolveTimestampUnix_);
      }
    }

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

      size = 0;
      if (!getCodeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, code_);
      }
      if (!getLevelBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, level_);
      }
      if (!getDescBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, desc_);
      }
      if (!getSourceComponentTypeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sourceComponentType_);
      }
      if (!getSourceComponentIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, sourceComponentId_);
      }
      if (!getAlertComponentTypeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, alertComponentType_);
      }
      if (!getAlertComponentIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, alertComponentId_);
      }
      if (!getServerIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, serverId_);
      }
      for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
           : internalGetLabels().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
        labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(9, labels__);
      }
      for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
           : internalGetAnnotations().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
        annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(10, annotations__);
      }
      if (timestampUnix_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(11, timestampUnix_);
      }
      if (resolveTimestampUnix_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(12, resolveTimestampUnix_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput) obj;

      boolean result = true;
      result = result && getCode()
          .equals(other.getCode());
      result = result && getLevel()
          .equals(other.getLevel());
      result = result && getDesc()
          .equals(other.getDesc());
      result = result && getSourceComponentType()
          .equals(other.getSourceComponentType());
      result = result && getSourceComponentId()
          .equals(other.getSourceComponentId());
      result = result && getAlertComponentType()
          .equals(other.getAlertComponentType());
      result = result && getAlertComponentId()
          .equals(other.getAlertComponentId());
      result = result && getServerId()
          .equals(other.getServerId());
      result = result && internalGetLabels().equals(
          other.internalGetLabels());
      result = result && internalGetAnnotations().equals(
          other.internalGetAnnotations());
      result = result && (getTimestampUnix()
          == other.getTimestampUnix());
      result = result && (getResolveTimestampUnix()
          == other.getResolveTimestampUnix());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + CODE_FIELD_NUMBER;
      hash = (53 * hash) + getCode().hashCode();
      hash = (37 * hash) + LEVEL_FIELD_NUMBER;
      hash = (53 * hash) + getLevel().hashCode();
      hash = (37 * hash) + DESC_FIELD_NUMBER;
      hash = (53 * hash) + getDesc().hashCode();
      hash = (37 * hash) + SOURCECOMPONENTTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getSourceComponentType().hashCode();
      hash = (37 * hash) + SOURCECOMPONENTID_FIELD_NUMBER;
      hash = (53 * hash) + getSourceComponentId().hashCode();
      hash = (37 * hash) + ALERTCOMPONENTTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getAlertComponentType().hashCode();
      hash = (37 * hash) + ALERTCOMPONENTID_FIELD_NUMBER;
      hash = (53 * hash) + getAlertComponentId().hashCode();
      hash = (37 * hash) + SERVERID_FIELD_NUMBER;
      hash = (53 * hash) + getServerId().hashCode();
      if (!internalGetLabels().getMap().isEmpty()) {
        hash = (37 * hash) + LABELS_FIELD_NUMBER;
        hash = (53 * hash) + internalGetLabels().hashCode();
      }
      if (!internalGetAnnotations().getMap().isEmpty()) {
        hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER;
        hash = (53 * hash) + internalGetAnnotations().hashCode();
      }
      hash = (37 * hash) + TIMESTAMPUNIX_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getTimestampUnix());
      hash = (37 * hash) + RESOLVETIMESTAMPUNIX_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getResolveTimestampUnix());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.AlertInput}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.AlertInput)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInputOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_AlertInput_descriptor;
      }

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 9:
            return internalGetLabels();
          case 10:
            return internalGetAnnotations();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 9:
            return internalGetMutableLabels();
          case 10:
            return internalGetMutableAnnotations();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_AlertInput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        code_ = "";

        level_ = "";

        desc_ = "";

        sourceComponentType_ = "";

        sourceComponentId_ = "";

        alertComponentType_ = "";

        alertComponentId_ = "";

        serverId_ = "";

        internalGetMutableLabels().clear();
        internalGetMutableAnnotations().clear();
        timestampUnix_ = 0L;

        resolveTimestampUnix_ = 0L;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_AlertInput_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.code_ = code_;
        result.level_ = level_;
        result.desc_ = desc_;
        result.sourceComponentType_ = sourceComponentType_;
        result.sourceComponentId_ = sourceComponentId_;
        result.alertComponentType_ = alertComponentType_;
        result.alertComponentId_ = alertComponentId_;
        result.serverId_ = serverId_;
        result.labels_ = internalGetLabels();
        result.labels_.makeImmutable();
        result.annotations_ = internalGetAnnotations();
        result.annotations_.makeImmutable();
        result.timestampUnix_ = timestampUnix_;
        result.resolveTimestampUnix_ = resolveTimestampUnix_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput.getDefaultInstance()) return this;
        if (!other.getCode().isEmpty()) {
          code_ = other.code_;
          onChanged();
        }
        if (!other.getLevel().isEmpty()) {
          level_ = other.level_;
          onChanged();
        }
        if (!other.getDesc().isEmpty()) {
          desc_ = other.desc_;
          onChanged();
        }
        if (!other.getSourceComponentType().isEmpty()) {
          sourceComponentType_ = other.sourceComponentType_;
          onChanged();
        }
        if (!other.getSourceComponentId().isEmpty()) {
          sourceComponentId_ = other.sourceComponentId_;
          onChanged();
        }
        if (!other.getAlertComponentType().isEmpty()) {
          alertComponentType_ = other.alertComponentType_;
          onChanged();
        }
        if (!other.getAlertComponentId().isEmpty()) {
          alertComponentId_ = other.alertComponentId_;
          onChanged();
        }
        if (!other.getServerId().isEmpty()) {
          serverId_ = other.serverId_;
          onChanged();
        }
        internalGetMutableLabels().mergeFrom(
            other.internalGetLabels());
        internalGetMutableAnnotations().mergeFrom(
            other.internalGetAnnotations());
        if (other.getTimestampUnix() != 0L) {
          setTimestampUnix(other.getTimestampUnix());
        }
        if (other.getResolveTimestampUnix() != 0L) {
          setResolveTimestampUnix(other.getResolveTimestampUnix());
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object code_ = "";
      /**
       * <code>string Code = 1;</code>
       */
      public java.lang.String getCode() {
        java.lang.Object ref = code_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          code_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Code = 1;</code>
       */
      public com.google.protobuf.ByteString
          getCodeBytes() {
        java.lang.Object ref = code_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          code_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Code = 1;</code>
       */
      public Builder setCode(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        code_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Code = 1;</code>
       */
      public Builder clearCode() {
        
        code_ = getDefaultInstance().getCode();
        onChanged();
        return this;
      }
      /**
       * <code>string Code = 1;</code>
       */
      public Builder setCodeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        code_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object level_ = "";
      /**
       * <code>string Level = 2;</code>
       */
      public java.lang.String getLevel() {
        java.lang.Object ref = level_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          level_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Level = 2;</code>
       */
      public com.google.protobuf.ByteString
          getLevelBytes() {
        java.lang.Object ref = level_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          level_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Level = 2;</code>
       */
      public Builder setLevel(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        level_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Level = 2;</code>
       */
      public Builder clearLevel() {
        
        level_ = getDefaultInstance().getLevel();
        onChanged();
        return this;
      }
      /**
       * <code>string Level = 2;</code>
       */
      public Builder setLevelBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        level_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object desc_ = "";
      /**
       * <code>string Desc = 3;</code>
       */
      public java.lang.String getDesc() {
        java.lang.Object ref = desc_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          desc_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Desc = 3;</code>
       */
      public com.google.protobuf.ByteString
          getDescBytes() {
        java.lang.Object ref = desc_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          desc_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Desc = 3;</code>
       */
      public Builder setDesc(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        desc_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Desc = 3;</code>
       */
      public Builder clearDesc() {
        
        desc_ = getDefaultInstance().getDesc();
        onChanged();
        return this;
      }
      /**
       * <code>string Desc = 3;</code>
       */
      public Builder setDescBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        desc_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object sourceComponentType_ = "";
      /**
       * <code>string SourceComponentType = 4;</code>
       */
      public java.lang.String getSourceComponentType() {
        java.lang.Object ref = sourceComponentType_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          sourceComponentType_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string SourceComponentType = 4;</code>
       */
      public com.google.protobuf.ByteString
          getSourceComponentTypeBytes() {
        java.lang.Object ref = sourceComponentType_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          sourceComponentType_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string SourceComponentType = 4;</code>
       */
      public Builder setSourceComponentType(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sourceComponentType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string SourceComponentType = 4;</code>
       */
      public Builder clearSourceComponentType() {
        
        sourceComponentType_ = getDefaultInstance().getSourceComponentType();
        onChanged();
        return this;
      }
      /**
       * <code>string SourceComponentType = 4;</code>
       */
      public Builder setSourceComponentTypeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sourceComponentType_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object sourceComponentId_ = "";
      /**
       * <code>string SourceComponentId = 5;</code>
       */
      public java.lang.String getSourceComponentId() {
        java.lang.Object ref = sourceComponentId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          sourceComponentId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string SourceComponentId = 5;</code>
       */
      public com.google.protobuf.ByteString
          getSourceComponentIdBytes() {
        java.lang.Object ref = sourceComponentId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          sourceComponentId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string SourceComponentId = 5;</code>
       */
      public Builder setSourceComponentId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sourceComponentId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string SourceComponentId = 5;</code>
       */
      public Builder clearSourceComponentId() {
        
        sourceComponentId_ = getDefaultInstance().getSourceComponentId();
        onChanged();
        return this;
      }
      /**
       * <code>string SourceComponentId = 5;</code>
       */
      public Builder setSourceComponentIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sourceComponentId_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object alertComponentType_ = "";
      /**
       * <code>string AlertComponentType = 6;</code>
       */
      public java.lang.String getAlertComponentType() {
        java.lang.Object ref = alertComponentType_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          alertComponentType_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string AlertComponentType = 6;</code>
       */
      public com.google.protobuf.ByteString
          getAlertComponentTypeBytes() {
        java.lang.Object ref = alertComponentType_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          alertComponentType_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string AlertComponentType = 6;</code>
       */
      public Builder setAlertComponentType(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        alertComponentType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string AlertComponentType = 6;</code>
       */
      public Builder clearAlertComponentType() {
        
        alertComponentType_ = getDefaultInstance().getAlertComponentType();
        onChanged();
        return this;
      }
      /**
       * <code>string AlertComponentType = 6;</code>
       */
      public Builder setAlertComponentTypeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        alertComponentType_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object alertComponentId_ = "";
      /**
       * <code>string AlertComponentId = 7;</code>
       */
      public java.lang.String getAlertComponentId() {
        java.lang.Object ref = alertComponentId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          alertComponentId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string AlertComponentId = 7;</code>
       */
      public com.google.protobuf.ByteString
          getAlertComponentIdBytes() {
        java.lang.Object ref = alertComponentId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          alertComponentId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string AlertComponentId = 7;</code>
       */
      public Builder setAlertComponentId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        alertComponentId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string AlertComponentId = 7;</code>
       */
      public Builder clearAlertComponentId() {
        
        alertComponentId_ = getDefaultInstance().getAlertComponentId();
        onChanged();
        return this;
      }
      /**
       * <code>string AlertComponentId = 7;</code>
       */
      public Builder setAlertComponentIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        alertComponentId_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object serverId_ = "";
      /**
       * <code>string ServerId = 8;</code>
       */
      public java.lang.String getServerId() {
        java.lang.Object ref = serverId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          serverId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string ServerId = 8;</code>
       */
      public com.google.protobuf.ByteString
          getServerIdBytes() {
        java.lang.Object ref = serverId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          serverId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string ServerId = 8;</code>
       */
      public Builder setServerId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        serverId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string ServerId = 8;</code>
       */
      public Builder clearServerId() {
        
        serverId_ = getDefaultInstance().getServerId();
        onChanged();
        return this;
      }
      /**
       * <code>string ServerId = 8;</code>
       */
      public Builder setServerIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        serverId_ = value;
        onChanged();
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.String, java.lang.String> labels_;
      private com.google.protobuf.MapField<java.lang.String, java.lang.String>
      internalGetLabels() {
        if (labels_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              LabelsDefaultEntryHolder.defaultEntry);
        }
        return labels_;
      }
      private com.google.protobuf.MapField<java.lang.String, java.lang.String>
      internalGetMutableLabels() {
        onChanged();;
        if (labels_ == null) {
          labels_ = com.google.protobuf.MapField.newMapField(
              LabelsDefaultEntryHolder.defaultEntry);
        }
        if (!labels_.isMutable()) {
          labels_ = labels_.copy();
        }
        return labels_;
      }

      public int getLabelsCount() {
        return internalGetLabels().getMap().size();
      }
      /**
       * <code>map&lt;string, string&gt; Labels = 9;</code>
       */

      public boolean containsLabels(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        return internalGetLabels().getMap().containsKey(key);
      }
      /**
       * Use {@link #getLabelsMap()} instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.String, java.lang.String> getLabels() {
        return getLabelsMap();
      }
      /**
       * <code>map&lt;string, string&gt; Labels = 9;</code>
       */

      public java.util.Map<java.lang.String, java.lang.String> getLabelsMap() {
        return internalGetLabels().getMap();
      }
      /**
       * <code>map&lt;string, string&gt; Labels = 9;</code>
       */

      public java.lang.String getLabelsOrDefault(
          java.lang.String key,
          java.lang.String defaultValue) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        java.util.Map<java.lang.String, java.lang.String> map =
            internalGetLabels().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;string, string&gt; Labels = 9;</code>
       */

      public java.lang.String getLabelsOrThrow(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        java.util.Map<java.lang.String, java.lang.String> map =
            internalGetLabels().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }

      public Builder clearLabels() {
        internalGetMutableLabels().getMutableMap()
            .clear();
        return this;
      }
      /**
       * <code>map&lt;string, string&gt; Labels = 9;</code>
       */

      public Builder removeLabels(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        internalGetMutableLabels().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.String, java.lang.String>
      getMutableLabels() {
        return internalGetMutableLabels().getMutableMap();
      }
      /**
       * <code>map&lt;string, string&gt; Labels = 9;</code>
       */
      public Builder putLabels(
          java.lang.String key,
          java.lang.String value) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        if (value == null) { throw new java.lang.NullPointerException(); }
        internalGetMutableLabels().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * <code>map&lt;string, string&gt; Labels = 9;</code>
       */

      public Builder putAllLabels(
          java.util.Map<java.lang.String, java.lang.String> values) {
        internalGetMutableLabels().getMutableMap()
            .putAll(values);
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.String, java.lang.String> annotations_;
      private com.google.protobuf.MapField<java.lang.String, java.lang.String>
      internalGetAnnotations() {
        if (annotations_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              AnnotationsDefaultEntryHolder.defaultEntry);
        }
        return annotations_;
      }
      private com.google.protobuf.MapField<java.lang.String, java.lang.String>
      internalGetMutableAnnotations() {
        onChanged();;
        if (annotations_ == null) {
          annotations_ = com.google.protobuf.MapField.newMapField(
              AnnotationsDefaultEntryHolder.defaultEntry);
        }
        if (!annotations_.isMutable()) {
          annotations_ = annotations_.copy();
        }
        return annotations_;
      }

      public int getAnnotationsCount() {
        return internalGetAnnotations().getMap().size();
      }
      /**
       * <code>map&lt;string, string&gt; Annotations = 10;</code>
       */

      public boolean containsAnnotations(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        return internalGetAnnotations().getMap().containsKey(key);
      }
      /**
       * Use {@link #getAnnotationsMap()} instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.String, java.lang.String> getAnnotations() {
        return getAnnotationsMap();
      }
      /**
       * <code>map&lt;string, string&gt; Annotations = 10;</code>
       */

      public java.util.Map<java.lang.String, java.lang.String> getAnnotationsMap() {
        return internalGetAnnotations().getMap();
      }
      /**
       * <code>map&lt;string, string&gt; Annotations = 10;</code>
       */

      public java.lang.String getAnnotationsOrDefault(
          java.lang.String key,
          java.lang.String defaultValue) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        java.util.Map<java.lang.String, java.lang.String> map =
            internalGetAnnotations().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;string, string&gt; Annotations = 10;</code>
       */

      public java.lang.String getAnnotationsOrThrow(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        java.util.Map<java.lang.String, java.lang.String> map =
            internalGetAnnotations().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }

      public Builder clearAnnotations() {
        internalGetMutableAnnotations().getMutableMap()
            .clear();
        return this;
      }
      /**
       * <code>map&lt;string, string&gt; Annotations = 10;</code>
       */

      public Builder removeAnnotations(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        internalGetMutableAnnotations().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.String, java.lang.String>
      getMutableAnnotations() {
        return internalGetMutableAnnotations().getMutableMap();
      }
      /**
       * <code>map&lt;string, string&gt; Annotations = 10;</code>
       */
      public Builder putAnnotations(
          java.lang.String key,
          java.lang.String value) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        if (value == null) { throw new java.lang.NullPointerException(); }
        internalGetMutableAnnotations().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * <code>map&lt;string, string&gt; Annotations = 10;</code>
       */

      public Builder putAllAnnotations(
          java.util.Map<java.lang.String, java.lang.String> values) {
        internalGetMutableAnnotations().getMutableMap()
            .putAll(values);
        return this;
      }

      private long timestampUnix_ ;
      /**
       * <code>int64 TimestampUnix = 11;</code>
       */
      public long getTimestampUnix() {
        return timestampUnix_;
      }
      /**
       * <code>int64 TimestampUnix = 11;</code>
       */
      public Builder setTimestampUnix(long value) {
        
        timestampUnix_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 TimestampUnix = 11;</code>
       */
      public Builder clearTimestampUnix() {
        
        timestampUnix_ = 0L;
        onChanged();
        return this;
      }

      private long resolveTimestampUnix_ ;
      /**
       * <code>int64 ResolveTimestampUnix = 12;</code>
       */
      public long getResolveTimestampUnix() {
        return resolveTimestampUnix_;
      }
      /**
       * <code>int64 ResolveTimestampUnix = 12;</code>
       */
      public Builder setResolveTimestampUnix(long value) {
        
        resolveTimestampUnix_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 ResolveTimestampUnix = 12;</code>
       */
      public Builder clearResolveTimestampUnix() {
        
        resolveTimestampUnix_ = 0L;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.AlertInput)
    }

    // @@protoc_insertion_point(class_scope:ushard.AlertInput)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.AlertInput getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface LockOnSessionInputOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.LockOnSessionInput)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string Key = 1;</code>
     */
    java.lang.String getKey();
    /**
     * <code>string Key = 1;</code>
     */
    com.google.protobuf.ByteString
        getKeyBytes();

    /**
     * <code>string Value = 2;</code>
     */
    java.lang.String getValue();
    /**
     * <code>string Value = 2;</code>
     */
    com.google.protobuf.ByteString
        getValueBytes();

    /**
     * <code>uint64 TTLSeconds = 3;</code>
     */
    long getTTLSeconds();
  }
  /**
   * Protobuf type {@code ushard.LockOnSessionInput}
   */
  public  static final class LockOnSessionInput extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.LockOnSessionInput)
      LockOnSessionInputOrBuilder {
    // Use LockOnSessionInput.newBuilder() to construct.
    private LockOnSessionInput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private LockOnSessionInput() {
      key_ = "";
      value_ = "";
      tTLSeconds_ = 0L;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private LockOnSessionInput(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              key_ = s;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              value_ = s;
              break;
            }
            case 24: {

              tTLSeconds_ = input.readUInt64();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_LockOnSessionInput_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_LockOnSessionInput_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput.Builder.class);
    }

    public static final int KEY_FIELD_NUMBER = 1;
    private volatile java.lang.Object key_;
    /**
     * <code>string Key = 1;</code>
     */
    public java.lang.String getKey() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        key_ = s;
        return s;
      }
    }
    /**
     * <code>string Key = 1;</code>
     */
    public com.google.protobuf.ByteString
        getKeyBytes() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        key_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int VALUE_FIELD_NUMBER = 2;
    private volatile java.lang.Object value_;
    /**
     * <code>string Value = 2;</code>
     */
    public java.lang.String getValue() {
      java.lang.Object ref = value_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        value_ = s;
        return s;
      }
    }
    /**
     * <code>string Value = 2;</code>
     */
    public com.google.protobuf.ByteString
        getValueBytes() {
      java.lang.Object ref = value_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        value_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TTLSECONDS_FIELD_NUMBER = 3;
    private long tTLSeconds_;
    /**
     * <code>uint64 TTLSeconds = 3;</code>
     */
    public long getTTLSeconds() {
      return tTLSeconds_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getKeyBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
      }
      if (!getValueBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_);
      }
      if (tTLSeconds_ != 0L) {
        output.writeUInt64(3, tTLSeconds_);
      }
    }

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

      size = 0;
      if (!getKeyBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
      }
      if (!getValueBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_);
      }
      if (tTLSeconds_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(3, tTLSeconds_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput) obj;

      boolean result = true;
      result = result && getKey()
          .equals(other.getKey());
      result = result && getValue()
          .equals(other.getValue());
      result = result && (getTTLSeconds()
          == other.getTTLSeconds());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + KEY_FIELD_NUMBER;
      hash = (53 * hash) + getKey().hashCode();
      hash = (37 * hash) + VALUE_FIELD_NUMBER;
      hash = (53 * hash) + getValue().hashCode();
      hash = (37 * hash) + TTLSECONDS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getTTLSeconds());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.LockOnSessionInput}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.LockOnSessionInput)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInputOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_LockOnSessionInput_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_LockOnSessionInput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        key_ = "";

        value_ = "";

        tTLSeconds_ = 0L;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_LockOnSessionInput_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput(this);
        result.key_ = key_;
        result.value_ = value_;
        result.tTLSeconds_ = tTLSeconds_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput.getDefaultInstance()) return this;
        if (!other.getKey().isEmpty()) {
          key_ = other.key_;
          onChanged();
        }
        if (!other.getValue().isEmpty()) {
          value_ = other.value_;
          onChanged();
        }
        if (other.getTTLSeconds() != 0L) {
          setTTLSeconds(other.getTTLSeconds());
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object key_ = "";
      /**
       * <code>string Key = 1;</code>
       */
      public java.lang.String getKey() {
        java.lang.Object ref = key_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          key_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Key = 1;</code>
       */
      public com.google.protobuf.ByteString
          getKeyBytes() {
        java.lang.Object ref = key_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          key_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder setKey(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        key_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder clearKey() {
        
        key_ = getDefaultInstance().getKey();
        onChanged();
        return this;
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder setKeyBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        key_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object value_ = "";
      /**
       * <code>string Value = 2;</code>
       */
      public java.lang.String getValue() {
        java.lang.Object ref = value_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          value_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Value = 2;</code>
       */
      public com.google.protobuf.ByteString
          getValueBytes() {
        java.lang.Object ref = value_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          value_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Value = 2;</code>
       */
      public Builder setValue(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        value_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Value = 2;</code>
       */
      public Builder clearValue() {
        
        value_ = getDefaultInstance().getValue();
        onChanged();
        return this;
      }
      /**
       * <code>string Value = 2;</code>
       */
      public Builder setValueBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        value_ = value;
        onChanged();
        return this;
      }

      private long tTLSeconds_ ;
      /**
       * <code>uint64 TTLSeconds = 3;</code>
       */
      public long getTTLSeconds() {
        return tTLSeconds_;
      }
      /**
       * <code>uint64 TTLSeconds = 3;</code>
       */
      public Builder setTTLSeconds(long value) {
        
        tTLSeconds_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 TTLSeconds = 3;</code>
       */
      public Builder clearTTLSeconds() {
        
        tTLSeconds_ = 0L;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.LockOnSessionInput)
    }

    // @@protoc_insertion_point(class_scope:ushard.LockOnSessionInput)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionInput getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface LockOnSessionOutputOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.LockOnSessionOutput)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>bool Locked = 1;</code>
     */
    boolean getLocked();

    /**
     * <code>string SessionId = 2;</code>
     */
    java.lang.String getSessionId();
    /**
     * <code>string SessionId = 2;</code>
     */
    com.google.protobuf.ByteString
        getSessionIdBytes();
  }
  /**
   * Protobuf type {@code ushard.LockOnSessionOutput}
   */
  public  static final class LockOnSessionOutput extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.LockOnSessionOutput)
      LockOnSessionOutputOrBuilder {
    // Use LockOnSessionOutput.newBuilder() to construct.
    private LockOnSessionOutput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private LockOnSessionOutput() {
      locked_ = false;
      sessionId_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private LockOnSessionOutput(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 8: {

              locked_ = input.readBool();
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              sessionId_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_LockOnSessionOutput_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_LockOnSessionOutput_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput.Builder.class);
    }

    public static final int LOCKED_FIELD_NUMBER = 1;
    private boolean locked_;
    /**
     * <code>bool Locked = 1;</code>
     */
    public boolean getLocked() {
      return locked_;
    }

    public static final int SESSIONID_FIELD_NUMBER = 2;
    private volatile java.lang.Object sessionId_;
    /**
     * <code>string SessionId = 2;</code>
     */
    public java.lang.String getSessionId() {
      java.lang.Object ref = sessionId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        sessionId_ = s;
        return s;
      }
    }
    /**
     * <code>string SessionId = 2;</code>
     */
    public com.google.protobuf.ByteString
        getSessionIdBytes() {
      java.lang.Object ref = sessionId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sessionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (locked_ != false) {
        output.writeBool(1, locked_);
      }
      if (!getSessionIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sessionId_);
      }
    }

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

      size = 0;
      if (locked_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1, locked_);
      }
      if (!getSessionIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sessionId_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput) obj;

      boolean result = true;
      result = result && (getLocked()
          == other.getLocked());
      result = result && getSessionId()
          .equals(other.getSessionId());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + LOCKED_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getLocked());
      hash = (37 * hash) + SESSIONID_FIELD_NUMBER;
      hash = (53 * hash) + getSessionId().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.LockOnSessionOutput}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.LockOnSessionOutput)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutputOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_LockOnSessionOutput_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_LockOnSessionOutput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        locked_ = false;

        sessionId_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_LockOnSessionOutput_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput(this);
        result.locked_ = locked_;
        result.sessionId_ = sessionId_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput.getDefaultInstance()) return this;
        if (other.getLocked() != false) {
          setLocked(other.getLocked());
        }
        if (!other.getSessionId().isEmpty()) {
          sessionId_ = other.sessionId_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private boolean locked_ ;
      /**
       * <code>bool Locked = 1;</code>
       */
      public boolean getLocked() {
        return locked_;
      }
      /**
       * <code>bool Locked = 1;</code>
       */
      public Builder setLocked(boolean value) {
        
        locked_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool Locked = 1;</code>
       */
      public Builder clearLocked() {
        
        locked_ = false;
        onChanged();
        return this;
      }

      private java.lang.Object sessionId_ = "";
      /**
       * <code>string SessionId = 2;</code>
       */
      public java.lang.String getSessionId() {
        java.lang.Object ref = sessionId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          sessionId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string SessionId = 2;</code>
       */
      public com.google.protobuf.ByteString
          getSessionIdBytes() {
        java.lang.Object ref = sessionId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          sessionId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string SessionId = 2;</code>
       */
      public Builder setSessionId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sessionId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string SessionId = 2;</code>
       */
      public Builder clearSessionId() {
        
        sessionId_ = getDefaultInstance().getSessionId();
        onChanged();
        return this;
      }
      /**
       * <code>string SessionId = 2;</code>
       */
      public Builder setSessionIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sessionId_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.LockOnSessionOutput)
    }

    // @@protoc_insertion_point(class_scope:ushard.LockOnSessionOutput)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.LockOnSessionOutput getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface RenewSessionInputOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.RenewSessionInput)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string SessionId = 1;</code>
     */
    java.lang.String getSessionId();
    /**
     * <code>string SessionId = 1;</code>
     */
    com.google.protobuf.ByteString
        getSessionIdBytes();
  }
  /**
   * Protobuf type {@code ushard.RenewSessionInput}
   */
  public  static final class RenewSessionInput extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.RenewSessionInput)
      RenewSessionInputOrBuilder {
    // Use RenewSessionInput.newBuilder() to construct.
    private RenewSessionInput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private RenewSessionInput() {
      sessionId_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private RenewSessionInput(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              sessionId_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_RenewSessionInput_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_RenewSessionInput_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput.Builder.class);
    }

    public static final int SESSIONID_FIELD_NUMBER = 1;
    private volatile java.lang.Object sessionId_;
    /**
     * <code>string SessionId = 1;</code>
     */
    public java.lang.String getSessionId() {
      java.lang.Object ref = sessionId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        sessionId_ = s;
        return s;
      }
    }
    /**
     * <code>string SessionId = 1;</code>
     */
    public com.google.protobuf.ByteString
        getSessionIdBytes() {
      java.lang.Object ref = sessionId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sessionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getSessionIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_);
      }
    }

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

      size = 0;
      if (!getSessionIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput) obj;

      boolean result = true;
      result = result && getSessionId()
          .equals(other.getSessionId());
      return result;
    }

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

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.RenewSessionInput}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.RenewSessionInput)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInputOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_RenewSessionInput_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_RenewSessionInput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        sessionId_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_RenewSessionInput_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput(this);
        result.sessionId_ = sessionId_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput.getDefaultInstance()) return this;
        if (!other.getSessionId().isEmpty()) {
          sessionId_ = other.sessionId_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object sessionId_ = "";
      /**
       * <code>string SessionId = 1;</code>
       */
      public java.lang.String getSessionId() {
        java.lang.Object ref = sessionId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          sessionId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string SessionId = 1;</code>
       */
      public com.google.protobuf.ByteString
          getSessionIdBytes() {
        java.lang.Object ref = sessionId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          sessionId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string SessionId = 1;</code>
       */
      public Builder setSessionId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sessionId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string SessionId = 1;</code>
       */
      public Builder clearSessionId() {
        
        sessionId_ = getDefaultInstance().getSessionId();
        onChanged();
        return this;
      }
      /**
       * <code>string SessionId = 1;</code>
       */
      public Builder setSessionIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sessionId_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.RenewSessionInput)
    }

    // @@protoc_insertion_point(class_scope:ushard.RenewSessionInput)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.RenewSessionInput getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface UnlockOnSessionInputOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ushard.UnlockOnSessionInput)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string Key = 1;</code>
     */
    java.lang.String getKey();
    /**
     * <code>string Key = 1;</code>
     */
    com.google.protobuf.ByteString
        getKeyBytes();

    /**
     * <code>string SessionId = 2;</code>
     */
    java.lang.String getSessionId();
    /**
     * <code>string SessionId = 2;</code>
     */
    com.google.protobuf.ByteString
        getSessionIdBytes();
  }
  /**
   * Protobuf type {@code ushard.UnlockOnSessionInput}
   */
  public  static final class UnlockOnSessionInput extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ushard.UnlockOnSessionInput)
      UnlockOnSessionInputOrBuilder {
    // Use UnlockOnSessionInput.newBuilder() to construct.
    private UnlockOnSessionInput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private UnlockOnSessionInput() {
      key_ = "";
      sessionId_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private UnlockOnSessionInput(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              key_ = s;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              sessionId_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_UnlockOnSessionInput_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_UnlockOnSessionInput_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput.Builder.class);
    }

    public static final int KEY_FIELD_NUMBER = 1;
    private volatile java.lang.Object key_;
    /**
     * <code>string Key = 1;</code>
     */
    public java.lang.String getKey() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        key_ = s;
        return s;
      }
    }
    /**
     * <code>string Key = 1;</code>
     */
    public com.google.protobuf.ByteString
        getKeyBytes() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        key_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SESSIONID_FIELD_NUMBER = 2;
    private volatile java.lang.Object sessionId_;
    /**
     * <code>string SessionId = 2;</code>
     */
    public java.lang.String getSessionId() {
      java.lang.Object ref = sessionId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        sessionId_ = s;
        return s;
      }
    }
    /**
     * <code>string SessionId = 2;</code>
     */
    public com.google.protobuf.ByteString
        getSessionIdBytes() {
      java.lang.Object ref = sessionId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        sessionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getKeyBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
      }
      if (!getSessionIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sessionId_);
      }
    }

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

      size = 0;
      if (!getKeyBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
      }
      if (!getSessionIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sessionId_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput)) {
        return super.equals(obj);
      }
      com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput other = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput) obj;

      boolean result = true;
      result = result && getKey()
          .equals(other.getKey());
      result = result && getSessionId()
          .equals(other.getSessionId());
      return result;
    }

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

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 ushard.UnlockOnSessionInput}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ushard.UnlockOnSessionInput)
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInputOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_UnlockOnSessionInput_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_UnlockOnSessionInput_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput.class, com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput.Builder.class);
      }

      // Construct using com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        key_ = "";

        sessionId_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.internal_static_ushard_UnlockOnSessionInput_descriptor;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput getDefaultInstanceForType() {
        return com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput.getDefaultInstance();
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput build() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput buildPartial() {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput result = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput(this);
        result.key_ = key_;
        result.sessionId_ = sessionId_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput) {
          return mergeFrom((com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput other) {
        if (other == com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput.getDefaultInstance()) return this;
        if (!other.getKey().isEmpty()) {
          key_ = other.key_;
          onChanged();
        }
        if (!other.getSessionId().isEmpty()) {
          sessionId_ = other.sessionId_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object key_ = "";
      /**
       * <code>string Key = 1;</code>
       */
      public java.lang.String getKey() {
        java.lang.Object ref = key_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          key_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Key = 1;</code>
       */
      public com.google.protobuf.ByteString
          getKeyBytes() {
        java.lang.Object ref = key_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          key_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder setKey(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        key_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder clearKey() {
        
        key_ = getDefaultInstance().getKey();
        onChanged();
        return this;
      }
      /**
       * <code>string Key = 1;</code>
       */
      public Builder setKeyBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        key_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object sessionId_ = "";
      /**
       * <code>string SessionId = 2;</code>
       */
      public java.lang.String getSessionId() {
        java.lang.Object ref = sessionId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          sessionId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string SessionId = 2;</code>
       */
      public com.google.protobuf.ByteString
          getSessionIdBytes() {
        java.lang.Object ref = sessionId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          sessionId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string SessionId = 2;</code>
       */
      public Builder setSessionId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        sessionId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string SessionId = 2;</code>
       */
      public Builder clearSessionId() {
        
        sessionId_ = getDefaultInstance().getSessionId();
        onChanged();
        return this;
      }
      /**
       * <code>string SessionId = 2;</code>
       */
      public Builder setSessionIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        sessionId_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:ushard.UnlockOnSessionInput)
    }

    // @@protoc_insertion_point(class_scope:ushard.UnlockOnSessionInput)
    private static final com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput();
    }

    public static com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.actiontech.dble.cluster.general.impl.ushard.UshardInterface.UnlockOnSessionInput getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_Empty_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_Empty_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_PutKvInput_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_PutKvInput_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_GetKvInput_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_GetKvInput_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_GetKvOutput_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_GetKvOutput_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_DeleteKvInput_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_DeleteKvInput_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_DeleteKvTreeInput_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_DeleteKvTreeInput_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_SubscribeKvPrefixInput_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_SubscribeKvPrefixInput_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_SubscribeKvPrefixOutput_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_SubscribeKvPrefixOutput_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_GetKvTreeInput_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_GetKvTreeInput_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_GetKvTreeOutput_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_GetKvTreeOutput_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_AlertInput_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_AlertInput_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_AlertInput_LabelsEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_AlertInput_LabelsEntry_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_AlertInput_AnnotationsEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_AlertInput_AnnotationsEntry_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_LockOnSessionInput_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_LockOnSessionInput_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_LockOnSessionOutput_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_LockOnSessionOutput_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_RenewSessionInput_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_RenewSessionInput_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ushard_UnlockOnSessionInput_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ushard_UnlockOnSessionInput_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\021dbleCluster.proto\022\006ushard\"\007\n\005Empty\"(\n\n" +
      "PutKvInput\022\013\n\003Key\030\001 \001(\t\022\r\n\005Value\030\002 \001(\t\"\031" +
      "\n\nGetKvInput\022\013\n\003Key\030\001 \001(\t\"\034\n\013GetKvOutput" +
      "\022\r\n\005Value\030\001 \001(\t\"\034\n\rDeleteKvInput\022\013\n\003Key\030" +
      "\001 \001(\t\" \n\021DeleteKvTreeInput\022\013\n\003Key\030\001 \001(\t\"" +
      "L\n\026SubscribeKvPrefixInput\022\021\n\tKeyPrefix\030\001" +
      " \001(\t\022\r\n\005Index\030\002 \001(\004\022\020\n\010Duration\030\003 \001(\r\"F\n" +
      "\027SubscribeKvPrefixOutput\022\r\n\005Index\030\001 \001(\004\022" +
      "\014\n\004Keys\030\002 \003(\t\022\016\n\006Values\030\003 \003(\t\"\035\n\016GetKvTr" +
      "eeInput\022\013\n\003Key\030\001 \001(\t\">\n\017GetKvTreeOutput\022",
      "\r\n\005Index\030\001 \001(\004\022\014\n\004Keys\030\002 \003(\t\022\016\n\006Values\030\003" +
      " \003(\t\"\271\003\n\nAlertInput\022\014\n\004Code\030\001 \001(\t\022\r\n\005Lev" +
      "el\030\002 \001(\t\022\014\n\004Desc\030\003 \001(\t\022\033\n\023SourceComponen" +
      "tType\030\004 \001(\t\022\031\n\021SourceComponentId\030\005 \001(\t\022\032" +
      "\n\022AlertComponentType\030\006 \001(\t\022\030\n\020AlertCompo" +
      "nentId\030\007 \001(\t\022\020\n\010ServerId\030\010 \001(\t\022.\n\006Labels" +
      "\030\t \003(\0132\036.ushard.AlertInput.LabelsEntry\0228" +
      "\n\013Annotations\030\n \003(\0132#.ushard.AlertInput." +
      "AnnotationsEntry\022\025\n\rTimestampUnix\030\013 \001(\003\022" +
      "\034\n\024ResolveTimestampUnix\030\014 \001(\003\032-\n\013LabelsE",
      "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020" +
      "AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" +
      " \001(\t:\0028\001\"D\n\022LockOnSessionInput\022\013\n\003Key\030\001 " +
      "\001(\t\022\r\n\005Value\030\002 \001(\t\022\022\n\nTTLSeconds\030\003 \001(\004\"8" +
      "\n\023LockOnSessionOutput\022\016\n\006Locked\030\001 \001(\010\022\021\n" +
      "\tSessionId\030\002 \001(\t\"&\n\021RenewSessionInput\022\021\n" +
      "\tSessionId\030\001 \001(\t\"6\n\024UnlockOnSessionInput" +
      "\022\013\n\003Key\030\001 \001(\t\022\021\n\tSessionId\030\002 \001(\t2\244\005\n\013Dbl" +
      "eCluster\022,\n\005PutKv\022\022.ushard.PutKvInput\032\r." +
      "ushard.Empty\"\000\0222\n\005GetKv\022\022.ushard.GetKvIn",
      "put\032\023.ushard.GetKvOutput\"\000\0222\n\010DeleteKv\022\025" +
      ".ushard.DeleteKvInput\032\r.ushard.Empty\"\000\022:" +
      "\n\014DeleteKvTree\022\031.ushard.DeleteKvTreeInpu" +
      "t\032\r.ushard.Empty\"\000\022V\n\021SubscribeKvPrefix\022" +
      "\036.ushard.SubscribeKvPrefixInput\032\037.ushard" +
      ".SubscribeKvPrefixOutput\"\000\022>\n\tGetKvTree\022" +
      "\026.ushard.GetKvTreeInput\032\027.ushard.GetKvTr" +
      "eeOutput\"\000\022,\n\005Alert\022\022.ushard.AlertInput\032" +
      "\r.ushard.Empty\"\000\0223\n\014AlertResolve\022\022.ushar" +
      "d.AlertInput\032\r.ushard.Empty\"\000\022J\n\rLockOnS",
      "ession\022\032.ushard.LockOnSessionInput\032\033.ush" +
      "ard.LockOnSessionOutput\"\000\022:\n\014RenewSessio" +
      "n\022\031.ushard.RenewSessionInput\032\r.ushard.Em" +
      "pty\"\000\022@\n\017UnlockOnSession\022\034.ushard.Unlock" +
      "OnSessionInput\032\r.ushard.Empty\"\000BE\n\'com.a" +
      "ctiontech.dble.cluster.impl.ushardB\017Usha" +
      "rdInterfaceP\000\242\002\006ushardb\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
    internal_static_ushard_Empty_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_ushard_Empty_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_Empty_descriptor,
        new java.lang.String[] { });
    internal_static_ushard_PutKvInput_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_ushard_PutKvInput_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_PutKvInput_descriptor,
        new java.lang.String[] { "Key", "Value", });
    internal_static_ushard_GetKvInput_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_ushard_GetKvInput_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_GetKvInput_descriptor,
        new java.lang.String[] { "Key", });
    internal_static_ushard_GetKvOutput_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_ushard_GetKvOutput_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_GetKvOutput_descriptor,
        new java.lang.String[] { "Value", });
    internal_static_ushard_DeleteKvInput_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_ushard_DeleteKvInput_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_DeleteKvInput_descriptor,
        new java.lang.String[] { "Key", });
    internal_static_ushard_DeleteKvTreeInput_descriptor =
      getDescriptor().getMessageTypes().get(5);
    internal_static_ushard_DeleteKvTreeInput_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_DeleteKvTreeInput_descriptor,
        new java.lang.String[] { "Key", });
    internal_static_ushard_SubscribeKvPrefixInput_descriptor =
      getDescriptor().getMessageTypes().get(6);
    internal_static_ushard_SubscribeKvPrefixInput_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_SubscribeKvPrefixInput_descriptor,
        new java.lang.String[] { "KeyPrefix", "Index", "Duration", });
    internal_static_ushard_SubscribeKvPrefixOutput_descriptor =
      getDescriptor().getMessageTypes().get(7);
    internal_static_ushard_SubscribeKvPrefixOutput_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_SubscribeKvPrefixOutput_descriptor,
        new java.lang.String[] { "Index", "Keys", "Values", });
    internal_static_ushard_GetKvTreeInput_descriptor =
      getDescriptor().getMessageTypes().get(8);
    internal_static_ushard_GetKvTreeInput_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_GetKvTreeInput_descriptor,
        new java.lang.String[] { "Key", });
    internal_static_ushard_GetKvTreeOutput_descriptor =
      getDescriptor().getMessageTypes().get(9);
    internal_static_ushard_GetKvTreeOutput_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_GetKvTreeOutput_descriptor,
        new java.lang.String[] { "Index", "Keys", "Values", });
    internal_static_ushard_AlertInput_descriptor =
      getDescriptor().getMessageTypes().get(10);
    internal_static_ushard_AlertInput_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_AlertInput_descriptor,
        new java.lang.String[] { "Code", "Level", "Desc", "SourceComponentType", "SourceComponentId", "AlertComponentType", "AlertComponentId", "ServerId", "Labels", "Annotations", "TimestampUnix", "ResolveTimestampUnix", });
    internal_static_ushard_AlertInput_LabelsEntry_descriptor =
      internal_static_ushard_AlertInput_descriptor.getNestedTypes().get(0);
    internal_static_ushard_AlertInput_LabelsEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_AlertInput_LabelsEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    internal_static_ushard_AlertInput_AnnotationsEntry_descriptor =
      internal_static_ushard_AlertInput_descriptor.getNestedTypes().get(1);
    internal_static_ushard_AlertInput_AnnotationsEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_AlertInput_AnnotationsEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    internal_static_ushard_LockOnSessionInput_descriptor =
      getDescriptor().getMessageTypes().get(11);
    internal_static_ushard_LockOnSessionInput_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_LockOnSessionInput_descriptor,
        new java.lang.String[] { "Key", "Value", "TTLSeconds", });
    internal_static_ushard_LockOnSessionOutput_descriptor =
      getDescriptor().getMessageTypes().get(12);
    internal_static_ushard_LockOnSessionOutput_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_LockOnSessionOutput_descriptor,
        new java.lang.String[] { "Locked", "SessionId", });
    internal_static_ushard_RenewSessionInput_descriptor =
      getDescriptor().getMessageTypes().get(13);
    internal_static_ushard_RenewSessionInput_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_RenewSessionInput_descriptor,
        new java.lang.String[] { "SessionId", });
    internal_static_ushard_UnlockOnSessionInput_descriptor =
      getDescriptor().getMessageTypes().get(14);
    internal_static_ushard_UnlockOnSessionInput_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ushard_UnlockOnSessionInput_descriptor,
        new java.lang.String[] { "Key", "SessionId", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
