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

com.yandex.ydb.scripting.ScriptingProtos Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ydb/public/api/protos/ydb_scripting.proto

package com.yandex.ydb.scripting;

public final class ScriptingProtos {
  private ScriptingProtos() {}
  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 ExecuteYqlRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:Ydb.Scripting.ExecuteYqlRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .Ydb.Operations.OperationParams operation_params = 1;
     * @return Whether the operationParams field is set.
     */
    boolean hasOperationParams();
    /**
     * .Ydb.Operations.OperationParams operation_params = 1;
     * @return The operationParams.
     */
    com.yandex.ydb.OperationProtos.OperationParams getOperationParams();
    /**
     * .Ydb.Operations.OperationParams operation_params = 1;
     */
    com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder();

    /**
     * string script = 2;
     * @return The script.
     */
    java.lang.String getScript();
    /**
     * string script = 2;
     * @return The bytes for script.
     */
    com.google.protobuf.ByteString
        getScriptBytes();

    /**
     * map<string, .Ydb.TypedValue> parameters = 3;
     */
    int getParametersCount();
    /**
     * map<string, .Ydb.TypedValue> parameters = 3;
     */
    boolean containsParameters(
        java.lang.String key);
    /**
     * Use {@link #getParametersMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map
    getParameters();
    /**
     * map<string, .Ydb.TypedValue> parameters = 3;
     */
    java.util.Map
    getParametersMap();
    /**
     * map<string, .Ydb.TypedValue> parameters = 3;
     */

    com.yandex.ydb.ValueProtos.TypedValue getParametersOrDefault(
        java.lang.String key,
        com.yandex.ydb.ValueProtos.TypedValue defaultValue);
    /**
     * map<string, .Ydb.TypedValue> parameters = 3;
     */

    com.yandex.ydb.ValueProtos.TypedValue getParametersOrThrow(
        java.lang.String key);

    /**
     * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4;
     * @return The enum numeric value on the wire for collectStats.
     */
    int getCollectStatsValue();
    /**
     * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4;
     * @return The collectStats.
     */
    com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode getCollectStats();
  }
  /**
   * Protobuf type {@code Ydb.Scripting.ExecuteYqlRequest}
   */
  public static final class ExecuteYqlRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:Ydb.Scripting.ExecuteYqlRequest)
      ExecuteYqlRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ExecuteYqlRequest.newBuilder() to construct.
    private ExecuteYqlRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ExecuteYqlRequest() {
      script_ = "";
      collectStats_ = 0;
    }

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

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

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

              script_ = s;
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                parameters_ = com.google.protobuf.MapField.newMapField(
                    ParametersDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000001;
              }
              com.google.protobuf.MapEntry
              parameters__ = input.readMessage(
                  ParametersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              parameters_.getMutableMap().put(
                  parameters__.getKey(), parameters__.getValue());
              break;
            }
            case 32: {
              int rawValue = input.readEnum();

              collectStats_ = rawValue;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlRequest_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 3:
          return internalGetParameters();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest.class, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest.Builder.class);
    }

    public static final int OPERATION_PARAMS_FIELD_NUMBER = 1;
    private com.yandex.ydb.OperationProtos.OperationParams operationParams_;
    /**
     * .Ydb.Operations.OperationParams operation_params = 1;
     * @return Whether the operationParams field is set.
     */
    @java.lang.Override
    public boolean hasOperationParams() {
      return operationParams_ != null;
    }
    /**
     * .Ydb.Operations.OperationParams operation_params = 1;
     * @return The operationParams.
     */
    @java.lang.Override
    public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() {
      return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
    }
    /**
     * .Ydb.Operations.OperationParams operation_params = 1;
     */
    @java.lang.Override
    public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
      return getOperationParams();
    }

    public static final int SCRIPT_FIELD_NUMBER = 2;
    private volatile java.lang.Object script_;
    /**
     * string script = 2;
     * @return The script.
     */
    @java.lang.Override
    public java.lang.String getScript() {
      java.lang.Object ref = script_;
      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();
        script_ = s;
        return s;
      }
    }
    /**
     * string script = 2;
     * @return The bytes for script.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getScriptBytes() {
      java.lang.Object ref = script_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        script_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PARAMETERS_FIELD_NUMBER = 3;
    private static final class ParametersDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.String, com.yandex.ydb.ValueProtos.TypedValue> defaultEntry =
              com.google.protobuf.MapEntry
              .newDefaultInstance(
                  com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlRequest_ParametersEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "",
                  com.google.protobuf.WireFormat.FieldType.MESSAGE,
                  com.yandex.ydb.ValueProtos.TypedValue.getDefaultInstance());
    }
    private com.google.protobuf.MapField<
        java.lang.String, com.yandex.ydb.ValueProtos.TypedValue> parameters_;
    private com.google.protobuf.MapField
    internalGetParameters() {
      if (parameters_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            ParametersDefaultEntryHolder.defaultEntry);
      }
      return parameters_;
    }

    public int getParametersCount() {
      return internalGetParameters().getMap().size();
    }
    /**
     * map<string, .Ydb.TypedValue> parameters = 3;
     */

    @java.lang.Override
    public boolean containsParameters(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      return internalGetParameters().getMap().containsKey(key);
    }
    /**
     * Use {@link #getParametersMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map getParameters() {
      return getParametersMap();
    }
    /**
     * map<string, .Ydb.TypedValue> parameters = 3;
     */
    @java.lang.Override

    public java.util.Map getParametersMap() {
      return internalGetParameters().getMap();
    }
    /**
     * map<string, .Ydb.TypedValue> parameters = 3;
     */
    @java.lang.Override

    public com.yandex.ydb.ValueProtos.TypedValue getParametersOrDefault(
        java.lang.String key,
        com.yandex.ydb.ValueProtos.TypedValue defaultValue) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map map =
          internalGetParameters().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * map<string, .Ydb.TypedValue> parameters = 3;
     */
    @java.lang.Override

    public com.yandex.ydb.ValueProtos.TypedValue getParametersOrThrow(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map map =
          internalGetParameters().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public static final int COLLECT_STATS_FIELD_NUMBER = 4;
    private int collectStats_;
    /**
     * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4;
     * @return The enum numeric value on the wire for collectStats.
     */
    @java.lang.Override public int getCollectStatsValue() {
      return collectStats_;
    }
    /**
     * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4;
     * @return The collectStats.
     */
    @java.lang.Override public com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode getCollectStats() {
      @SuppressWarnings("deprecation")
      com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode result = com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.valueOf(collectStats_);
      return result == null ? com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.UNRECOGNIZED : result;
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (operationParams_ != null) {
        output.writeMessage(1, getOperationParams());
      }
      if (!getScriptBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, script_);
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeStringMapTo(
          output,
          internalGetParameters(),
          ParametersDefaultEntryHolder.defaultEntry,
          3);
      if (collectStats_ != com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.STATS_COLLECTION_UNSPECIFIED.getNumber()) {
        output.writeEnum(4, collectStats_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (operationParams_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getOperationParams());
      }
      if (!getScriptBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, script_);
      }
      for (java.util.Map.Entry entry
           : internalGetParameters().getMap().entrySet()) {
        com.google.protobuf.MapEntry
        parameters__ = ParametersDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(3, parameters__);
      }
      if (collectStats_ != com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.STATS_COLLECTION_UNSPECIFIED.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(4, collectStats_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest)) {
        return super.equals(obj);
      }
      com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest other = (com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest) obj;

      if (hasOperationParams() != other.hasOperationParams()) return false;
      if (hasOperationParams()) {
        if (!getOperationParams()
            .equals(other.getOperationParams())) return false;
      }
      if (!getScript()
          .equals(other.getScript())) return false;
      if (!internalGetParameters().equals(
          other.internalGetParameters())) return false;
      if (collectStats_ != other.collectStats_) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasOperationParams()) {
        hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER;
        hash = (53 * hash) + getOperationParams().hashCode();
      }
      hash = (37 * hash) + SCRIPT_FIELD_NUMBER;
      hash = (53 * hash) + getScript().hashCode();
      if (!internalGetParameters().getMap().isEmpty()) {
        hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
        hash = (53 * hash) + internalGetParameters().hashCode();
      }
      hash = (37 * hash) + COLLECT_STATS_FIELD_NUMBER;
      hash = (53 * hash) + collectStats_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest 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.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest 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.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code Ydb.Scripting.ExecuteYqlRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:Ydb.Scripting.ExecuteYqlRequest)
        com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlRequest_descriptor;
      }

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 3:
            return internalGetParameters();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 3:
            return internalGetMutableParameters();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest.class, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest.Builder.class);
      }

      // Construct using com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (operationParamsBuilder_ == null) {
          operationParams_ = null;
        } else {
          operationParams_ = null;
          operationParamsBuilder_ = null;
        }
        script_ = "";

        internalGetMutableParameters().clear();
        collectStats_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlRequest_descriptor;
      }

      @java.lang.Override
      public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest getDefaultInstanceForType() {
        return com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest.getDefaultInstance();
      }

      @java.lang.Override
      public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest build() {
        com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest buildPartial() {
        com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest result = new com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest(this);
        int from_bitField0_ = bitField0_;
        if (operationParamsBuilder_ == null) {
          result.operationParams_ = operationParams_;
        } else {
          result.operationParams_ = operationParamsBuilder_.build();
        }
        result.script_ = script_;
        result.parameters_ = internalGetParameters();
        result.parameters_.makeImmutable();
        result.collectStats_ = collectStats_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest) {
          return mergeFrom((com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest other) {
        if (other == com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest.getDefaultInstance()) return this;
        if (other.hasOperationParams()) {
          mergeOperationParams(other.getOperationParams());
        }
        if (!other.getScript().isEmpty()) {
          script_ = other.script_;
          onChanged();
        }
        internalGetMutableParameters().mergeFrom(
            other.internalGetParameters());
        if (other.collectStats_ != 0) {
          setCollectStatsValue(other.getCollectStatsValue());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

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

      private com.yandex.ydb.OperationProtos.OperationParams operationParams_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_;
      /**
       * .Ydb.Operations.OperationParams operation_params = 1;
       * @return Whether the operationParams field is set.
       */
      public boolean hasOperationParams() {
        return operationParamsBuilder_ != null || operationParams_ != null;
      }
      /**
       * .Ydb.Operations.OperationParams operation_params = 1;
       * @return The operationParams.
       */
      public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() {
        if (operationParamsBuilder_ == null) {
          return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
        } else {
          return operationParamsBuilder_.getMessage();
        }
      }
      /**
       * .Ydb.Operations.OperationParams operation_params = 1;
       */
      public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) {
        if (operationParamsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          operationParams_ = value;
          onChanged();
        } else {
          operationParamsBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .Ydb.Operations.OperationParams operation_params = 1;
       */
      public Builder setOperationParams(
          com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) {
        if (operationParamsBuilder_ == null) {
          operationParams_ = builderForValue.build();
          onChanged();
        } else {
          operationParamsBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .Ydb.Operations.OperationParams operation_params = 1;
       */
      public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) {
        if (operationParamsBuilder_ == null) {
          if (operationParams_ != null) {
            operationParams_ =
              com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial();
          } else {
            operationParams_ = value;
          }
          onChanged();
        } else {
          operationParamsBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .Ydb.Operations.OperationParams operation_params = 1;
       */
      public Builder clearOperationParams() {
        if (operationParamsBuilder_ == null) {
          operationParams_ = null;
          onChanged();
        } else {
          operationParams_ = null;
          operationParamsBuilder_ = null;
        }

        return this;
      }
      /**
       * .Ydb.Operations.OperationParams operation_params = 1;
       */
      public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() {
        
        onChanged();
        return getOperationParamsFieldBuilder().getBuilder();
      }
      /**
       * .Ydb.Operations.OperationParams operation_params = 1;
       */
      public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
        if (operationParamsBuilder_ != null) {
          return operationParamsBuilder_.getMessageOrBuilder();
        } else {
          return operationParams_ == null ?
              com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
        }
      }
      /**
       * .Ydb.Operations.OperationParams operation_params = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> 
          getOperationParamsFieldBuilder() {
        if (operationParamsBuilder_ == null) {
          operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder>(
                  getOperationParams(),
                  getParentForChildren(),
                  isClean());
          operationParams_ = null;
        }
        return operationParamsBuilder_;
      }

      private java.lang.Object script_ = "";
      /**
       * string script = 2;
       * @return The script.
       */
      public java.lang.String getScript() {
        java.lang.Object ref = script_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          script_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string script = 2;
       * @return The bytes for script.
       */
      public com.google.protobuf.ByteString
          getScriptBytes() {
        java.lang.Object ref = script_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          script_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string script = 2;
       * @param value The script to set.
       * @return This builder for chaining.
       */
      public Builder setScript(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        script_ = value;
        onChanged();
        return this;
      }
      /**
       * string script = 2;
       * @return This builder for chaining.
       */
      public Builder clearScript() {
        
        script_ = getDefaultInstance().getScript();
        onChanged();
        return this;
      }
      /**
       * string script = 2;
       * @param value The bytes for script to set.
       * @return This builder for chaining.
       */
      public Builder setScriptBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        script_ = value;
        onChanged();
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.String, com.yandex.ydb.ValueProtos.TypedValue> parameters_;
      private com.google.protobuf.MapField
      internalGetParameters() {
        if (parameters_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              ParametersDefaultEntryHolder.defaultEntry);
        }
        return parameters_;
      }
      private com.google.protobuf.MapField
      internalGetMutableParameters() {
        onChanged();;
        if (parameters_ == null) {
          parameters_ = com.google.protobuf.MapField.newMapField(
              ParametersDefaultEntryHolder.defaultEntry);
        }
        if (!parameters_.isMutable()) {
          parameters_ = parameters_.copy();
        }
        return parameters_;
      }

      public int getParametersCount() {
        return internalGetParameters().getMap().size();
      }
      /**
       * map<string, .Ydb.TypedValue> parameters = 3;
       */

      @java.lang.Override
      public boolean containsParameters(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        return internalGetParameters().getMap().containsKey(key);
      }
      /**
       * Use {@link #getParametersMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map getParameters() {
        return getParametersMap();
      }
      /**
       * map<string, .Ydb.TypedValue> parameters = 3;
       */
      @java.lang.Override

      public java.util.Map getParametersMap() {
        return internalGetParameters().getMap();
      }
      /**
       * map<string, .Ydb.TypedValue> parameters = 3;
       */
      @java.lang.Override

      public com.yandex.ydb.ValueProtos.TypedValue getParametersOrDefault(
          java.lang.String key,
          com.yandex.ydb.ValueProtos.TypedValue defaultValue) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        java.util.Map map =
            internalGetParameters().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * map<string, .Ydb.TypedValue> parameters = 3;
       */
      @java.lang.Override

      public com.yandex.ydb.ValueProtos.TypedValue getParametersOrThrow(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        java.util.Map map =
            internalGetParameters().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }

      public Builder clearParameters() {
        internalGetMutableParameters().getMutableMap()
            .clear();
        return this;
      }
      /**
       * map<string, .Ydb.TypedValue> parameters = 3;
       */

      public Builder removeParameters(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        internalGetMutableParameters().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map
      getMutableParameters() {
        return internalGetMutableParameters().getMutableMap();
      }
      /**
       * map<string, .Ydb.TypedValue> parameters = 3;
       */
      public Builder putParameters(
          java.lang.String key,
          com.yandex.ydb.ValueProtos.TypedValue value) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        if (value == null) { throw new java.lang.NullPointerException(); }
        internalGetMutableParameters().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * map<string, .Ydb.TypedValue> parameters = 3;
       */

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

      private int collectStats_ = 0;
      /**
       * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4;
       * @return The enum numeric value on the wire for collectStats.
       */
      @java.lang.Override public int getCollectStatsValue() {
        return collectStats_;
      }
      /**
       * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4;
       * @param value The enum numeric value on the wire for collectStats to set.
       * @return This builder for chaining.
       */
      public Builder setCollectStatsValue(int value) {
        
        collectStats_ = value;
        onChanged();
        return this;
      }
      /**
       * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4;
       * @return The collectStats.
       */
      @java.lang.Override
      public com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode getCollectStats() {
        @SuppressWarnings("deprecation")
        com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode result = com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.valueOf(collectStats_);
        return result == null ? com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode.UNRECOGNIZED : result;
      }
      /**
       * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4;
       * @param value The collectStats to set.
       * @return This builder for chaining.
       */
      public Builder setCollectStats(com.yandex.ydb.table.YdbTable.QueryStatsCollection.Mode value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        collectStats_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .Ydb.Table.QueryStatsCollection.Mode collect_stats = 4;
       * @return This builder for chaining.
       */
      public Builder clearCollectStats() {
        
        collectStats_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:Ydb.Scripting.ExecuteYqlRequest)
    }

    // @@protoc_insertion_point(class_scope:Ydb.Scripting.ExecuteYqlRequest)
    private static final com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest();
    }

    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ExecuteYqlResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:Ydb.Scripting.ExecuteYqlResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .Ydb.Operations.Operation operation = 1;
     * @return Whether the operation field is set.
     */
    boolean hasOperation();
    /**
     * .Ydb.Operations.Operation operation = 1;
     * @return The operation.
     */
    com.yandex.ydb.OperationProtos.Operation getOperation();
    /**
     * .Ydb.Operations.Operation operation = 1;
     */
    com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder();
  }
  /**
   * Protobuf type {@code Ydb.Scripting.ExecuteYqlResponse}
   */
  public static final class ExecuteYqlResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:Ydb.Scripting.ExecuteYqlResponse)
      ExecuteYqlResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ExecuteYqlResponse.newBuilder() to construct.
    private ExecuteYqlResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ExecuteYqlResponse() {
    }

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

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

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse.class, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse.Builder.class);
    }

    public static final int OPERATION_FIELD_NUMBER = 1;
    private com.yandex.ydb.OperationProtos.Operation operation_;
    /**
     * .Ydb.Operations.Operation operation = 1;
     * @return Whether the operation field is set.
     */
    @java.lang.Override
    public boolean hasOperation() {
      return operation_ != null;
    }
    /**
     * .Ydb.Operations.Operation operation = 1;
     * @return The operation.
     */
    @java.lang.Override
    public com.yandex.ydb.OperationProtos.Operation getOperation() {
      return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_;
    }
    /**
     * .Ydb.Operations.Operation operation = 1;
     */
    @java.lang.Override
    public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
      return getOperation();
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (operation_ != null) {
        output.writeMessage(1, getOperation());
      }
      unknownFields.writeTo(output);
    }

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

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

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse)) {
        return super.equals(obj);
      }
      com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse other = (com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse) obj;

      if (hasOperation() != other.hasOperation()) return false;
      if (hasOperation()) {
        if (!getOperation()
            .equals(other.getOperation())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

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

    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse 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.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse 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.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code Ydb.Scripting.ExecuteYqlResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:Ydb.Scripting.ExecuteYqlResponse)
        com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlResponse_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse.class, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse.Builder.class);
      }

      // Construct using com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlResponse_descriptor;
      }

      @java.lang.Override
      public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse getDefaultInstanceForType() {
        return com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse.getDefaultInstance();
      }

      @java.lang.Override
      public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse build() {
        com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse buildPartial() {
        com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse result = new com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse(this);
        if (operationBuilder_ == null) {
          result.operation_ = operation_;
        } else {
          result.operation_ = operationBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse) {
          return mergeFrom((com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse other) {
        if (other == com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse.getDefaultInstance()) return this;
        if (other.hasOperation()) {
          mergeOperation(other.getOperation());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

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

      private com.yandex.ydb.OperationProtos.Operation operation_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_;
      /**
       * .Ydb.Operations.Operation operation = 1;
       * @return Whether the operation field is set.
       */
      public boolean hasOperation() {
        return operationBuilder_ != null || operation_ != null;
      }
      /**
       * .Ydb.Operations.Operation operation = 1;
       * @return The operation.
       */
      public com.yandex.ydb.OperationProtos.Operation getOperation() {
        if (operationBuilder_ == null) {
          return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_;
        } else {
          return operationBuilder_.getMessage();
        }
      }
      /**
       * .Ydb.Operations.Operation operation = 1;
       */
      public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) {
        if (operationBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          operation_ = value;
          onChanged();
        } else {
          operationBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .Ydb.Operations.Operation operation = 1;
       */
      public Builder setOperation(
          com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) {
        if (operationBuilder_ == null) {
          operation_ = builderForValue.build();
          onChanged();
        } else {
          operationBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .Ydb.Operations.Operation operation = 1;
       */
      public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) {
        if (operationBuilder_ == null) {
          if (operation_ != null) {
            operation_ =
              com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial();
          } else {
            operation_ = value;
          }
          onChanged();
        } else {
          operationBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .Ydb.Operations.Operation operation = 1;
       */
      public Builder clearOperation() {
        if (operationBuilder_ == null) {
          operation_ = null;
          onChanged();
        } else {
          operation_ = null;
          operationBuilder_ = null;
        }

        return this;
      }
      /**
       * .Ydb.Operations.Operation operation = 1;
       */
      public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() {
        
        onChanged();
        return getOperationFieldBuilder().getBuilder();
      }
      /**
       * .Ydb.Operations.Operation operation = 1;
       */
      public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
        if (operationBuilder_ != null) {
          return operationBuilder_.getMessageOrBuilder();
        } else {
          return operation_ == null ?
              com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_;
        }
      }
      /**
       * .Ydb.Operations.Operation operation = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> 
          getOperationFieldBuilder() {
        if (operationBuilder_ == null) {
          operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder>(
                  getOperation(),
                  getParentForChildren(),
                  isClean());
          operation_ = null;
        }
        return operationBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:Ydb.Scripting.ExecuteYqlResponse)
    }

    // @@protoc_insertion_point(class_scope:Ydb.Scripting.ExecuteYqlResponse)
    private static final com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse();
    }

    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ExecuteYqlResultOrBuilder extends
      // @@protoc_insertion_point(interface_extends:Ydb.Scripting.ExecuteYqlResult)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .Ydb.ResultSet result_sets = 1;
     */
    java.util.List 
        getResultSetsList();
    /**
     * repeated .Ydb.ResultSet result_sets = 1;
     */
    com.yandex.ydb.ValueProtos.ResultSet getResultSets(int index);
    /**
     * repeated .Ydb.ResultSet result_sets = 1;
     */
    int getResultSetsCount();
    /**
     * repeated .Ydb.ResultSet result_sets = 1;
     */
    java.util.List 
        getResultSetsOrBuilderList();
    /**
     * repeated .Ydb.ResultSet result_sets = 1;
     */
    com.yandex.ydb.ValueProtos.ResultSetOrBuilder getResultSetsOrBuilder(
        int index);

    /**
     * .Ydb.TableStats.QueryStats query_stats = 2;
     * @return Whether the queryStats field is set.
     */
    boolean hasQueryStats();
    /**
     * .Ydb.TableStats.QueryStats query_stats = 2;
     * @return The queryStats.
     */
    com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats();
    /**
     * .Ydb.TableStats.QueryStats query_stats = 2;
     */
    com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder();
  }
  /**
   * Protobuf type {@code Ydb.Scripting.ExecuteYqlResult}
   */
  public static final class ExecuteYqlResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:Ydb.Scripting.ExecuteYqlResult)
      ExecuteYqlResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ExecuteYqlResult.newBuilder() to construct.
    private ExecuteYqlResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ExecuteYqlResult() {
      resultSets_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ExecuteYqlResult(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                resultSets_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              resultSets_.add(
                  input.readMessage(com.yandex.ydb.ValueProtos.ResultSet.parser(), extensionRegistry));
              break;
            }
            case 18: {
              com.yandex.ydb.YdbQueryStats.QueryStats.Builder subBuilder = null;
              if (queryStats_ != null) {
                subBuilder = queryStats_.toBuilder();
              }
              queryStats_ = input.readMessage(com.yandex.ydb.YdbQueryStats.QueryStats.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(queryStats_);
                queryStats_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          resultSets_ = java.util.Collections.unmodifiableList(resultSets_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlResult_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult.class, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult.Builder.class);
    }

    public static final int RESULT_SETS_FIELD_NUMBER = 1;
    private java.util.List resultSets_;
    /**
     * repeated .Ydb.ResultSet result_sets = 1;
     */
    @java.lang.Override
    public java.util.List getResultSetsList() {
      return resultSets_;
    }
    /**
     * repeated .Ydb.ResultSet result_sets = 1;
     */
    @java.lang.Override
    public java.util.List 
        getResultSetsOrBuilderList() {
      return resultSets_;
    }
    /**
     * repeated .Ydb.ResultSet result_sets = 1;
     */
    @java.lang.Override
    public int getResultSetsCount() {
      return resultSets_.size();
    }
    /**
     * repeated .Ydb.ResultSet result_sets = 1;
     */
    @java.lang.Override
    public com.yandex.ydb.ValueProtos.ResultSet getResultSets(int index) {
      return resultSets_.get(index);
    }
    /**
     * repeated .Ydb.ResultSet result_sets = 1;
     */
    @java.lang.Override
    public com.yandex.ydb.ValueProtos.ResultSetOrBuilder getResultSetsOrBuilder(
        int index) {
      return resultSets_.get(index);
    }

    public static final int QUERY_STATS_FIELD_NUMBER = 2;
    private com.yandex.ydb.YdbQueryStats.QueryStats queryStats_;
    /**
     * .Ydb.TableStats.QueryStats query_stats = 2;
     * @return Whether the queryStats field is set.
     */
    @java.lang.Override
    public boolean hasQueryStats() {
      return queryStats_ != null;
    }
    /**
     * .Ydb.TableStats.QueryStats query_stats = 2;
     * @return The queryStats.
     */
    @java.lang.Override
    public com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats() {
      return queryStats_ == null ? com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_;
    }
    /**
     * .Ydb.TableStats.QueryStats query_stats = 2;
     */
    @java.lang.Override
    public com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() {
      return getQueryStats();
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < resultSets_.size(); i++) {
        output.writeMessage(1, resultSets_.get(i));
      }
      if (queryStats_ != null) {
        output.writeMessage(2, getQueryStats());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < resultSets_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, resultSets_.get(i));
      }
      if (queryStats_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getQueryStats());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult)) {
        return super.equals(obj);
      }
      com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult other = (com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult) obj;

      if (!getResultSetsList()
          .equals(other.getResultSetsList())) return false;
      if (hasQueryStats() != other.hasQueryStats()) return false;
      if (hasQueryStats()) {
        if (!getQueryStats()
            .equals(other.getQueryStats())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getResultSetsCount() > 0) {
        hash = (37 * hash) + RESULT_SETS_FIELD_NUMBER;
        hash = (53 * hash) + getResultSetsList().hashCode();
      }
      if (hasQueryStats()) {
        hash = (37 * hash) + QUERY_STATS_FIELD_NUMBER;
        hash = (53 * hash) + getQueryStats().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult 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.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult 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.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code Ydb.Scripting.ExecuteYqlResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:Ydb.Scripting.ExecuteYqlResult)
        com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlResult_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlResult_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult.class, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult.Builder.class);
      }

      // Construct using com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlResult_descriptor;
      }

      @java.lang.Override
      public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult getDefaultInstanceForType() {
        return com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult.getDefaultInstance();
      }

      @java.lang.Override
      public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult build() {
        com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult buildPartial() {
        com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult result = new com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult(this);
        int from_bitField0_ = bitField0_;
        if (resultSetsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            resultSets_ = java.util.Collections.unmodifiableList(resultSets_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.resultSets_ = resultSets_;
        } else {
          result.resultSets_ = resultSetsBuilder_.build();
        }
        if (queryStatsBuilder_ == null) {
          result.queryStats_ = queryStats_;
        } else {
          result.queryStats_ = queryStatsBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult) {
          return mergeFrom((com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult other) {
        if (other == com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult.getDefaultInstance()) return this;
        if (resultSetsBuilder_ == null) {
          if (!other.resultSets_.isEmpty()) {
            if (resultSets_.isEmpty()) {
              resultSets_ = other.resultSets_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureResultSetsIsMutable();
              resultSets_.addAll(other.resultSets_);
            }
            onChanged();
          }
        } else {
          if (!other.resultSets_.isEmpty()) {
            if (resultSetsBuilder_.isEmpty()) {
              resultSetsBuilder_.dispose();
              resultSetsBuilder_ = null;
              resultSets_ = other.resultSets_;
              bitField0_ = (bitField0_ & ~0x00000001);
              resultSetsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getResultSetsFieldBuilder() : null;
            } else {
              resultSetsBuilder_.addAllMessages(other.resultSets_);
            }
          }
        }
        if (other.hasQueryStats()) {
          mergeQueryStats(other.getQueryStats());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

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

      private java.util.List resultSets_ =
        java.util.Collections.emptyList();
      private void ensureResultSetsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          resultSets_ = new java.util.ArrayList(resultSets_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.ValueProtos.ResultSetOrBuilder> resultSetsBuilder_;

      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public java.util.List getResultSetsList() {
        if (resultSetsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(resultSets_);
        } else {
          return resultSetsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public int getResultSetsCount() {
        if (resultSetsBuilder_ == null) {
          return resultSets_.size();
        } else {
          return resultSetsBuilder_.getCount();
        }
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public com.yandex.ydb.ValueProtos.ResultSet getResultSets(int index) {
        if (resultSetsBuilder_ == null) {
          return resultSets_.get(index);
        } else {
          return resultSetsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public Builder setResultSets(
          int index, com.yandex.ydb.ValueProtos.ResultSet value) {
        if (resultSetsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureResultSetsIsMutable();
          resultSets_.set(index, value);
          onChanged();
        } else {
          resultSetsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public Builder setResultSets(
          int index, com.yandex.ydb.ValueProtos.ResultSet.Builder builderForValue) {
        if (resultSetsBuilder_ == null) {
          ensureResultSetsIsMutable();
          resultSets_.set(index, builderForValue.build());
          onChanged();
        } else {
          resultSetsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public Builder addResultSets(com.yandex.ydb.ValueProtos.ResultSet value) {
        if (resultSetsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureResultSetsIsMutable();
          resultSets_.add(value);
          onChanged();
        } else {
          resultSetsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public Builder addResultSets(
          int index, com.yandex.ydb.ValueProtos.ResultSet value) {
        if (resultSetsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureResultSetsIsMutable();
          resultSets_.add(index, value);
          onChanged();
        } else {
          resultSetsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public Builder addResultSets(
          com.yandex.ydb.ValueProtos.ResultSet.Builder builderForValue) {
        if (resultSetsBuilder_ == null) {
          ensureResultSetsIsMutable();
          resultSets_.add(builderForValue.build());
          onChanged();
        } else {
          resultSetsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public Builder addResultSets(
          int index, com.yandex.ydb.ValueProtos.ResultSet.Builder builderForValue) {
        if (resultSetsBuilder_ == null) {
          ensureResultSetsIsMutable();
          resultSets_.add(index, builderForValue.build());
          onChanged();
        } else {
          resultSetsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public Builder addAllResultSets(
          java.lang.Iterable values) {
        if (resultSetsBuilder_ == null) {
          ensureResultSetsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, resultSets_);
          onChanged();
        } else {
          resultSetsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public Builder clearResultSets() {
        if (resultSetsBuilder_ == null) {
          resultSets_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          resultSetsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public Builder removeResultSets(int index) {
        if (resultSetsBuilder_ == null) {
          ensureResultSetsIsMutable();
          resultSets_.remove(index);
          onChanged();
        } else {
          resultSetsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public com.yandex.ydb.ValueProtos.ResultSet.Builder getResultSetsBuilder(
          int index) {
        return getResultSetsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public com.yandex.ydb.ValueProtos.ResultSetOrBuilder getResultSetsOrBuilder(
          int index) {
        if (resultSetsBuilder_ == null) {
          return resultSets_.get(index);  } else {
          return resultSetsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public java.util.List 
           getResultSetsOrBuilderList() {
        if (resultSetsBuilder_ != null) {
          return resultSetsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(resultSets_);
        }
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public com.yandex.ydb.ValueProtos.ResultSet.Builder addResultSetsBuilder() {
        return getResultSetsFieldBuilder().addBuilder(
            com.yandex.ydb.ValueProtos.ResultSet.getDefaultInstance());
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public com.yandex.ydb.ValueProtos.ResultSet.Builder addResultSetsBuilder(
          int index) {
        return getResultSetsFieldBuilder().addBuilder(
            index, com.yandex.ydb.ValueProtos.ResultSet.getDefaultInstance());
      }
      /**
       * repeated .Ydb.ResultSet result_sets = 1;
       */
      public java.util.List 
           getResultSetsBuilderList() {
        return getResultSetsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.ValueProtos.ResultSetOrBuilder> 
          getResultSetsFieldBuilder() {
        if (resultSetsBuilder_ == null) {
          resultSetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.ValueProtos.ResultSetOrBuilder>(
                  resultSets_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          resultSets_ = null;
        }
        return resultSetsBuilder_;
      }

      private com.yandex.ydb.YdbQueryStats.QueryStats queryStats_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder> queryStatsBuilder_;
      /**
       * .Ydb.TableStats.QueryStats query_stats = 2;
       * @return Whether the queryStats field is set.
       */
      public boolean hasQueryStats() {
        return queryStatsBuilder_ != null || queryStats_ != null;
      }
      /**
       * .Ydb.TableStats.QueryStats query_stats = 2;
       * @return The queryStats.
       */
      public com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats() {
        if (queryStatsBuilder_ == null) {
          return queryStats_ == null ? com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_;
        } else {
          return queryStatsBuilder_.getMessage();
        }
      }
      /**
       * .Ydb.TableStats.QueryStats query_stats = 2;
       */
      public Builder setQueryStats(com.yandex.ydb.YdbQueryStats.QueryStats value) {
        if (queryStatsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          queryStats_ = value;
          onChanged();
        } else {
          queryStatsBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .Ydb.TableStats.QueryStats query_stats = 2;
       */
      public Builder setQueryStats(
          com.yandex.ydb.YdbQueryStats.QueryStats.Builder builderForValue) {
        if (queryStatsBuilder_ == null) {
          queryStats_ = builderForValue.build();
          onChanged();
        } else {
          queryStatsBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .Ydb.TableStats.QueryStats query_stats = 2;
       */
      public Builder mergeQueryStats(com.yandex.ydb.YdbQueryStats.QueryStats value) {
        if (queryStatsBuilder_ == null) {
          if (queryStats_ != null) {
            queryStats_ =
              com.yandex.ydb.YdbQueryStats.QueryStats.newBuilder(queryStats_).mergeFrom(value).buildPartial();
          } else {
            queryStats_ = value;
          }
          onChanged();
        } else {
          queryStatsBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .Ydb.TableStats.QueryStats query_stats = 2;
       */
      public Builder clearQueryStats() {
        if (queryStatsBuilder_ == null) {
          queryStats_ = null;
          onChanged();
        } else {
          queryStats_ = null;
          queryStatsBuilder_ = null;
        }

        return this;
      }
      /**
       * .Ydb.TableStats.QueryStats query_stats = 2;
       */
      public com.yandex.ydb.YdbQueryStats.QueryStats.Builder getQueryStatsBuilder() {
        
        onChanged();
        return getQueryStatsFieldBuilder().getBuilder();
      }
      /**
       * .Ydb.TableStats.QueryStats query_stats = 2;
       */
      public com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() {
        if (queryStatsBuilder_ != null) {
          return queryStatsBuilder_.getMessageOrBuilder();
        } else {
          return queryStats_ == null ?
              com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_;
        }
      }
      /**
       * .Ydb.TableStats.QueryStats query_stats = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder> 
          getQueryStatsFieldBuilder() {
        if (queryStatsBuilder_ == null) {
          queryStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder>(
                  getQueryStats(),
                  getParentForChildren(),
                  isClean());
          queryStats_ = null;
        }
        return queryStatsBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:Ydb.Scripting.ExecuteYqlResult)
    }

    // @@protoc_insertion_point(class_scope:Ydb.Scripting.ExecuteYqlResult)
    private static final com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult();
    }

    public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlResult getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ExecuteYqlPartialResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:Ydb.Scripting.ExecuteYqlPartialResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .Ydb.StatusIds.StatusCode status = 1;
     * @return The enum numeric value on the wire for status.
     */
    int getStatusValue();
    /**
     * .Ydb.StatusIds.StatusCode status = 1;
     * @return The status.
     */
    com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode getStatus();

    /**
     * repeated .Ydb.Issue.IssueMessage issues = 2;
     */
    java.util.List 
        getIssuesList();
    /**
     * repeated .Ydb.Issue.IssueMessage issues = 2;
     */
    com.yandex.ydb.YdbIssueMessage.IssueMessage getIssues(int index);
    /**
     * repeated .Ydb.Issue.IssueMessage issues = 2;
     */
    int getIssuesCount();
    /**
     * repeated .Ydb.Issue.IssueMessage issues = 2;
     */
    java.util.List 
        getIssuesOrBuilderList();
    /**
     * repeated .Ydb.Issue.IssueMessage issues = 2;
     */
    com.yandex.ydb.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder(
        int index);

    /**
     * .Ydb.Scripting.ExecuteYqlPartialResult result = 3;
     * @return Whether the result field is set.
     */
    boolean hasResult();
    /**
     * .Ydb.Scripting.ExecuteYqlPartialResult result = 3;
     * @return The result.
     */
    com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult getResult();
    /**
     * .Ydb.Scripting.ExecuteYqlPartialResult result = 3;
     */
    com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResultOrBuilder getResultOrBuilder();
  }
  /**
   * 
   * Response for StreamExecuteYql is a stream of ExecuteYqlPartialResponse messages.
   * These responses can contain ExecuteYqlPartialResult messages with
   * results (or result parts) for data or scan queries in the script.
   * YqlScript can have multiple results (result sets).
   * Each result set has an index (starting at 0).
   * 
* * Protobuf type {@code Ydb.Scripting.ExecuteYqlPartialResponse} */ public static final class ExecuteYqlPartialResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Scripting.ExecuteYqlPartialResponse) ExecuteYqlPartialResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteYqlPartialResponse.newBuilder() to construct. private ExecuteYqlPartialResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecuteYqlPartialResponse() { status_ = 0; issues_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteYqlPartialResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExecuteYqlPartialResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { issues_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } issues_.add( input.readMessage(com.yandex.ydb.YdbIssueMessage.IssueMessage.parser(), extensionRegistry)); break; } case 26: { com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.Builder subBuilder = null; if (result_ != null) { subBuilder = result_.toBuilder(); } result_ = input.readMessage(com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(result_); result_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlPartialResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlPartialResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse.class, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private int status_; /** * .Ydb.StatusIds.StatusCode status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** * .Ydb.StatusIds.StatusCode status = 1; * @return The status. */ @java.lang.Override public com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode getStatus() { @SuppressWarnings("deprecation") com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode result = com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode.valueOf(status_); return result == null ? com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode.UNRECOGNIZED : result; } public static final int ISSUES_FIELD_NUMBER = 2; private java.util.List issues_; /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public java.util.List getIssuesList() { return issues_; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public java.util.List getIssuesOrBuilderList() { return issues_; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public int getIssuesCount() { return issues_.size(); } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public com.yandex.ydb.YdbIssueMessage.IssueMessage getIssues(int index) { return issues_.get(index); } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ @java.lang.Override public com.yandex.ydb.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder( int index) { return issues_.get(index); } public static final int RESULT_FIELD_NUMBER = 3; private com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult result_; /** * .Ydb.Scripting.ExecuteYqlPartialResult result = 3; * @return Whether the result field is set. */ @java.lang.Override public boolean hasResult() { return result_ != null; } /** * .Ydb.Scripting.ExecuteYqlPartialResult result = 3; * @return The result. */ @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult getResult() { return result_ == null ? com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.getDefaultInstance() : result_; } /** * .Ydb.Scripting.ExecuteYqlPartialResult result = 3; */ @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResultOrBuilder getResultOrBuilder() { return getResult(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (status_ != com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode.STATUS_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, status_); } for (int i = 0; i < issues_.size(); i++) { output.writeMessage(2, issues_.get(i)); } if (result_ != null) { output.writeMessage(3, getResult()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode.STATUS_CODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, status_); } for (int i = 0; i < issues_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, issues_.get(i)); } if (result_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse)) { return super.equals(obj); } com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse other = (com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse) obj; if (status_ != other.status_) return false; if (!getIssuesList() .equals(other.getIssuesList())) return false; if (hasResult() != other.hasResult()) return false; if (hasResult()) { if (!getResult() .equals(other.getResult())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (getIssuesCount() > 0) { hash = (37 * hash) + ISSUES_FIELD_NUMBER; hash = (53 * hash) + getIssuesList().hashCode(); } if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + getResult().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse 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.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse 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.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Response for StreamExecuteYql is a stream of ExecuteYqlPartialResponse messages.
     * These responses can contain ExecuteYqlPartialResult messages with
     * results (or result parts) for data or scan queries in the script.
     * YqlScript can have multiple results (result sets).
     * Each result set has an index (starting at 0).
     * 
* * Protobuf type {@code Ydb.Scripting.ExecuteYqlPartialResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Scripting.ExecuteYqlPartialResponse) com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlPartialResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlPartialResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse.class, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse.Builder.class); } // Construct using com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getIssuesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); status_ = 0; if (issuesBuilder_ == null) { issues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { issuesBuilder_.clear(); } if (resultBuilder_ == null) { result_ = null; } else { result_ = null; resultBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlPartialResponse_descriptor; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse getDefaultInstanceForType() { return com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse build() { com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse buildPartial() { com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse result = new com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse(this); int from_bitField0_ = bitField0_; result.status_ = status_; if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); bitField0_ = (bitField0_ & ~0x00000001); } result.issues_ = issues_; } else { result.issues_ = issuesBuilder_.build(); } if (resultBuilder_ == null) { result.result_ = result_; } else { result.result_ = resultBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse) { return mergeFrom((com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse other) { if (other == com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (issuesBuilder_ == null) { if (!other.issues_.isEmpty()) { if (issues_.isEmpty()) { issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureIssuesIsMutable(); issues_.addAll(other.issues_); } onChanged(); } } else { if (!other.issues_.isEmpty()) { if (issuesBuilder_.isEmpty()) { issuesBuilder_.dispose(); issuesBuilder_ = null; issues_ = other.issues_; bitField0_ = (bitField0_ & ~0x00000001); issuesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getIssuesFieldBuilder() : null; } else { issuesBuilder_.addAllMessages(other.issues_); } } } if (other.hasResult()) { mergeResult(other.getResult()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int status_ = 0; /** * .Ydb.StatusIds.StatusCode status = 1; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** * .Ydb.StatusIds.StatusCode status = 1; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** * .Ydb.StatusIds.StatusCode status = 1; * @return The status. */ @java.lang.Override public com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode getStatus() { @SuppressWarnings("deprecation") com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode result = com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode.valueOf(status_); return result == null ? com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode.UNRECOGNIZED : result; } /** * .Ydb.StatusIds.StatusCode status = 1; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(com.yandex.ydb.StatusCodesProtos.StatusIds.StatusCode value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.StatusIds.StatusCode status = 1; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } private java.util.List issues_ = java.util.Collections.emptyList(); private void ensureIssuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { issues_ = new java.util.ArrayList(issues_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.YdbIssueMessage.IssueMessage, com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder, com.yandex.ydb.YdbIssueMessage.IssueMessageOrBuilder> issuesBuilder_; /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public java.util.List getIssuesList() { if (issuesBuilder_ == null) { return java.util.Collections.unmodifiableList(issues_); } else { return issuesBuilder_.getMessageList(); } } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public int getIssuesCount() { if (issuesBuilder_ == null) { return issues_.size(); } else { return issuesBuilder_.getCount(); } } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public com.yandex.ydb.YdbIssueMessage.IssueMessage getIssues(int index) { if (issuesBuilder_ == null) { return issues_.get(index); } else { return issuesBuilder_.getMessage(index); } } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder setIssues( int index, com.yandex.ydb.YdbIssueMessage.IssueMessage value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.set(index, value); onChanged(); } else { issuesBuilder_.setMessage(index, value); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder setIssues( int index, com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.set(index, builderForValue.build()); onChanged(); } else { issuesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues(com.yandex.ydb.YdbIssueMessage.IssueMessage value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.add(value); onChanged(); } else { issuesBuilder_.addMessage(value); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues( int index, com.yandex.ydb.YdbIssueMessage.IssueMessage value) { if (issuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureIssuesIsMutable(); issues_.add(index, value); onChanged(); } else { issuesBuilder_.addMessage(index, value); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues( com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(builderForValue.build()); onChanged(); } else { issuesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addIssues( int index, com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder builderForValue) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.add(index, builderForValue.build()); onChanged(); } else { issuesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder addAllIssues( java.lang.Iterable values) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, issues_); onChanged(); } else { issuesBuilder_.addAllMessages(values); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder clearIssues() { if (issuesBuilder_ == null) { issues_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { issuesBuilder_.clear(); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public Builder removeIssues(int index) { if (issuesBuilder_ == null) { ensureIssuesIsMutable(); issues_.remove(index); onChanged(); } else { issuesBuilder_.remove(index); } return this; } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder getIssuesBuilder( int index) { return getIssuesFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public com.yandex.ydb.YdbIssueMessage.IssueMessageOrBuilder getIssuesOrBuilder( int index) { if (issuesBuilder_ == null) { return issues_.get(index); } else { return issuesBuilder_.getMessageOrBuilder(index); } } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public java.util.List getIssuesOrBuilderList() { if (issuesBuilder_ != null) { return issuesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(issues_); } } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder addIssuesBuilder() { return getIssuesFieldBuilder().addBuilder( com.yandex.ydb.YdbIssueMessage.IssueMessage.getDefaultInstance()); } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder addIssuesBuilder( int index) { return getIssuesFieldBuilder().addBuilder( index, com.yandex.ydb.YdbIssueMessage.IssueMessage.getDefaultInstance()); } /** * repeated .Ydb.Issue.IssueMessage issues = 2; */ public java.util.List getIssuesBuilderList() { return getIssuesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.YdbIssueMessage.IssueMessage, com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder, com.yandex.ydb.YdbIssueMessage.IssueMessageOrBuilder> getIssuesFieldBuilder() { if (issuesBuilder_ == null) { issuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.yandex.ydb.YdbIssueMessage.IssueMessage, com.yandex.ydb.YdbIssueMessage.IssueMessage.Builder, com.yandex.ydb.YdbIssueMessage.IssueMessageOrBuilder>( issues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); issues_ = null; } return issuesBuilder_; } private com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult result_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.Builder, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResultOrBuilder> resultBuilder_; /** * .Ydb.Scripting.ExecuteYqlPartialResult result = 3; * @return Whether the result field is set. */ public boolean hasResult() { return resultBuilder_ != null || result_ != null; } /** * .Ydb.Scripting.ExecuteYqlPartialResult result = 3; * @return The result. */ public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult getResult() { if (resultBuilder_ == null) { return result_ == null ? com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** * .Ydb.Scripting.ExecuteYqlPartialResult result = 3; */ public Builder setResult(com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult value) { if (resultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; onChanged(); } else { resultBuilder_.setMessage(value); } return this; } /** * .Ydb.Scripting.ExecuteYqlPartialResult result = 3; */ public Builder setResult( com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); } else { resultBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Scripting.ExecuteYqlPartialResult result = 3; */ public Builder mergeResult(com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult value) { if (resultBuilder_ == null) { if (result_ != null) { result_ = com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.newBuilder(result_).mergeFrom(value).buildPartial(); } else { result_ = value; } onChanged(); } else { resultBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Scripting.ExecuteYqlPartialResult result = 3; */ public Builder clearResult() { if (resultBuilder_ == null) { result_ = null; onChanged(); } else { result_ = null; resultBuilder_ = null; } return this; } /** * .Ydb.Scripting.ExecuteYqlPartialResult result = 3; */ public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.Builder getResultBuilder() { onChanged(); return getResultFieldBuilder().getBuilder(); } /** * .Ydb.Scripting.ExecuteYqlPartialResult result = 3; */ public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResultOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { return result_ == null ? com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.getDefaultInstance() : result_; } } /** * .Ydb.Scripting.ExecuteYqlPartialResult result = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.Builder, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.Builder, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResultOrBuilder>( getResult(), getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Ydb.Scripting.ExecuteYqlPartialResponse) } // @@protoc_insertion_point(class_scope:Ydb.Scripting.ExecuteYqlPartialResponse) private static final com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse(); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecuteYqlPartialResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExecuteYqlPartialResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExecuteYqlPartialResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Scripting.ExecuteYqlPartialResult) com.google.protobuf.MessageOrBuilder { /** *
     * Index of current result
     * 
* * uint32 result_set_index = 1; * @return The resultSetIndex. */ int getResultSetIndex(); /** *
     * Result set (or a result set part) for one data or scan query
     * 
* * .Ydb.ResultSet result_set = 2; * @return Whether the resultSet field is set. */ boolean hasResultSet(); /** *
     * Result set (or a result set part) for one data or scan query
     * 
* * .Ydb.ResultSet result_set = 2; * @return The resultSet. */ com.yandex.ydb.ValueProtos.ResultSet getResultSet(); /** *
     * Result set (or a result set part) for one data or scan query
     * 
* * .Ydb.ResultSet result_set = 2; */ com.yandex.ydb.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder(); /** * .Ydb.TableStats.QueryStats query_stats = 3; * @return Whether the queryStats field is set. */ boolean hasQueryStats(); /** * .Ydb.TableStats.QueryStats query_stats = 3; * @return The queryStats. */ com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats(); /** * .Ydb.TableStats.QueryStats query_stats = 3; */ com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder(); } /** *
   * Contains result set (or a result set part) for one data or scan query in the script.
   * One result set can be split into several responses with same result_index.
   * Only the final response can contain query stats.
   * 
* * Protobuf type {@code Ydb.Scripting.ExecuteYqlPartialResult} */ public static final class ExecuteYqlPartialResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Scripting.ExecuteYqlPartialResult) ExecuteYqlPartialResultOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteYqlPartialResult.newBuilder() to construct. private ExecuteYqlPartialResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecuteYqlPartialResult() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteYqlPartialResult(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExecuteYqlPartialResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { resultSetIndex_ = input.readUInt32(); break; } case 18: { com.yandex.ydb.ValueProtos.ResultSet.Builder subBuilder = null; if (resultSet_ != null) { subBuilder = resultSet_.toBuilder(); } resultSet_ = input.readMessage(com.yandex.ydb.ValueProtos.ResultSet.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(resultSet_); resultSet_ = subBuilder.buildPartial(); } break; } case 26: { com.yandex.ydb.YdbQueryStats.QueryStats.Builder subBuilder = null; if (queryStats_ != null) { subBuilder = queryStats_.toBuilder(); } queryStats_ = input.readMessage(com.yandex.ydb.YdbQueryStats.QueryStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryStats_); queryStats_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlPartialResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlPartialResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.class, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.Builder.class); } public static final int RESULT_SET_INDEX_FIELD_NUMBER = 1; private int resultSetIndex_; /** *
     * Index of current result
     * 
* * uint32 result_set_index = 1; * @return The resultSetIndex. */ @java.lang.Override public int getResultSetIndex() { return resultSetIndex_; } public static final int RESULT_SET_FIELD_NUMBER = 2; private com.yandex.ydb.ValueProtos.ResultSet resultSet_; /** *
     * Result set (or a result set part) for one data or scan query
     * 
* * .Ydb.ResultSet result_set = 2; * @return Whether the resultSet field is set. */ @java.lang.Override public boolean hasResultSet() { return resultSet_ != null; } /** *
     * Result set (or a result set part) for one data or scan query
     * 
* * .Ydb.ResultSet result_set = 2; * @return The resultSet. */ @java.lang.Override public com.yandex.ydb.ValueProtos.ResultSet getResultSet() { return resultSet_ == null ? com.yandex.ydb.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } /** *
     * Result set (or a result set part) for one data or scan query
     * 
* * .Ydb.ResultSet result_set = 2; */ @java.lang.Override public com.yandex.ydb.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder() { return getResultSet(); } public static final int QUERY_STATS_FIELD_NUMBER = 3; private com.yandex.ydb.YdbQueryStats.QueryStats queryStats_; /** * .Ydb.TableStats.QueryStats query_stats = 3; * @return Whether the queryStats field is set. */ @java.lang.Override public boolean hasQueryStats() { return queryStats_ != null; } /** * .Ydb.TableStats.QueryStats query_stats = 3; * @return The queryStats. */ @java.lang.Override public com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats() { return queryStats_ == null ? com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } /** * .Ydb.TableStats.QueryStats query_stats = 3; */ @java.lang.Override public com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() { return getQueryStats(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (resultSetIndex_ != 0) { output.writeUInt32(1, resultSetIndex_); } if (resultSet_ != null) { output.writeMessage(2, getResultSet()); } if (queryStats_ != null) { output.writeMessage(3, getQueryStats()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (resultSetIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, resultSetIndex_); } if (resultSet_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getResultSet()); } if (queryStats_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getQueryStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult)) { return super.equals(obj); } com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult other = (com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult) obj; if (getResultSetIndex() != other.getResultSetIndex()) return false; if (hasResultSet() != other.hasResultSet()) return false; if (hasResultSet()) { if (!getResultSet() .equals(other.getResultSet())) return false; } if (hasQueryStats() != other.hasQueryStats()) return false; if (hasQueryStats()) { if (!getQueryStats() .equals(other.getQueryStats())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RESULT_SET_INDEX_FIELD_NUMBER; hash = (53 * hash) + getResultSetIndex(); if (hasResultSet()) { hash = (37 * hash) + RESULT_SET_FIELD_NUMBER; hash = (53 * hash) + getResultSet().hashCode(); } if (hasQueryStats()) { hash = (37 * hash) + QUERY_STATS_FIELD_NUMBER; hash = (53 * hash) + getQueryStats().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult 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.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult 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.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Contains result set (or a result set part) for one data or scan query in the script.
     * One result set can be split into several responses with same result_index.
     * Only the final response can contain query stats.
     * 
* * Protobuf type {@code Ydb.Scripting.ExecuteYqlPartialResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Scripting.ExecuteYqlPartialResult) com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlPartialResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlPartialResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.class, com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.Builder.class); } // Construct using com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); resultSetIndex_ = 0; if (resultSetBuilder_ == null) { resultSet_ = null; } else { resultSet_ = null; resultSetBuilder_ = null; } if (queryStatsBuilder_ == null) { queryStats_ = null; } else { queryStats_ = null; queryStatsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExecuteYqlPartialResult_descriptor; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult getDefaultInstanceForType() { return com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult build() { com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult buildPartial() { com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult result = new com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult(this); result.resultSetIndex_ = resultSetIndex_; if (resultSetBuilder_ == null) { result.resultSet_ = resultSet_; } else { result.resultSet_ = resultSetBuilder_.build(); } if (queryStatsBuilder_ == null) { result.queryStats_ = queryStats_; } else { result.queryStats_ = queryStatsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult) { return mergeFrom((com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult other) { if (other == com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult.getDefaultInstance()) return this; if (other.getResultSetIndex() != 0) { setResultSetIndex(other.getResultSetIndex()); } if (other.hasResultSet()) { mergeResultSet(other.getResultSet()); } if (other.hasQueryStats()) { mergeQueryStats(other.getQueryStats()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int resultSetIndex_ ; /** *
       * Index of current result
       * 
* * uint32 result_set_index = 1; * @return The resultSetIndex. */ @java.lang.Override public int getResultSetIndex() { return resultSetIndex_; } /** *
       * Index of current result
       * 
* * uint32 result_set_index = 1; * @param value The resultSetIndex to set. * @return This builder for chaining. */ public Builder setResultSetIndex(int value) { resultSetIndex_ = value; onChanged(); return this; } /** *
       * Index of current result
       * 
* * uint32 result_set_index = 1; * @return This builder for chaining. */ public Builder clearResultSetIndex() { resultSetIndex_ = 0; onChanged(); return this; } private com.yandex.ydb.ValueProtos.ResultSet resultSet_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.ValueProtos.ResultSetOrBuilder> resultSetBuilder_; /** *
       * Result set (or a result set part) for one data or scan query
       * 
* * .Ydb.ResultSet result_set = 2; * @return Whether the resultSet field is set. */ public boolean hasResultSet() { return resultSetBuilder_ != null || resultSet_ != null; } /** *
       * Result set (or a result set part) for one data or scan query
       * 
* * .Ydb.ResultSet result_set = 2; * @return The resultSet. */ public com.yandex.ydb.ValueProtos.ResultSet getResultSet() { if (resultSetBuilder_ == null) { return resultSet_ == null ? com.yandex.ydb.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } else { return resultSetBuilder_.getMessage(); } } /** *
       * Result set (or a result set part) for one data or scan query
       * 
* * .Ydb.ResultSet result_set = 2; */ public Builder setResultSet(com.yandex.ydb.ValueProtos.ResultSet value) { if (resultSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resultSet_ = value; onChanged(); } else { resultSetBuilder_.setMessage(value); } return this; } /** *
       * Result set (or a result set part) for one data or scan query
       * 
* * .Ydb.ResultSet result_set = 2; */ public Builder setResultSet( com.yandex.ydb.ValueProtos.ResultSet.Builder builderForValue) { if (resultSetBuilder_ == null) { resultSet_ = builderForValue.build(); onChanged(); } else { resultSetBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Result set (or a result set part) for one data or scan query
       * 
* * .Ydb.ResultSet result_set = 2; */ public Builder mergeResultSet(com.yandex.ydb.ValueProtos.ResultSet value) { if (resultSetBuilder_ == null) { if (resultSet_ != null) { resultSet_ = com.yandex.ydb.ValueProtos.ResultSet.newBuilder(resultSet_).mergeFrom(value).buildPartial(); } else { resultSet_ = value; } onChanged(); } else { resultSetBuilder_.mergeFrom(value); } return this; } /** *
       * Result set (or a result set part) for one data or scan query
       * 
* * .Ydb.ResultSet result_set = 2; */ public Builder clearResultSet() { if (resultSetBuilder_ == null) { resultSet_ = null; onChanged(); } else { resultSet_ = null; resultSetBuilder_ = null; } return this; } /** *
       * Result set (or a result set part) for one data or scan query
       * 
* * .Ydb.ResultSet result_set = 2; */ public com.yandex.ydb.ValueProtos.ResultSet.Builder getResultSetBuilder() { onChanged(); return getResultSetFieldBuilder().getBuilder(); } /** *
       * Result set (or a result set part) for one data or scan query
       * 
* * .Ydb.ResultSet result_set = 2; */ public com.yandex.ydb.ValueProtos.ResultSetOrBuilder getResultSetOrBuilder() { if (resultSetBuilder_ != null) { return resultSetBuilder_.getMessageOrBuilder(); } else { return resultSet_ == null ? com.yandex.ydb.ValueProtos.ResultSet.getDefaultInstance() : resultSet_; } } /** *
       * Result set (or a result set part) for one data or scan query
       * 
* * .Ydb.ResultSet result_set = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.ValueProtos.ResultSetOrBuilder> getResultSetFieldBuilder() { if (resultSetBuilder_ == null) { resultSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.ValueProtos.ResultSet, com.yandex.ydb.ValueProtos.ResultSet.Builder, com.yandex.ydb.ValueProtos.ResultSetOrBuilder>( getResultSet(), getParentForChildren(), isClean()); resultSet_ = null; } return resultSetBuilder_; } private com.yandex.ydb.YdbQueryStats.QueryStats queryStats_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder> queryStatsBuilder_; /** * .Ydb.TableStats.QueryStats query_stats = 3; * @return Whether the queryStats field is set. */ public boolean hasQueryStats() { return queryStatsBuilder_ != null || queryStats_ != null; } /** * .Ydb.TableStats.QueryStats query_stats = 3; * @return The queryStats. */ public com.yandex.ydb.YdbQueryStats.QueryStats getQueryStats() { if (queryStatsBuilder_ == null) { return queryStats_ == null ? com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } else { return queryStatsBuilder_.getMessage(); } } /** * .Ydb.TableStats.QueryStats query_stats = 3; */ public Builder setQueryStats(com.yandex.ydb.YdbQueryStats.QueryStats value) { if (queryStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryStats_ = value; onChanged(); } else { queryStatsBuilder_.setMessage(value); } return this; } /** * .Ydb.TableStats.QueryStats query_stats = 3; */ public Builder setQueryStats( com.yandex.ydb.YdbQueryStats.QueryStats.Builder builderForValue) { if (queryStatsBuilder_ == null) { queryStats_ = builderForValue.build(); onChanged(); } else { queryStatsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.TableStats.QueryStats query_stats = 3; */ public Builder mergeQueryStats(com.yandex.ydb.YdbQueryStats.QueryStats value) { if (queryStatsBuilder_ == null) { if (queryStats_ != null) { queryStats_ = com.yandex.ydb.YdbQueryStats.QueryStats.newBuilder(queryStats_).mergeFrom(value).buildPartial(); } else { queryStats_ = value; } onChanged(); } else { queryStatsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.TableStats.QueryStats query_stats = 3; */ public Builder clearQueryStats() { if (queryStatsBuilder_ == null) { queryStats_ = null; onChanged(); } else { queryStats_ = null; queryStatsBuilder_ = null; } return this; } /** * .Ydb.TableStats.QueryStats query_stats = 3; */ public com.yandex.ydb.YdbQueryStats.QueryStats.Builder getQueryStatsBuilder() { onChanged(); return getQueryStatsFieldBuilder().getBuilder(); } /** * .Ydb.TableStats.QueryStats query_stats = 3; */ public com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder getQueryStatsOrBuilder() { if (queryStatsBuilder_ != null) { return queryStatsBuilder_.getMessageOrBuilder(); } else { return queryStats_ == null ? com.yandex.ydb.YdbQueryStats.QueryStats.getDefaultInstance() : queryStats_; } } /** * .Ydb.TableStats.QueryStats query_stats = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder> getQueryStatsFieldBuilder() { if (queryStatsBuilder_ == null) { queryStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.YdbQueryStats.QueryStats, com.yandex.ydb.YdbQueryStats.QueryStats.Builder, com.yandex.ydb.YdbQueryStats.QueryStatsOrBuilder>( getQueryStats(), getParentForChildren(), isClean()); queryStats_ = null; } return queryStatsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Ydb.Scripting.ExecuteYqlPartialResult) } // @@protoc_insertion_point(class_scope:Ydb.Scripting.ExecuteYqlPartialResult) private static final com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult(); } public static com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecuteYqlPartialResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExecuteYqlPartialResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExecuteYqlPartialResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExplainYqlRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Scripting.ExplainYqlRequest) com.google.protobuf.MessageOrBuilder { /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ boolean hasOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ com.yandex.ydb.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 1; */ com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder(); /** * string script = 2; * @return The script. */ java.lang.String getScript(); /** * string script = 2; * @return The bytes for script. */ com.google.protobuf.ByteString getScriptBytes(); /** * .Ydb.Scripting.ExplainYqlRequest.Mode mode = 3; * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** * .Ydb.Scripting.ExplainYqlRequest.Mode mode = 3; * @return The mode. */ com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.Mode getMode(); } /** * Protobuf type {@code Ydb.Scripting.ExplainYqlRequest} */ public static final class ExplainYqlRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Scripting.ExplainYqlRequest) ExplainYqlRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ExplainYqlRequest.newBuilder() to construct. private ExplainYqlRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExplainYqlRequest() { script_ = ""; mode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExplainYqlRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExplainYqlRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null; if (operationParams_ != null) { subBuilder = operationParams_.toBuilder(); } operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationParams_); operationParams_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); script_ = s; break; } case 24: { int rawValue = input.readEnum(); mode_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.class, com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.Builder.class); } /** * Protobuf enum {@code Ydb.Scripting.ExplainYqlRequest.Mode} */ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** * MODE_UNSPECIFIED = 0; */ MODE_UNSPECIFIED(0), /** *
       * PARSE = 1;
       * 
* * VALIDATE = 2; */ VALIDATE(2), /** * PLAN = 3; */ PLAN(3), UNRECOGNIZED(-1), ; /** * MODE_UNSPECIFIED = 0; */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** *
       * PARSE = 1;
       * 
* * VALIDATE = 2; */ public static final int VALIDATE_VALUE = 2; /** * PLAN = 3; */ public static final int PLAN_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Mode valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Mode forNumber(int value) { switch (value) { case 0: return MODE_UNSPECIFIED; case 2: return VALIDATE; case 3: return PLAN; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Mode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Mode findValueByNumber(int number) { return Mode.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.getDescriptor().getEnumTypes().get(0); } private static final Mode[] VALUES = values(); public static Mode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private Mode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Ydb.Scripting.ExplainYqlRequest.Mode) } public static final int OPERATION_PARAMS_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return getOperationParams(); } public static final int SCRIPT_FIELD_NUMBER = 2; private volatile java.lang.Object script_; /** * string script = 2; * @return The script. */ @java.lang.Override public java.lang.String getScript() { java.lang.Object ref = script_; 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(); script_ = s; return s; } } /** * string script = 2; * @return The bytes for script. */ @java.lang.Override public com.google.protobuf.ByteString getScriptBytes() { java.lang.Object ref = script_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); script_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MODE_FIELD_NUMBER = 3; private int mode_; /** * .Ydb.Scripting.ExplainYqlRequest.Mode mode = 3; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** * .Ydb.Scripting.ExplainYqlRequest.Mode mode = 3; * @return The mode. */ @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.Mode getMode() { @SuppressWarnings("deprecation") com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.Mode result = com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.Mode.valueOf(mode_); return result == null ? com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.Mode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (operationParams_ != null) { output.writeMessage(1, getOperationParams()); } if (!getScriptBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, script_); } if (mode_ != com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(3, mode_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operationParams_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperationParams()); } if (!getScriptBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, script_); } if (mode_ != com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.Mode.MODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, mode_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest)) { return super.equals(obj); } com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest other = (com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest) obj; if (hasOperationParams() != other.hasOperationParams()) return false; if (hasOperationParams()) { if (!getOperationParams() .equals(other.getOperationParams())) return false; } if (!getScript() .equals(other.getScript())) return false; if (mode_ != other.mode_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } hash = (37 * hash) + SCRIPT_FIELD_NUMBER; hash = (53 * hash) + getScript().hashCode(); hash = (37 * hash) + MODE_FIELD_NUMBER; hash = (53 * hash) + mode_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest 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.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest 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.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Ydb.Scripting.ExplainYqlRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Scripting.ExplainYqlRequest) com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.class, com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.Builder.class); } // Construct using com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationParamsBuilder_ == null) { operationParams_ = null; } else { operationParams_ = null; operationParamsBuilder_ = null; } script_ = ""; mode_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlRequest_descriptor; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest getDefaultInstanceForType() { return com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest build() { com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest buildPartial() { com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest result = new com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest(this); if (operationParamsBuilder_ == null) { result.operationParams_ = operationParams_; } else { result.operationParams_ = operationParamsBuilder_.build(); } result.script_ = script_; result.mode_ = mode_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest) { return mergeFrom((com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest other) { if (other == com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.getDefaultInstance()) return this; if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (!other.getScript().isEmpty()) { script_ = other.script_; onChanged(); } if (other.mode_ != 0) { setModeValue(other.getModeValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return operationParamsBuilder_ != null || operationParams_ != null; } /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; onChanged(); } else { operationParamsBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder setOperationParams( com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); onChanged(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (operationParams_ != null) { operationParams_ = com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial(); } else { operationParams_ = value; } onChanged(); } else { operationParamsBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder clearOperationParams() { if (operationParamsBuilder_ == null) { operationParams_ = null; onChanged(); } else { operationParams_ = null; operationParamsBuilder_ = null; } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder>( getOperationParams(), getParentForChildren(), isClean()); operationParams_ = null; } return operationParamsBuilder_; } private java.lang.Object script_ = ""; /** * string script = 2; * @return The script. */ public java.lang.String getScript() { java.lang.Object ref = script_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); script_ = s; return s; } else { return (java.lang.String) ref; } } /** * string script = 2; * @return The bytes for script. */ public com.google.protobuf.ByteString getScriptBytes() { java.lang.Object ref = script_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); script_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string script = 2; * @param value The script to set. * @return This builder for chaining. */ public Builder setScript( java.lang.String value) { if (value == null) { throw new NullPointerException(); } script_ = value; onChanged(); return this; } /** * string script = 2; * @return This builder for chaining. */ public Builder clearScript() { script_ = getDefaultInstance().getScript(); onChanged(); return this; } /** * string script = 2; * @param value The bytes for script to set. * @return This builder for chaining. */ public Builder setScriptBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); script_ = value; onChanged(); return this; } private int mode_ = 0; /** * .Ydb.Scripting.ExplainYqlRequest.Mode mode = 3; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** * .Ydb.Scripting.ExplainYqlRequest.Mode mode = 3; * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { mode_ = value; onChanged(); return this; } /** * .Ydb.Scripting.ExplainYqlRequest.Mode mode = 3; * @return The mode. */ @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.Mode getMode() { @SuppressWarnings("deprecation") com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.Mode result = com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.Mode.valueOf(mode_); return result == null ? com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.Mode.UNRECOGNIZED : result; } /** * .Ydb.Scripting.ExplainYqlRequest.Mode mode = 3; * @param value The mode to set. * @return This builder for chaining. */ public Builder setMode(com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest.Mode value) { if (value == null) { throw new NullPointerException(); } mode_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Scripting.ExplainYqlRequest.Mode mode = 3; * @return This builder for chaining. */ public Builder clearMode() { mode_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Ydb.Scripting.ExplainYqlRequest) } // @@protoc_insertion_point(class_scope:Ydb.Scripting.ExplainYqlRequest) private static final com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest(); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExplainYqlRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExplainYqlRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExplainYqlResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Scripting.ExplainYqlResponse) com.google.protobuf.MessageOrBuilder { /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ boolean hasOperation(); /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ com.yandex.ydb.OperationProtos.Operation getOperation(); /** * .Ydb.Operations.Operation operation = 1; */ com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder(); } /** * Protobuf type {@code Ydb.Scripting.ExplainYqlResponse} */ public static final class ExplainYqlResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Scripting.ExplainYqlResponse) ExplainYqlResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ExplainYqlResponse.newBuilder() to construct. private ExplainYqlResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExplainYqlResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExplainYqlResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExplainYqlResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null; if (operation_ != null) { subBuilder = operation_.toBuilder(); } operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operation_); operation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse.class, com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse.Builder.class); } public static final int OPERATION_FIELD_NUMBER = 1; private com.yandex.ydb.OperationProtos.Operation operation_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ @java.lang.Override public boolean hasOperation() { return operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public com.yandex.ydb.OperationProtos.Operation getOperation() { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } /** * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return getOperation(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (operation_ != null) { output.writeMessage(1, getOperation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (operation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse)) { return super.equals(obj); } com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse other = (com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOperation()) { hash = (37 * hash) + OPERATION_FIELD_NUMBER; hash = (53 * hash) + getOperation().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse 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.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse 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.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Ydb.Scripting.ExplainYqlResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Scripting.ExplainYqlResponse) com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse.class, com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse.Builder.class); } // Construct using com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (operationBuilder_ == null) { operation_ = null; } else { operation_ = null; operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlResponse_descriptor; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse getDefaultInstanceForType() { return com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse build() { com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse buildPartial() { com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse result = new com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse(this); if (operationBuilder_ == null) { result.operation_ = operation_; } else { result.operation_ = operationBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse) { return mergeFrom((com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse other) { if (other == com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.yandex.ydb.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_; /** * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return operationBuilder_ != null || operation_ != null; } /** * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public com.yandex.ydb.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; onChanged(); } else { operationBuilder_.setMessage(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); } else { operationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (operation_ != null) { operation_ = com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial(); } else { operation_ = value; } onChanged(); } else { operationBuilder_.mergeFrom(value); } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { if (operationBuilder_ == null) { operation_ = null; onChanged(); } else { operation_ = null; operationBuilder_ = null; } return this; } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() { onChanged(); return getOperationFieldBuilder().getBuilder(); } /** * .Ydb.Operations.Operation operation = 1; */ public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder>( getOperation(), getParentForChildren(), isClean()); operation_ = null; } return operationBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Ydb.Scripting.ExplainYqlResponse) } // @@protoc_insertion_point(class_scope:Ydb.Scripting.ExplainYqlResponse) private static final com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse(); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExplainYqlResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExplainYqlResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExplainYqlResultOrBuilder extends // @@protoc_insertion_point(interface_extends:Ydb.Scripting.ExplainYqlResult) com.google.protobuf.MessageOrBuilder { /** * map<string, .Ydb.Type> parameters_types = 1; */ int getParametersTypesCount(); /** * map<string, .Ydb.Type> parameters_types = 1; */ boolean containsParametersTypes( java.lang.String key); /** * Use {@link #getParametersTypesMap()} instead. */ @java.lang.Deprecated java.util.Map getParametersTypes(); /** * map<string, .Ydb.Type> parameters_types = 1; */ java.util.Map getParametersTypesMap(); /** * map<string, .Ydb.Type> parameters_types = 1; */ com.yandex.ydb.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.Type defaultValue); /** * map<string, .Ydb.Type> parameters_types = 1; */ com.yandex.ydb.ValueProtos.Type getParametersTypesOrThrow( java.lang.String key); /** * string plan = 2; * @return The plan. */ java.lang.String getPlan(); /** * string plan = 2; * @return The bytes for plan. */ com.google.protobuf.ByteString getPlanBytes(); } /** * Protobuf type {@code Ydb.Scripting.ExplainYqlResult} */ public static final class ExplainYqlResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Ydb.Scripting.ExplainYqlResult) ExplainYqlResultOrBuilder { private static final long serialVersionUID = 0L; // Use ExplainYqlResult.newBuilder() to construct. private ExplainYqlResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExplainYqlResult() { plan_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExplainYqlResult(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExplainYqlResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { parametersTypes_ = com.google.protobuf.MapField.newMapField( ParametersTypesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry parametersTypes__ = input.readMessage( ParametersTypesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); parametersTypes_.getMutableMap().put( parametersTypes__.getKey(), parametersTypes__.getValue()); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); plan_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlResult_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetParametersTypes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult.class, com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult.Builder.class); } public static final int PARAMETERS_TYPES_FIELD_NUMBER = 1; private static final class ParametersTypesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, com.yandex.ydb.ValueProtos.Type> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlResult_ParametersTypesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, com.yandex.ydb.ValueProtos.Type.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, com.yandex.ydb.ValueProtos.Type> parametersTypes_; private com.google.protobuf.MapField internalGetParametersTypes() { if (parametersTypes_ == null) { return com.google.protobuf.MapField.emptyMapField( ParametersTypesDefaultEntryHolder.defaultEntry); } return parametersTypes_; } public int getParametersTypesCount() { return internalGetParametersTypes().getMap().size(); } /** * map<string, .Ydb.Type> parameters_types = 1; */ @java.lang.Override public boolean containsParametersTypes( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetParametersTypes().getMap().containsKey(key); } /** * Use {@link #getParametersTypesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getParametersTypes() { return getParametersTypesMap(); } /** * map<string, .Ydb.Type> parameters_types = 1; */ @java.lang.Override public java.util.Map getParametersTypesMap() { return internalGetParametersTypes().getMap(); } /** * map<string, .Ydb.Type> parameters_types = 1; */ @java.lang.Override public com.yandex.ydb.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.Type defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetParametersTypes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .Ydb.Type> parameters_types = 1; */ @java.lang.Override public com.yandex.ydb.ValueProtos.Type getParametersTypesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetParametersTypes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int PLAN_FIELD_NUMBER = 2; private volatile java.lang.Object plan_; /** * string plan = 2; * @return The plan. */ @java.lang.Override public java.lang.String getPlan() { java.lang.Object ref = plan_; 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(); plan_ = s; return s; } } /** * string plan = 2; * @return The bytes for plan. */ @java.lang.Override public com.google.protobuf.ByteString getPlanBytes() { java.lang.Object ref = plan_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); plan_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetParametersTypes(), ParametersTypesDefaultEntryHolder.defaultEntry, 1); if (!getPlanBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, plan_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetParametersTypes().getMap().entrySet()) { com.google.protobuf.MapEntry parametersTypes__ = ParametersTypesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, parametersTypes__); } if (!getPlanBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, plan_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult)) { return super.equals(obj); } com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult other = (com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult) obj; if (!internalGetParametersTypes().equals( other.internalGetParametersTypes())) return false; if (!getPlan() .equals(other.getPlan())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetParametersTypes().getMap().isEmpty()) { hash = (37 * hash) + PARAMETERS_TYPES_FIELD_NUMBER; hash = (53 * hash) + internalGetParametersTypes().hashCode(); } hash = (37 * hash) + PLAN_FIELD_NUMBER; hash = (53 * hash) + getPlan().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult 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.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult 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.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Ydb.Scripting.ExplainYqlResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Ydb.Scripting.ExplainYqlResult) com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlResult_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetParametersTypes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableParametersTypes(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult.class, com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult.Builder.class); } // Construct using com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableParametersTypes().clear(); plan_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yandex.ydb.scripting.ScriptingProtos.internal_static_Ydb_Scripting_ExplainYqlResult_descriptor; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult getDefaultInstanceForType() { return com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult.getDefaultInstance(); } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult build() { com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult buildPartial() { com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult result = new com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult(this); int from_bitField0_ = bitField0_; result.parametersTypes_ = internalGetParametersTypes(); result.parametersTypes_.makeImmutable(); result.plan_ = plan_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult) { return mergeFrom((com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult other) { if (other == com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult.getDefaultInstance()) return this; internalGetMutableParametersTypes().mergeFrom( other.internalGetParametersTypes()); if (!other.getPlan().isEmpty()) { plan_ = other.plan_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.String, com.yandex.ydb.ValueProtos.Type> parametersTypes_; private com.google.protobuf.MapField internalGetParametersTypes() { if (parametersTypes_ == null) { return com.google.protobuf.MapField.emptyMapField( ParametersTypesDefaultEntryHolder.defaultEntry); } return parametersTypes_; } private com.google.protobuf.MapField internalGetMutableParametersTypes() { onChanged();; if (parametersTypes_ == null) { parametersTypes_ = com.google.protobuf.MapField.newMapField( ParametersTypesDefaultEntryHolder.defaultEntry); } if (!parametersTypes_.isMutable()) { parametersTypes_ = parametersTypes_.copy(); } return parametersTypes_; } public int getParametersTypesCount() { return internalGetParametersTypes().getMap().size(); } /** * map<string, .Ydb.Type> parameters_types = 1; */ @java.lang.Override public boolean containsParametersTypes( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetParametersTypes().getMap().containsKey(key); } /** * Use {@link #getParametersTypesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getParametersTypes() { return getParametersTypesMap(); } /** * map<string, .Ydb.Type> parameters_types = 1; */ @java.lang.Override public java.util.Map getParametersTypesMap() { return internalGetParametersTypes().getMap(); } /** * map<string, .Ydb.Type> parameters_types = 1; */ @java.lang.Override public com.yandex.ydb.ValueProtos.Type getParametersTypesOrDefault( java.lang.String key, com.yandex.ydb.ValueProtos.Type defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetParametersTypes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .Ydb.Type> parameters_types = 1; */ @java.lang.Override public com.yandex.ydb.ValueProtos.Type getParametersTypesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetParametersTypes().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearParametersTypes() { internalGetMutableParametersTypes().getMutableMap() .clear(); return this; } /** * map<string, .Ydb.Type> parameters_types = 1; */ public Builder removeParametersTypes( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableParametersTypes().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableParametersTypes() { return internalGetMutableParametersTypes().getMutableMap(); } /** * map<string, .Ydb.Type> parameters_types = 1; */ public Builder putParametersTypes( java.lang.String key, com.yandex.ydb.ValueProtos.Type value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableParametersTypes().getMutableMap() .put(key, value); return this; } /** * map<string, .Ydb.Type> parameters_types = 1; */ public Builder putAllParametersTypes( java.util.Map values) { internalGetMutableParametersTypes().getMutableMap() .putAll(values); return this; } private java.lang.Object plan_ = ""; /** * string plan = 2; * @return The plan. */ public java.lang.String getPlan() { java.lang.Object ref = plan_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); plan_ = s; return s; } else { return (java.lang.String) ref; } } /** * string plan = 2; * @return The bytes for plan. */ public com.google.protobuf.ByteString getPlanBytes() { java.lang.Object ref = plan_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); plan_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string plan = 2; * @param value The plan to set. * @return This builder for chaining. */ public Builder setPlan( java.lang.String value) { if (value == null) { throw new NullPointerException(); } plan_ = value; onChanged(); return this; } /** * string plan = 2; * @return This builder for chaining. */ public Builder clearPlan() { plan_ = getDefaultInstance().getPlan(); onChanged(); return this; } /** * string plan = 2; * @param value The bytes for plan to set. * @return This builder for chaining. */ public Builder setPlanBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); plan_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Ydb.Scripting.ExplainYqlResult) } // @@protoc_insertion_point(class_scope:Ydb.Scripting.ExplainYqlResult) private static final com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult(); } public static com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExplainYqlResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExplainYqlResult(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.yandex.ydb.scripting.ScriptingProtos.ExplainYqlResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Scripting_ExecuteYqlRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Scripting_ExecuteYqlRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Scripting_ExecuteYqlRequest_ParametersEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Scripting_ExecuteYqlRequest_ParametersEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Scripting_ExecuteYqlResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Scripting_ExecuteYqlResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Scripting_ExecuteYqlResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Scripting_ExecuteYqlResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Scripting_ExecuteYqlPartialResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Scripting_ExecuteYqlPartialResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Scripting_ExecuteYqlPartialResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Scripting_ExecuteYqlPartialResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Scripting_ExplainYqlRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Scripting_ExplainYqlRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Scripting_ExplainYqlResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Scripting_ExplainYqlResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Scripting_ExplainYqlResult_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Scripting_ExplainYqlResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Ydb_Scripting_ExplainYqlResult_ParametersTypesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Ydb_Scripting_ExplainYqlResult_ParametersTypesEntry_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)ydb/public/api/protos/ydb_scripting.pr" + "oto\022\rYdb.Scripting\032)ydb/public/api/proto" + "s/ydb_operation.proto\032%ydb/public/api/pr" + "otos/ydb_value.proto\032%ydb/public/api/pro" + "tos/ydb_table.proto\032+ydb/public/api/prot" + "os/ydb_query_stats.proto\032-ydb/public/api" + "/protos/ydb_issue_message.proto\032,ydb/pub" + "lic/api/protos/ydb_status_codes.proto\"\245\002" + "\n\021ExecuteYqlRequest\0229\n\020operation_params\030" + "\001 \001(\0132\037.Ydb.Operations.OperationParams\022\016" + "\n\006script\030\002 \001(\t\022D\n\nparameters\030\003 \003(\01320.Ydb" + ".Scripting.ExecuteYqlRequest.ParametersE" + "ntry\022;\n\rcollect_stats\030\004 \001(\0162$.Ydb.Table." + "QueryStatsCollection.Mode\032B\n\017ParametersE" + "ntry\022\013\n\003key\030\001 \001(\t\022\036\n\005value\030\002 \001(\0132\017.Ydb.T" + "ypedValue:\0028\001\"B\n\022ExecuteYqlResponse\022,\n\to" + "peration\030\001 \001(\0132\031.Ydb.Operations.Operatio" + "n\"h\n\020ExecuteYqlResult\022#\n\013result_sets\030\001 \003" + "(\0132\016.Ydb.ResultSet\022/\n\013query_stats\030\002 \001(\0132" + "\032.Ydb.TableStats.QueryStats\"\247\001\n\031ExecuteY" + "qlPartialResponse\022)\n\006status\030\001 \001(\0162\031.Ydb." + "StatusIds.StatusCode\022\'\n\006issues\030\002 \003(\0132\027.Y" + "db.Issue.IssueMessage\0226\n\006result\030\003 \001(\0132&." + "Ydb.Scripting.ExecuteYqlPartialResult\"\210\001" + "\n\027ExecuteYqlPartialResult\022\030\n\020result_set_" + "index\030\001 \001(\r\022\"\n\nresult_set\030\002 \001(\0132\016.Ydb.Re" + "sultSet\022/\n\013query_stats\030\003 \001(\0132\032.Ydb.Table" + "Stats.QueryStats\"\311\001\n\021ExplainYqlRequest\0229" + "\n\020operation_params\030\001 \001(\0132\037.Ydb.Operation" + "s.OperationParams\022\016\n\006script\030\002 \001(\t\0223\n\004mod" + "e\030\003 \001(\0162%.Ydb.Scripting.ExplainYqlReques" + "t.Mode\"4\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\014\n\010" + "VALIDATE\020\002\022\010\n\004PLAN\020\003\"B\n\022ExplainYqlRespon" + "se\022,\n\toperation\030\001 \001(\0132\031.Ydb.Operations.O" + "peration\"\263\001\n\020ExplainYqlResult\022N\n\020paramet" + "ers_types\030\001 \003(\01324.Ydb.Scripting.ExplainY" + "qlResult.ParametersTypesEntry\022\014\n\004plan\030\002 " + "\001(\t\032A\n\024ParametersTypesEntry\022\013\n\003key\030\001 \001(\t" + "\022\030\n\005value\030\002 \001(\0132\t.Ydb.Type:\0028\001B.\n\030com.ya" + "ndex.ydb.scriptingB\017ScriptingProtos\370\001\001b\006" + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.yandex.ydb.OperationProtos.getDescriptor(), com.yandex.ydb.ValueProtos.getDescriptor(), com.yandex.ydb.table.YdbTable.getDescriptor(), com.yandex.ydb.YdbQueryStats.getDescriptor(), com.yandex.ydb.YdbIssueMessage.getDescriptor(), com.yandex.ydb.StatusCodesProtos.getDescriptor(), }); internal_static_Ydb_Scripting_ExecuteYqlRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_Ydb_Scripting_ExecuteYqlRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Scripting_ExecuteYqlRequest_descriptor, new java.lang.String[] { "OperationParams", "Script", "Parameters", "CollectStats", }); internal_static_Ydb_Scripting_ExecuteYqlRequest_ParametersEntry_descriptor = internal_static_Ydb_Scripting_ExecuteYqlRequest_descriptor.getNestedTypes().get(0); internal_static_Ydb_Scripting_ExecuteYqlRequest_ParametersEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Scripting_ExecuteYqlRequest_ParametersEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_Ydb_Scripting_ExecuteYqlResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_Ydb_Scripting_ExecuteYqlResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Scripting_ExecuteYqlResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Scripting_ExecuteYqlResult_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_Ydb_Scripting_ExecuteYqlResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Scripting_ExecuteYqlResult_descriptor, new java.lang.String[] { "ResultSets", "QueryStats", }); internal_static_Ydb_Scripting_ExecuteYqlPartialResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_Ydb_Scripting_ExecuteYqlPartialResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Scripting_ExecuteYqlPartialResponse_descriptor, new java.lang.String[] { "Status", "Issues", "Result", }); internal_static_Ydb_Scripting_ExecuteYqlPartialResult_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_Ydb_Scripting_ExecuteYqlPartialResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Scripting_ExecuteYqlPartialResult_descriptor, new java.lang.String[] { "ResultSetIndex", "ResultSet", "QueryStats", }); internal_static_Ydb_Scripting_ExplainYqlRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_Ydb_Scripting_ExplainYqlRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Scripting_ExplainYqlRequest_descriptor, new java.lang.String[] { "OperationParams", "Script", "Mode", }); internal_static_Ydb_Scripting_ExplainYqlResponse_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_Ydb_Scripting_ExplainYqlResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Scripting_ExplainYqlResponse_descriptor, new java.lang.String[] { "Operation", }); internal_static_Ydb_Scripting_ExplainYqlResult_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_Ydb_Scripting_ExplainYqlResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Scripting_ExplainYqlResult_descriptor, new java.lang.String[] { "ParametersTypes", "Plan", }); internal_static_Ydb_Scripting_ExplainYqlResult_ParametersTypesEntry_descriptor = internal_static_Ydb_Scripting_ExplainYqlResult_descriptor.getNestedTypes().get(0); internal_static_Ydb_Scripting_ExplainYqlResult_ParametersTypesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Ydb_Scripting_ExplainYqlResult_ParametersTypesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); com.yandex.ydb.OperationProtos.getDescriptor(); com.yandex.ydb.ValueProtos.getDescriptor(); com.yandex.ydb.table.YdbTable.getDescriptor(); com.yandex.ydb.YdbQueryStats.getDescriptor(); com.yandex.ydb.YdbIssueMessage.getDescriptor(); com.yandex.ydb.StatusCodesProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy