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

cz.proto.access.Ddl Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ddl.proto

package cz.proto.access;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code cz.proto.access.ColumnMoveType}
   */
  public enum ColumnMoveType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * FIRST = 0;
     */
    FIRST(0),
    /**
     * BEFORE = 1;
     */
    BEFORE(1),
    /**
     * AFTER = 2;
     */
    AFTER(2),
    UNRECOGNIZED(-1),
    ;

    /**
     * FIRST = 0;
     */
    public static final int FIRST_VALUE = 0;
    /**
     * BEFORE = 1;
     */
    public static final int BEFORE_VALUE = 1;
    /**
     * AFTER = 2;
     */
    public static final int AFTER_VALUE = 2;


    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 ColumnMoveType 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 ColumnMoveType forNumber(int value) {
      switch (value) {
        case 0: return FIRST;
        case 1: return BEFORE;
        case 2: return AFTER;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ColumnMoveType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public ColumnMoveType findValueByNumber(int number) {
              return ColumnMoveType.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 cz.proto.access.Ddl.getDescriptor().getEnumTypes().get(0);
    }

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

    public static ColumnMoveType 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 ColumnMoveType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:cz.proto.access.ColumnMoveType)
  }

  /**
   * Protobuf enum {@code cz.proto.access.ShowEntityType}
   */
  public enum ShowEntityType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * SHOW_ENTITY = 0;
     */
    SHOW_ENTITY(0),
    /**
     * SHOW_NAME = 1;
     */
    SHOW_NAME(1),
    /**
     * SHOW_ID = 2;
     */
    SHOW_ID(2),
    /**
     * SHOW_ENTITIES_HISTORY = 3;
     */
    SHOW_ENTITIES_HISTORY(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * SHOW_ENTITY = 0;
     */
    public static final int SHOW_ENTITY_VALUE = 0;
    /**
     * SHOW_NAME = 1;
     */
    public static final int SHOW_NAME_VALUE = 1;
    /**
     * SHOW_ID = 2;
     */
    public static final int SHOW_ID_VALUE = 2;
    /**
     * SHOW_ENTITIES_HISTORY = 3;
     */
    public static final int SHOW_ENTITIES_HISTORY_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 ShowEntityType 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 ShowEntityType forNumber(int value) {
      switch (value) {
        case 0: return SHOW_ENTITY;
        case 1: return SHOW_NAME;
        case 2: return SHOW_ID;
        case 3: return SHOW_ENTITIES_HISTORY;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ShowEntityType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public ShowEntityType findValueByNumber(int number) {
              return ShowEntityType.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 cz.proto.access.Ddl.getDescriptor().getEnumTypes().get(1);
    }

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

    public static ShowEntityType 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 ShowEntityType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:cz.proto.access.ShowEntityType)
  }

  /**
   * Protobuf enum {@code cz.proto.access.AccessType}
   */
  public enum AccessType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * META = 0;
     */
    META(0),
    /**
     * VC_MANAGER = 1;
     */
    VC_MANAGER(1),
    UNRECOGNIZED(-1),
    ;

    /**
     * META = 0;
     */
    public static final int META_VALUE = 0;
    /**
     * VC_MANAGER = 1;
     */
    public static final int VC_MANAGER_VALUE = 1;


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

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static AccessType 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 AccessType forNumber(int value) {
      switch (value) {
        case 0: return META;
        case 1: return VC_MANAGER;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        AccessType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public AccessType findValueByNumber(int number) {
              return AccessType.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 cz.proto.access.Ddl.getDescriptor().getEnumTypes().get(2);
    }

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

    public static AccessType 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 AccessType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:cz.proto.access.AccessType)
  }

  public interface CreateEntityOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.access.CreateEntity)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bool replace = 1;
     * @return Whether the replace field is set.
     */
    boolean hasReplace();
    /**
     * bool replace = 1;
     * @return The replace.
     */
    boolean getReplace();

    /**
     * bool if_not_exists = 2;
     * @return Whether the ifNotExists field is set.
     */
    boolean hasIfNotExists();
    /**
     * bool if_not_exists = 2;
     * @return The ifNotExists.
     */
    boolean getIfNotExists();

    /**
     * .cz.proto.Entity entity = 3;
     * @return Whether the entity field is set.
     */
    boolean hasEntity();
    /**
     * .cz.proto.Entity entity = 3;
     * @return The entity.
     */
    cz.proto.MetadataEntity.Entity getEntity();
    /**
     * .cz.proto.Entity entity = 3;
     */
    cz.proto.MetadataEntity.EntityOrBuilder getEntityOrBuilder();

    public cz.proto.access.Ddl.CreateEntity.ModeCase getModeCase();
  }
  /**
   * Protobuf type {@code cz.proto.access.CreateEntity}
   */
  public static final class CreateEntity extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cz.proto.access.CreateEntity)
      CreateEntityOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CreateEntity.newBuilder() to construct.
    private CreateEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private CreateEntity() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CreateEntity(
        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: {
              mode_ = input.readBool();
              modeCase_ = 1;
              break;
            }
            case 16: {
              mode_ = input.readBool();
              modeCase_ = 2;
              break;
            }
            case 26: {
              cz.proto.MetadataEntity.Entity.Builder subBuilder = null;
              if (entity_ != null) {
                subBuilder = entity_.toBuilder();
              }
              entity_ = input.readMessage(cz.proto.MetadataEntity.Entity.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(entity_);
                entity_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_CreateEntity_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.access.Ddl.internal_static_cz_proto_access_CreateEntity_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.access.Ddl.CreateEntity.class, cz.proto.access.Ddl.CreateEntity.Builder.class);
    }

    private int modeCase_ = 0;
    private java.lang.Object mode_;
    public enum ModeCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      REPLACE(1),
      IF_NOT_EXISTS(2),
      MODE_NOT_SET(0);
      private final int value;
      private ModeCase(int value) {
        this.value = value;
      }
      /**
       * @param value The number of the enum to look for.
       * @return The enum associated with the given number.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static ModeCase valueOf(int value) {
        return forNumber(value);
      }

      public static ModeCase forNumber(int value) {
        switch (value) {
          case 1: return REPLACE;
          case 2: return IF_NOT_EXISTS;
          case 0: return MODE_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public ModeCase
    getModeCase() {
      return ModeCase.forNumber(
          modeCase_);
    }

    public static final int REPLACE_FIELD_NUMBER = 1;
    /**
     * bool replace = 1;
     * @return Whether the replace field is set.
     */
    @java.lang.Override
    public boolean hasReplace() {
      return modeCase_ == 1;
    }
    /**
     * bool replace = 1;
     * @return The replace.
     */
    @java.lang.Override
    public boolean getReplace() {
      if (modeCase_ == 1) {
        return (java.lang.Boolean) mode_;
      }
      return false;
    }

    public static final int IF_NOT_EXISTS_FIELD_NUMBER = 2;
    /**
     * bool if_not_exists = 2;
     * @return Whether the ifNotExists field is set.
     */
    @java.lang.Override
    public boolean hasIfNotExists() {
      return modeCase_ == 2;
    }
    /**
     * bool if_not_exists = 2;
     * @return The ifNotExists.
     */
    @java.lang.Override
    public boolean getIfNotExists() {
      if (modeCase_ == 2) {
        return (java.lang.Boolean) mode_;
      }
      return false;
    }

    public static final int ENTITY_FIELD_NUMBER = 3;
    private cz.proto.MetadataEntity.Entity entity_;
    /**
     * .cz.proto.Entity entity = 3;
     * @return Whether the entity field is set.
     */
    @java.lang.Override
    public boolean hasEntity() {
      return entity_ != null;
    }
    /**
     * .cz.proto.Entity entity = 3;
     * @return The entity.
     */
    @java.lang.Override
    public cz.proto.MetadataEntity.Entity getEntity() {
      return entity_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : entity_;
    }
    /**
     * .cz.proto.Entity entity = 3;
     */
    @java.lang.Override
    public cz.proto.MetadataEntity.EntityOrBuilder getEntityOrBuilder() {
      return getEntity();
    }

    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 (modeCase_ == 1) {
        output.writeBool(
            1, (boolean)((java.lang.Boolean) mode_));
      }
      if (modeCase_ == 2) {
        output.writeBool(
            2, (boolean)((java.lang.Boolean) mode_));
      }
      if (entity_ != null) {
        output.writeMessage(3, getEntity());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (modeCase_ == 1) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(
              1, (boolean)((java.lang.Boolean) mode_));
      }
      if (modeCase_ == 2) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(
              2, (boolean)((java.lang.Boolean) mode_));
      }
      if (entity_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getEntity());
      }
      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 cz.proto.access.Ddl.CreateEntity)) {
        return super.equals(obj);
      }
      cz.proto.access.Ddl.CreateEntity other = (cz.proto.access.Ddl.CreateEntity) obj;

      if (hasEntity() != other.hasEntity()) return false;
      if (hasEntity()) {
        if (!getEntity()
            .equals(other.getEntity())) return false;
      }
      if (!getModeCase().equals(other.getModeCase())) return false;
      switch (modeCase_) {
        case 1:
          if (getReplace()
              != other.getReplace()) return false;
          break;
        case 2:
          if (getIfNotExists()
              != other.getIfNotExists()) return false;
          break;
        case 0:
        default:
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasEntity()) {
        hash = (37 * hash) + ENTITY_FIELD_NUMBER;
        hash = (53 * hash) + getEntity().hashCode();
      }
      switch (modeCase_) {
        case 1:
          hash = (37 * hash) + REPLACE_FIELD_NUMBER;
          hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
              getReplace());
          break;
        case 2:
          hash = (37 * hash) + IF_NOT_EXISTS_FIELD_NUMBER;
          hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
              getIfNotExists());
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cz.proto.access.Ddl.internal_static_cz_proto_access_CreateEntity_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cz.proto.access.Ddl.CreateEntity.class, cz.proto.access.Ddl.CreateEntity.Builder.class);
      }

      // Construct using cz.proto.access.Ddl.CreateEntity.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 (entityBuilder_ == null) {
          entity_ = null;
        } else {
          entity_ = null;
          entityBuilder_ = null;
        }
        modeCase_ = 0;
        mode_ = null;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cz.proto.access.Ddl.internal_static_cz_proto_access_CreateEntity_descriptor;
      }

      @java.lang.Override
      public cz.proto.access.Ddl.CreateEntity getDefaultInstanceForType() {
        return cz.proto.access.Ddl.CreateEntity.getDefaultInstance();
      }

      @java.lang.Override
      public cz.proto.access.Ddl.CreateEntity build() {
        cz.proto.access.Ddl.CreateEntity result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cz.proto.access.Ddl.CreateEntity buildPartial() {
        cz.proto.access.Ddl.CreateEntity result = new cz.proto.access.Ddl.CreateEntity(this);
        if (modeCase_ == 1) {
          result.mode_ = mode_;
        }
        if (modeCase_ == 2) {
          result.mode_ = mode_;
        }
        if (entityBuilder_ == null) {
          result.entity_ = entity_;
        } else {
          result.entity_ = entityBuilder_.build();
        }
        result.modeCase_ = modeCase_;
        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 cz.proto.access.Ddl.CreateEntity) {
          return mergeFrom((cz.proto.access.Ddl.CreateEntity)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cz.proto.access.Ddl.CreateEntity other) {
        if (other == cz.proto.access.Ddl.CreateEntity.getDefaultInstance()) return this;
        if (other.hasEntity()) {
          mergeEntity(other.getEntity());
        }
        switch (other.getModeCase()) {
          case REPLACE: {
            setReplace(other.getReplace());
            break;
          }
          case IF_NOT_EXISTS: {
            setIfNotExists(other.getIfNotExists());
            break;
          }
          case MODE_NOT_SET: {
            break;
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        cz.proto.access.Ddl.CreateEntity parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cz.proto.access.Ddl.CreateEntity) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int modeCase_ = 0;
      private java.lang.Object mode_;
      public ModeCase
          getModeCase() {
        return ModeCase.forNumber(
            modeCase_);
      }

      public Builder clearMode() {
        modeCase_ = 0;
        mode_ = null;
        onChanged();
        return this;
      }


      /**
       * bool replace = 1;
       * @return Whether the replace field is set.
       */
      public boolean hasReplace() {
        return modeCase_ == 1;
      }
      /**
       * bool replace = 1;
       * @return The replace.
       */
      public boolean getReplace() {
        if (modeCase_ == 1) {
          return (java.lang.Boolean) mode_;
        }
        return false;
      }
      /**
       * bool replace = 1;
       * @param value The replace to set.
       * @return This builder for chaining.
       */
      public Builder setReplace(boolean value) {
        modeCase_ = 1;
        mode_ = value;
        onChanged();
        return this;
      }
      /**
       * bool replace = 1;
       * @return This builder for chaining.
       */
      public Builder clearReplace() {
        if (modeCase_ == 1) {
          modeCase_ = 0;
          mode_ = null;
          onChanged();
        }
        return this;
      }

      /**
       * bool if_not_exists = 2;
       * @return Whether the ifNotExists field is set.
       */
      public boolean hasIfNotExists() {
        return modeCase_ == 2;
      }
      /**
       * bool if_not_exists = 2;
       * @return The ifNotExists.
       */
      public boolean getIfNotExists() {
        if (modeCase_ == 2) {
          return (java.lang.Boolean) mode_;
        }
        return false;
      }
      /**
       * bool if_not_exists = 2;
       * @param value The ifNotExists to set.
       * @return This builder for chaining.
       */
      public Builder setIfNotExists(boolean value) {
        modeCase_ = 2;
        mode_ = value;
        onChanged();
        return this;
      }
      /**
       * bool if_not_exists = 2;
       * @return This builder for chaining.
       */
      public Builder clearIfNotExists() {
        if (modeCase_ == 2) {
          modeCase_ = 0;
          mode_ = null;
          onChanged();
        }
        return this;
      }

      private cz.proto.MetadataEntity.Entity entity_;
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> entityBuilder_;
      /**
       * .cz.proto.Entity entity = 3;
       * @return Whether the entity field is set.
       */
      public boolean hasEntity() {
        return entityBuilder_ != null || entity_ != null;
      }
      /**
       * .cz.proto.Entity entity = 3;
       * @return The entity.
       */
      public cz.proto.MetadataEntity.Entity getEntity() {
        if (entityBuilder_ == null) {
          return entity_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : entity_;
        } else {
          return entityBuilder_.getMessage();
        }
      }
      /**
       * .cz.proto.Entity entity = 3;
       */
      public Builder setEntity(cz.proto.MetadataEntity.Entity value) {
        if (entityBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          entity_ = value;
          onChanged();
        } else {
          entityBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .cz.proto.Entity entity = 3;
       */
      public Builder setEntity(
          cz.proto.MetadataEntity.Entity.Builder builderForValue) {
        if (entityBuilder_ == null) {
          entity_ = builderForValue.build();
          onChanged();
        } else {
          entityBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .cz.proto.Entity entity = 3;
       */
      public Builder mergeEntity(cz.proto.MetadataEntity.Entity value) {
        if (entityBuilder_ == null) {
          if (entity_ != null) {
            entity_ =
              cz.proto.MetadataEntity.Entity.newBuilder(entity_).mergeFrom(value).buildPartial();
          } else {
            entity_ = value;
          }
          onChanged();
        } else {
          entityBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .cz.proto.Entity entity = 3;
       */
      public Builder clearEntity() {
        if (entityBuilder_ == null) {
          entity_ = null;
          onChanged();
        } else {
          entity_ = null;
          entityBuilder_ = null;
        }

        return this;
      }
      /**
       * .cz.proto.Entity entity = 3;
       */
      public cz.proto.MetadataEntity.Entity.Builder getEntityBuilder() {
        
        onChanged();
        return getEntityFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.Entity entity = 3;
       */
      public cz.proto.MetadataEntity.EntityOrBuilder getEntityOrBuilder() {
        if (entityBuilder_ != null) {
          return entityBuilder_.getMessageOrBuilder();
        } else {
          return entity_ == null ?
              cz.proto.MetadataEntity.Entity.getDefaultInstance() : entity_;
        }
      }
      /**
       * .cz.proto.Entity entity = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> 
          getEntityFieldBuilder() {
        if (entityBuilder_ == null) {
          entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>(
                  getEntity(),
                  getParentForChildren(),
                  isClean());
          entity_ = null;
        }
        return entityBuilder_;
      }
      @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:cz.proto.access.CreateEntity)
    }

    // @@protoc_insertion_point(class_scope:cz.proto.access.CreateEntity)
    private static final cz.proto.access.Ddl.CreateEntity DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cz.proto.access.Ddl.CreateEntity();
    }

    public static cz.proto.access.Ddl.CreateEntity getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public CreateEntity parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new CreateEntity(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 cz.proto.access.Ddl.CreateEntity getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface AlterEntityOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.access.AlterEntity)
      com.google.protobuf.MessageOrBuilder {

    /**
     * bool if_exists = 1;
     * @return The ifExists.
     */
    boolean getIfExists();

    /**
     * .cz.proto.ObjectIdentifier identifier = 2;
     * @return Whether the identifier field is set.
     */
    boolean hasIdentifier();
    /**
     * .cz.proto.ObjectIdentifier identifier = 2;
     * @return The identifier.
     */
    cz.proto.ObjectIdentifier getIdentifier();
    /**
     * .cz.proto.ObjectIdentifier identifier = 2;
     */
    cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder();

    /**
     * bool change_comment = 3;
     * @return The changeComment.
     */
    boolean getChangeComment();

    /**
     * .cz.proto.Entity entity = 4;
     * @return Whether the entity field is set.
     */
    boolean hasEntity();
    /**
     * .cz.proto.Entity entity = 4;
     * @return The entity.
     */
    cz.proto.MetadataEntity.Entity getEntity();
    /**
     * .cz.proto.Entity entity = 4;
     */
    cz.proto.MetadataEntity.EntityOrBuilder getEntityOrBuilder();

    /**
     * .cz.proto.access.AlterRole role = 10;
     * @return Whether the role field is set.
     */
    boolean hasRole();
    /**
     * .cz.proto.access.AlterRole role = 10;
     * @return The role.
     */
    cz.proto.access.Ddl.AlterRole getRole();
    /**
     * .cz.proto.access.AlterRole role = 10;
     */
    cz.proto.access.Ddl.AlterRoleOrBuilder getRoleOrBuilder();

    /**
     * .cz.proto.access.AlterJob job = 11;
     * @return Whether the job field is set.
     */
    boolean hasJob();
    /**
     * .cz.proto.access.AlterJob job = 11;
     * @return The job.
     */
    cz.proto.access.Ddl.AlterJob getJob();
    /**
     * .cz.proto.access.AlterJob job = 11;
     */
    cz.proto.access.Ddl.AlterJobOrBuilder getJobOrBuilder();

    /**
     * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
     * @return Whether the virtualCluster field is set.
     */
    boolean hasVirtualCluster();
    /**
     * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
     * @return The virtualCluster.
     */
    cz.proto.access.Ddl.AlterVirtualCluster getVirtualCluster();
    /**
     * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12;
     */
    cz.proto.access.Ddl.AlterVirtualClusterOrBuilder getVirtualClusterOrBuilder();

    /**
     * 
     * TODO(zhenyu.hou) - this is only for RM, remove later
     * 
* * .cz.proto.access.AlterVCluster vcluster = 13; * @return Whether the vcluster field is set. */ boolean hasVcluster(); /** *
     * TODO(zhenyu.hou) - this is only for RM, remove later
     * 
* * .cz.proto.access.AlterVCluster vcluster = 13; * @return The vcluster. */ cz.proto.access.Ddl.AlterVCluster getVcluster(); /** *
     * TODO(zhenyu.hou) - this is only for RM, remove later
     * 
* * .cz.proto.access.AlterVCluster vcluster = 13; */ cz.proto.access.Ddl.AlterVClusterOrBuilder getVclusterOrBuilder(); /** * .cz.proto.access.AlterShare share = 14; * @return Whether the share field is set. */ boolean hasShare(); /** * .cz.proto.access.AlterShare share = 14; * @return The share. */ cz.proto.access.Ddl.AlterShare getShare(); /** * .cz.proto.access.AlterShare share = 14; */ cz.proto.access.Ddl.AlterShareOrBuilder getShareOrBuilder(); /** * .cz.proto.access.AlterConnection connection = 15; * @return Whether the connection field is set. */ boolean hasConnection(); /** * .cz.proto.access.AlterConnection connection = 15; * @return The connection. */ cz.proto.access.Ddl.AlterConnection getConnection(); /** * .cz.proto.access.AlterConnection connection = 15; */ cz.proto.access.Ddl.AlterConnectionOrBuilder getConnectionOrBuilder(); /** * .cz.proto.access.AlterFunction function = 16; * @return Whether the function field is set. */ boolean hasFunction(); /** * .cz.proto.access.AlterFunction function = 16; * @return The function. */ cz.proto.access.Ddl.AlterFunction getFunction(); /** * .cz.proto.access.AlterFunction function = 16; */ cz.proto.access.Ddl.AlterFunctionOrBuilder getFunctionOrBuilder(); /** * .cz.proto.access.AlterUser user = 17; * @return Whether the user field is set. */ boolean hasUser(); /** * .cz.proto.access.AlterUser user = 17; * @return The user. */ cz.proto.access.Ddl.AlterUser getUser(); /** * .cz.proto.access.AlterUser user = 17; */ cz.proto.access.Ddl.AlterUserOrBuilder getUserOrBuilder(); /** * .cz.proto.access.AlterTable table = 18; * @return Whether the table field is set. */ boolean hasTable(); /** * .cz.proto.access.AlterTable table = 18; * @return The table. */ cz.proto.access.Ddl.AlterTable getTable(); /** * .cz.proto.access.AlterTable table = 18; */ cz.proto.access.Ddl.AlterTableOrBuilder getTableOrBuilder(); public cz.proto.access.Ddl.AlterEntity.DerivedCase getDerivedCase(); } /** * Protobuf type {@code cz.proto.access.AlterEntity} */ public static final class AlterEntity extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AlterEntity) AlterEntityOrBuilder { private static final long serialVersionUID = 0L; // Use AlterEntity.newBuilder() to construct. private AlterEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlterEntity() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterEntity(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlterEntity( 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: { ifExists_ = input.readBool(); break; } case 18: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 24: { changeComment_ = input.readBool(); break; } case 34: { cz.proto.MetadataEntity.Entity.Builder subBuilder = null; if (entity_ != null) { subBuilder = entity_.toBuilder(); } entity_ = input.readMessage(cz.proto.MetadataEntity.Entity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(entity_); entity_ = subBuilder.buildPartial(); } break; } case 82: { cz.proto.access.Ddl.AlterRole.Builder subBuilder = null; if (derivedCase_ == 10) { subBuilder = ((cz.proto.access.Ddl.AlterRole) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.AlterRole.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.AlterRole) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 10; break; } case 90: { cz.proto.access.Ddl.AlterJob.Builder subBuilder = null; if (derivedCase_ == 11) { subBuilder = ((cz.proto.access.Ddl.AlterJob) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.AlterJob.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.AlterJob) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 11; break; } case 98: { cz.proto.access.Ddl.AlterVirtualCluster.Builder subBuilder = null; if (derivedCase_ == 12) { subBuilder = ((cz.proto.access.Ddl.AlterVirtualCluster) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.AlterVirtualCluster.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.AlterVirtualCluster) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 12; break; } case 106: { cz.proto.access.Ddl.AlterVCluster.Builder subBuilder = null; if (derivedCase_ == 13) { subBuilder = ((cz.proto.access.Ddl.AlterVCluster) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.AlterVCluster.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.AlterVCluster) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 13; break; } case 114: { cz.proto.access.Ddl.AlterShare.Builder subBuilder = null; if (derivedCase_ == 14) { subBuilder = ((cz.proto.access.Ddl.AlterShare) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.AlterShare.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.AlterShare) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 14; break; } case 122: { cz.proto.access.Ddl.AlterConnection.Builder subBuilder = null; if (derivedCase_ == 15) { subBuilder = ((cz.proto.access.Ddl.AlterConnection) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.AlterConnection.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.AlterConnection) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 15; break; } case 130: { cz.proto.access.Ddl.AlterFunction.Builder subBuilder = null; if (derivedCase_ == 16) { subBuilder = ((cz.proto.access.Ddl.AlterFunction) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.AlterFunction.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.AlterFunction) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 16; break; } case 138: { cz.proto.access.Ddl.AlterUser.Builder subBuilder = null; if (derivedCase_ == 17) { subBuilder = ((cz.proto.access.Ddl.AlterUser) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.AlterUser.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.AlterUser) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 17; break; } case 146: { cz.proto.access.Ddl.AlterTable.Builder subBuilder = null; if (derivedCase_ == 18) { subBuilder = ((cz.proto.access.Ddl.AlterTable) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.AlterTable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.AlterTable) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 18; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_AlterEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterEntity.class, cz.proto.access.Ddl.AlterEntity.Builder.class); } private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROLE(10), JOB(11), VIRTUAL_CLUSTER(12), VCLUSTER(13), SHARE(14), CONNECTION(15), FUNCTION(16), USER(17), TABLE(18), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 10: return ROLE; case 11: return JOB; case 12: return VIRTUAL_CLUSTER; case 13: return VCLUSTER; case 14: return SHARE; case 15: return CONNECTION; case 16: return FUNCTION; case 17: return USER; case 18: return TABLE; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public static final int IF_EXISTS_FIELD_NUMBER = 1; private boolean ifExists_; /** * bool if_exists = 1; * @return The ifExists. */ @java.lang.Override public boolean getIfExists() { return ifExists_; } public static final int IDENTIFIER_FIELD_NUMBER = 2; private cz.proto.ObjectIdentifier identifier_; /** * .cz.proto.ObjectIdentifier identifier = 2; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 2; * @return The identifier. */ @java.lang.Override public cz.proto.ObjectIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ObjectIdentifier identifier = 2; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int CHANGE_COMMENT_FIELD_NUMBER = 3; private boolean changeComment_; /** * bool change_comment = 3; * @return The changeComment. */ @java.lang.Override public boolean getChangeComment() { return changeComment_; } public static final int ENTITY_FIELD_NUMBER = 4; private cz.proto.MetadataEntity.Entity entity_; /** * .cz.proto.Entity entity = 4; * @return Whether the entity field is set. */ @java.lang.Override public boolean hasEntity() { return entity_ != null; } /** * .cz.proto.Entity entity = 4; * @return The entity. */ @java.lang.Override public cz.proto.MetadataEntity.Entity getEntity() { return entity_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : entity_; } /** * .cz.proto.Entity entity = 4; */ @java.lang.Override public cz.proto.MetadataEntity.EntityOrBuilder getEntityOrBuilder() { return getEntity(); } public static final int ROLE_FIELD_NUMBER = 10; /** * .cz.proto.access.AlterRole role = 10; * @return Whether the role field is set. */ @java.lang.Override public boolean hasRole() { return derivedCase_ == 10; } /** * .cz.proto.access.AlterRole role = 10; * @return The role. */ @java.lang.Override public cz.proto.access.Ddl.AlterRole getRole() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.AlterRole) derived_; } return cz.proto.access.Ddl.AlterRole.getDefaultInstance(); } /** * .cz.proto.access.AlterRole role = 10; */ @java.lang.Override public cz.proto.access.Ddl.AlterRoleOrBuilder getRoleOrBuilder() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.AlterRole) derived_; } return cz.proto.access.Ddl.AlterRole.getDefaultInstance(); } public static final int JOB_FIELD_NUMBER = 11; /** * .cz.proto.access.AlterJob job = 11; * @return Whether the job field is set. */ @java.lang.Override public boolean hasJob() { return derivedCase_ == 11; } /** * .cz.proto.access.AlterJob job = 11; * @return The job. */ @java.lang.Override public cz.proto.access.Ddl.AlterJob getJob() { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.AlterJob) derived_; } return cz.proto.access.Ddl.AlterJob.getDefaultInstance(); } /** * .cz.proto.access.AlterJob job = 11; */ @java.lang.Override public cz.proto.access.Ddl.AlterJobOrBuilder getJobOrBuilder() { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.AlterJob) derived_; } return cz.proto.access.Ddl.AlterJob.getDefaultInstance(); } public static final int VIRTUAL_CLUSTER_FIELD_NUMBER = 12; /** * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12; * @return Whether the virtualCluster field is set. */ @java.lang.Override public boolean hasVirtualCluster() { return derivedCase_ == 12; } /** * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12; * @return The virtualCluster. */ @java.lang.Override public cz.proto.access.Ddl.AlterVirtualCluster getVirtualCluster() { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.AlterVirtualCluster) derived_; } return cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance(); } /** * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12; */ @java.lang.Override public cz.proto.access.Ddl.AlterVirtualClusterOrBuilder getVirtualClusterOrBuilder() { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.AlterVirtualCluster) derived_; } return cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance(); } public static final int VCLUSTER_FIELD_NUMBER = 13; /** *
     * TODO(zhenyu.hou) - this is only for RM, remove later
     * 
* * .cz.proto.access.AlterVCluster vcluster = 13; * @return Whether the vcluster field is set. */ @java.lang.Override public boolean hasVcluster() { return derivedCase_ == 13; } /** *
     * TODO(zhenyu.hou) - this is only for RM, remove later
     * 
* * .cz.proto.access.AlterVCluster vcluster = 13; * @return The vcluster. */ @java.lang.Override public cz.proto.access.Ddl.AlterVCluster getVcluster() { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.AlterVCluster) derived_; } return cz.proto.access.Ddl.AlterVCluster.getDefaultInstance(); } /** *
     * TODO(zhenyu.hou) - this is only for RM, remove later
     * 
* * .cz.proto.access.AlterVCluster vcluster = 13; */ @java.lang.Override public cz.proto.access.Ddl.AlterVClusterOrBuilder getVclusterOrBuilder() { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.AlterVCluster) derived_; } return cz.proto.access.Ddl.AlterVCluster.getDefaultInstance(); } public static final int SHARE_FIELD_NUMBER = 14; /** * .cz.proto.access.AlterShare share = 14; * @return Whether the share field is set. */ @java.lang.Override public boolean hasShare() { return derivedCase_ == 14; } /** * .cz.proto.access.AlterShare share = 14; * @return The share. */ @java.lang.Override public cz.proto.access.Ddl.AlterShare getShare() { if (derivedCase_ == 14) { return (cz.proto.access.Ddl.AlterShare) derived_; } return cz.proto.access.Ddl.AlterShare.getDefaultInstance(); } /** * .cz.proto.access.AlterShare share = 14; */ @java.lang.Override public cz.proto.access.Ddl.AlterShareOrBuilder getShareOrBuilder() { if (derivedCase_ == 14) { return (cz.proto.access.Ddl.AlterShare) derived_; } return cz.proto.access.Ddl.AlterShare.getDefaultInstance(); } public static final int CONNECTION_FIELD_NUMBER = 15; /** * .cz.proto.access.AlterConnection connection = 15; * @return Whether the connection field is set. */ @java.lang.Override public boolean hasConnection() { return derivedCase_ == 15; } /** * .cz.proto.access.AlterConnection connection = 15; * @return The connection. */ @java.lang.Override public cz.proto.access.Ddl.AlterConnection getConnection() { if (derivedCase_ == 15) { return (cz.proto.access.Ddl.AlterConnection) derived_; } return cz.proto.access.Ddl.AlterConnection.getDefaultInstance(); } /** * .cz.proto.access.AlterConnection connection = 15; */ @java.lang.Override public cz.proto.access.Ddl.AlterConnectionOrBuilder getConnectionOrBuilder() { if (derivedCase_ == 15) { return (cz.proto.access.Ddl.AlterConnection) derived_; } return cz.proto.access.Ddl.AlterConnection.getDefaultInstance(); } public static final int FUNCTION_FIELD_NUMBER = 16; /** * .cz.proto.access.AlterFunction function = 16; * @return Whether the function field is set. */ @java.lang.Override public boolean hasFunction() { return derivedCase_ == 16; } /** * .cz.proto.access.AlterFunction function = 16; * @return The function. */ @java.lang.Override public cz.proto.access.Ddl.AlterFunction getFunction() { if (derivedCase_ == 16) { return (cz.proto.access.Ddl.AlterFunction) derived_; } return cz.proto.access.Ddl.AlterFunction.getDefaultInstance(); } /** * .cz.proto.access.AlterFunction function = 16; */ @java.lang.Override public cz.proto.access.Ddl.AlterFunctionOrBuilder getFunctionOrBuilder() { if (derivedCase_ == 16) { return (cz.proto.access.Ddl.AlterFunction) derived_; } return cz.proto.access.Ddl.AlterFunction.getDefaultInstance(); } public static final int USER_FIELD_NUMBER = 17; /** * .cz.proto.access.AlterUser user = 17; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return derivedCase_ == 17; } /** * .cz.proto.access.AlterUser user = 17; * @return The user. */ @java.lang.Override public cz.proto.access.Ddl.AlterUser getUser() { if (derivedCase_ == 17) { return (cz.proto.access.Ddl.AlterUser) derived_; } return cz.proto.access.Ddl.AlterUser.getDefaultInstance(); } /** * .cz.proto.access.AlterUser user = 17; */ @java.lang.Override public cz.proto.access.Ddl.AlterUserOrBuilder getUserOrBuilder() { if (derivedCase_ == 17) { return (cz.proto.access.Ddl.AlterUser) derived_; } return cz.proto.access.Ddl.AlterUser.getDefaultInstance(); } public static final int TABLE_FIELD_NUMBER = 18; /** * .cz.proto.access.AlterTable table = 18; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return derivedCase_ == 18; } /** * .cz.proto.access.AlterTable table = 18; * @return The table. */ @java.lang.Override public cz.proto.access.Ddl.AlterTable getTable() { if (derivedCase_ == 18) { return (cz.proto.access.Ddl.AlterTable) derived_; } return cz.proto.access.Ddl.AlterTable.getDefaultInstance(); } /** * .cz.proto.access.AlterTable table = 18; */ @java.lang.Override public cz.proto.access.Ddl.AlterTableOrBuilder getTableOrBuilder() { if (derivedCase_ == 18) { return (cz.proto.access.Ddl.AlterTable) derived_; } return cz.proto.access.Ddl.AlterTable.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (ifExists_ != false) { output.writeBool(1, ifExists_); } if (identifier_ != null) { output.writeMessage(2, getIdentifier()); } if (changeComment_ != false) { output.writeBool(3, changeComment_); } if (entity_ != null) { output.writeMessage(4, getEntity()); } if (derivedCase_ == 10) { output.writeMessage(10, (cz.proto.access.Ddl.AlterRole) derived_); } if (derivedCase_ == 11) { output.writeMessage(11, (cz.proto.access.Ddl.AlterJob) derived_); } if (derivedCase_ == 12) { output.writeMessage(12, (cz.proto.access.Ddl.AlterVirtualCluster) derived_); } if (derivedCase_ == 13) { output.writeMessage(13, (cz.proto.access.Ddl.AlterVCluster) derived_); } if (derivedCase_ == 14) { output.writeMessage(14, (cz.proto.access.Ddl.AlterShare) derived_); } if (derivedCase_ == 15) { output.writeMessage(15, (cz.proto.access.Ddl.AlterConnection) derived_); } if (derivedCase_ == 16) { output.writeMessage(16, (cz.proto.access.Ddl.AlterFunction) derived_); } if (derivedCase_ == 17) { output.writeMessage(17, (cz.proto.access.Ddl.AlterUser) derived_); } if (derivedCase_ == 18) { output.writeMessage(18, (cz.proto.access.Ddl.AlterTable) derived_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (ifExists_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, ifExists_); } if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getIdentifier()); } if (changeComment_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, changeComment_); } if (entity_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getEntity()); } if (derivedCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.Ddl.AlterRole) derived_); } if (derivedCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (cz.proto.access.Ddl.AlterJob) derived_); } if (derivedCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (cz.proto.access.Ddl.AlterVirtualCluster) derived_); } if (derivedCase_ == 13) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, (cz.proto.access.Ddl.AlterVCluster) derived_); } if (derivedCase_ == 14) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, (cz.proto.access.Ddl.AlterShare) derived_); } if (derivedCase_ == 15) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, (cz.proto.access.Ddl.AlterConnection) derived_); } if (derivedCase_ == 16) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, (cz.proto.access.Ddl.AlterFunction) derived_); } if (derivedCase_ == 17) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, (cz.proto.access.Ddl.AlterUser) derived_); } if (derivedCase_ == 18) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, (cz.proto.access.Ddl.AlterTable) derived_); } 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 cz.proto.access.Ddl.AlterEntity)) { return super.equals(obj); } cz.proto.access.Ddl.AlterEntity other = (cz.proto.access.Ddl.AlterEntity) obj; if (getIfExists() != other.getIfExists()) return false; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (getChangeComment() != other.getChangeComment()) return false; if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { if (!getEntity() .equals(other.getEntity())) return false; } if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 10: if (!getRole() .equals(other.getRole())) return false; break; case 11: if (!getJob() .equals(other.getJob())) return false; break; case 12: if (!getVirtualCluster() .equals(other.getVirtualCluster())) return false; break; case 13: if (!getVcluster() .equals(other.getVcluster())) return false; break; case 14: if (!getShare() .equals(other.getShare())) return false; break; case 15: if (!getConnection() .equals(other.getConnection())) return false; break; case 16: if (!getFunction() .equals(other.getFunction())) return false; break; case 17: if (!getUser() .equals(other.getUser())) return false; break; case 18: if (!getTable() .equals(other.getTable())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + IF_EXISTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIfExists()); if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } hash = (37 * hash) + CHANGE_COMMENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getChangeComment()); if (hasEntity()) { hash = (37 * hash) + ENTITY_FIELD_NUMBER; hash = (53 * hash) + getEntity().hashCode(); } switch (derivedCase_) { case 10: hash = (37 * hash) + ROLE_FIELD_NUMBER; hash = (53 * hash) + getRole().hashCode(); break; case 11: hash = (37 * hash) + JOB_FIELD_NUMBER; hash = (53 * hash) + getJob().hashCode(); break; case 12: hash = (37 * hash) + VIRTUAL_CLUSTER_FIELD_NUMBER; hash = (53 * hash) + getVirtualCluster().hashCode(); break; case 13: hash = (37 * hash) + VCLUSTER_FIELD_NUMBER; hash = (53 * hash) + getVcluster().hashCode(); break; case 14: hash = (37 * hash) + SHARE_FIELD_NUMBER; hash = (53 * hash) + getShare().hashCode(); break; case 15: hash = (37 * hash) + CONNECTION_FIELD_NUMBER; hash = (53 * hash) + getConnection().hashCode(); break; case 16: hash = (37 * hash) + FUNCTION_FIELD_NUMBER; hash = (53 * hash) + getFunction().hashCode(); break; case 17: hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); break; case 18: hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AlterEntity parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterEntity parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterEntity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterEntity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterEntity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterEntity parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterEntity parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterEntity 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 cz.proto.access.Ddl.AlterEntity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterEntity 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 cz.proto.access.Ddl.AlterEntity parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterEntity 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(cz.proto.access.Ddl.AlterEntity 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 cz.proto.access.AlterEntity} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AlterEntity) cz.proto.access.Ddl.AlterEntityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterEntity.class, cz.proto.access.Ddl.AlterEntity.Builder.class); } // Construct using cz.proto.access.Ddl.AlterEntity.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(); ifExists_ = false; if (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } changeComment_ = false; if (entityBuilder_ == null) { entity_ = null; } else { entity_ = null; entityBuilder_ = null; } derivedCase_ = 0; derived_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterEntity_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AlterEntity getDefaultInstanceForType() { return cz.proto.access.Ddl.AlterEntity.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AlterEntity build() { cz.proto.access.Ddl.AlterEntity result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AlterEntity buildPartial() { cz.proto.access.Ddl.AlterEntity result = new cz.proto.access.Ddl.AlterEntity(this); result.ifExists_ = ifExists_; if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } result.changeComment_ = changeComment_; if (entityBuilder_ == null) { result.entity_ = entity_; } else { result.entity_ = entityBuilder_.build(); } if (derivedCase_ == 10) { if (roleBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = roleBuilder_.build(); } } if (derivedCase_ == 11) { if (jobBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = jobBuilder_.build(); } } if (derivedCase_ == 12) { if (virtualClusterBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = virtualClusterBuilder_.build(); } } if (derivedCase_ == 13) { if (vclusterBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = vclusterBuilder_.build(); } } if (derivedCase_ == 14) { if (shareBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = shareBuilder_.build(); } } if (derivedCase_ == 15) { if (connectionBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = connectionBuilder_.build(); } } if (derivedCase_ == 16) { if (functionBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = functionBuilder_.build(); } } if (derivedCase_ == 17) { if (userBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = userBuilder_.build(); } } if (derivedCase_ == 18) { if (tableBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = tableBuilder_.build(); } } result.derivedCase_ = derivedCase_; 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 cz.proto.access.Ddl.AlterEntity) { return mergeFrom((cz.proto.access.Ddl.AlterEntity)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AlterEntity other) { if (other == cz.proto.access.Ddl.AlterEntity.getDefaultInstance()) return this; if (other.getIfExists() != false) { setIfExists(other.getIfExists()); } if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (other.getChangeComment() != false) { setChangeComment(other.getChangeComment()); } if (other.hasEntity()) { mergeEntity(other.getEntity()); } switch (other.getDerivedCase()) { case ROLE: { mergeRole(other.getRole()); break; } case JOB: { mergeJob(other.getJob()); break; } case VIRTUAL_CLUSTER: { mergeVirtualCluster(other.getVirtualCluster()); break; } case VCLUSTER: { mergeVcluster(other.getVcluster()); break; } case SHARE: { mergeShare(other.getShare()); break; } case CONNECTION: { mergeConnection(other.getConnection()); break; } case FUNCTION: { mergeFunction(other.getFunction()); break; } case USER: { mergeUser(other.getUser()); break; } case TABLE: { mergeTable(other.getTable()); break; } case DERIVED_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.AlterEntity parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AlterEntity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } private boolean ifExists_ ; /** * bool if_exists = 1; * @return The ifExists. */ @java.lang.Override public boolean getIfExists() { return ifExists_; } /** * bool if_exists = 1; * @param value The ifExists to set. * @return This builder for chaining. */ public Builder setIfExists(boolean value) { ifExists_ = value; onChanged(); return this; } /** * bool if_exists = 1; * @return This builder for chaining. */ public Builder clearIfExists() { ifExists_ = false; onChanged(); return this; } private cz.proto.ObjectIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ObjectIdentifier identifier = 2; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 2; * @return The identifier. */ public cz.proto.ObjectIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier identifier = 2; */ public Builder setIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 2; */ public Builder setIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 2; */ public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 2; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier identifier = 2; */ public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier identifier = 2; */ public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ObjectIdentifier identifier = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private boolean changeComment_ ; /** * bool change_comment = 3; * @return The changeComment. */ @java.lang.Override public boolean getChangeComment() { return changeComment_; } /** * bool change_comment = 3; * @param value The changeComment to set. * @return This builder for chaining. */ public Builder setChangeComment(boolean value) { changeComment_ = value; onChanged(); return this; } /** * bool change_comment = 3; * @return This builder for chaining. */ public Builder clearChangeComment() { changeComment_ = false; onChanged(); return this; } private cz.proto.MetadataEntity.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> entityBuilder_; /** * .cz.proto.Entity entity = 4; * @return Whether the entity field is set. */ public boolean hasEntity() { return entityBuilder_ != null || entity_ != null; } /** * .cz.proto.Entity entity = 4; * @return The entity. */ public cz.proto.MetadataEntity.Entity getEntity() { if (entityBuilder_ == null) { return entity_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : entity_; } else { return entityBuilder_.getMessage(); } } /** * .cz.proto.Entity entity = 4; */ public Builder setEntity(cz.proto.MetadataEntity.Entity value) { if (entityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } entity_ = value; onChanged(); } else { entityBuilder_.setMessage(value); } return this; } /** * .cz.proto.Entity entity = 4; */ public Builder setEntity( cz.proto.MetadataEntity.Entity.Builder builderForValue) { if (entityBuilder_ == null) { entity_ = builderForValue.build(); onChanged(); } else { entityBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Entity entity = 4; */ public Builder mergeEntity(cz.proto.MetadataEntity.Entity value) { if (entityBuilder_ == null) { if (entity_ != null) { entity_ = cz.proto.MetadataEntity.Entity.newBuilder(entity_).mergeFrom(value).buildPartial(); } else { entity_ = value; } onChanged(); } else { entityBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Entity entity = 4; */ public Builder clearEntity() { if (entityBuilder_ == null) { entity_ = null; onChanged(); } else { entity_ = null; entityBuilder_ = null; } return this; } /** * .cz.proto.Entity entity = 4; */ public cz.proto.MetadataEntity.Entity.Builder getEntityBuilder() { onChanged(); return getEntityFieldBuilder().getBuilder(); } /** * .cz.proto.Entity entity = 4; */ public cz.proto.MetadataEntity.EntityOrBuilder getEntityOrBuilder() { if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { return entity_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : entity_; } } /** * .cz.proto.Entity entity = 4; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>( getEntity(), getParentForChildren(), isClean()); entity_ = null; } return entityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterRole, cz.proto.access.Ddl.AlterRole.Builder, cz.proto.access.Ddl.AlterRoleOrBuilder> roleBuilder_; /** * .cz.proto.access.AlterRole role = 10; * @return Whether the role field is set. */ @java.lang.Override public boolean hasRole() { return derivedCase_ == 10; } /** * .cz.proto.access.AlterRole role = 10; * @return The role. */ @java.lang.Override public cz.proto.access.Ddl.AlterRole getRole() { if (roleBuilder_ == null) { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.AlterRole) derived_; } return cz.proto.access.Ddl.AlterRole.getDefaultInstance(); } else { if (derivedCase_ == 10) { return roleBuilder_.getMessage(); } return cz.proto.access.Ddl.AlterRole.getDefaultInstance(); } } /** * .cz.proto.access.AlterRole role = 10; */ public Builder setRole(cz.proto.access.Ddl.AlterRole value) { if (roleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { roleBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.AlterRole role = 10; */ public Builder setRole( cz.proto.access.Ddl.AlterRole.Builder builderForValue) { if (roleBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { roleBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 10; return this; } /** * .cz.proto.access.AlterRole role = 10; */ public Builder mergeRole(cz.proto.access.Ddl.AlterRole value) { if (roleBuilder_ == null) { if (derivedCase_ == 10 && derived_ != cz.proto.access.Ddl.AlterRole.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.AlterRole.newBuilder((cz.proto.access.Ddl.AlterRole) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 10) { roleBuilder_.mergeFrom(value); } roleBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.AlterRole role = 10; */ public Builder clearRole() { if (roleBuilder_ == null) { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; } roleBuilder_.clear(); } return this; } /** * .cz.proto.access.AlterRole role = 10; */ public cz.proto.access.Ddl.AlterRole.Builder getRoleBuilder() { return getRoleFieldBuilder().getBuilder(); } /** * .cz.proto.access.AlterRole role = 10; */ @java.lang.Override public cz.proto.access.Ddl.AlterRoleOrBuilder getRoleOrBuilder() { if ((derivedCase_ == 10) && (roleBuilder_ != null)) { return roleBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.AlterRole) derived_; } return cz.proto.access.Ddl.AlterRole.getDefaultInstance(); } } /** * .cz.proto.access.AlterRole role = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterRole, cz.proto.access.Ddl.AlterRole.Builder, cz.proto.access.Ddl.AlterRoleOrBuilder> getRoleFieldBuilder() { if (roleBuilder_ == null) { if (!(derivedCase_ == 10)) { derived_ = cz.proto.access.Ddl.AlterRole.getDefaultInstance(); } roleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterRole, cz.proto.access.Ddl.AlterRole.Builder, cz.proto.access.Ddl.AlterRoleOrBuilder>( (cz.proto.access.Ddl.AlterRole) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 10; onChanged();; return roleBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterJob, cz.proto.access.Ddl.AlterJob.Builder, cz.proto.access.Ddl.AlterJobOrBuilder> jobBuilder_; /** * .cz.proto.access.AlterJob job = 11; * @return Whether the job field is set. */ @java.lang.Override public boolean hasJob() { return derivedCase_ == 11; } /** * .cz.proto.access.AlterJob job = 11; * @return The job. */ @java.lang.Override public cz.proto.access.Ddl.AlterJob getJob() { if (jobBuilder_ == null) { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.AlterJob) derived_; } return cz.proto.access.Ddl.AlterJob.getDefaultInstance(); } else { if (derivedCase_ == 11) { return jobBuilder_.getMessage(); } return cz.proto.access.Ddl.AlterJob.getDefaultInstance(); } } /** * .cz.proto.access.AlterJob job = 11; */ public Builder setJob(cz.proto.access.Ddl.AlterJob value) { if (jobBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { jobBuilder_.setMessage(value); } derivedCase_ = 11; return this; } /** * .cz.proto.access.AlterJob job = 11; */ public Builder setJob( cz.proto.access.Ddl.AlterJob.Builder builderForValue) { if (jobBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { jobBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 11; return this; } /** * .cz.proto.access.AlterJob job = 11; */ public Builder mergeJob(cz.proto.access.Ddl.AlterJob value) { if (jobBuilder_ == null) { if (derivedCase_ == 11 && derived_ != cz.proto.access.Ddl.AlterJob.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.AlterJob.newBuilder((cz.proto.access.Ddl.AlterJob) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 11) { jobBuilder_.mergeFrom(value); } jobBuilder_.setMessage(value); } derivedCase_ = 11; return this; } /** * .cz.proto.access.AlterJob job = 11; */ public Builder clearJob() { if (jobBuilder_ == null) { if (derivedCase_ == 11) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 11) { derivedCase_ = 0; derived_ = null; } jobBuilder_.clear(); } return this; } /** * .cz.proto.access.AlterJob job = 11; */ public cz.proto.access.Ddl.AlterJob.Builder getJobBuilder() { return getJobFieldBuilder().getBuilder(); } /** * .cz.proto.access.AlterJob job = 11; */ @java.lang.Override public cz.proto.access.Ddl.AlterJobOrBuilder getJobOrBuilder() { if ((derivedCase_ == 11) && (jobBuilder_ != null)) { return jobBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.AlterJob) derived_; } return cz.proto.access.Ddl.AlterJob.getDefaultInstance(); } } /** * .cz.proto.access.AlterJob job = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterJob, cz.proto.access.Ddl.AlterJob.Builder, cz.proto.access.Ddl.AlterJobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { if (!(derivedCase_ == 11)) { derived_ = cz.proto.access.Ddl.AlterJob.getDefaultInstance(); } jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterJob, cz.proto.access.Ddl.AlterJob.Builder, cz.proto.access.Ddl.AlterJobOrBuilder>( (cz.proto.access.Ddl.AlterJob) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 11; onChanged();; return jobBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterVirtualCluster, cz.proto.access.Ddl.AlterVirtualCluster.Builder, cz.proto.access.Ddl.AlterVirtualClusterOrBuilder> virtualClusterBuilder_; /** * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12; * @return Whether the virtualCluster field is set. */ @java.lang.Override public boolean hasVirtualCluster() { return derivedCase_ == 12; } /** * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12; * @return The virtualCluster. */ @java.lang.Override public cz.proto.access.Ddl.AlterVirtualCluster getVirtualCluster() { if (virtualClusterBuilder_ == null) { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.AlterVirtualCluster) derived_; } return cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance(); } else { if (derivedCase_ == 12) { return virtualClusterBuilder_.getMessage(); } return cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance(); } } /** * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12; */ public Builder setVirtualCluster(cz.proto.access.Ddl.AlterVirtualCluster value) { if (virtualClusterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { virtualClusterBuilder_.setMessage(value); } derivedCase_ = 12; return this; } /** * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12; */ public Builder setVirtualCluster( cz.proto.access.Ddl.AlterVirtualCluster.Builder builderForValue) { if (virtualClusterBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { virtualClusterBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 12; return this; } /** * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12; */ public Builder mergeVirtualCluster(cz.proto.access.Ddl.AlterVirtualCluster value) { if (virtualClusterBuilder_ == null) { if (derivedCase_ == 12 && derived_ != cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.AlterVirtualCluster.newBuilder((cz.proto.access.Ddl.AlterVirtualCluster) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 12) { virtualClusterBuilder_.mergeFrom(value); } virtualClusterBuilder_.setMessage(value); } derivedCase_ = 12; return this; } /** * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12; */ public Builder clearVirtualCluster() { if (virtualClusterBuilder_ == null) { if (derivedCase_ == 12) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 12) { derivedCase_ = 0; derived_ = null; } virtualClusterBuilder_.clear(); } return this; } /** * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12; */ public cz.proto.access.Ddl.AlterVirtualCluster.Builder getVirtualClusterBuilder() { return getVirtualClusterFieldBuilder().getBuilder(); } /** * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12; */ @java.lang.Override public cz.proto.access.Ddl.AlterVirtualClusterOrBuilder getVirtualClusterOrBuilder() { if ((derivedCase_ == 12) && (virtualClusterBuilder_ != null)) { return virtualClusterBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.AlterVirtualCluster) derived_; } return cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance(); } } /** * .cz.proto.access.AlterVirtualCluster virtual_cluster = 12; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterVirtualCluster, cz.proto.access.Ddl.AlterVirtualCluster.Builder, cz.proto.access.Ddl.AlterVirtualClusterOrBuilder> getVirtualClusterFieldBuilder() { if (virtualClusterBuilder_ == null) { if (!(derivedCase_ == 12)) { derived_ = cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance(); } virtualClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterVirtualCluster, cz.proto.access.Ddl.AlterVirtualCluster.Builder, cz.proto.access.Ddl.AlterVirtualClusterOrBuilder>( (cz.proto.access.Ddl.AlterVirtualCluster) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 12; onChanged();; return virtualClusterBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterVCluster, cz.proto.access.Ddl.AlterVCluster.Builder, cz.proto.access.Ddl.AlterVClusterOrBuilder> vclusterBuilder_; /** *
       * TODO(zhenyu.hou) - this is only for RM, remove later
       * 
* * .cz.proto.access.AlterVCluster vcluster = 13; * @return Whether the vcluster field is set. */ @java.lang.Override public boolean hasVcluster() { return derivedCase_ == 13; } /** *
       * TODO(zhenyu.hou) - this is only for RM, remove later
       * 
* * .cz.proto.access.AlterVCluster vcluster = 13; * @return The vcluster. */ @java.lang.Override public cz.proto.access.Ddl.AlterVCluster getVcluster() { if (vclusterBuilder_ == null) { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.AlterVCluster) derived_; } return cz.proto.access.Ddl.AlterVCluster.getDefaultInstance(); } else { if (derivedCase_ == 13) { return vclusterBuilder_.getMessage(); } return cz.proto.access.Ddl.AlterVCluster.getDefaultInstance(); } } /** *
       * TODO(zhenyu.hou) - this is only for RM, remove later
       * 
* * .cz.proto.access.AlterVCluster vcluster = 13; */ public Builder setVcluster(cz.proto.access.Ddl.AlterVCluster value) { if (vclusterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { vclusterBuilder_.setMessage(value); } derivedCase_ = 13; return this; } /** *
       * TODO(zhenyu.hou) - this is only for RM, remove later
       * 
* * .cz.proto.access.AlterVCluster vcluster = 13; */ public Builder setVcluster( cz.proto.access.Ddl.AlterVCluster.Builder builderForValue) { if (vclusterBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { vclusterBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 13; return this; } /** *
       * TODO(zhenyu.hou) - this is only for RM, remove later
       * 
* * .cz.proto.access.AlterVCluster vcluster = 13; */ public Builder mergeVcluster(cz.proto.access.Ddl.AlterVCluster value) { if (vclusterBuilder_ == null) { if (derivedCase_ == 13 && derived_ != cz.proto.access.Ddl.AlterVCluster.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.AlterVCluster.newBuilder((cz.proto.access.Ddl.AlterVCluster) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 13) { vclusterBuilder_.mergeFrom(value); } vclusterBuilder_.setMessage(value); } derivedCase_ = 13; return this; } /** *
       * TODO(zhenyu.hou) - this is only for RM, remove later
       * 
* * .cz.proto.access.AlterVCluster vcluster = 13; */ public Builder clearVcluster() { if (vclusterBuilder_ == null) { if (derivedCase_ == 13) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 13) { derivedCase_ = 0; derived_ = null; } vclusterBuilder_.clear(); } return this; } /** *
       * TODO(zhenyu.hou) - this is only for RM, remove later
       * 
* * .cz.proto.access.AlterVCluster vcluster = 13; */ public cz.proto.access.Ddl.AlterVCluster.Builder getVclusterBuilder() { return getVclusterFieldBuilder().getBuilder(); } /** *
       * TODO(zhenyu.hou) - this is only for RM, remove later
       * 
* * .cz.proto.access.AlterVCluster vcluster = 13; */ @java.lang.Override public cz.proto.access.Ddl.AlterVClusterOrBuilder getVclusterOrBuilder() { if ((derivedCase_ == 13) && (vclusterBuilder_ != null)) { return vclusterBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.AlterVCluster) derived_; } return cz.proto.access.Ddl.AlterVCluster.getDefaultInstance(); } } /** *
       * TODO(zhenyu.hou) - this is only for RM, remove later
       * 
* * .cz.proto.access.AlterVCluster vcluster = 13; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterVCluster, cz.proto.access.Ddl.AlterVCluster.Builder, cz.proto.access.Ddl.AlterVClusterOrBuilder> getVclusterFieldBuilder() { if (vclusterBuilder_ == null) { if (!(derivedCase_ == 13)) { derived_ = cz.proto.access.Ddl.AlterVCluster.getDefaultInstance(); } vclusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterVCluster, cz.proto.access.Ddl.AlterVCluster.Builder, cz.proto.access.Ddl.AlterVClusterOrBuilder>( (cz.proto.access.Ddl.AlterVCluster) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 13; onChanged();; return vclusterBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterShare, cz.proto.access.Ddl.AlterShare.Builder, cz.proto.access.Ddl.AlterShareOrBuilder> shareBuilder_; /** * .cz.proto.access.AlterShare share = 14; * @return Whether the share field is set. */ @java.lang.Override public boolean hasShare() { return derivedCase_ == 14; } /** * .cz.proto.access.AlterShare share = 14; * @return The share. */ @java.lang.Override public cz.proto.access.Ddl.AlterShare getShare() { if (shareBuilder_ == null) { if (derivedCase_ == 14) { return (cz.proto.access.Ddl.AlterShare) derived_; } return cz.proto.access.Ddl.AlterShare.getDefaultInstance(); } else { if (derivedCase_ == 14) { return shareBuilder_.getMessage(); } return cz.proto.access.Ddl.AlterShare.getDefaultInstance(); } } /** * .cz.proto.access.AlterShare share = 14; */ public Builder setShare(cz.proto.access.Ddl.AlterShare value) { if (shareBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { shareBuilder_.setMessage(value); } derivedCase_ = 14; return this; } /** * .cz.proto.access.AlterShare share = 14; */ public Builder setShare( cz.proto.access.Ddl.AlterShare.Builder builderForValue) { if (shareBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { shareBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 14; return this; } /** * .cz.proto.access.AlterShare share = 14; */ public Builder mergeShare(cz.proto.access.Ddl.AlterShare value) { if (shareBuilder_ == null) { if (derivedCase_ == 14 && derived_ != cz.proto.access.Ddl.AlterShare.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.AlterShare.newBuilder((cz.proto.access.Ddl.AlterShare) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 14) { shareBuilder_.mergeFrom(value); } shareBuilder_.setMessage(value); } derivedCase_ = 14; return this; } /** * .cz.proto.access.AlterShare share = 14; */ public Builder clearShare() { if (shareBuilder_ == null) { if (derivedCase_ == 14) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 14) { derivedCase_ = 0; derived_ = null; } shareBuilder_.clear(); } return this; } /** * .cz.proto.access.AlterShare share = 14; */ public cz.proto.access.Ddl.AlterShare.Builder getShareBuilder() { return getShareFieldBuilder().getBuilder(); } /** * .cz.proto.access.AlterShare share = 14; */ @java.lang.Override public cz.proto.access.Ddl.AlterShareOrBuilder getShareOrBuilder() { if ((derivedCase_ == 14) && (shareBuilder_ != null)) { return shareBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 14) { return (cz.proto.access.Ddl.AlterShare) derived_; } return cz.proto.access.Ddl.AlterShare.getDefaultInstance(); } } /** * .cz.proto.access.AlterShare share = 14; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterShare, cz.proto.access.Ddl.AlterShare.Builder, cz.proto.access.Ddl.AlterShareOrBuilder> getShareFieldBuilder() { if (shareBuilder_ == null) { if (!(derivedCase_ == 14)) { derived_ = cz.proto.access.Ddl.AlterShare.getDefaultInstance(); } shareBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterShare, cz.proto.access.Ddl.AlterShare.Builder, cz.proto.access.Ddl.AlterShareOrBuilder>( (cz.proto.access.Ddl.AlterShare) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 14; onChanged();; return shareBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterConnection, cz.proto.access.Ddl.AlterConnection.Builder, cz.proto.access.Ddl.AlterConnectionOrBuilder> connectionBuilder_; /** * .cz.proto.access.AlterConnection connection = 15; * @return Whether the connection field is set. */ @java.lang.Override public boolean hasConnection() { return derivedCase_ == 15; } /** * .cz.proto.access.AlterConnection connection = 15; * @return The connection. */ @java.lang.Override public cz.proto.access.Ddl.AlterConnection getConnection() { if (connectionBuilder_ == null) { if (derivedCase_ == 15) { return (cz.proto.access.Ddl.AlterConnection) derived_; } return cz.proto.access.Ddl.AlterConnection.getDefaultInstance(); } else { if (derivedCase_ == 15) { return connectionBuilder_.getMessage(); } return cz.proto.access.Ddl.AlterConnection.getDefaultInstance(); } } /** * .cz.proto.access.AlterConnection connection = 15; */ public Builder setConnection(cz.proto.access.Ddl.AlterConnection value) { if (connectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { connectionBuilder_.setMessage(value); } derivedCase_ = 15; return this; } /** * .cz.proto.access.AlterConnection connection = 15; */ public Builder setConnection( cz.proto.access.Ddl.AlterConnection.Builder builderForValue) { if (connectionBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { connectionBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 15; return this; } /** * .cz.proto.access.AlterConnection connection = 15; */ public Builder mergeConnection(cz.proto.access.Ddl.AlterConnection value) { if (connectionBuilder_ == null) { if (derivedCase_ == 15 && derived_ != cz.proto.access.Ddl.AlterConnection.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.AlterConnection.newBuilder((cz.proto.access.Ddl.AlterConnection) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 15) { connectionBuilder_.mergeFrom(value); } connectionBuilder_.setMessage(value); } derivedCase_ = 15; return this; } /** * .cz.proto.access.AlterConnection connection = 15; */ public Builder clearConnection() { if (connectionBuilder_ == null) { if (derivedCase_ == 15) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 15) { derivedCase_ = 0; derived_ = null; } connectionBuilder_.clear(); } return this; } /** * .cz.proto.access.AlterConnection connection = 15; */ public cz.proto.access.Ddl.AlterConnection.Builder getConnectionBuilder() { return getConnectionFieldBuilder().getBuilder(); } /** * .cz.proto.access.AlterConnection connection = 15; */ @java.lang.Override public cz.proto.access.Ddl.AlterConnectionOrBuilder getConnectionOrBuilder() { if ((derivedCase_ == 15) && (connectionBuilder_ != null)) { return connectionBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 15) { return (cz.proto.access.Ddl.AlterConnection) derived_; } return cz.proto.access.Ddl.AlterConnection.getDefaultInstance(); } } /** * .cz.proto.access.AlterConnection connection = 15; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterConnection, cz.proto.access.Ddl.AlterConnection.Builder, cz.proto.access.Ddl.AlterConnectionOrBuilder> getConnectionFieldBuilder() { if (connectionBuilder_ == null) { if (!(derivedCase_ == 15)) { derived_ = cz.proto.access.Ddl.AlterConnection.getDefaultInstance(); } connectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterConnection, cz.proto.access.Ddl.AlterConnection.Builder, cz.proto.access.Ddl.AlterConnectionOrBuilder>( (cz.proto.access.Ddl.AlterConnection) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 15; onChanged();; return connectionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterFunction, cz.proto.access.Ddl.AlterFunction.Builder, cz.proto.access.Ddl.AlterFunctionOrBuilder> functionBuilder_; /** * .cz.proto.access.AlterFunction function = 16; * @return Whether the function field is set. */ @java.lang.Override public boolean hasFunction() { return derivedCase_ == 16; } /** * .cz.proto.access.AlterFunction function = 16; * @return The function. */ @java.lang.Override public cz.proto.access.Ddl.AlterFunction getFunction() { if (functionBuilder_ == null) { if (derivedCase_ == 16) { return (cz.proto.access.Ddl.AlterFunction) derived_; } return cz.proto.access.Ddl.AlterFunction.getDefaultInstance(); } else { if (derivedCase_ == 16) { return functionBuilder_.getMessage(); } return cz.proto.access.Ddl.AlterFunction.getDefaultInstance(); } } /** * .cz.proto.access.AlterFunction function = 16; */ public Builder setFunction(cz.proto.access.Ddl.AlterFunction value) { if (functionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { functionBuilder_.setMessage(value); } derivedCase_ = 16; return this; } /** * .cz.proto.access.AlterFunction function = 16; */ public Builder setFunction( cz.proto.access.Ddl.AlterFunction.Builder builderForValue) { if (functionBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { functionBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 16; return this; } /** * .cz.proto.access.AlterFunction function = 16; */ public Builder mergeFunction(cz.proto.access.Ddl.AlterFunction value) { if (functionBuilder_ == null) { if (derivedCase_ == 16 && derived_ != cz.proto.access.Ddl.AlterFunction.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.AlterFunction.newBuilder((cz.proto.access.Ddl.AlterFunction) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 16) { functionBuilder_.mergeFrom(value); } functionBuilder_.setMessage(value); } derivedCase_ = 16; return this; } /** * .cz.proto.access.AlterFunction function = 16; */ public Builder clearFunction() { if (functionBuilder_ == null) { if (derivedCase_ == 16) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 16) { derivedCase_ = 0; derived_ = null; } functionBuilder_.clear(); } return this; } /** * .cz.proto.access.AlterFunction function = 16; */ public cz.proto.access.Ddl.AlterFunction.Builder getFunctionBuilder() { return getFunctionFieldBuilder().getBuilder(); } /** * .cz.proto.access.AlterFunction function = 16; */ @java.lang.Override public cz.proto.access.Ddl.AlterFunctionOrBuilder getFunctionOrBuilder() { if ((derivedCase_ == 16) && (functionBuilder_ != null)) { return functionBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 16) { return (cz.proto.access.Ddl.AlterFunction) derived_; } return cz.proto.access.Ddl.AlterFunction.getDefaultInstance(); } } /** * .cz.proto.access.AlterFunction function = 16; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterFunction, cz.proto.access.Ddl.AlterFunction.Builder, cz.proto.access.Ddl.AlterFunctionOrBuilder> getFunctionFieldBuilder() { if (functionBuilder_ == null) { if (!(derivedCase_ == 16)) { derived_ = cz.proto.access.Ddl.AlterFunction.getDefaultInstance(); } functionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterFunction, cz.proto.access.Ddl.AlterFunction.Builder, cz.proto.access.Ddl.AlterFunctionOrBuilder>( (cz.proto.access.Ddl.AlterFunction) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 16; onChanged();; return functionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterUser, cz.proto.access.Ddl.AlterUser.Builder, cz.proto.access.Ddl.AlterUserOrBuilder> userBuilder_; /** * .cz.proto.access.AlterUser user = 17; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return derivedCase_ == 17; } /** * .cz.proto.access.AlterUser user = 17; * @return The user. */ @java.lang.Override public cz.proto.access.Ddl.AlterUser getUser() { if (userBuilder_ == null) { if (derivedCase_ == 17) { return (cz.proto.access.Ddl.AlterUser) derived_; } return cz.proto.access.Ddl.AlterUser.getDefaultInstance(); } else { if (derivedCase_ == 17) { return userBuilder_.getMessage(); } return cz.proto.access.Ddl.AlterUser.getDefaultInstance(); } } /** * .cz.proto.access.AlterUser user = 17; */ public Builder setUser(cz.proto.access.Ddl.AlterUser value) { if (userBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { userBuilder_.setMessage(value); } derivedCase_ = 17; return this; } /** * .cz.proto.access.AlterUser user = 17; */ public Builder setUser( cz.proto.access.Ddl.AlterUser.Builder builderForValue) { if (userBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { userBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 17; return this; } /** * .cz.proto.access.AlterUser user = 17; */ public Builder mergeUser(cz.proto.access.Ddl.AlterUser value) { if (userBuilder_ == null) { if (derivedCase_ == 17 && derived_ != cz.proto.access.Ddl.AlterUser.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.AlterUser.newBuilder((cz.proto.access.Ddl.AlterUser) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 17) { userBuilder_.mergeFrom(value); } userBuilder_.setMessage(value); } derivedCase_ = 17; return this; } /** * .cz.proto.access.AlterUser user = 17; */ public Builder clearUser() { if (userBuilder_ == null) { if (derivedCase_ == 17) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 17) { derivedCase_ = 0; derived_ = null; } userBuilder_.clear(); } return this; } /** * .cz.proto.access.AlterUser user = 17; */ public cz.proto.access.Ddl.AlterUser.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** * .cz.proto.access.AlterUser user = 17; */ @java.lang.Override public cz.proto.access.Ddl.AlterUserOrBuilder getUserOrBuilder() { if ((derivedCase_ == 17) && (userBuilder_ != null)) { return userBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 17) { return (cz.proto.access.Ddl.AlterUser) derived_; } return cz.proto.access.Ddl.AlterUser.getDefaultInstance(); } } /** * .cz.proto.access.AlterUser user = 17; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterUser, cz.proto.access.Ddl.AlterUser.Builder, cz.proto.access.Ddl.AlterUserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { if (!(derivedCase_ == 17)) { derived_ = cz.proto.access.Ddl.AlterUser.getDefaultInstance(); } userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterUser, cz.proto.access.Ddl.AlterUser.Builder, cz.proto.access.Ddl.AlterUserOrBuilder>( (cz.proto.access.Ddl.AlterUser) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 17; onChanged();; return userBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterTable, cz.proto.access.Ddl.AlterTable.Builder, cz.proto.access.Ddl.AlterTableOrBuilder> tableBuilder_; /** * .cz.proto.access.AlterTable table = 18; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return derivedCase_ == 18; } /** * .cz.proto.access.AlterTable table = 18; * @return The table. */ @java.lang.Override public cz.proto.access.Ddl.AlterTable getTable() { if (tableBuilder_ == null) { if (derivedCase_ == 18) { return (cz.proto.access.Ddl.AlterTable) derived_; } return cz.proto.access.Ddl.AlterTable.getDefaultInstance(); } else { if (derivedCase_ == 18) { return tableBuilder_.getMessage(); } return cz.proto.access.Ddl.AlterTable.getDefaultInstance(); } } /** * .cz.proto.access.AlterTable table = 18; */ public Builder setTable(cz.proto.access.Ddl.AlterTable value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { tableBuilder_.setMessage(value); } derivedCase_ = 18; return this; } /** * .cz.proto.access.AlterTable table = 18; */ public Builder setTable( cz.proto.access.Ddl.AlterTable.Builder builderForValue) { if (tableBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { tableBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 18; return this; } /** * .cz.proto.access.AlterTable table = 18; */ public Builder mergeTable(cz.proto.access.Ddl.AlterTable value) { if (tableBuilder_ == null) { if (derivedCase_ == 18 && derived_ != cz.proto.access.Ddl.AlterTable.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.AlterTable.newBuilder((cz.proto.access.Ddl.AlterTable) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 18) { tableBuilder_.mergeFrom(value); } tableBuilder_.setMessage(value); } derivedCase_ = 18; return this; } /** * .cz.proto.access.AlterTable table = 18; */ public Builder clearTable() { if (tableBuilder_ == null) { if (derivedCase_ == 18) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 18) { derivedCase_ = 0; derived_ = null; } tableBuilder_.clear(); } return this; } /** * .cz.proto.access.AlterTable table = 18; */ public cz.proto.access.Ddl.AlterTable.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** * .cz.proto.access.AlterTable table = 18; */ @java.lang.Override public cz.proto.access.Ddl.AlterTableOrBuilder getTableOrBuilder() { if ((derivedCase_ == 18) && (tableBuilder_ != null)) { return tableBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 18) { return (cz.proto.access.Ddl.AlterTable) derived_; } return cz.proto.access.Ddl.AlterTable.getDefaultInstance(); } } /** * .cz.proto.access.AlterTable table = 18; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterTable, cz.proto.access.Ddl.AlterTable.Builder, cz.proto.access.Ddl.AlterTableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { if (!(derivedCase_ == 18)) { derived_ = cz.proto.access.Ddl.AlterTable.getDefaultInstance(); } tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterTable, cz.proto.access.Ddl.AlterTable.Builder, cz.proto.access.Ddl.AlterTableOrBuilder>( (cz.proto.access.Ddl.AlterTable) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 18; onChanged();; return tableBuilder_; } @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:cz.proto.access.AlterEntity) } // @@protoc_insertion_point(class_scope:cz.proto.access.AlterEntity) private static final cz.proto.access.Ddl.AlterEntity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterEntity(); } public static cz.proto.access.Ddl.AlterEntity getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlterEntity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlterEntity(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 cz.proto.access.Ddl.AlterEntity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnMoveOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ColumnMove) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.access.ColumnMoveType type = 1; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** * .cz.proto.access.ColumnMoveType type = 1; * @return The type. */ cz.proto.access.Ddl.ColumnMoveType getType(); /** * string column_name = 2; * @return The columnName. */ java.lang.String getColumnName(); /** * string column_name = 2; * @return The bytes for columnName. */ com.google.protobuf.ByteString getColumnNameBytes(); /** * optional string reference_column_name = 3; * @return Whether the referenceColumnName field is set. */ boolean hasReferenceColumnName(); /** * optional string reference_column_name = 3; * @return The referenceColumnName. */ java.lang.String getReferenceColumnName(); /** * optional string reference_column_name = 3; * @return The bytes for referenceColumnName. */ com.google.protobuf.ByteString getReferenceColumnNameBytes(); /** * repeated string ancestors = 4; * @return A list containing the ancestors. */ java.util.List getAncestorsList(); /** * repeated string ancestors = 4; * @return The count of ancestors. */ int getAncestorsCount(); /** * repeated string ancestors = 4; * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** * repeated string ancestors = 4; * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ com.google.protobuf.ByteString getAncestorsBytes(int index); } /** * Protobuf type {@code cz.proto.access.ColumnMove} */ public static final class ColumnMove extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ColumnMove) ColumnMoveOrBuilder { private static final long serialVersionUID = 0L; // Use ColumnMove.newBuilder() to construct. private ColumnMove(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ColumnMove() { type_ = 0; columnName_ = ""; referenceColumnName_ = ""; ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ColumnMove(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ColumnMove( 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(); type_ = rawValue; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); columnName_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; referenceColumnName_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } ancestors_.add(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 { if (((mutable_bitField0_ & 0x00000002) != 0)) { ancestors_ = ancestors_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnMove_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnMove_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ColumnMove.class, cz.proto.access.Ddl.ColumnMove.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** * .cz.proto.access.ColumnMoveType type = 1; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .cz.proto.access.ColumnMoveType type = 1; * @return The type. */ @java.lang.Override public cz.proto.access.Ddl.ColumnMoveType getType() { @SuppressWarnings("deprecation") cz.proto.access.Ddl.ColumnMoveType result = cz.proto.access.Ddl.ColumnMoveType.valueOf(type_); return result == null ? cz.proto.access.Ddl.ColumnMoveType.UNRECOGNIZED : result; } public static final int COLUMN_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object columnName_; /** * string column_name = 2; * @return The columnName. */ @java.lang.Override public java.lang.String getColumnName() { java.lang.Object ref = columnName_; 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(); columnName_ = s; return s; } } /** * string column_name = 2; * @return The bytes for columnName. */ @java.lang.Override public com.google.protobuf.ByteString getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); columnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REFERENCE_COLUMN_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object referenceColumnName_; /** * optional string reference_column_name = 3; * @return Whether the referenceColumnName field is set. */ @java.lang.Override public boolean hasReferenceColumnName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string reference_column_name = 3; * @return The referenceColumnName. */ @java.lang.Override public java.lang.String getReferenceColumnName() { java.lang.Object ref = referenceColumnName_; 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(); referenceColumnName_ = s; return s; } } /** * optional string reference_column_name = 3; * @return The bytes for referenceColumnName. */ @java.lang.Override public com.google.protobuf.ByteString getReferenceColumnNameBytes() { java.lang.Object ref = referenceColumnName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); referenceColumnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ANCESTORS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList ancestors_; /** * repeated string ancestors = 4; * @return A list containing the ancestors. */ public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_; } /** * repeated string ancestors = 4; * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** * repeated string ancestors = 4; * @param index The index of the element to return. * @return The ancestors at the given index. */ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** * repeated string ancestors = 4; * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (type_ != cz.proto.access.Ddl.ColumnMoveType.FIRST.getNumber()) { output.writeEnum(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, columnName_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, referenceColumnName_); } for (int i = 0; i < ancestors_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ancestors_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (type_ != cz.proto.access.Ddl.ColumnMoveType.FIRST.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, columnName_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, referenceColumnName_); } { int dataSize = 0; for (int i = 0; i < ancestors_.size(); i++) { dataSize += computeStringSizeNoTag(ancestors_.getRaw(i)); } size += dataSize; size += 1 * getAncestorsList().size(); } 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 cz.proto.access.Ddl.ColumnMove)) { return super.equals(obj); } cz.proto.access.Ddl.ColumnMove other = (cz.proto.access.Ddl.ColumnMove) obj; if (type_ != other.type_) return false; if (!getColumnName() .equals(other.getColumnName())) return false; if (hasReferenceColumnName() != other.hasReferenceColumnName()) return false; if (hasReferenceColumnName()) { if (!getReferenceColumnName() .equals(other.getReferenceColumnName())) return false; } if (!getAncestorsList() .equals(other.getAncestorsList())) 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) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER; hash = (53 * hash) + getColumnName().hashCode(); if (hasReferenceColumnName()) { hash = (37 * hash) + REFERENCE_COLUMN_NAME_FIELD_NUMBER; hash = (53 * hash) + getReferenceColumnName().hashCode(); } if (getAncestorsCount() > 0) { hash = (37 * hash) + ANCESTORS_FIELD_NUMBER; hash = (53 * hash) + getAncestorsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ColumnMove parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ColumnMove parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ColumnMove parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ColumnMove parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ColumnMove parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ColumnMove parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ColumnMove parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ColumnMove 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 cz.proto.access.Ddl.ColumnMove parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ColumnMove 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 cz.proto.access.Ddl.ColumnMove parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ColumnMove 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(cz.proto.access.Ddl.ColumnMove 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 cz.proto.access.ColumnMove} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ColumnMove) cz.proto.access.Ddl.ColumnMoveOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnMove_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnMove_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ColumnMove.class, cz.proto.access.Ddl.ColumnMove.Builder.class); } // Construct using cz.proto.access.Ddl.ColumnMove.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(); type_ = 0; columnName_ = ""; referenceColumnName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnMove_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ColumnMove getDefaultInstanceForType() { return cz.proto.access.Ddl.ColumnMove.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ColumnMove build() { cz.proto.access.Ddl.ColumnMove result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ColumnMove buildPartial() { cz.proto.access.Ddl.ColumnMove result = new cz.proto.access.Ddl.ColumnMove(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.type_ = type_; result.columnName_ = columnName_; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.referenceColumnName_ = referenceColumnName_; if (((bitField0_ & 0x00000002) != 0)) { ancestors_ = ancestors_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.ancestors_ = ancestors_; result.bitField0_ = to_bitField0_; 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 cz.proto.access.Ddl.ColumnMove) { return mergeFrom((cz.proto.access.Ddl.ColumnMove)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ColumnMove other) { if (other == cz.proto.access.Ddl.ColumnMove.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (!other.getColumnName().isEmpty()) { columnName_ = other.columnName_; onChanged(); } if (other.hasReferenceColumnName()) { bitField0_ |= 0x00000001; referenceColumnName_ = other.referenceColumnName_; onChanged(); } if (!other.ancestors_.isEmpty()) { if (ancestors_.isEmpty()) { ancestors_ = other.ancestors_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureAncestorsIsMutable(); ancestors_.addAll(other.ancestors_); } 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 { cz.proto.access.Ddl.ColumnMove parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ColumnMove) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int type_ = 0; /** * .cz.proto.access.ColumnMoveType type = 1; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .cz.proto.access.ColumnMoveType type = 1; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /** * .cz.proto.access.ColumnMoveType type = 1; * @return The type. */ @java.lang.Override public cz.proto.access.Ddl.ColumnMoveType getType() { @SuppressWarnings("deprecation") cz.proto.access.Ddl.ColumnMoveType result = cz.proto.access.Ddl.ColumnMoveType.valueOf(type_); return result == null ? cz.proto.access.Ddl.ColumnMoveType.UNRECOGNIZED : result; } /** * .cz.proto.access.ColumnMoveType type = 1; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(cz.proto.access.Ddl.ColumnMoveType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.access.ColumnMoveType type = 1; * @return This builder for chaining. */ public Builder clearType() { type_ = 0; onChanged(); return this; } private java.lang.Object columnName_ = ""; /** * string column_name = 2; * @return The columnName. */ public java.lang.String getColumnName() { java.lang.Object ref = columnName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string column_name = 2; * @return The bytes for columnName. */ public com.google.protobuf.ByteString getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); columnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string column_name = 2; * @param value The columnName to set. * @return This builder for chaining. */ public Builder setColumnName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } columnName_ = value; onChanged(); return this; } /** * string column_name = 2; * @return This builder for chaining. */ public Builder clearColumnName() { columnName_ = getDefaultInstance().getColumnName(); onChanged(); return this; } /** * string column_name = 2; * @param value The bytes for columnName to set. * @return This builder for chaining. */ public Builder setColumnNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); columnName_ = value; onChanged(); return this; } private java.lang.Object referenceColumnName_ = ""; /** * optional string reference_column_name = 3; * @return Whether the referenceColumnName field is set. */ public boolean hasReferenceColumnName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string reference_column_name = 3; * @return The referenceColumnName. */ public java.lang.String getReferenceColumnName() { java.lang.Object ref = referenceColumnName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); referenceColumnName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string reference_column_name = 3; * @return The bytes for referenceColumnName. */ public com.google.protobuf.ByteString getReferenceColumnNameBytes() { java.lang.Object ref = referenceColumnName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); referenceColumnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string reference_column_name = 3; * @param value The referenceColumnName to set. * @return This builder for chaining. */ public Builder setReferenceColumnName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; referenceColumnName_ = value; onChanged(); return this; } /** * optional string reference_column_name = 3; * @return This builder for chaining. */ public Builder clearReferenceColumnName() { bitField0_ = (bitField0_ & ~0x00000001); referenceColumnName_ = getDefaultInstance().getReferenceColumnName(); onChanged(); return this; } /** * optional string reference_column_name = 3; * @param value The bytes for referenceColumnName to set. * @return This builder for chaining. */ public Builder setReferenceColumnNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000001; referenceColumnName_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAncestorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00000002; } } /** * repeated string ancestors = 4; * @return A list containing the ancestors. */ public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** * repeated string ancestors = 4; * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** * repeated string ancestors = 4; * @param index The index of the element to return. * @return The ancestors at the given index. */ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** * repeated string ancestors = 4; * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** * repeated string ancestors = 4; * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ public Builder setAncestors( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** * repeated string ancestors = 4; * @param value The ancestors to add. * @return This builder for chaining. */ public Builder addAncestors( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** * repeated string ancestors = 4; * @param values The ancestors to add. * @return This builder for chaining. */ public Builder addAllAncestors( java.lang.Iterable values) { ensureAncestorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, ancestors_); onChanged(); return this; } /** * repeated string ancestors = 4; * @return This builder for chaining. */ public Builder clearAncestors() { ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * repeated string ancestors = 4; * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ public Builder addAncestorsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.add(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:cz.proto.access.ColumnMove) } // @@protoc_insertion_point(class_scope:cz.proto.access.ColumnMove) private static final cz.proto.access.Ddl.ColumnMove DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ColumnMove(); } public static cz.proto.access.Ddl.ColumnMove getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ColumnMove parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ColumnMove(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 cz.proto.access.Ddl.ColumnMove getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlterTableOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.AlterTable) com.google.protobuf.MessageOrBuilder { /** *
     * strictly processed in order
     * 
* * repeated .cz.proto.access.TableChange updates = 1; */ java.util.List getUpdatesList(); /** *
     * strictly processed in order
     * 
* * repeated .cz.proto.access.TableChange updates = 1; */ cz.proto.access.Ddl.TableChange getUpdates(int index); /** *
     * strictly processed in order
     * 
* * repeated .cz.proto.access.TableChange updates = 1; */ int getUpdatesCount(); /** *
     * strictly processed in order
     * 
* * repeated .cz.proto.access.TableChange updates = 1; */ java.util.List getUpdatesOrBuilderList(); /** *
     * strictly processed in order
     * 
* * repeated .cz.proto.access.TableChange updates = 1; */ cz.proto.access.Ddl.TableChangeOrBuilder getUpdatesOrBuilder( int index); } /** *
   * Table changes are processed in the order of how they were added.
   * So update is supposed to fail if the move action to the new column
   * is pushed to the repeated field prior to the add-column action.
   * 
* * Protobuf type {@code cz.proto.access.AlterTable} */ public static final class AlterTable extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AlterTable) AlterTableOrBuilder { private static final long serialVersionUID = 0L; // Use AlterTable.newBuilder() to construct. private AlterTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlterTable() { updates_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterTable(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlterTable( 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)) { updates_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } updates_.add( input.readMessage(cz.proto.access.Ddl.TableChange.parser(), extensionRegistry)); 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)) { updates_ = java.util.Collections.unmodifiableList(updates_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterTable.class, cz.proto.access.Ddl.AlterTable.Builder.class); } public static final int UPDATES_FIELD_NUMBER = 1; private java.util.List updates_; /** *
     * strictly processed in order
     * 
* * repeated .cz.proto.access.TableChange updates = 1; */ @java.lang.Override public java.util.List getUpdatesList() { return updates_; } /** *
     * strictly processed in order
     * 
* * repeated .cz.proto.access.TableChange updates = 1; */ @java.lang.Override public java.util.List getUpdatesOrBuilderList() { return updates_; } /** *
     * strictly processed in order
     * 
* * repeated .cz.proto.access.TableChange updates = 1; */ @java.lang.Override public int getUpdatesCount() { return updates_.size(); } /** *
     * strictly processed in order
     * 
* * repeated .cz.proto.access.TableChange updates = 1; */ @java.lang.Override public cz.proto.access.Ddl.TableChange getUpdates(int index) { return updates_.get(index); } /** *
     * strictly processed in order
     * 
* * repeated .cz.proto.access.TableChange updates = 1; */ @java.lang.Override public cz.proto.access.Ddl.TableChangeOrBuilder getUpdatesOrBuilder( int index) { return updates_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < updates_.size(); i++) { output.writeMessage(1, updates_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < updates_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, updates_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cz.proto.access.Ddl.AlterTable)) { return super.equals(obj); } cz.proto.access.Ddl.AlterTable other = (cz.proto.access.Ddl.AlterTable) obj; if (!getUpdatesList() .equals(other.getUpdatesList())) 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 (getUpdatesCount() > 0) { hash = (37 * hash) + UPDATES_FIELD_NUMBER; hash = (53 * hash) + getUpdatesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AlterTable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterTable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterTable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterTable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterTable 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 cz.proto.access.Ddl.AlterTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterTable 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 cz.proto.access.Ddl.AlterTable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterTable 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(cz.proto.access.Ddl.AlterTable 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; } /** *
     * Table changes are processed in the order of how they were added.
     * So update is supposed to fail if the move action to the new column
     * is pushed to the repeated field prior to the add-column action.
     * 
* * Protobuf type {@code cz.proto.access.AlterTable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AlterTable) cz.proto.access.Ddl.AlterTableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterTable.class, cz.proto.access.Ddl.AlterTable.Builder.class); } // Construct using cz.proto.access.Ddl.AlterTable.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUpdatesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (updatesBuilder_ == null) { updates_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { updatesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterTable_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AlterTable getDefaultInstanceForType() { return cz.proto.access.Ddl.AlterTable.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AlterTable build() { cz.proto.access.Ddl.AlterTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AlterTable buildPartial() { cz.proto.access.Ddl.AlterTable result = new cz.proto.access.Ddl.AlterTable(this); int from_bitField0_ = bitField0_; if (updatesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { updates_ = java.util.Collections.unmodifiableList(updates_); bitField0_ = (bitField0_ & ~0x00000001); } result.updates_ = updates_; } else { result.updates_ = updatesBuilder_.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 cz.proto.access.Ddl.AlterTable) { return mergeFrom((cz.proto.access.Ddl.AlterTable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AlterTable other) { if (other == cz.proto.access.Ddl.AlterTable.getDefaultInstance()) return this; if (updatesBuilder_ == null) { if (!other.updates_.isEmpty()) { if (updates_.isEmpty()) { updates_ = other.updates_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUpdatesIsMutable(); updates_.addAll(other.updates_); } onChanged(); } } else { if (!other.updates_.isEmpty()) { if (updatesBuilder_.isEmpty()) { updatesBuilder_.dispose(); updatesBuilder_ = null; updates_ = other.updates_; bitField0_ = (bitField0_ & ~0x00000001); updatesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUpdatesFieldBuilder() : null; } else { updatesBuilder_.addAllMessages(other.updates_); } } } 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 { cz.proto.access.Ddl.AlterTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AlterTable) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List updates_ = java.util.Collections.emptyList(); private void ensureUpdatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { updates_ = new java.util.ArrayList(updates_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.access.Ddl.TableChange, cz.proto.access.Ddl.TableChange.Builder, cz.proto.access.Ddl.TableChangeOrBuilder> updatesBuilder_; /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public java.util.List getUpdatesList() { if (updatesBuilder_ == null) { return java.util.Collections.unmodifiableList(updates_); } else { return updatesBuilder_.getMessageList(); } } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public int getUpdatesCount() { if (updatesBuilder_ == null) { return updates_.size(); } else { return updatesBuilder_.getCount(); } } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public cz.proto.access.Ddl.TableChange getUpdates(int index) { if (updatesBuilder_ == null) { return updates_.get(index); } else { return updatesBuilder_.getMessage(index); } } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public Builder setUpdates( int index, cz.proto.access.Ddl.TableChange value) { if (updatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUpdatesIsMutable(); updates_.set(index, value); onChanged(); } else { updatesBuilder_.setMessage(index, value); } return this; } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public Builder setUpdates( int index, cz.proto.access.Ddl.TableChange.Builder builderForValue) { if (updatesBuilder_ == null) { ensureUpdatesIsMutable(); updates_.set(index, builderForValue.build()); onChanged(); } else { updatesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public Builder addUpdates(cz.proto.access.Ddl.TableChange value) { if (updatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUpdatesIsMutable(); updates_.add(value); onChanged(); } else { updatesBuilder_.addMessage(value); } return this; } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public Builder addUpdates( int index, cz.proto.access.Ddl.TableChange value) { if (updatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUpdatesIsMutable(); updates_.add(index, value); onChanged(); } else { updatesBuilder_.addMessage(index, value); } return this; } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public Builder addUpdates( cz.proto.access.Ddl.TableChange.Builder builderForValue) { if (updatesBuilder_ == null) { ensureUpdatesIsMutable(); updates_.add(builderForValue.build()); onChanged(); } else { updatesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public Builder addUpdates( int index, cz.proto.access.Ddl.TableChange.Builder builderForValue) { if (updatesBuilder_ == null) { ensureUpdatesIsMutable(); updates_.add(index, builderForValue.build()); onChanged(); } else { updatesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public Builder addAllUpdates( java.lang.Iterable values) { if (updatesBuilder_ == null) { ensureUpdatesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, updates_); onChanged(); } else { updatesBuilder_.addAllMessages(values); } return this; } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public Builder clearUpdates() { if (updatesBuilder_ == null) { updates_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { updatesBuilder_.clear(); } return this; } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public Builder removeUpdates(int index) { if (updatesBuilder_ == null) { ensureUpdatesIsMutable(); updates_.remove(index); onChanged(); } else { updatesBuilder_.remove(index); } return this; } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public cz.proto.access.Ddl.TableChange.Builder getUpdatesBuilder( int index) { return getUpdatesFieldBuilder().getBuilder(index); } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public cz.proto.access.Ddl.TableChangeOrBuilder getUpdatesOrBuilder( int index) { if (updatesBuilder_ == null) { return updates_.get(index); } else { return updatesBuilder_.getMessageOrBuilder(index); } } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public java.util.List getUpdatesOrBuilderList() { if (updatesBuilder_ != null) { return updatesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(updates_); } } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public cz.proto.access.Ddl.TableChange.Builder addUpdatesBuilder() { return getUpdatesFieldBuilder().addBuilder( cz.proto.access.Ddl.TableChange.getDefaultInstance()); } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public cz.proto.access.Ddl.TableChange.Builder addUpdatesBuilder( int index) { return getUpdatesFieldBuilder().addBuilder( index, cz.proto.access.Ddl.TableChange.getDefaultInstance()); } /** *
       * strictly processed in order
       * 
* * repeated .cz.proto.access.TableChange updates = 1; */ public java.util.List getUpdatesBuilderList() { return getUpdatesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.access.Ddl.TableChange, cz.proto.access.Ddl.TableChange.Builder, cz.proto.access.Ddl.TableChangeOrBuilder> getUpdatesFieldBuilder() { if (updatesBuilder_ == null) { updatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.access.Ddl.TableChange, cz.proto.access.Ddl.TableChange.Builder, cz.proto.access.Ddl.TableChangeOrBuilder>( updates_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); updates_ = null; } return updatesBuilder_; } @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:cz.proto.access.AlterTable) } // @@protoc_insertion_point(class_scope:cz.proto.access.AlterTable) private static final cz.proto.access.Ddl.AlterTable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterTable(); } public static cz.proto.access.Ddl.AlterTable getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlterTable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlterTable(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 cz.proto.access.Ddl.AlterTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TableChangeOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.TableChange) com.google.protobuf.MessageOrBuilder { /** *
     * added at the end of the schema by default
     * 
* * .cz.proto.access.ColumnAdd column_add = 1; * @return Whether the columnAdd field is set. */ boolean hasColumnAdd(); /** *
     * added at the end of the schema by default
     * 
* * .cz.proto.access.ColumnAdd column_add = 1; * @return The columnAdd. */ cz.proto.access.Ddl.ColumnAdd getColumnAdd(); /** *
     * added at the end of the schema by default
     * 
* * .cz.proto.access.ColumnAdd column_add = 1; */ cz.proto.access.Ddl.ColumnAddOrBuilder getColumnAddOrBuilder(); /** * .cz.proto.access.ColumnDrop column_drop = 3; * @return Whether the columnDrop field is set. */ boolean hasColumnDrop(); /** * .cz.proto.access.ColumnDrop column_drop = 3; * @return The columnDrop. */ cz.proto.access.Ddl.ColumnDrop getColumnDrop(); /** * .cz.proto.access.ColumnDrop column_drop = 3; */ cz.proto.access.Ddl.ColumnDropOrBuilder getColumnDropOrBuilder(); /** * .cz.proto.access.ColumnMove move = 2; * @return Whether the move field is set. */ boolean hasMove(); /** * .cz.proto.access.ColumnMove move = 2; * @return The move. */ cz.proto.access.Ddl.ColumnMove getMove(); /** * .cz.proto.access.ColumnMove move = 2; */ cz.proto.access.Ddl.ColumnMoveOrBuilder getMoveOrBuilder(); /** * .cz.proto.access.ColumnChange column_change = 4; * @return Whether the columnChange field is set. */ boolean hasColumnChange(); /** * .cz.proto.access.ColumnChange column_change = 4; * @return The columnChange. */ cz.proto.access.Ddl.ColumnChange getColumnChange(); /** * .cz.proto.access.ColumnChange column_change = 4; */ cz.proto.access.Ddl.ColumnChangeOrBuilder getColumnChangeOrBuilder(); /** * .cz.proto.access.DataSourceAdd data_source_add = 5; * @return Whether the dataSourceAdd field is set. */ boolean hasDataSourceAdd(); /** * .cz.proto.access.DataSourceAdd data_source_add = 5; * @return The dataSourceAdd. */ cz.proto.access.Ddl.DataSourceAdd getDataSourceAdd(); /** * .cz.proto.access.DataSourceAdd data_source_add = 5; */ cz.proto.access.Ddl.DataSourceAddOrBuilder getDataSourceAddOrBuilder(); /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; * @return Whether the dataSourceDrop field is set. */ boolean hasDataSourceDrop(); /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; * @return The dataSourceDrop. */ cz.proto.access.Ddl.DataSourceDrop getDataSourceDrop(); /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; */ cz.proto.access.Ddl.DataSourceDropOrBuilder getDataSourceDropOrBuilder(); /** * .cz.proto.access.DataSourceChange data_source_change = 7; * @return Whether the dataSourceChange field is set. */ boolean hasDataSourceChange(); /** * .cz.proto.access.DataSourceChange data_source_change = 7; * @return The dataSourceChange. */ cz.proto.access.Ddl.DataSourceChange getDataSourceChange(); /** * .cz.proto.access.DataSourceChange data_source_change = 7; */ cz.proto.access.Ddl.DataSourceChangeOrBuilder getDataSourceChangeOrBuilder(); public cz.proto.access.Ddl.TableChange.UpdateCase getUpdateCase(); } /** * Protobuf type {@code cz.proto.access.TableChange} */ public static final class TableChange extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.TableChange) TableChangeOrBuilder { private static final long serialVersionUID = 0L; // Use TableChange.newBuilder() to construct. private TableChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TableChange() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TableChange(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TableChange( 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: { cz.proto.access.Ddl.ColumnAdd.Builder subBuilder = null; if (updateCase_ == 1) { subBuilder = ((cz.proto.access.Ddl.ColumnAdd) update_).toBuilder(); } update_ = input.readMessage(cz.proto.access.Ddl.ColumnAdd.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ColumnAdd) update_); update_ = subBuilder.buildPartial(); } updateCase_ = 1; break; } case 18: { cz.proto.access.Ddl.ColumnMove.Builder subBuilder = null; if (updateCase_ == 2) { subBuilder = ((cz.proto.access.Ddl.ColumnMove) update_).toBuilder(); } update_ = input.readMessage(cz.proto.access.Ddl.ColumnMove.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ColumnMove) update_); update_ = subBuilder.buildPartial(); } updateCase_ = 2; break; } case 26: { cz.proto.access.Ddl.ColumnDrop.Builder subBuilder = null; if (updateCase_ == 3) { subBuilder = ((cz.proto.access.Ddl.ColumnDrop) update_).toBuilder(); } update_ = input.readMessage(cz.proto.access.Ddl.ColumnDrop.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ColumnDrop) update_); update_ = subBuilder.buildPartial(); } updateCase_ = 3; break; } case 34: { cz.proto.access.Ddl.ColumnChange.Builder subBuilder = null; if (updateCase_ == 4) { subBuilder = ((cz.proto.access.Ddl.ColumnChange) update_).toBuilder(); } update_ = input.readMessage(cz.proto.access.Ddl.ColumnChange.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ColumnChange) update_); update_ = subBuilder.buildPartial(); } updateCase_ = 4; break; } case 42: { cz.proto.access.Ddl.DataSourceAdd.Builder subBuilder = null; if (updateCase_ == 5) { subBuilder = ((cz.proto.access.Ddl.DataSourceAdd) update_).toBuilder(); } update_ = input.readMessage(cz.proto.access.Ddl.DataSourceAdd.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DataSourceAdd) update_); update_ = subBuilder.buildPartial(); } updateCase_ = 5; break; } case 50: { cz.proto.access.Ddl.DataSourceDrop.Builder subBuilder = null; if (updateCase_ == 6) { subBuilder = ((cz.proto.access.Ddl.DataSourceDrop) update_).toBuilder(); } update_ = input.readMessage(cz.proto.access.Ddl.DataSourceDrop.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DataSourceDrop) update_); update_ = subBuilder.buildPartial(); } updateCase_ = 6; break; } case 58: { cz.proto.access.Ddl.DataSourceChange.Builder subBuilder = null; if (updateCase_ == 7) { subBuilder = ((cz.proto.access.Ddl.DataSourceChange) update_).toBuilder(); } update_ = input.readMessage(cz.proto.access.Ddl.DataSourceChange.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DataSourceChange) update_); update_ = subBuilder.buildPartial(); } updateCase_ = 7; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_TableChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TableChange_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.TableChange.class, cz.proto.access.Ddl.TableChange.Builder.class); } private int updateCase_ = 0; private java.lang.Object update_; public enum UpdateCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COLUMN_ADD(1), COLUMN_DROP(3), MOVE(2), COLUMN_CHANGE(4), DATA_SOURCE_ADD(5), DATA_SOURCE_DROP(6), DATA_SOURCE_CHANGE(7), UPDATE_NOT_SET(0); private final int value; private UpdateCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static UpdateCase valueOf(int value) { return forNumber(value); } public static UpdateCase forNumber(int value) { switch (value) { case 1: return COLUMN_ADD; case 3: return COLUMN_DROP; case 2: return MOVE; case 4: return COLUMN_CHANGE; case 5: return DATA_SOURCE_ADD; case 6: return DATA_SOURCE_DROP; case 7: return DATA_SOURCE_CHANGE; case 0: return UPDATE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public UpdateCase getUpdateCase() { return UpdateCase.forNumber( updateCase_); } public static final int COLUMN_ADD_FIELD_NUMBER = 1; /** *
     * added at the end of the schema by default
     * 
* * .cz.proto.access.ColumnAdd column_add = 1; * @return Whether the columnAdd field is set. */ @java.lang.Override public boolean hasColumnAdd() { return updateCase_ == 1; } /** *
     * added at the end of the schema by default
     * 
* * .cz.proto.access.ColumnAdd column_add = 1; * @return The columnAdd. */ @java.lang.Override public cz.proto.access.Ddl.ColumnAdd getColumnAdd() { if (updateCase_ == 1) { return (cz.proto.access.Ddl.ColumnAdd) update_; } return cz.proto.access.Ddl.ColumnAdd.getDefaultInstance(); } /** *
     * added at the end of the schema by default
     * 
* * .cz.proto.access.ColumnAdd column_add = 1; */ @java.lang.Override public cz.proto.access.Ddl.ColumnAddOrBuilder getColumnAddOrBuilder() { if (updateCase_ == 1) { return (cz.proto.access.Ddl.ColumnAdd) update_; } return cz.proto.access.Ddl.ColumnAdd.getDefaultInstance(); } public static final int COLUMN_DROP_FIELD_NUMBER = 3; /** * .cz.proto.access.ColumnDrop column_drop = 3; * @return Whether the columnDrop field is set. */ @java.lang.Override public boolean hasColumnDrop() { return updateCase_ == 3; } /** * .cz.proto.access.ColumnDrop column_drop = 3; * @return The columnDrop. */ @java.lang.Override public cz.proto.access.Ddl.ColumnDrop getColumnDrop() { if (updateCase_ == 3) { return (cz.proto.access.Ddl.ColumnDrop) update_; } return cz.proto.access.Ddl.ColumnDrop.getDefaultInstance(); } /** * .cz.proto.access.ColumnDrop column_drop = 3; */ @java.lang.Override public cz.proto.access.Ddl.ColumnDropOrBuilder getColumnDropOrBuilder() { if (updateCase_ == 3) { return (cz.proto.access.Ddl.ColumnDrop) update_; } return cz.proto.access.Ddl.ColumnDrop.getDefaultInstance(); } public static final int MOVE_FIELD_NUMBER = 2; /** * .cz.proto.access.ColumnMove move = 2; * @return Whether the move field is set. */ @java.lang.Override public boolean hasMove() { return updateCase_ == 2; } /** * .cz.proto.access.ColumnMove move = 2; * @return The move. */ @java.lang.Override public cz.proto.access.Ddl.ColumnMove getMove() { if (updateCase_ == 2) { return (cz.proto.access.Ddl.ColumnMove) update_; } return cz.proto.access.Ddl.ColumnMove.getDefaultInstance(); } /** * .cz.proto.access.ColumnMove move = 2; */ @java.lang.Override public cz.proto.access.Ddl.ColumnMoveOrBuilder getMoveOrBuilder() { if (updateCase_ == 2) { return (cz.proto.access.Ddl.ColumnMove) update_; } return cz.proto.access.Ddl.ColumnMove.getDefaultInstance(); } public static final int COLUMN_CHANGE_FIELD_NUMBER = 4; /** * .cz.proto.access.ColumnChange column_change = 4; * @return Whether the columnChange field is set. */ @java.lang.Override public boolean hasColumnChange() { return updateCase_ == 4; } /** * .cz.proto.access.ColumnChange column_change = 4; * @return The columnChange. */ @java.lang.Override public cz.proto.access.Ddl.ColumnChange getColumnChange() { if (updateCase_ == 4) { return (cz.proto.access.Ddl.ColumnChange) update_; } return cz.proto.access.Ddl.ColumnChange.getDefaultInstance(); } /** * .cz.proto.access.ColumnChange column_change = 4; */ @java.lang.Override public cz.proto.access.Ddl.ColumnChangeOrBuilder getColumnChangeOrBuilder() { if (updateCase_ == 4) { return (cz.proto.access.Ddl.ColumnChange) update_; } return cz.proto.access.Ddl.ColumnChange.getDefaultInstance(); } public static final int DATA_SOURCE_ADD_FIELD_NUMBER = 5; /** * .cz.proto.access.DataSourceAdd data_source_add = 5; * @return Whether the dataSourceAdd field is set. */ @java.lang.Override public boolean hasDataSourceAdd() { return updateCase_ == 5; } /** * .cz.proto.access.DataSourceAdd data_source_add = 5; * @return The dataSourceAdd. */ @java.lang.Override public cz.proto.access.Ddl.DataSourceAdd getDataSourceAdd() { if (updateCase_ == 5) { return (cz.proto.access.Ddl.DataSourceAdd) update_; } return cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance(); } /** * .cz.proto.access.DataSourceAdd data_source_add = 5; */ @java.lang.Override public cz.proto.access.Ddl.DataSourceAddOrBuilder getDataSourceAddOrBuilder() { if (updateCase_ == 5) { return (cz.proto.access.Ddl.DataSourceAdd) update_; } return cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance(); } public static final int DATA_SOURCE_DROP_FIELD_NUMBER = 6; /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; * @return Whether the dataSourceDrop field is set. */ @java.lang.Override public boolean hasDataSourceDrop() { return updateCase_ == 6; } /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; * @return The dataSourceDrop. */ @java.lang.Override public cz.proto.access.Ddl.DataSourceDrop getDataSourceDrop() { if (updateCase_ == 6) { return (cz.proto.access.Ddl.DataSourceDrop) update_; } return cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance(); } /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; */ @java.lang.Override public cz.proto.access.Ddl.DataSourceDropOrBuilder getDataSourceDropOrBuilder() { if (updateCase_ == 6) { return (cz.proto.access.Ddl.DataSourceDrop) update_; } return cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance(); } public static final int DATA_SOURCE_CHANGE_FIELD_NUMBER = 7; /** * .cz.proto.access.DataSourceChange data_source_change = 7; * @return Whether the dataSourceChange field is set. */ @java.lang.Override public boolean hasDataSourceChange() { return updateCase_ == 7; } /** * .cz.proto.access.DataSourceChange data_source_change = 7; * @return The dataSourceChange. */ @java.lang.Override public cz.proto.access.Ddl.DataSourceChange getDataSourceChange() { if (updateCase_ == 7) { return (cz.proto.access.Ddl.DataSourceChange) update_; } return cz.proto.access.Ddl.DataSourceChange.getDefaultInstance(); } /** * .cz.proto.access.DataSourceChange data_source_change = 7; */ @java.lang.Override public cz.proto.access.Ddl.DataSourceChangeOrBuilder getDataSourceChangeOrBuilder() { if (updateCase_ == 7) { return (cz.proto.access.Ddl.DataSourceChange) update_; } return cz.proto.access.Ddl.DataSourceChange.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateCase_ == 1) { output.writeMessage(1, (cz.proto.access.Ddl.ColumnAdd) update_); } if (updateCase_ == 2) { output.writeMessage(2, (cz.proto.access.Ddl.ColumnMove) update_); } if (updateCase_ == 3) { output.writeMessage(3, (cz.proto.access.Ddl.ColumnDrop) update_); } if (updateCase_ == 4) { output.writeMessage(4, (cz.proto.access.Ddl.ColumnChange) update_); } if (updateCase_ == 5) { output.writeMessage(5, (cz.proto.access.Ddl.DataSourceAdd) update_); } if (updateCase_ == 6) { output.writeMessage(6, (cz.proto.access.Ddl.DataSourceDrop) update_); } if (updateCase_ == 7) { output.writeMessage(7, (cz.proto.access.Ddl.DataSourceChange) update_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (updateCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (cz.proto.access.Ddl.ColumnAdd) update_); } if (updateCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (cz.proto.access.Ddl.ColumnMove) update_); } if (updateCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (cz.proto.access.Ddl.ColumnDrop) update_); } if (updateCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (cz.proto.access.Ddl.ColumnChange) update_); } if (updateCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (cz.proto.access.Ddl.DataSourceAdd) update_); } if (updateCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, (cz.proto.access.Ddl.DataSourceDrop) update_); } if (updateCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, (cz.proto.access.Ddl.DataSourceChange) update_); } 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 cz.proto.access.Ddl.TableChange)) { return super.equals(obj); } cz.proto.access.Ddl.TableChange other = (cz.proto.access.Ddl.TableChange) obj; if (!getUpdateCase().equals(other.getUpdateCase())) return false; switch (updateCase_) { case 1: if (!getColumnAdd() .equals(other.getColumnAdd())) return false; break; case 3: if (!getColumnDrop() .equals(other.getColumnDrop())) return false; break; case 2: if (!getMove() .equals(other.getMove())) return false; break; case 4: if (!getColumnChange() .equals(other.getColumnChange())) return false; break; case 5: if (!getDataSourceAdd() .equals(other.getDataSourceAdd())) return false; break; case 6: if (!getDataSourceDrop() .equals(other.getDataSourceDrop())) return false; break; case 7: if (!getDataSourceChange() .equals(other.getDataSourceChange())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (updateCase_) { case 1: hash = (37 * hash) + COLUMN_ADD_FIELD_NUMBER; hash = (53 * hash) + getColumnAdd().hashCode(); break; case 3: hash = (37 * hash) + COLUMN_DROP_FIELD_NUMBER; hash = (53 * hash) + getColumnDrop().hashCode(); break; case 2: hash = (37 * hash) + MOVE_FIELD_NUMBER; hash = (53 * hash) + getMove().hashCode(); break; case 4: hash = (37 * hash) + COLUMN_CHANGE_FIELD_NUMBER; hash = (53 * hash) + getColumnChange().hashCode(); break; case 5: hash = (37 * hash) + DATA_SOURCE_ADD_FIELD_NUMBER; hash = (53 * hash) + getDataSourceAdd().hashCode(); break; case 6: hash = (37 * hash) + DATA_SOURCE_DROP_FIELD_NUMBER; hash = (53 * hash) + getDataSourceDrop().hashCode(); break; case 7: hash = (37 * hash) + DATA_SOURCE_CHANGE_FIELD_NUMBER; hash = (53 * hash) + getDataSourceChange().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.TableChange parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.TableChange parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.TableChange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.TableChange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.TableChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.TableChange parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.TableChange parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.TableChange 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 cz.proto.access.Ddl.TableChange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.TableChange 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 cz.proto.access.Ddl.TableChange parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.TableChange 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(cz.proto.access.Ddl.TableChange 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 cz.proto.access.TableChange} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.TableChange) cz.proto.access.Ddl.TableChangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TableChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TableChange_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.TableChange.class, cz.proto.access.Ddl.TableChange.Builder.class); } // Construct using cz.proto.access.Ddl.TableChange.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(); updateCase_ = 0; update_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TableChange_descriptor; } @java.lang.Override public cz.proto.access.Ddl.TableChange getDefaultInstanceForType() { return cz.proto.access.Ddl.TableChange.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.TableChange build() { cz.proto.access.Ddl.TableChange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.TableChange buildPartial() { cz.proto.access.Ddl.TableChange result = new cz.proto.access.Ddl.TableChange(this); if (updateCase_ == 1) { if (columnAddBuilder_ == null) { result.update_ = update_; } else { result.update_ = columnAddBuilder_.build(); } } if (updateCase_ == 3) { if (columnDropBuilder_ == null) { result.update_ = update_; } else { result.update_ = columnDropBuilder_.build(); } } if (updateCase_ == 2) { if (moveBuilder_ == null) { result.update_ = update_; } else { result.update_ = moveBuilder_.build(); } } if (updateCase_ == 4) { if (columnChangeBuilder_ == null) { result.update_ = update_; } else { result.update_ = columnChangeBuilder_.build(); } } if (updateCase_ == 5) { if (dataSourceAddBuilder_ == null) { result.update_ = update_; } else { result.update_ = dataSourceAddBuilder_.build(); } } if (updateCase_ == 6) { if (dataSourceDropBuilder_ == null) { result.update_ = update_; } else { result.update_ = dataSourceDropBuilder_.build(); } } if (updateCase_ == 7) { if (dataSourceChangeBuilder_ == null) { result.update_ = update_; } else { result.update_ = dataSourceChangeBuilder_.build(); } } result.updateCase_ = updateCase_; 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 cz.proto.access.Ddl.TableChange) { return mergeFrom((cz.proto.access.Ddl.TableChange)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.TableChange other) { if (other == cz.proto.access.Ddl.TableChange.getDefaultInstance()) return this; switch (other.getUpdateCase()) { case COLUMN_ADD: { mergeColumnAdd(other.getColumnAdd()); break; } case COLUMN_DROP: { mergeColumnDrop(other.getColumnDrop()); break; } case MOVE: { mergeMove(other.getMove()); break; } case COLUMN_CHANGE: { mergeColumnChange(other.getColumnChange()); break; } case DATA_SOURCE_ADD: { mergeDataSourceAdd(other.getDataSourceAdd()); break; } case DATA_SOURCE_DROP: { mergeDataSourceDrop(other.getDataSourceDrop()); break; } case DATA_SOURCE_CHANGE: { mergeDataSourceChange(other.getDataSourceChange()); break; } case UPDATE_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.TableChange parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.TableChange) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int updateCase_ = 0; private java.lang.Object update_; public UpdateCase getUpdateCase() { return UpdateCase.forNumber( updateCase_); } public Builder clearUpdate() { updateCase_ = 0; update_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ColumnAdd, cz.proto.access.Ddl.ColumnAdd.Builder, cz.proto.access.Ddl.ColumnAddOrBuilder> columnAddBuilder_; /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.access.ColumnAdd column_add = 1; * @return Whether the columnAdd field is set. */ @java.lang.Override public boolean hasColumnAdd() { return updateCase_ == 1; } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.access.ColumnAdd column_add = 1; * @return The columnAdd. */ @java.lang.Override public cz.proto.access.Ddl.ColumnAdd getColumnAdd() { if (columnAddBuilder_ == null) { if (updateCase_ == 1) { return (cz.proto.access.Ddl.ColumnAdd) update_; } return cz.proto.access.Ddl.ColumnAdd.getDefaultInstance(); } else { if (updateCase_ == 1) { return columnAddBuilder_.getMessage(); } return cz.proto.access.Ddl.ColumnAdd.getDefaultInstance(); } } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.access.ColumnAdd column_add = 1; */ public Builder setColumnAdd(cz.proto.access.Ddl.ColumnAdd value) { if (columnAddBuilder_ == null) { if (value == null) { throw new NullPointerException(); } update_ = value; onChanged(); } else { columnAddBuilder_.setMessage(value); } updateCase_ = 1; return this; } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.access.ColumnAdd column_add = 1; */ public Builder setColumnAdd( cz.proto.access.Ddl.ColumnAdd.Builder builderForValue) { if (columnAddBuilder_ == null) { update_ = builderForValue.build(); onChanged(); } else { columnAddBuilder_.setMessage(builderForValue.build()); } updateCase_ = 1; return this; } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.access.ColumnAdd column_add = 1; */ public Builder mergeColumnAdd(cz.proto.access.Ddl.ColumnAdd value) { if (columnAddBuilder_ == null) { if (updateCase_ == 1 && update_ != cz.proto.access.Ddl.ColumnAdd.getDefaultInstance()) { update_ = cz.proto.access.Ddl.ColumnAdd.newBuilder((cz.proto.access.Ddl.ColumnAdd) update_) .mergeFrom(value).buildPartial(); } else { update_ = value; } onChanged(); } else { if (updateCase_ == 1) { columnAddBuilder_.mergeFrom(value); } columnAddBuilder_.setMessage(value); } updateCase_ = 1; return this; } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.access.ColumnAdd column_add = 1; */ public Builder clearColumnAdd() { if (columnAddBuilder_ == null) { if (updateCase_ == 1) { updateCase_ = 0; update_ = null; onChanged(); } } else { if (updateCase_ == 1) { updateCase_ = 0; update_ = null; } columnAddBuilder_.clear(); } return this; } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.access.ColumnAdd column_add = 1; */ public cz.proto.access.Ddl.ColumnAdd.Builder getColumnAddBuilder() { return getColumnAddFieldBuilder().getBuilder(); } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.access.ColumnAdd column_add = 1; */ @java.lang.Override public cz.proto.access.Ddl.ColumnAddOrBuilder getColumnAddOrBuilder() { if ((updateCase_ == 1) && (columnAddBuilder_ != null)) { return columnAddBuilder_.getMessageOrBuilder(); } else { if (updateCase_ == 1) { return (cz.proto.access.Ddl.ColumnAdd) update_; } return cz.proto.access.Ddl.ColumnAdd.getDefaultInstance(); } } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.access.ColumnAdd column_add = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ColumnAdd, cz.proto.access.Ddl.ColumnAdd.Builder, cz.proto.access.Ddl.ColumnAddOrBuilder> getColumnAddFieldBuilder() { if (columnAddBuilder_ == null) { if (!(updateCase_ == 1)) { update_ = cz.proto.access.Ddl.ColumnAdd.getDefaultInstance(); } columnAddBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ColumnAdd, cz.proto.access.Ddl.ColumnAdd.Builder, cz.proto.access.Ddl.ColumnAddOrBuilder>( (cz.proto.access.Ddl.ColumnAdd) update_, getParentForChildren(), isClean()); update_ = null; } updateCase_ = 1; onChanged();; return columnAddBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ColumnDrop, cz.proto.access.Ddl.ColumnDrop.Builder, cz.proto.access.Ddl.ColumnDropOrBuilder> columnDropBuilder_; /** * .cz.proto.access.ColumnDrop column_drop = 3; * @return Whether the columnDrop field is set. */ @java.lang.Override public boolean hasColumnDrop() { return updateCase_ == 3; } /** * .cz.proto.access.ColumnDrop column_drop = 3; * @return The columnDrop. */ @java.lang.Override public cz.proto.access.Ddl.ColumnDrop getColumnDrop() { if (columnDropBuilder_ == null) { if (updateCase_ == 3) { return (cz.proto.access.Ddl.ColumnDrop) update_; } return cz.proto.access.Ddl.ColumnDrop.getDefaultInstance(); } else { if (updateCase_ == 3) { return columnDropBuilder_.getMessage(); } return cz.proto.access.Ddl.ColumnDrop.getDefaultInstance(); } } /** * .cz.proto.access.ColumnDrop column_drop = 3; */ public Builder setColumnDrop(cz.proto.access.Ddl.ColumnDrop value) { if (columnDropBuilder_ == null) { if (value == null) { throw new NullPointerException(); } update_ = value; onChanged(); } else { columnDropBuilder_.setMessage(value); } updateCase_ = 3; return this; } /** * .cz.proto.access.ColumnDrop column_drop = 3; */ public Builder setColumnDrop( cz.proto.access.Ddl.ColumnDrop.Builder builderForValue) { if (columnDropBuilder_ == null) { update_ = builderForValue.build(); onChanged(); } else { columnDropBuilder_.setMessage(builderForValue.build()); } updateCase_ = 3; return this; } /** * .cz.proto.access.ColumnDrop column_drop = 3; */ public Builder mergeColumnDrop(cz.proto.access.Ddl.ColumnDrop value) { if (columnDropBuilder_ == null) { if (updateCase_ == 3 && update_ != cz.proto.access.Ddl.ColumnDrop.getDefaultInstance()) { update_ = cz.proto.access.Ddl.ColumnDrop.newBuilder((cz.proto.access.Ddl.ColumnDrop) update_) .mergeFrom(value).buildPartial(); } else { update_ = value; } onChanged(); } else { if (updateCase_ == 3) { columnDropBuilder_.mergeFrom(value); } columnDropBuilder_.setMessage(value); } updateCase_ = 3; return this; } /** * .cz.proto.access.ColumnDrop column_drop = 3; */ public Builder clearColumnDrop() { if (columnDropBuilder_ == null) { if (updateCase_ == 3) { updateCase_ = 0; update_ = null; onChanged(); } } else { if (updateCase_ == 3) { updateCase_ = 0; update_ = null; } columnDropBuilder_.clear(); } return this; } /** * .cz.proto.access.ColumnDrop column_drop = 3; */ public cz.proto.access.Ddl.ColumnDrop.Builder getColumnDropBuilder() { return getColumnDropFieldBuilder().getBuilder(); } /** * .cz.proto.access.ColumnDrop column_drop = 3; */ @java.lang.Override public cz.proto.access.Ddl.ColumnDropOrBuilder getColumnDropOrBuilder() { if ((updateCase_ == 3) && (columnDropBuilder_ != null)) { return columnDropBuilder_.getMessageOrBuilder(); } else { if (updateCase_ == 3) { return (cz.proto.access.Ddl.ColumnDrop) update_; } return cz.proto.access.Ddl.ColumnDrop.getDefaultInstance(); } } /** * .cz.proto.access.ColumnDrop column_drop = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ColumnDrop, cz.proto.access.Ddl.ColumnDrop.Builder, cz.proto.access.Ddl.ColumnDropOrBuilder> getColumnDropFieldBuilder() { if (columnDropBuilder_ == null) { if (!(updateCase_ == 3)) { update_ = cz.proto.access.Ddl.ColumnDrop.getDefaultInstance(); } columnDropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ColumnDrop, cz.proto.access.Ddl.ColumnDrop.Builder, cz.proto.access.Ddl.ColumnDropOrBuilder>( (cz.proto.access.Ddl.ColumnDrop) update_, getParentForChildren(), isClean()); update_ = null; } updateCase_ = 3; onChanged();; return columnDropBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ColumnMove, cz.proto.access.Ddl.ColumnMove.Builder, cz.proto.access.Ddl.ColumnMoveOrBuilder> moveBuilder_; /** * .cz.proto.access.ColumnMove move = 2; * @return Whether the move field is set. */ @java.lang.Override public boolean hasMove() { return updateCase_ == 2; } /** * .cz.proto.access.ColumnMove move = 2; * @return The move. */ @java.lang.Override public cz.proto.access.Ddl.ColumnMove getMove() { if (moveBuilder_ == null) { if (updateCase_ == 2) { return (cz.proto.access.Ddl.ColumnMove) update_; } return cz.proto.access.Ddl.ColumnMove.getDefaultInstance(); } else { if (updateCase_ == 2) { return moveBuilder_.getMessage(); } return cz.proto.access.Ddl.ColumnMove.getDefaultInstance(); } } /** * .cz.proto.access.ColumnMove move = 2; */ public Builder setMove(cz.proto.access.Ddl.ColumnMove value) { if (moveBuilder_ == null) { if (value == null) { throw new NullPointerException(); } update_ = value; onChanged(); } else { moveBuilder_.setMessage(value); } updateCase_ = 2; return this; } /** * .cz.proto.access.ColumnMove move = 2; */ public Builder setMove( cz.proto.access.Ddl.ColumnMove.Builder builderForValue) { if (moveBuilder_ == null) { update_ = builderForValue.build(); onChanged(); } else { moveBuilder_.setMessage(builderForValue.build()); } updateCase_ = 2; return this; } /** * .cz.proto.access.ColumnMove move = 2; */ public Builder mergeMove(cz.proto.access.Ddl.ColumnMove value) { if (moveBuilder_ == null) { if (updateCase_ == 2 && update_ != cz.proto.access.Ddl.ColumnMove.getDefaultInstance()) { update_ = cz.proto.access.Ddl.ColumnMove.newBuilder((cz.proto.access.Ddl.ColumnMove) update_) .mergeFrom(value).buildPartial(); } else { update_ = value; } onChanged(); } else { if (updateCase_ == 2) { moveBuilder_.mergeFrom(value); } moveBuilder_.setMessage(value); } updateCase_ = 2; return this; } /** * .cz.proto.access.ColumnMove move = 2; */ public Builder clearMove() { if (moveBuilder_ == null) { if (updateCase_ == 2) { updateCase_ = 0; update_ = null; onChanged(); } } else { if (updateCase_ == 2) { updateCase_ = 0; update_ = null; } moveBuilder_.clear(); } return this; } /** * .cz.proto.access.ColumnMove move = 2; */ public cz.proto.access.Ddl.ColumnMove.Builder getMoveBuilder() { return getMoveFieldBuilder().getBuilder(); } /** * .cz.proto.access.ColumnMove move = 2; */ @java.lang.Override public cz.proto.access.Ddl.ColumnMoveOrBuilder getMoveOrBuilder() { if ((updateCase_ == 2) && (moveBuilder_ != null)) { return moveBuilder_.getMessageOrBuilder(); } else { if (updateCase_ == 2) { return (cz.proto.access.Ddl.ColumnMove) update_; } return cz.proto.access.Ddl.ColumnMove.getDefaultInstance(); } } /** * .cz.proto.access.ColumnMove move = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ColumnMove, cz.proto.access.Ddl.ColumnMove.Builder, cz.proto.access.Ddl.ColumnMoveOrBuilder> getMoveFieldBuilder() { if (moveBuilder_ == null) { if (!(updateCase_ == 2)) { update_ = cz.proto.access.Ddl.ColumnMove.getDefaultInstance(); } moveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ColumnMove, cz.proto.access.Ddl.ColumnMove.Builder, cz.proto.access.Ddl.ColumnMoveOrBuilder>( (cz.proto.access.Ddl.ColumnMove) update_, getParentForChildren(), isClean()); update_ = null; } updateCase_ = 2; onChanged();; return moveBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ColumnChange, cz.proto.access.Ddl.ColumnChange.Builder, cz.proto.access.Ddl.ColumnChangeOrBuilder> columnChangeBuilder_; /** * .cz.proto.access.ColumnChange column_change = 4; * @return Whether the columnChange field is set. */ @java.lang.Override public boolean hasColumnChange() { return updateCase_ == 4; } /** * .cz.proto.access.ColumnChange column_change = 4; * @return The columnChange. */ @java.lang.Override public cz.proto.access.Ddl.ColumnChange getColumnChange() { if (columnChangeBuilder_ == null) { if (updateCase_ == 4) { return (cz.proto.access.Ddl.ColumnChange) update_; } return cz.proto.access.Ddl.ColumnChange.getDefaultInstance(); } else { if (updateCase_ == 4) { return columnChangeBuilder_.getMessage(); } return cz.proto.access.Ddl.ColumnChange.getDefaultInstance(); } } /** * .cz.proto.access.ColumnChange column_change = 4; */ public Builder setColumnChange(cz.proto.access.Ddl.ColumnChange value) { if (columnChangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } update_ = value; onChanged(); } else { columnChangeBuilder_.setMessage(value); } updateCase_ = 4; return this; } /** * .cz.proto.access.ColumnChange column_change = 4; */ public Builder setColumnChange( cz.proto.access.Ddl.ColumnChange.Builder builderForValue) { if (columnChangeBuilder_ == null) { update_ = builderForValue.build(); onChanged(); } else { columnChangeBuilder_.setMessage(builderForValue.build()); } updateCase_ = 4; return this; } /** * .cz.proto.access.ColumnChange column_change = 4; */ public Builder mergeColumnChange(cz.proto.access.Ddl.ColumnChange value) { if (columnChangeBuilder_ == null) { if (updateCase_ == 4 && update_ != cz.proto.access.Ddl.ColumnChange.getDefaultInstance()) { update_ = cz.proto.access.Ddl.ColumnChange.newBuilder((cz.proto.access.Ddl.ColumnChange) update_) .mergeFrom(value).buildPartial(); } else { update_ = value; } onChanged(); } else { if (updateCase_ == 4) { columnChangeBuilder_.mergeFrom(value); } columnChangeBuilder_.setMessage(value); } updateCase_ = 4; return this; } /** * .cz.proto.access.ColumnChange column_change = 4; */ public Builder clearColumnChange() { if (columnChangeBuilder_ == null) { if (updateCase_ == 4) { updateCase_ = 0; update_ = null; onChanged(); } } else { if (updateCase_ == 4) { updateCase_ = 0; update_ = null; } columnChangeBuilder_.clear(); } return this; } /** * .cz.proto.access.ColumnChange column_change = 4; */ public cz.proto.access.Ddl.ColumnChange.Builder getColumnChangeBuilder() { return getColumnChangeFieldBuilder().getBuilder(); } /** * .cz.proto.access.ColumnChange column_change = 4; */ @java.lang.Override public cz.proto.access.Ddl.ColumnChangeOrBuilder getColumnChangeOrBuilder() { if ((updateCase_ == 4) && (columnChangeBuilder_ != null)) { return columnChangeBuilder_.getMessageOrBuilder(); } else { if (updateCase_ == 4) { return (cz.proto.access.Ddl.ColumnChange) update_; } return cz.proto.access.Ddl.ColumnChange.getDefaultInstance(); } } /** * .cz.proto.access.ColumnChange column_change = 4; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ColumnChange, cz.proto.access.Ddl.ColumnChange.Builder, cz.proto.access.Ddl.ColumnChangeOrBuilder> getColumnChangeFieldBuilder() { if (columnChangeBuilder_ == null) { if (!(updateCase_ == 4)) { update_ = cz.proto.access.Ddl.ColumnChange.getDefaultInstance(); } columnChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ColumnChange, cz.proto.access.Ddl.ColumnChange.Builder, cz.proto.access.Ddl.ColumnChangeOrBuilder>( (cz.proto.access.Ddl.ColumnChange) update_, getParentForChildren(), isClean()); update_ = null; } updateCase_ = 4; onChanged();; return columnChangeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DataSourceAdd, cz.proto.access.Ddl.DataSourceAdd.Builder, cz.proto.access.Ddl.DataSourceAddOrBuilder> dataSourceAddBuilder_; /** * .cz.proto.access.DataSourceAdd data_source_add = 5; * @return Whether the dataSourceAdd field is set. */ @java.lang.Override public boolean hasDataSourceAdd() { return updateCase_ == 5; } /** * .cz.proto.access.DataSourceAdd data_source_add = 5; * @return The dataSourceAdd. */ @java.lang.Override public cz.proto.access.Ddl.DataSourceAdd getDataSourceAdd() { if (dataSourceAddBuilder_ == null) { if (updateCase_ == 5) { return (cz.proto.access.Ddl.DataSourceAdd) update_; } return cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance(); } else { if (updateCase_ == 5) { return dataSourceAddBuilder_.getMessage(); } return cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance(); } } /** * .cz.proto.access.DataSourceAdd data_source_add = 5; */ public Builder setDataSourceAdd(cz.proto.access.Ddl.DataSourceAdd value) { if (dataSourceAddBuilder_ == null) { if (value == null) { throw new NullPointerException(); } update_ = value; onChanged(); } else { dataSourceAddBuilder_.setMessage(value); } updateCase_ = 5; return this; } /** * .cz.proto.access.DataSourceAdd data_source_add = 5; */ public Builder setDataSourceAdd( cz.proto.access.Ddl.DataSourceAdd.Builder builderForValue) { if (dataSourceAddBuilder_ == null) { update_ = builderForValue.build(); onChanged(); } else { dataSourceAddBuilder_.setMessage(builderForValue.build()); } updateCase_ = 5; return this; } /** * .cz.proto.access.DataSourceAdd data_source_add = 5; */ public Builder mergeDataSourceAdd(cz.proto.access.Ddl.DataSourceAdd value) { if (dataSourceAddBuilder_ == null) { if (updateCase_ == 5 && update_ != cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance()) { update_ = cz.proto.access.Ddl.DataSourceAdd.newBuilder((cz.proto.access.Ddl.DataSourceAdd) update_) .mergeFrom(value).buildPartial(); } else { update_ = value; } onChanged(); } else { if (updateCase_ == 5) { dataSourceAddBuilder_.mergeFrom(value); } dataSourceAddBuilder_.setMessage(value); } updateCase_ = 5; return this; } /** * .cz.proto.access.DataSourceAdd data_source_add = 5; */ public Builder clearDataSourceAdd() { if (dataSourceAddBuilder_ == null) { if (updateCase_ == 5) { updateCase_ = 0; update_ = null; onChanged(); } } else { if (updateCase_ == 5) { updateCase_ = 0; update_ = null; } dataSourceAddBuilder_.clear(); } return this; } /** * .cz.proto.access.DataSourceAdd data_source_add = 5; */ public cz.proto.access.Ddl.DataSourceAdd.Builder getDataSourceAddBuilder() { return getDataSourceAddFieldBuilder().getBuilder(); } /** * .cz.proto.access.DataSourceAdd data_source_add = 5; */ @java.lang.Override public cz.proto.access.Ddl.DataSourceAddOrBuilder getDataSourceAddOrBuilder() { if ((updateCase_ == 5) && (dataSourceAddBuilder_ != null)) { return dataSourceAddBuilder_.getMessageOrBuilder(); } else { if (updateCase_ == 5) { return (cz.proto.access.Ddl.DataSourceAdd) update_; } return cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance(); } } /** * .cz.proto.access.DataSourceAdd data_source_add = 5; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DataSourceAdd, cz.proto.access.Ddl.DataSourceAdd.Builder, cz.proto.access.Ddl.DataSourceAddOrBuilder> getDataSourceAddFieldBuilder() { if (dataSourceAddBuilder_ == null) { if (!(updateCase_ == 5)) { update_ = cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance(); } dataSourceAddBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DataSourceAdd, cz.proto.access.Ddl.DataSourceAdd.Builder, cz.proto.access.Ddl.DataSourceAddOrBuilder>( (cz.proto.access.Ddl.DataSourceAdd) update_, getParentForChildren(), isClean()); update_ = null; } updateCase_ = 5; onChanged();; return dataSourceAddBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DataSourceDrop, cz.proto.access.Ddl.DataSourceDrop.Builder, cz.proto.access.Ddl.DataSourceDropOrBuilder> dataSourceDropBuilder_; /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; * @return Whether the dataSourceDrop field is set. */ @java.lang.Override public boolean hasDataSourceDrop() { return updateCase_ == 6; } /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; * @return The dataSourceDrop. */ @java.lang.Override public cz.proto.access.Ddl.DataSourceDrop getDataSourceDrop() { if (dataSourceDropBuilder_ == null) { if (updateCase_ == 6) { return (cz.proto.access.Ddl.DataSourceDrop) update_; } return cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance(); } else { if (updateCase_ == 6) { return dataSourceDropBuilder_.getMessage(); } return cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance(); } } /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; */ public Builder setDataSourceDrop(cz.proto.access.Ddl.DataSourceDrop value) { if (dataSourceDropBuilder_ == null) { if (value == null) { throw new NullPointerException(); } update_ = value; onChanged(); } else { dataSourceDropBuilder_.setMessage(value); } updateCase_ = 6; return this; } /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; */ public Builder setDataSourceDrop( cz.proto.access.Ddl.DataSourceDrop.Builder builderForValue) { if (dataSourceDropBuilder_ == null) { update_ = builderForValue.build(); onChanged(); } else { dataSourceDropBuilder_.setMessage(builderForValue.build()); } updateCase_ = 6; return this; } /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; */ public Builder mergeDataSourceDrop(cz.proto.access.Ddl.DataSourceDrop value) { if (dataSourceDropBuilder_ == null) { if (updateCase_ == 6 && update_ != cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance()) { update_ = cz.proto.access.Ddl.DataSourceDrop.newBuilder((cz.proto.access.Ddl.DataSourceDrop) update_) .mergeFrom(value).buildPartial(); } else { update_ = value; } onChanged(); } else { if (updateCase_ == 6) { dataSourceDropBuilder_.mergeFrom(value); } dataSourceDropBuilder_.setMessage(value); } updateCase_ = 6; return this; } /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; */ public Builder clearDataSourceDrop() { if (dataSourceDropBuilder_ == null) { if (updateCase_ == 6) { updateCase_ = 0; update_ = null; onChanged(); } } else { if (updateCase_ == 6) { updateCase_ = 0; update_ = null; } dataSourceDropBuilder_.clear(); } return this; } /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; */ public cz.proto.access.Ddl.DataSourceDrop.Builder getDataSourceDropBuilder() { return getDataSourceDropFieldBuilder().getBuilder(); } /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; */ @java.lang.Override public cz.proto.access.Ddl.DataSourceDropOrBuilder getDataSourceDropOrBuilder() { if ((updateCase_ == 6) && (dataSourceDropBuilder_ != null)) { return dataSourceDropBuilder_.getMessageOrBuilder(); } else { if (updateCase_ == 6) { return (cz.proto.access.Ddl.DataSourceDrop) update_; } return cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance(); } } /** * .cz.proto.access.DataSourceDrop data_source_drop = 6; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DataSourceDrop, cz.proto.access.Ddl.DataSourceDrop.Builder, cz.proto.access.Ddl.DataSourceDropOrBuilder> getDataSourceDropFieldBuilder() { if (dataSourceDropBuilder_ == null) { if (!(updateCase_ == 6)) { update_ = cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance(); } dataSourceDropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DataSourceDrop, cz.proto.access.Ddl.DataSourceDrop.Builder, cz.proto.access.Ddl.DataSourceDropOrBuilder>( (cz.proto.access.Ddl.DataSourceDrop) update_, getParentForChildren(), isClean()); update_ = null; } updateCase_ = 6; onChanged();; return dataSourceDropBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DataSourceChange, cz.proto.access.Ddl.DataSourceChange.Builder, cz.proto.access.Ddl.DataSourceChangeOrBuilder> dataSourceChangeBuilder_; /** * .cz.proto.access.DataSourceChange data_source_change = 7; * @return Whether the dataSourceChange field is set. */ @java.lang.Override public boolean hasDataSourceChange() { return updateCase_ == 7; } /** * .cz.proto.access.DataSourceChange data_source_change = 7; * @return The dataSourceChange. */ @java.lang.Override public cz.proto.access.Ddl.DataSourceChange getDataSourceChange() { if (dataSourceChangeBuilder_ == null) { if (updateCase_ == 7) { return (cz.proto.access.Ddl.DataSourceChange) update_; } return cz.proto.access.Ddl.DataSourceChange.getDefaultInstance(); } else { if (updateCase_ == 7) { return dataSourceChangeBuilder_.getMessage(); } return cz.proto.access.Ddl.DataSourceChange.getDefaultInstance(); } } /** * .cz.proto.access.DataSourceChange data_source_change = 7; */ public Builder setDataSourceChange(cz.proto.access.Ddl.DataSourceChange value) { if (dataSourceChangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } update_ = value; onChanged(); } else { dataSourceChangeBuilder_.setMessage(value); } updateCase_ = 7; return this; } /** * .cz.proto.access.DataSourceChange data_source_change = 7; */ public Builder setDataSourceChange( cz.proto.access.Ddl.DataSourceChange.Builder builderForValue) { if (dataSourceChangeBuilder_ == null) { update_ = builderForValue.build(); onChanged(); } else { dataSourceChangeBuilder_.setMessage(builderForValue.build()); } updateCase_ = 7; return this; } /** * .cz.proto.access.DataSourceChange data_source_change = 7; */ public Builder mergeDataSourceChange(cz.proto.access.Ddl.DataSourceChange value) { if (dataSourceChangeBuilder_ == null) { if (updateCase_ == 7 && update_ != cz.proto.access.Ddl.DataSourceChange.getDefaultInstance()) { update_ = cz.proto.access.Ddl.DataSourceChange.newBuilder((cz.proto.access.Ddl.DataSourceChange) update_) .mergeFrom(value).buildPartial(); } else { update_ = value; } onChanged(); } else { if (updateCase_ == 7) { dataSourceChangeBuilder_.mergeFrom(value); } dataSourceChangeBuilder_.setMessage(value); } updateCase_ = 7; return this; } /** * .cz.proto.access.DataSourceChange data_source_change = 7; */ public Builder clearDataSourceChange() { if (dataSourceChangeBuilder_ == null) { if (updateCase_ == 7) { updateCase_ = 0; update_ = null; onChanged(); } } else { if (updateCase_ == 7) { updateCase_ = 0; update_ = null; } dataSourceChangeBuilder_.clear(); } return this; } /** * .cz.proto.access.DataSourceChange data_source_change = 7; */ public cz.proto.access.Ddl.DataSourceChange.Builder getDataSourceChangeBuilder() { return getDataSourceChangeFieldBuilder().getBuilder(); } /** * .cz.proto.access.DataSourceChange data_source_change = 7; */ @java.lang.Override public cz.proto.access.Ddl.DataSourceChangeOrBuilder getDataSourceChangeOrBuilder() { if ((updateCase_ == 7) && (dataSourceChangeBuilder_ != null)) { return dataSourceChangeBuilder_.getMessageOrBuilder(); } else { if (updateCase_ == 7) { return (cz.proto.access.Ddl.DataSourceChange) update_; } return cz.proto.access.Ddl.DataSourceChange.getDefaultInstance(); } } /** * .cz.proto.access.DataSourceChange data_source_change = 7; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DataSourceChange, cz.proto.access.Ddl.DataSourceChange.Builder, cz.proto.access.Ddl.DataSourceChangeOrBuilder> getDataSourceChangeFieldBuilder() { if (dataSourceChangeBuilder_ == null) { if (!(updateCase_ == 7)) { update_ = cz.proto.access.Ddl.DataSourceChange.getDefaultInstance(); } dataSourceChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DataSourceChange, cz.proto.access.Ddl.DataSourceChange.Builder, cz.proto.access.Ddl.DataSourceChangeOrBuilder>( (cz.proto.access.Ddl.DataSourceChange) update_, getParentForChildren(), isClean()); update_ = null; } updateCase_ = 7; onChanged();; return dataSourceChangeBuilder_; } @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:cz.proto.access.TableChange) } // @@protoc_insertion_point(class_scope:cz.proto.access.TableChange) private static final cz.proto.access.Ddl.TableChange DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.TableChange(); } public static cz.proto.access.Ddl.TableChange getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TableChange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TableChange(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 cz.proto.access.Ddl.TableChange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DataSourceAddOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DataSourceAdd) com.google.protobuf.MessageOrBuilder { /** * repeated .cz.proto.DataSourceInfo infos = 1; */ java.util.List getInfosList(); /** * repeated .cz.proto.DataSourceInfo infos = 1; */ cz.proto.DataSourceInfo getInfos(int index); /** * repeated .cz.proto.DataSourceInfo infos = 1; */ int getInfosCount(); /** * repeated .cz.proto.DataSourceInfo infos = 1; */ java.util.List getInfosOrBuilderList(); /** * repeated .cz.proto.DataSourceInfo infos = 1; */ cz.proto.DataSourceInfoOrBuilder getInfosOrBuilder( int index); } /** * Protobuf type {@code cz.proto.access.DataSourceAdd} */ public static final class DataSourceAdd extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DataSourceAdd) DataSourceAddOrBuilder { private static final long serialVersionUID = 0L; // Use DataSourceAdd.newBuilder() to construct. private DataSourceAdd(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataSourceAdd() { infos_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DataSourceAdd(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DataSourceAdd( 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)) { infos_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } infos_.add( input.readMessage(cz.proto.DataSourceInfo.parser(), extensionRegistry)); 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)) { infos_ = java.util.Collections.unmodifiableList(infos_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceAdd_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceAdd_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DataSourceAdd.class, cz.proto.access.Ddl.DataSourceAdd.Builder.class); } public static final int INFOS_FIELD_NUMBER = 1; private java.util.List infos_; /** * repeated .cz.proto.DataSourceInfo infos = 1; */ @java.lang.Override public java.util.List getInfosList() { return infos_; } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ @java.lang.Override public java.util.List getInfosOrBuilderList() { return infos_; } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ @java.lang.Override public int getInfosCount() { return infos_.size(); } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ @java.lang.Override public cz.proto.DataSourceInfo getInfos(int index) { return infos_.get(index); } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ @java.lang.Override public cz.proto.DataSourceInfoOrBuilder getInfosOrBuilder( int index) { return infos_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < infos_.size(); i++) { output.writeMessage(1, infos_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < infos_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, infos_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cz.proto.access.Ddl.DataSourceAdd)) { return super.equals(obj); } cz.proto.access.Ddl.DataSourceAdd other = (cz.proto.access.Ddl.DataSourceAdd) obj; if (!getInfosList() .equals(other.getInfosList())) 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 (getInfosCount() > 0) { hash = (37 * hash) + INFOS_FIELD_NUMBER; hash = (53 * hash) + getInfosList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DataSourceAdd parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DataSourceAdd parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DataSourceAdd parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DataSourceAdd parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DataSourceAdd parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DataSourceAdd parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DataSourceAdd parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DataSourceAdd 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 cz.proto.access.Ddl.DataSourceAdd parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DataSourceAdd 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 cz.proto.access.Ddl.DataSourceAdd parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DataSourceAdd 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(cz.proto.access.Ddl.DataSourceAdd 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 cz.proto.access.DataSourceAdd} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DataSourceAdd) cz.proto.access.Ddl.DataSourceAddOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceAdd_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceAdd_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DataSourceAdd.class, cz.proto.access.Ddl.DataSourceAdd.Builder.class); } // Construct using cz.proto.access.Ddl.DataSourceAdd.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getInfosFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (infosBuilder_ == null) { infos_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { infosBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceAdd_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DataSourceAdd getDefaultInstanceForType() { return cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DataSourceAdd build() { cz.proto.access.Ddl.DataSourceAdd result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DataSourceAdd buildPartial() { cz.proto.access.Ddl.DataSourceAdd result = new cz.proto.access.Ddl.DataSourceAdd(this); int from_bitField0_ = bitField0_; if (infosBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { infos_ = java.util.Collections.unmodifiableList(infos_); bitField0_ = (bitField0_ & ~0x00000001); } result.infos_ = infos_; } else { result.infos_ = infosBuilder_.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 cz.proto.access.Ddl.DataSourceAdd) { return mergeFrom((cz.proto.access.Ddl.DataSourceAdd)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DataSourceAdd other) { if (other == cz.proto.access.Ddl.DataSourceAdd.getDefaultInstance()) return this; if (infosBuilder_ == null) { if (!other.infos_.isEmpty()) { if (infos_.isEmpty()) { infos_ = other.infos_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureInfosIsMutable(); infos_.addAll(other.infos_); } onChanged(); } } else { if (!other.infos_.isEmpty()) { if (infosBuilder_.isEmpty()) { infosBuilder_.dispose(); infosBuilder_ = null; infos_ = other.infos_; bitField0_ = (bitField0_ & ~0x00000001); infosBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getInfosFieldBuilder() : null; } else { infosBuilder_.addAllMessages(other.infos_); } } } 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 { cz.proto.access.Ddl.DataSourceAdd parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DataSourceAdd) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List infos_ = java.util.Collections.emptyList(); private void ensureInfosIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { infos_ = new java.util.ArrayList(infos_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.DataSourceInfo, cz.proto.DataSourceInfo.Builder, cz.proto.DataSourceInfoOrBuilder> infosBuilder_; /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public java.util.List getInfosList() { if (infosBuilder_ == null) { return java.util.Collections.unmodifiableList(infos_); } else { return infosBuilder_.getMessageList(); } } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public int getInfosCount() { if (infosBuilder_ == null) { return infos_.size(); } else { return infosBuilder_.getCount(); } } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public cz.proto.DataSourceInfo getInfos(int index) { if (infosBuilder_ == null) { return infos_.get(index); } else { return infosBuilder_.getMessage(index); } } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public Builder setInfos( int index, cz.proto.DataSourceInfo value) { if (infosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInfosIsMutable(); infos_.set(index, value); onChanged(); } else { infosBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public Builder setInfos( int index, cz.proto.DataSourceInfo.Builder builderForValue) { if (infosBuilder_ == null) { ensureInfosIsMutable(); infos_.set(index, builderForValue.build()); onChanged(); } else { infosBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public Builder addInfos(cz.proto.DataSourceInfo value) { if (infosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInfosIsMutable(); infos_.add(value); onChanged(); } else { infosBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public Builder addInfos( int index, cz.proto.DataSourceInfo value) { if (infosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInfosIsMutable(); infos_.add(index, value); onChanged(); } else { infosBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public Builder addInfos( cz.proto.DataSourceInfo.Builder builderForValue) { if (infosBuilder_ == null) { ensureInfosIsMutable(); infos_.add(builderForValue.build()); onChanged(); } else { infosBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public Builder addInfos( int index, cz.proto.DataSourceInfo.Builder builderForValue) { if (infosBuilder_ == null) { ensureInfosIsMutable(); infos_.add(index, builderForValue.build()); onChanged(); } else { infosBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public Builder addAllInfos( java.lang.Iterable values) { if (infosBuilder_ == null) { ensureInfosIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, infos_); onChanged(); } else { infosBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public Builder clearInfos() { if (infosBuilder_ == null) { infos_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { infosBuilder_.clear(); } return this; } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public Builder removeInfos(int index) { if (infosBuilder_ == null) { ensureInfosIsMutable(); infos_.remove(index); onChanged(); } else { infosBuilder_.remove(index); } return this; } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public cz.proto.DataSourceInfo.Builder getInfosBuilder( int index) { return getInfosFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public cz.proto.DataSourceInfoOrBuilder getInfosOrBuilder( int index) { if (infosBuilder_ == null) { return infos_.get(index); } else { return infosBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public java.util.List getInfosOrBuilderList() { if (infosBuilder_ != null) { return infosBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(infos_); } } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public cz.proto.DataSourceInfo.Builder addInfosBuilder() { return getInfosFieldBuilder().addBuilder( cz.proto.DataSourceInfo.getDefaultInstance()); } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public cz.proto.DataSourceInfo.Builder addInfosBuilder( int index) { return getInfosFieldBuilder().addBuilder( index, cz.proto.DataSourceInfo.getDefaultInstance()); } /** * repeated .cz.proto.DataSourceInfo infos = 1; */ public java.util.List getInfosBuilderList() { return getInfosFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.DataSourceInfo, cz.proto.DataSourceInfo.Builder, cz.proto.DataSourceInfoOrBuilder> getInfosFieldBuilder() { if (infosBuilder_ == null) { infosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.DataSourceInfo, cz.proto.DataSourceInfo.Builder, cz.proto.DataSourceInfoOrBuilder>( infos_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); infos_ = null; } return infosBuilder_; } @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:cz.proto.access.DataSourceAdd) } // @@protoc_insertion_point(class_scope:cz.proto.access.DataSourceAdd) private static final cz.proto.access.Ddl.DataSourceAdd DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DataSourceAdd(); } public static cz.proto.access.Ddl.DataSourceAdd getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataSourceAdd parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DataSourceAdd(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 cz.proto.access.Ddl.DataSourceAdd getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DataSourceChangeOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DataSourceChange) com.google.protobuf.MessageOrBuilder { /** * uint32 data_source_id = 1; * @return The dataSourceId. */ int getDataSourceId(); /** * .cz.proto.Properties new_options = 10; * @return Whether the newOptions field is set. */ boolean hasNewOptions(); /** * .cz.proto.Properties new_options = 10; * @return The newOptions. */ cz.proto.PropertyOuterClass.Properties getNewOptions(); /** * .cz.proto.Properties new_options = 10; */ cz.proto.PropertyOuterClass.PropertiesOrBuilder getNewOptionsOrBuilder(); /** * .cz.proto.PropertyKeyList drop_options = 11; * @return Whether the dropOptions field is set. */ boolean hasDropOptions(); /** * .cz.proto.PropertyKeyList drop_options = 11; * @return The dropOptions. */ cz.proto.PropertyOuterClass.PropertyKeyList getDropOptions(); /** * .cz.proto.PropertyKeyList drop_options = 11; */ cz.proto.PropertyOuterClass.PropertyKeyListOrBuilder getDropOptionsOrBuilder(); public cz.proto.access.Ddl.DataSourceChange.ChangeCase getChangeCase(); } /** * Protobuf type {@code cz.proto.access.DataSourceChange} */ public static final class DataSourceChange extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DataSourceChange) DataSourceChangeOrBuilder { private static final long serialVersionUID = 0L; // Use DataSourceChange.newBuilder() to construct. private DataSourceChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataSourceChange() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DataSourceChange(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DataSourceChange( 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: { dataSourceId_ = input.readUInt32(); break; } case 82: { cz.proto.PropertyOuterClass.Properties.Builder subBuilder = null; if (changeCase_ == 10) { subBuilder = ((cz.proto.PropertyOuterClass.Properties) change_).toBuilder(); } change_ = input.readMessage(cz.proto.PropertyOuterClass.Properties.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.PropertyOuterClass.Properties) change_); change_ = subBuilder.buildPartial(); } changeCase_ = 10; break; } case 90: { cz.proto.PropertyOuterClass.PropertyKeyList.Builder subBuilder = null; if (changeCase_ == 11) { subBuilder = ((cz.proto.PropertyOuterClass.PropertyKeyList) change_).toBuilder(); } change_ = input.readMessage(cz.proto.PropertyOuterClass.PropertyKeyList.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.PropertyOuterClass.PropertyKeyList) change_); change_ = subBuilder.buildPartial(); } changeCase_ = 11; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceChange_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DataSourceChange.class, cz.proto.access.Ddl.DataSourceChange.Builder.class); } private int changeCase_ = 0; private java.lang.Object change_; public enum ChangeCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NEW_OPTIONS(10), DROP_OPTIONS(11), CHANGE_NOT_SET(0); private final int value; private ChangeCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ChangeCase valueOf(int value) { return forNumber(value); } public static ChangeCase forNumber(int value) { switch (value) { case 10: return NEW_OPTIONS; case 11: return DROP_OPTIONS; case 0: return CHANGE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ChangeCase getChangeCase() { return ChangeCase.forNumber( changeCase_); } public static final int DATA_SOURCE_ID_FIELD_NUMBER = 1; private int dataSourceId_; /** * uint32 data_source_id = 1; * @return The dataSourceId. */ @java.lang.Override public int getDataSourceId() { return dataSourceId_; } public static final int NEW_OPTIONS_FIELD_NUMBER = 10; /** * .cz.proto.Properties new_options = 10; * @return Whether the newOptions field is set. */ @java.lang.Override public boolean hasNewOptions() { return changeCase_ == 10; } /** * .cz.proto.Properties new_options = 10; * @return The newOptions. */ @java.lang.Override public cz.proto.PropertyOuterClass.Properties getNewOptions() { if (changeCase_ == 10) { return (cz.proto.PropertyOuterClass.Properties) change_; } return cz.proto.PropertyOuterClass.Properties.getDefaultInstance(); } /** * .cz.proto.Properties new_options = 10; */ @java.lang.Override public cz.proto.PropertyOuterClass.PropertiesOrBuilder getNewOptionsOrBuilder() { if (changeCase_ == 10) { return (cz.proto.PropertyOuterClass.Properties) change_; } return cz.proto.PropertyOuterClass.Properties.getDefaultInstance(); } public static final int DROP_OPTIONS_FIELD_NUMBER = 11; /** * .cz.proto.PropertyKeyList drop_options = 11; * @return Whether the dropOptions field is set. */ @java.lang.Override public boolean hasDropOptions() { return changeCase_ == 11; } /** * .cz.proto.PropertyKeyList drop_options = 11; * @return The dropOptions. */ @java.lang.Override public cz.proto.PropertyOuterClass.PropertyKeyList getDropOptions() { if (changeCase_ == 11) { return (cz.proto.PropertyOuterClass.PropertyKeyList) change_; } return cz.proto.PropertyOuterClass.PropertyKeyList.getDefaultInstance(); } /** * .cz.proto.PropertyKeyList drop_options = 11; */ @java.lang.Override public cz.proto.PropertyOuterClass.PropertyKeyListOrBuilder getDropOptionsOrBuilder() { if (changeCase_ == 11) { return (cz.proto.PropertyOuterClass.PropertyKeyList) change_; } return cz.proto.PropertyOuterClass.PropertyKeyList.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dataSourceId_ != 0) { output.writeUInt32(1, dataSourceId_); } if (changeCase_ == 10) { output.writeMessage(10, (cz.proto.PropertyOuterClass.Properties) change_); } if (changeCase_ == 11) { output.writeMessage(11, (cz.proto.PropertyOuterClass.PropertyKeyList) change_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (dataSourceId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, dataSourceId_); } if (changeCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.PropertyOuterClass.Properties) change_); } if (changeCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (cz.proto.PropertyOuterClass.PropertyKeyList) change_); } 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 cz.proto.access.Ddl.DataSourceChange)) { return super.equals(obj); } cz.proto.access.Ddl.DataSourceChange other = (cz.proto.access.Ddl.DataSourceChange) obj; if (getDataSourceId() != other.getDataSourceId()) return false; if (!getChangeCase().equals(other.getChangeCase())) return false; switch (changeCase_) { case 10: if (!getNewOptions() .equals(other.getNewOptions())) return false; break; case 11: if (!getDropOptions() .equals(other.getDropOptions())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DATA_SOURCE_ID_FIELD_NUMBER; hash = (53 * hash) + getDataSourceId(); switch (changeCase_) { case 10: hash = (37 * hash) + NEW_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getNewOptions().hashCode(); break; case 11: hash = (37 * hash) + DROP_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getDropOptions().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DataSourceChange parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DataSourceChange parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DataSourceChange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DataSourceChange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DataSourceChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DataSourceChange parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DataSourceChange parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DataSourceChange 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 cz.proto.access.Ddl.DataSourceChange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DataSourceChange 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 cz.proto.access.Ddl.DataSourceChange parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DataSourceChange 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(cz.proto.access.Ddl.DataSourceChange 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 cz.proto.access.DataSourceChange} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DataSourceChange) cz.proto.access.Ddl.DataSourceChangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceChange_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DataSourceChange.class, cz.proto.access.Ddl.DataSourceChange.Builder.class); } // Construct using cz.proto.access.Ddl.DataSourceChange.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(); dataSourceId_ = 0; changeCase_ = 0; change_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceChange_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DataSourceChange getDefaultInstanceForType() { return cz.proto.access.Ddl.DataSourceChange.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DataSourceChange build() { cz.proto.access.Ddl.DataSourceChange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DataSourceChange buildPartial() { cz.proto.access.Ddl.DataSourceChange result = new cz.proto.access.Ddl.DataSourceChange(this); result.dataSourceId_ = dataSourceId_; if (changeCase_ == 10) { if (newOptionsBuilder_ == null) { result.change_ = change_; } else { result.change_ = newOptionsBuilder_.build(); } } if (changeCase_ == 11) { if (dropOptionsBuilder_ == null) { result.change_ = change_; } else { result.change_ = dropOptionsBuilder_.build(); } } result.changeCase_ = changeCase_; 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 cz.proto.access.Ddl.DataSourceChange) { return mergeFrom((cz.proto.access.Ddl.DataSourceChange)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DataSourceChange other) { if (other == cz.proto.access.Ddl.DataSourceChange.getDefaultInstance()) return this; if (other.getDataSourceId() != 0) { setDataSourceId(other.getDataSourceId()); } switch (other.getChangeCase()) { case NEW_OPTIONS: { mergeNewOptions(other.getNewOptions()); break; } case DROP_OPTIONS: { mergeDropOptions(other.getDropOptions()); break; } case CHANGE_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.DataSourceChange parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DataSourceChange) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int changeCase_ = 0; private java.lang.Object change_; public ChangeCase getChangeCase() { return ChangeCase.forNumber( changeCase_); } public Builder clearChange() { changeCase_ = 0; change_ = null; onChanged(); return this; } private int dataSourceId_ ; /** * uint32 data_source_id = 1; * @return The dataSourceId. */ @java.lang.Override public int getDataSourceId() { return dataSourceId_; } /** * uint32 data_source_id = 1; * @param value The dataSourceId to set. * @return This builder for chaining. */ public Builder setDataSourceId(int value) { dataSourceId_ = value; onChanged(); return this; } /** * uint32 data_source_id = 1; * @return This builder for chaining. */ public Builder clearDataSourceId() { dataSourceId_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.PropertyOuterClass.Properties, cz.proto.PropertyOuterClass.Properties.Builder, cz.proto.PropertyOuterClass.PropertiesOrBuilder> newOptionsBuilder_; /** * .cz.proto.Properties new_options = 10; * @return Whether the newOptions field is set. */ @java.lang.Override public boolean hasNewOptions() { return changeCase_ == 10; } /** * .cz.proto.Properties new_options = 10; * @return The newOptions. */ @java.lang.Override public cz.proto.PropertyOuterClass.Properties getNewOptions() { if (newOptionsBuilder_ == null) { if (changeCase_ == 10) { return (cz.proto.PropertyOuterClass.Properties) change_; } return cz.proto.PropertyOuterClass.Properties.getDefaultInstance(); } else { if (changeCase_ == 10) { return newOptionsBuilder_.getMessage(); } return cz.proto.PropertyOuterClass.Properties.getDefaultInstance(); } } /** * .cz.proto.Properties new_options = 10; */ public Builder setNewOptions(cz.proto.PropertyOuterClass.Properties value) { if (newOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } change_ = value; onChanged(); } else { newOptionsBuilder_.setMessage(value); } changeCase_ = 10; return this; } /** * .cz.proto.Properties new_options = 10; */ public Builder setNewOptions( cz.proto.PropertyOuterClass.Properties.Builder builderForValue) { if (newOptionsBuilder_ == null) { change_ = builderForValue.build(); onChanged(); } else { newOptionsBuilder_.setMessage(builderForValue.build()); } changeCase_ = 10; return this; } /** * .cz.proto.Properties new_options = 10; */ public Builder mergeNewOptions(cz.proto.PropertyOuterClass.Properties value) { if (newOptionsBuilder_ == null) { if (changeCase_ == 10 && change_ != cz.proto.PropertyOuterClass.Properties.getDefaultInstance()) { change_ = cz.proto.PropertyOuterClass.Properties.newBuilder((cz.proto.PropertyOuterClass.Properties) change_) .mergeFrom(value).buildPartial(); } else { change_ = value; } onChanged(); } else { if (changeCase_ == 10) { newOptionsBuilder_.mergeFrom(value); } newOptionsBuilder_.setMessage(value); } changeCase_ = 10; return this; } /** * .cz.proto.Properties new_options = 10; */ public Builder clearNewOptions() { if (newOptionsBuilder_ == null) { if (changeCase_ == 10) { changeCase_ = 0; change_ = null; onChanged(); } } else { if (changeCase_ == 10) { changeCase_ = 0; change_ = null; } newOptionsBuilder_.clear(); } return this; } /** * .cz.proto.Properties new_options = 10; */ public cz.proto.PropertyOuterClass.Properties.Builder getNewOptionsBuilder() { return getNewOptionsFieldBuilder().getBuilder(); } /** * .cz.proto.Properties new_options = 10; */ @java.lang.Override public cz.proto.PropertyOuterClass.PropertiesOrBuilder getNewOptionsOrBuilder() { if ((changeCase_ == 10) && (newOptionsBuilder_ != null)) { return newOptionsBuilder_.getMessageOrBuilder(); } else { if (changeCase_ == 10) { return (cz.proto.PropertyOuterClass.Properties) change_; } return cz.proto.PropertyOuterClass.Properties.getDefaultInstance(); } } /** * .cz.proto.Properties new_options = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.PropertyOuterClass.Properties, cz.proto.PropertyOuterClass.Properties.Builder, cz.proto.PropertyOuterClass.PropertiesOrBuilder> getNewOptionsFieldBuilder() { if (newOptionsBuilder_ == null) { if (!(changeCase_ == 10)) { change_ = cz.proto.PropertyOuterClass.Properties.getDefaultInstance(); } newOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.PropertyOuterClass.Properties, cz.proto.PropertyOuterClass.Properties.Builder, cz.proto.PropertyOuterClass.PropertiesOrBuilder>( (cz.proto.PropertyOuterClass.Properties) change_, getParentForChildren(), isClean()); change_ = null; } changeCase_ = 10; onChanged();; return newOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.PropertyOuterClass.PropertyKeyList, cz.proto.PropertyOuterClass.PropertyKeyList.Builder, cz.proto.PropertyOuterClass.PropertyKeyListOrBuilder> dropOptionsBuilder_; /** * .cz.proto.PropertyKeyList drop_options = 11; * @return Whether the dropOptions field is set. */ @java.lang.Override public boolean hasDropOptions() { return changeCase_ == 11; } /** * .cz.proto.PropertyKeyList drop_options = 11; * @return The dropOptions. */ @java.lang.Override public cz.proto.PropertyOuterClass.PropertyKeyList getDropOptions() { if (dropOptionsBuilder_ == null) { if (changeCase_ == 11) { return (cz.proto.PropertyOuterClass.PropertyKeyList) change_; } return cz.proto.PropertyOuterClass.PropertyKeyList.getDefaultInstance(); } else { if (changeCase_ == 11) { return dropOptionsBuilder_.getMessage(); } return cz.proto.PropertyOuterClass.PropertyKeyList.getDefaultInstance(); } } /** * .cz.proto.PropertyKeyList drop_options = 11; */ public Builder setDropOptions(cz.proto.PropertyOuterClass.PropertyKeyList value) { if (dropOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } change_ = value; onChanged(); } else { dropOptionsBuilder_.setMessage(value); } changeCase_ = 11; return this; } /** * .cz.proto.PropertyKeyList drop_options = 11; */ public Builder setDropOptions( cz.proto.PropertyOuterClass.PropertyKeyList.Builder builderForValue) { if (dropOptionsBuilder_ == null) { change_ = builderForValue.build(); onChanged(); } else { dropOptionsBuilder_.setMessage(builderForValue.build()); } changeCase_ = 11; return this; } /** * .cz.proto.PropertyKeyList drop_options = 11; */ public Builder mergeDropOptions(cz.proto.PropertyOuterClass.PropertyKeyList value) { if (dropOptionsBuilder_ == null) { if (changeCase_ == 11 && change_ != cz.proto.PropertyOuterClass.PropertyKeyList.getDefaultInstance()) { change_ = cz.proto.PropertyOuterClass.PropertyKeyList.newBuilder((cz.proto.PropertyOuterClass.PropertyKeyList) change_) .mergeFrom(value).buildPartial(); } else { change_ = value; } onChanged(); } else { if (changeCase_ == 11) { dropOptionsBuilder_.mergeFrom(value); } dropOptionsBuilder_.setMessage(value); } changeCase_ = 11; return this; } /** * .cz.proto.PropertyKeyList drop_options = 11; */ public Builder clearDropOptions() { if (dropOptionsBuilder_ == null) { if (changeCase_ == 11) { changeCase_ = 0; change_ = null; onChanged(); } } else { if (changeCase_ == 11) { changeCase_ = 0; change_ = null; } dropOptionsBuilder_.clear(); } return this; } /** * .cz.proto.PropertyKeyList drop_options = 11; */ public cz.proto.PropertyOuterClass.PropertyKeyList.Builder getDropOptionsBuilder() { return getDropOptionsFieldBuilder().getBuilder(); } /** * .cz.proto.PropertyKeyList drop_options = 11; */ @java.lang.Override public cz.proto.PropertyOuterClass.PropertyKeyListOrBuilder getDropOptionsOrBuilder() { if ((changeCase_ == 11) && (dropOptionsBuilder_ != null)) { return dropOptionsBuilder_.getMessageOrBuilder(); } else { if (changeCase_ == 11) { return (cz.proto.PropertyOuterClass.PropertyKeyList) change_; } return cz.proto.PropertyOuterClass.PropertyKeyList.getDefaultInstance(); } } /** * .cz.proto.PropertyKeyList drop_options = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.PropertyOuterClass.PropertyKeyList, cz.proto.PropertyOuterClass.PropertyKeyList.Builder, cz.proto.PropertyOuterClass.PropertyKeyListOrBuilder> getDropOptionsFieldBuilder() { if (dropOptionsBuilder_ == null) { if (!(changeCase_ == 11)) { change_ = cz.proto.PropertyOuterClass.PropertyKeyList.getDefaultInstance(); } dropOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.PropertyOuterClass.PropertyKeyList, cz.proto.PropertyOuterClass.PropertyKeyList.Builder, cz.proto.PropertyOuterClass.PropertyKeyListOrBuilder>( (cz.proto.PropertyOuterClass.PropertyKeyList) change_, getParentForChildren(), isClean()); change_ = null; } changeCase_ = 11; onChanged();; return dropOptionsBuilder_; } @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:cz.proto.access.DataSourceChange) } // @@protoc_insertion_point(class_scope:cz.proto.access.DataSourceChange) private static final cz.proto.access.Ddl.DataSourceChange DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DataSourceChange(); } public static cz.proto.access.Ddl.DataSourceChange getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataSourceChange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DataSourceChange(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 cz.proto.access.Ddl.DataSourceChange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DataSourceDropOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DataSourceDrop) com.google.protobuf.MessageOrBuilder { /** * repeated uint32 data_source_ids = 1; * @return A list containing the dataSourceIds. */ java.util.List getDataSourceIdsList(); /** * repeated uint32 data_source_ids = 1; * @return The count of dataSourceIds. */ int getDataSourceIdsCount(); /** * repeated uint32 data_source_ids = 1; * @param index The index of the element to return. * @return The dataSourceIds at the given index. */ int getDataSourceIds(int index); } /** * Protobuf type {@code cz.proto.access.DataSourceDrop} */ public static final class DataSourceDrop extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DataSourceDrop) DataSourceDropOrBuilder { private static final long serialVersionUID = 0L; // Use DataSourceDrop.newBuilder() to construct. private DataSourceDrop(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataSourceDrop() { dataSourceIds_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DataSourceDrop(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DataSourceDrop( 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: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { dataSourceIds_ = newIntList(); mutable_bitField0_ |= 0x00000001; } dataSourceIds_.addInt(input.readUInt32()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { dataSourceIds_ = newIntList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { dataSourceIds_.addInt(input.readUInt32()); } input.popLimit(limit); 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)) { dataSourceIds_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceDrop_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceDrop_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DataSourceDrop.class, cz.proto.access.Ddl.DataSourceDrop.Builder.class); } public static final int DATA_SOURCE_IDS_FIELD_NUMBER = 1; private com.google.protobuf.Internal.IntList dataSourceIds_; /** * repeated uint32 data_source_ids = 1; * @return A list containing the dataSourceIds. */ @java.lang.Override public java.util.List getDataSourceIdsList() { return dataSourceIds_; } /** * repeated uint32 data_source_ids = 1; * @return The count of dataSourceIds. */ public int getDataSourceIdsCount() { return dataSourceIds_.size(); } /** * repeated uint32 data_source_ids = 1; * @param index The index of the element to return. * @return The dataSourceIds at the given index. */ public int getDataSourceIds(int index) { return dataSourceIds_.getInt(index); } private int dataSourceIdsMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getDataSourceIdsList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(dataSourceIdsMemoizedSerializedSize); } for (int i = 0; i < dataSourceIds_.size(); i++) { output.writeUInt32NoTag(dataSourceIds_.getInt(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < dataSourceIds_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(dataSourceIds_.getInt(i)); } size += dataSize; if (!getDataSourceIdsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } dataSourceIdsMemoizedSerializedSize = dataSize; } 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 cz.proto.access.Ddl.DataSourceDrop)) { return super.equals(obj); } cz.proto.access.Ddl.DataSourceDrop other = (cz.proto.access.Ddl.DataSourceDrop) obj; if (!getDataSourceIdsList() .equals(other.getDataSourceIdsList())) 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 (getDataSourceIdsCount() > 0) { hash = (37 * hash) + DATA_SOURCE_IDS_FIELD_NUMBER; hash = (53 * hash) + getDataSourceIdsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DataSourceDrop parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DataSourceDrop parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DataSourceDrop parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DataSourceDrop parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DataSourceDrop parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DataSourceDrop parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DataSourceDrop parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DataSourceDrop 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 cz.proto.access.Ddl.DataSourceDrop parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DataSourceDrop 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 cz.proto.access.Ddl.DataSourceDrop parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DataSourceDrop 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(cz.proto.access.Ddl.DataSourceDrop 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 cz.proto.access.DataSourceDrop} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DataSourceDrop) cz.proto.access.Ddl.DataSourceDropOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceDrop_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceDrop_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DataSourceDrop.class, cz.proto.access.Ddl.DataSourceDrop.Builder.class); } // Construct using cz.proto.access.Ddl.DataSourceDrop.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(); dataSourceIds_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DataSourceDrop_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DataSourceDrop getDefaultInstanceForType() { return cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DataSourceDrop build() { cz.proto.access.Ddl.DataSourceDrop result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DataSourceDrop buildPartial() { cz.proto.access.Ddl.DataSourceDrop result = new cz.proto.access.Ddl.DataSourceDrop(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { dataSourceIds_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.dataSourceIds_ = dataSourceIds_; 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 cz.proto.access.Ddl.DataSourceDrop) { return mergeFrom((cz.proto.access.Ddl.DataSourceDrop)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DataSourceDrop other) { if (other == cz.proto.access.Ddl.DataSourceDrop.getDefaultInstance()) return this; if (!other.dataSourceIds_.isEmpty()) { if (dataSourceIds_.isEmpty()) { dataSourceIds_ = other.dataSourceIds_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDataSourceIdsIsMutable(); dataSourceIds_.addAll(other.dataSourceIds_); } 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 { cz.proto.access.Ddl.DataSourceDrop parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DataSourceDrop) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.Internal.IntList dataSourceIds_ = emptyIntList(); private void ensureDataSourceIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { dataSourceIds_ = mutableCopy(dataSourceIds_); bitField0_ |= 0x00000001; } } /** * repeated uint32 data_source_ids = 1; * @return A list containing the dataSourceIds. */ public java.util.List getDataSourceIdsList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(dataSourceIds_) : dataSourceIds_; } /** * repeated uint32 data_source_ids = 1; * @return The count of dataSourceIds. */ public int getDataSourceIdsCount() { return dataSourceIds_.size(); } /** * repeated uint32 data_source_ids = 1; * @param index The index of the element to return. * @return The dataSourceIds at the given index. */ public int getDataSourceIds(int index) { return dataSourceIds_.getInt(index); } /** * repeated uint32 data_source_ids = 1; * @param index The index to set the value at. * @param value The dataSourceIds to set. * @return This builder for chaining. */ public Builder setDataSourceIds( int index, int value) { ensureDataSourceIdsIsMutable(); dataSourceIds_.setInt(index, value); onChanged(); return this; } /** * repeated uint32 data_source_ids = 1; * @param value The dataSourceIds to add. * @return This builder for chaining. */ public Builder addDataSourceIds(int value) { ensureDataSourceIdsIsMutable(); dataSourceIds_.addInt(value); onChanged(); return this; } /** * repeated uint32 data_source_ids = 1; * @param values The dataSourceIds to add. * @return This builder for chaining. */ public Builder addAllDataSourceIds( java.lang.Iterable values) { ensureDataSourceIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dataSourceIds_); onChanged(); return this; } /** * repeated uint32 data_source_ids = 1; * @return This builder for chaining. */ public Builder clearDataSourceIds() { dataSourceIds_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.DataSourceDrop) } // @@protoc_insertion_point(class_scope:cz.proto.access.DataSourceDrop) private static final cz.proto.access.Ddl.DataSourceDrop DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DataSourceDrop(); } public static cz.proto.access.Ddl.DataSourceDrop getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataSourceDrop parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DataSourceDrop(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 cz.proto.access.Ddl.DataSourceDrop getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StructFieldOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.StructField) com.google.protobuf.MessageOrBuilder { /** * repeated string ancestors = 1; * @return A list containing the ancestors. */ java.util.List getAncestorsList(); /** * repeated string ancestors = 1; * @return The count of ancestors. */ int getAncestorsCount(); /** * repeated string ancestors = 1; * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** * repeated string ancestors = 1; * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ com.google.protobuf.ByteString getAncestorsBytes(int index); /** * .cz.proto.StructTypeInfo.Field field = 2; * @return Whether the field field is set. */ boolean hasField(); /** * .cz.proto.StructTypeInfo.Field field = 2; * @return The field. */ cz.proto.StructTypeInfo.Field getField(); /** * .cz.proto.StructTypeInfo.Field field = 2; */ cz.proto.StructTypeInfo.FieldOrBuilder getFieldOrBuilder(); } /** * Protobuf type {@code cz.proto.access.StructField} */ public static final class StructField extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.StructField) StructFieldOrBuilder { private static final long serialVersionUID = 0L; // Use StructField.newBuilder() to construct. private StructField(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StructField() { ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StructField(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StructField( 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: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } ancestors_.add(s); break; } case 18: { cz.proto.StructTypeInfo.Field.Builder subBuilder = null; if (field_ != null) { subBuilder = field_.toBuilder(); } field_ = input.readMessage(cz.proto.StructTypeInfo.Field.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(field_); field_ = 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)) { ancestors_ = ancestors_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_StructField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_StructField_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.StructField.class, cz.proto.access.Ddl.StructField.Builder.class); } public static final int ANCESTORS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList ancestors_; /** * repeated string ancestors = 1; * @return A list containing the ancestors. */ public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_; } /** * repeated string ancestors = 1; * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** * repeated string ancestors = 1; * @param index The index of the element to return. * @return The ancestors at the given index. */ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** * repeated string ancestors = 1; * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } public static final int FIELD_FIELD_NUMBER = 2; private cz.proto.StructTypeInfo.Field field_; /** * .cz.proto.StructTypeInfo.Field field = 2; * @return Whether the field field is set. */ @java.lang.Override public boolean hasField() { return field_ != null; } /** * .cz.proto.StructTypeInfo.Field field = 2; * @return The field. */ @java.lang.Override public cz.proto.StructTypeInfo.Field getField() { return field_ == null ? cz.proto.StructTypeInfo.Field.getDefaultInstance() : field_; } /** * .cz.proto.StructTypeInfo.Field field = 2; */ @java.lang.Override public cz.proto.StructTypeInfo.FieldOrBuilder getFieldOrBuilder() { return getField(); } 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 < ancestors_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ancestors_.getRaw(i)); } if (field_ != null) { output.writeMessage(2, getField()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < ancestors_.size(); i++) { dataSize += computeStringSizeNoTag(ancestors_.getRaw(i)); } size += dataSize; size += 1 * getAncestorsList().size(); } if (field_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getField()); } 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 cz.proto.access.Ddl.StructField)) { return super.equals(obj); } cz.proto.access.Ddl.StructField other = (cz.proto.access.Ddl.StructField) obj; if (!getAncestorsList() .equals(other.getAncestorsList())) return false; if (hasField() != other.hasField()) return false; if (hasField()) { if (!getField() .equals(other.getField())) 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 (getAncestorsCount() > 0) { hash = (37 * hash) + ANCESTORS_FIELD_NUMBER; hash = (53 * hash) + getAncestorsList().hashCode(); } if (hasField()) { hash = (37 * hash) + FIELD_FIELD_NUMBER; hash = (53 * hash) + getField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.StructField parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.StructField parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.StructField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.StructField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.StructField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.StructField parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.StructField parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.StructField 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 cz.proto.access.Ddl.StructField parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.StructField 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 cz.proto.access.Ddl.StructField parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.StructField 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(cz.proto.access.Ddl.StructField 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 cz.proto.access.StructField} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.StructField) cz.proto.access.Ddl.StructFieldOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_StructField_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_StructField_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.StructField.class, cz.proto.access.Ddl.StructField.Builder.class); } // Construct using cz.proto.access.Ddl.StructField.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(); ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (fieldBuilder_ == null) { field_ = null; } else { field_ = null; fieldBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_StructField_descriptor; } @java.lang.Override public cz.proto.access.Ddl.StructField getDefaultInstanceForType() { return cz.proto.access.Ddl.StructField.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.StructField build() { cz.proto.access.Ddl.StructField result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.StructField buildPartial() { cz.proto.access.Ddl.StructField result = new cz.proto.access.Ddl.StructField(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { ancestors_ = ancestors_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.ancestors_ = ancestors_; if (fieldBuilder_ == null) { result.field_ = field_; } else { result.field_ = fieldBuilder_.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 cz.proto.access.Ddl.StructField) { return mergeFrom((cz.proto.access.Ddl.StructField)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.StructField other) { if (other == cz.proto.access.Ddl.StructField.getDefaultInstance()) return this; if (!other.ancestors_.isEmpty()) { if (ancestors_.isEmpty()) { ancestors_ = other.ancestors_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAncestorsIsMutable(); ancestors_.addAll(other.ancestors_); } onChanged(); } if (other.hasField()) { mergeField(other.getField()); } 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 { cz.proto.access.Ddl.StructField parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.StructField) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAncestorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00000001; } } /** * repeated string ancestors = 1; * @return A list containing the ancestors. */ public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** * repeated string ancestors = 1; * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** * repeated string ancestors = 1; * @param index The index of the element to return. * @return The ancestors at the given index. */ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** * repeated string ancestors = 1; * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** * repeated string ancestors = 1; * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ public Builder setAncestors( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** * repeated string ancestors = 1; * @param value The ancestors to add. * @return This builder for chaining. */ public Builder addAncestors( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** * repeated string ancestors = 1; * @param values The ancestors to add. * @return This builder for chaining. */ public Builder addAllAncestors( java.lang.Iterable values) { ensureAncestorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, ancestors_); onChanged(); return this; } /** * repeated string ancestors = 1; * @return This builder for chaining. */ public Builder clearAncestors() { ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string ancestors = 1; * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ public Builder addAncestorsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } private cz.proto.StructTypeInfo.Field field_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.StructTypeInfo.Field, cz.proto.StructTypeInfo.Field.Builder, cz.proto.StructTypeInfo.FieldOrBuilder> fieldBuilder_; /** * .cz.proto.StructTypeInfo.Field field = 2; * @return Whether the field field is set. */ public boolean hasField() { return fieldBuilder_ != null || field_ != null; } /** * .cz.proto.StructTypeInfo.Field field = 2; * @return The field. */ public cz.proto.StructTypeInfo.Field getField() { if (fieldBuilder_ == null) { return field_ == null ? cz.proto.StructTypeInfo.Field.getDefaultInstance() : field_; } else { return fieldBuilder_.getMessage(); } } /** * .cz.proto.StructTypeInfo.Field field = 2; */ public Builder setField(cz.proto.StructTypeInfo.Field value) { if (fieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); } field_ = value; onChanged(); } else { fieldBuilder_.setMessage(value); } return this; } /** * .cz.proto.StructTypeInfo.Field field = 2; */ public Builder setField( cz.proto.StructTypeInfo.Field.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); onChanged(); } else { fieldBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.StructTypeInfo.Field field = 2; */ public Builder mergeField(cz.proto.StructTypeInfo.Field value) { if (fieldBuilder_ == null) { if (field_ != null) { field_ = cz.proto.StructTypeInfo.Field.newBuilder(field_).mergeFrom(value).buildPartial(); } else { field_ = value; } onChanged(); } else { fieldBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.StructTypeInfo.Field field = 2; */ public Builder clearField() { if (fieldBuilder_ == null) { field_ = null; onChanged(); } else { field_ = null; fieldBuilder_ = null; } return this; } /** * .cz.proto.StructTypeInfo.Field field = 2; */ public cz.proto.StructTypeInfo.Field.Builder getFieldBuilder() { onChanged(); return getFieldFieldBuilder().getBuilder(); } /** * .cz.proto.StructTypeInfo.Field field = 2; */ public cz.proto.StructTypeInfo.FieldOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { return field_ == null ? cz.proto.StructTypeInfo.Field.getDefaultInstance() : field_; } } /** * .cz.proto.StructTypeInfo.Field field = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.StructTypeInfo.Field, cz.proto.StructTypeInfo.Field.Builder, cz.proto.StructTypeInfo.FieldOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.StructTypeInfo.Field, cz.proto.StructTypeInfo.Field.Builder, cz.proto.StructTypeInfo.FieldOrBuilder>( getField(), getParentForChildren(), isClean()); field_ = null; } return fieldBuilder_; } @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:cz.proto.access.StructField) } // @@protoc_insertion_point(class_scope:cz.proto.access.StructField) private static final cz.proto.access.Ddl.StructField DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.StructField(); } public static cz.proto.access.Ddl.StructField getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StructField parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StructField(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 cz.proto.access.Ddl.StructField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnAddOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ColumnAdd) com.google.protobuf.MessageOrBuilder { /** *
     * added at the end of the schema by default
     * 
* * .cz.proto.FieldSchema column = 1; * @return Whether the column field is set. */ boolean hasColumn(); /** *
     * added at the end of the schema by default
     * 
* * .cz.proto.FieldSchema column = 1; * @return The column. */ cz.proto.FieldSchema getColumn(); /** *
     * added at the end of the schema by default
     * 
* * .cz.proto.FieldSchema column = 1; */ cz.proto.FieldSchemaOrBuilder getColumnOrBuilder(); /** * .cz.proto.access.StructField struct_field = 2; * @return Whether the structField field is set. */ boolean hasStructField(); /** * .cz.proto.access.StructField struct_field = 2; * @return The structField. */ cz.proto.access.Ddl.StructField getStructField(); /** * .cz.proto.access.StructField struct_field = 2; */ cz.proto.access.Ddl.StructFieldOrBuilder getStructFieldOrBuilder(); /** * bool if_not_exists = 11; * @return The ifNotExists. */ boolean getIfNotExists(); public cz.proto.access.Ddl.ColumnAdd.AddCase getAddCase(); } /** * Protobuf type {@code cz.proto.access.ColumnAdd} */ public static final class ColumnAdd extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ColumnAdd) ColumnAddOrBuilder { private static final long serialVersionUID = 0L; // Use ColumnAdd.newBuilder() to construct. private ColumnAdd(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ColumnAdd() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ColumnAdd(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ColumnAdd( 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: { cz.proto.FieldSchema.Builder subBuilder = null; if (addCase_ == 1) { subBuilder = ((cz.proto.FieldSchema) add_).toBuilder(); } add_ = input.readMessage(cz.proto.FieldSchema.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.FieldSchema) add_); add_ = subBuilder.buildPartial(); } addCase_ = 1; break; } case 18: { cz.proto.access.Ddl.StructField.Builder subBuilder = null; if (addCase_ == 2) { subBuilder = ((cz.proto.access.Ddl.StructField) add_).toBuilder(); } add_ = input.readMessage(cz.proto.access.Ddl.StructField.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.StructField) add_); add_ = subBuilder.buildPartial(); } addCase_ = 2; break; } case 88: { ifNotExists_ = input.readBool(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnAdd_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnAdd_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ColumnAdd.class, cz.proto.access.Ddl.ColumnAdd.Builder.class); } private int addCase_ = 0; private java.lang.Object add_; public enum AddCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COLUMN(1), STRUCT_FIELD(2), ADD_NOT_SET(0); private final int value; private AddCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static AddCase valueOf(int value) { return forNumber(value); } public static AddCase forNumber(int value) { switch (value) { case 1: return COLUMN; case 2: return STRUCT_FIELD; case 0: return ADD_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public AddCase getAddCase() { return AddCase.forNumber( addCase_); } public static final int COLUMN_FIELD_NUMBER = 1; /** *
     * added at the end of the schema by default
     * 
* * .cz.proto.FieldSchema column = 1; * @return Whether the column field is set. */ @java.lang.Override public boolean hasColumn() { return addCase_ == 1; } /** *
     * added at the end of the schema by default
     * 
* * .cz.proto.FieldSchema column = 1; * @return The column. */ @java.lang.Override public cz.proto.FieldSchema getColumn() { if (addCase_ == 1) { return (cz.proto.FieldSchema) add_; } return cz.proto.FieldSchema.getDefaultInstance(); } /** *
     * added at the end of the schema by default
     * 
* * .cz.proto.FieldSchema column = 1; */ @java.lang.Override public cz.proto.FieldSchemaOrBuilder getColumnOrBuilder() { if (addCase_ == 1) { return (cz.proto.FieldSchema) add_; } return cz.proto.FieldSchema.getDefaultInstance(); } public static final int STRUCT_FIELD_FIELD_NUMBER = 2; /** * .cz.proto.access.StructField struct_field = 2; * @return Whether the structField field is set. */ @java.lang.Override public boolean hasStructField() { return addCase_ == 2; } /** * .cz.proto.access.StructField struct_field = 2; * @return The structField. */ @java.lang.Override public cz.proto.access.Ddl.StructField getStructField() { if (addCase_ == 2) { return (cz.proto.access.Ddl.StructField) add_; } return cz.proto.access.Ddl.StructField.getDefaultInstance(); } /** * .cz.proto.access.StructField struct_field = 2; */ @java.lang.Override public cz.proto.access.Ddl.StructFieldOrBuilder getStructFieldOrBuilder() { if (addCase_ == 2) { return (cz.proto.access.Ddl.StructField) add_; } return cz.proto.access.Ddl.StructField.getDefaultInstance(); } public static final int IF_NOT_EXISTS_FIELD_NUMBER = 11; private boolean ifNotExists_; /** * bool if_not_exists = 11; * @return The ifNotExists. */ @java.lang.Override public boolean getIfNotExists() { return ifNotExists_; } 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 (addCase_ == 1) { output.writeMessage(1, (cz.proto.FieldSchema) add_); } if (addCase_ == 2) { output.writeMessage(2, (cz.proto.access.Ddl.StructField) add_); } if (ifNotExists_ != false) { output.writeBool(11, ifNotExists_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (addCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (cz.proto.FieldSchema) add_); } if (addCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (cz.proto.access.Ddl.StructField) add_); } if (ifNotExists_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, ifNotExists_); } 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 cz.proto.access.Ddl.ColumnAdd)) { return super.equals(obj); } cz.proto.access.Ddl.ColumnAdd other = (cz.proto.access.Ddl.ColumnAdd) obj; if (getIfNotExists() != other.getIfNotExists()) return false; if (!getAddCase().equals(other.getAddCase())) return false; switch (addCase_) { case 1: if (!getColumn() .equals(other.getColumn())) return false; break; case 2: if (!getStructField() .equals(other.getStructField())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + IF_NOT_EXISTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIfNotExists()); switch (addCase_) { case 1: hash = (37 * hash) + COLUMN_FIELD_NUMBER; hash = (53 * hash) + getColumn().hashCode(); break; case 2: hash = (37 * hash) + STRUCT_FIELD_FIELD_NUMBER; hash = (53 * hash) + getStructField().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ColumnAdd parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ColumnAdd parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ColumnAdd parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ColumnAdd parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ColumnAdd parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ColumnAdd parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ColumnAdd parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ColumnAdd 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 cz.proto.access.Ddl.ColumnAdd parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ColumnAdd 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 cz.proto.access.Ddl.ColumnAdd parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ColumnAdd 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(cz.proto.access.Ddl.ColumnAdd 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 cz.proto.access.ColumnAdd} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ColumnAdd) cz.proto.access.Ddl.ColumnAddOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnAdd_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnAdd_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ColumnAdd.class, cz.proto.access.Ddl.ColumnAdd.Builder.class); } // Construct using cz.proto.access.Ddl.ColumnAdd.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(); ifNotExists_ = false; addCase_ = 0; add_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnAdd_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ColumnAdd getDefaultInstanceForType() { return cz.proto.access.Ddl.ColumnAdd.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ColumnAdd build() { cz.proto.access.Ddl.ColumnAdd result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ColumnAdd buildPartial() { cz.proto.access.Ddl.ColumnAdd result = new cz.proto.access.Ddl.ColumnAdd(this); if (addCase_ == 1) { if (columnBuilder_ == null) { result.add_ = add_; } else { result.add_ = columnBuilder_.build(); } } if (addCase_ == 2) { if (structFieldBuilder_ == null) { result.add_ = add_; } else { result.add_ = structFieldBuilder_.build(); } } result.ifNotExists_ = ifNotExists_; result.addCase_ = addCase_; 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 cz.proto.access.Ddl.ColumnAdd) { return mergeFrom((cz.proto.access.Ddl.ColumnAdd)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ColumnAdd other) { if (other == cz.proto.access.Ddl.ColumnAdd.getDefaultInstance()) return this; if (other.getIfNotExists() != false) { setIfNotExists(other.getIfNotExists()); } switch (other.getAddCase()) { case COLUMN: { mergeColumn(other.getColumn()); break; } case STRUCT_FIELD: { mergeStructField(other.getStructField()); break; } case ADD_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.ColumnAdd parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ColumnAdd) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int addCase_ = 0; private java.lang.Object add_; public AddCase getAddCase() { return AddCase.forNumber( addCase_); } public Builder clearAdd() { addCase_ = 0; add_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.FieldSchema, cz.proto.FieldSchema.Builder, cz.proto.FieldSchemaOrBuilder> columnBuilder_; /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.FieldSchema column = 1; * @return Whether the column field is set. */ @java.lang.Override public boolean hasColumn() { return addCase_ == 1; } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.FieldSchema column = 1; * @return The column. */ @java.lang.Override public cz.proto.FieldSchema getColumn() { if (columnBuilder_ == null) { if (addCase_ == 1) { return (cz.proto.FieldSchema) add_; } return cz.proto.FieldSchema.getDefaultInstance(); } else { if (addCase_ == 1) { return columnBuilder_.getMessage(); } return cz.proto.FieldSchema.getDefaultInstance(); } } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.FieldSchema column = 1; */ public Builder setColumn(cz.proto.FieldSchema value) { if (columnBuilder_ == null) { if (value == null) { throw new NullPointerException(); } add_ = value; onChanged(); } else { columnBuilder_.setMessage(value); } addCase_ = 1; return this; } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.FieldSchema column = 1; */ public Builder setColumn( cz.proto.FieldSchema.Builder builderForValue) { if (columnBuilder_ == null) { add_ = builderForValue.build(); onChanged(); } else { columnBuilder_.setMessage(builderForValue.build()); } addCase_ = 1; return this; } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.FieldSchema column = 1; */ public Builder mergeColumn(cz.proto.FieldSchema value) { if (columnBuilder_ == null) { if (addCase_ == 1 && add_ != cz.proto.FieldSchema.getDefaultInstance()) { add_ = cz.proto.FieldSchema.newBuilder((cz.proto.FieldSchema) add_) .mergeFrom(value).buildPartial(); } else { add_ = value; } onChanged(); } else { if (addCase_ == 1) { columnBuilder_.mergeFrom(value); } columnBuilder_.setMessage(value); } addCase_ = 1; return this; } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.FieldSchema column = 1; */ public Builder clearColumn() { if (columnBuilder_ == null) { if (addCase_ == 1) { addCase_ = 0; add_ = null; onChanged(); } } else { if (addCase_ == 1) { addCase_ = 0; add_ = null; } columnBuilder_.clear(); } return this; } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.FieldSchema column = 1; */ public cz.proto.FieldSchema.Builder getColumnBuilder() { return getColumnFieldBuilder().getBuilder(); } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.FieldSchema column = 1; */ @java.lang.Override public cz.proto.FieldSchemaOrBuilder getColumnOrBuilder() { if ((addCase_ == 1) && (columnBuilder_ != null)) { return columnBuilder_.getMessageOrBuilder(); } else { if (addCase_ == 1) { return (cz.proto.FieldSchema) add_; } return cz.proto.FieldSchema.getDefaultInstance(); } } /** *
       * added at the end of the schema by default
       * 
* * .cz.proto.FieldSchema column = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.FieldSchema, cz.proto.FieldSchema.Builder, cz.proto.FieldSchemaOrBuilder> getColumnFieldBuilder() { if (columnBuilder_ == null) { if (!(addCase_ == 1)) { add_ = cz.proto.FieldSchema.getDefaultInstance(); } columnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.FieldSchema, cz.proto.FieldSchema.Builder, cz.proto.FieldSchemaOrBuilder>( (cz.proto.FieldSchema) add_, getParentForChildren(), isClean()); add_ = null; } addCase_ = 1; onChanged();; return columnBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.StructField, cz.proto.access.Ddl.StructField.Builder, cz.proto.access.Ddl.StructFieldOrBuilder> structFieldBuilder_; /** * .cz.proto.access.StructField struct_field = 2; * @return Whether the structField field is set. */ @java.lang.Override public boolean hasStructField() { return addCase_ == 2; } /** * .cz.proto.access.StructField struct_field = 2; * @return The structField. */ @java.lang.Override public cz.proto.access.Ddl.StructField getStructField() { if (structFieldBuilder_ == null) { if (addCase_ == 2) { return (cz.proto.access.Ddl.StructField) add_; } return cz.proto.access.Ddl.StructField.getDefaultInstance(); } else { if (addCase_ == 2) { return structFieldBuilder_.getMessage(); } return cz.proto.access.Ddl.StructField.getDefaultInstance(); } } /** * .cz.proto.access.StructField struct_field = 2; */ public Builder setStructField(cz.proto.access.Ddl.StructField value) { if (structFieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); } add_ = value; onChanged(); } else { structFieldBuilder_.setMessage(value); } addCase_ = 2; return this; } /** * .cz.proto.access.StructField struct_field = 2; */ public Builder setStructField( cz.proto.access.Ddl.StructField.Builder builderForValue) { if (structFieldBuilder_ == null) { add_ = builderForValue.build(); onChanged(); } else { structFieldBuilder_.setMessage(builderForValue.build()); } addCase_ = 2; return this; } /** * .cz.proto.access.StructField struct_field = 2; */ public Builder mergeStructField(cz.proto.access.Ddl.StructField value) { if (structFieldBuilder_ == null) { if (addCase_ == 2 && add_ != cz.proto.access.Ddl.StructField.getDefaultInstance()) { add_ = cz.proto.access.Ddl.StructField.newBuilder((cz.proto.access.Ddl.StructField) add_) .mergeFrom(value).buildPartial(); } else { add_ = value; } onChanged(); } else { if (addCase_ == 2) { structFieldBuilder_.mergeFrom(value); } structFieldBuilder_.setMessage(value); } addCase_ = 2; return this; } /** * .cz.proto.access.StructField struct_field = 2; */ public Builder clearStructField() { if (structFieldBuilder_ == null) { if (addCase_ == 2) { addCase_ = 0; add_ = null; onChanged(); } } else { if (addCase_ == 2) { addCase_ = 0; add_ = null; } structFieldBuilder_.clear(); } return this; } /** * .cz.proto.access.StructField struct_field = 2; */ public cz.proto.access.Ddl.StructField.Builder getStructFieldBuilder() { return getStructFieldFieldBuilder().getBuilder(); } /** * .cz.proto.access.StructField struct_field = 2; */ @java.lang.Override public cz.proto.access.Ddl.StructFieldOrBuilder getStructFieldOrBuilder() { if ((addCase_ == 2) && (structFieldBuilder_ != null)) { return structFieldBuilder_.getMessageOrBuilder(); } else { if (addCase_ == 2) { return (cz.proto.access.Ddl.StructField) add_; } return cz.proto.access.Ddl.StructField.getDefaultInstance(); } } /** * .cz.proto.access.StructField struct_field = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.StructField, cz.proto.access.Ddl.StructField.Builder, cz.proto.access.Ddl.StructFieldOrBuilder> getStructFieldFieldBuilder() { if (structFieldBuilder_ == null) { if (!(addCase_ == 2)) { add_ = cz.proto.access.Ddl.StructField.getDefaultInstance(); } structFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.StructField, cz.proto.access.Ddl.StructField.Builder, cz.proto.access.Ddl.StructFieldOrBuilder>( (cz.proto.access.Ddl.StructField) add_, getParentForChildren(), isClean()); add_ = null; } addCase_ = 2; onChanged();; return structFieldBuilder_; } private boolean ifNotExists_ ; /** * bool if_not_exists = 11; * @return The ifNotExists. */ @java.lang.Override public boolean getIfNotExists() { return ifNotExists_; } /** * bool if_not_exists = 11; * @param value The ifNotExists to set. * @return This builder for chaining. */ public Builder setIfNotExists(boolean value) { ifNotExists_ = value; onChanged(); return this; } /** * bool if_not_exists = 11; * @return This builder for chaining. */ public Builder clearIfNotExists() { ifNotExists_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.ColumnAdd) } // @@protoc_insertion_point(class_scope:cz.proto.access.ColumnAdd) private static final cz.proto.access.Ddl.ColumnAdd DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ColumnAdd(); } public static cz.proto.access.Ddl.ColumnAdd getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ColumnAdd parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ColumnAdd(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 cz.proto.access.Ddl.ColumnAdd getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnDropOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ColumnDrop) com.google.protobuf.MessageOrBuilder { /** * repeated string ancestors = 1; * @return A list containing the ancestors. */ java.util.List getAncestorsList(); /** * repeated string ancestors = 1; * @return The count of ancestors. */ int getAncestorsCount(); /** * repeated string ancestors = 1; * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** * repeated string ancestors = 1; * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ com.google.protobuf.ByteString getAncestorsBytes(int index); /** * string name = 2; * @return The name. */ java.lang.String getName(); /** * string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * bool if_exists = 11; * @return The ifExists. */ boolean getIfExists(); } /** * Protobuf type {@code cz.proto.access.ColumnDrop} */ public static final class ColumnDrop extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ColumnDrop) ColumnDropOrBuilder { private static final long serialVersionUID = 0L; // Use ColumnDrop.newBuilder() to construct. private ColumnDrop(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ColumnDrop() { ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ColumnDrop(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ColumnDrop( 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: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } ancestors_.add(s); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 88: { ifExists_ = input.readBool(); 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)) { ancestors_ = ancestors_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnDrop_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnDrop_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ColumnDrop.class, cz.proto.access.Ddl.ColumnDrop.Builder.class); } public static final int ANCESTORS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList ancestors_; /** * repeated string ancestors = 1; * @return A list containing the ancestors. */ public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_; } /** * repeated string ancestors = 1; * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** * repeated string ancestors = 1; * @param index The index of the element to return. * @return The ancestors at the given index. */ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** * repeated string ancestors = 1; * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** * string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IF_EXISTS_FIELD_NUMBER = 11; private boolean ifExists_; /** * bool if_exists = 11; * @return The ifExists. */ @java.lang.Override public boolean getIfExists() { return ifExists_; } 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 < ancestors_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ancestors_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (ifExists_ != false) { output.writeBool(11, ifExists_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < ancestors_.size(); i++) { dataSize += computeStringSizeNoTag(ancestors_.getRaw(i)); } size += dataSize; size += 1 * getAncestorsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (ifExists_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, ifExists_); } 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 cz.proto.access.Ddl.ColumnDrop)) { return super.equals(obj); } cz.proto.access.Ddl.ColumnDrop other = (cz.proto.access.Ddl.ColumnDrop) obj; if (!getAncestorsList() .equals(other.getAncestorsList())) return false; if (!getName() .equals(other.getName())) return false; if (getIfExists() != other.getIfExists()) 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 (getAncestorsCount() > 0) { hash = (37 * hash) + ANCESTORS_FIELD_NUMBER; hash = (53 * hash) + getAncestorsList().hashCode(); } hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + IF_EXISTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIfExists()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ColumnDrop parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ColumnDrop parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ColumnDrop parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ColumnDrop parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ColumnDrop parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ColumnDrop parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ColumnDrop parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ColumnDrop 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 cz.proto.access.Ddl.ColumnDrop parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ColumnDrop 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 cz.proto.access.Ddl.ColumnDrop parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ColumnDrop 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(cz.proto.access.Ddl.ColumnDrop 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 cz.proto.access.ColumnDrop} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ColumnDrop) cz.proto.access.Ddl.ColumnDropOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnDrop_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnDrop_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ColumnDrop.class, cz.proto.access.Ddl.ColumnDrop.Builder.class); } // Construct using cz.proto.access.Ddl.ColumnDrop.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(); ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; ifExists_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnDrop_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ColumnDrop getDefaultInstanceForType() { return cz.proto.access.Ddl.ColumnDrop.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ColumnDrop build() { cz.proto.access.Ddl.ColumnDrop result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ColumnDrop buildPartial() { cz.proto.access.Ddl.ColumnDrop result = new cz.proto.access.Ddl.ColumnDrop(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { ancestors_ = ancestors_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.ancestors_ = ancestors_; result.name_ = name_; result.ifExists_ = ifExists_; 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 cz.proto.access.Ddl.ColumnDrop) { return mergeFrom((cz.proto.access.Ddl.ColumnDrop)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ColumnDrop other) { if (other == cz.proto.access.Ddl.ColumnDrop.getDefaultInstance()) return this; if (!other.ancestors_.isEmpty()) { if (ancestors_.isEmpty()) { ancestors_ = other.ancestors_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAncestorsIsMutable(); ancestors_.addAll(other.ancestors_); } onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.getIfExists() != false) { setIfExists(other.getIfExists()); } 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 { cz.proto.access.Ddl.ColumnDrop parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ColumnDrop) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAncestorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00000001; } } /** * repeated string ancestors = 1; * @return A list containing the ancestors. */ public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** * repeated string ancestors = 1; * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** * repeated string ancestors = 1; * @param index The index of the element to return. * @return The ancestors at the given index. */ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** * repeated string ancestors = 1; * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** * repeated string ancestors = 1; * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ public Builder setAncestors( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** * repeated string ancestors = 1; * @param value The ancestors to add. * @return This builder for chaining. */ public Builder addAncestors( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** * repeated string ancestors = 1; * @param values The ancestors to add. * @return This builder for chaining. */ public Builder addAllAncestors( java.lang.Iterable values) { ensureAncestorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, ancestors_); onChanged(); return this; } /** * repeated string ancestors = 1; * @return This builder for chaining. */ public Builder clearAncestors() { ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string ancestors = 1; * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ public Builder addAncestorsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } private java.lang.Object name_ = ""; /** * string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** * string name = 2; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private boolean ifExists_ ; /** * bool if_exists = 11; * @return The ifExists. */ @java.lang.Override public boolean getIfExists() { return ifExists_; } /** * bool if_exists = 11; * @param value The ifExists to set. * @return This builder for chaining. */ public Builder setIfExists(boolean value) { ifExists_ = value; onChanged(); return this; } /** * bool if_exists = 11; * @return This builder for chaining. */ public Builder clearIfExists() { ifExists_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.ColumnDrop) } // @@protoc_insertion_point(class_scope:cz.proto.access.ColumnDrop) private static final cz.proto.access.Ddl.ColumnDrop DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ColumnDrop(); } public static cz.proto.access.Ddl.ColumnDrop getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ColumnDrop parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ColumnDrop(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 cz.proto.access.Ddl.ColumnDrop getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnChangeOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ColumnChange) com.google.protobuf.MessageOrBuilder { /** * repeated string ancestors = 1; * @return A list containing the ancestors. */ java.util.List getAncestorsList(); /** * repeated string ancestors = 1; * @return The count of ancestors. */ int getAncestorsCount(); /** * repeated string ancestors = 1; * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** * repeated string ancestors = 1; * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ com.google.protobuf.ByteString getAncestorsBytes(int index); /** * string name = 2; * @return The name. */ java.lang.String getName(); /** * string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * string new_name = 3; * @return Whether the newName field is set. */ boolean hasNewName(); /** * string new_name = 3; * @return The newName. */ java.lang.String getNewName(); /** * string new_name = 3; * @return The bytes for newName. */ com.google.protobuf.ByteString getNewNameBytes(); /** * .cz.proto.DataType new_type = 4; * @return Whether the newType field is set. */ boolean hasNewType(); /** * .cz.proto.DataType new_type = 4; * @return The newType. */ cz.proto.DataType getNewType(); /** * .cz.proto.DataType new_type = 4; */ cz.proto.DataTypeOrBuilder getNewTypeOrBuilder(); /** * string new_comment = 5; * @return Whether the newComment field is set. */ boolean hasNewComment(); /** * string new_comment = 5; * @return The newComment. */ java.lang.String getNewComment(); /** * string new_comment = 5; * @return The bytes for newComment. */ com.google.protobuf.ByteString getNewCommentBytes(); public cz.proto.access.Ddl.ColumnChange.ChangeCase getChangeCase(); } /** * Protobuf type {@code cz.proto.access.ColumnChange} */ public static final class ColumnChange extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ColumnChange) ColumnChangeOrBuilder { private static final long serialVersionUID = 0L; // Use ColumnChange.newBuilder() to construct. private ColumnChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ColumnChange() { ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ColumnChange(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ColumnChange( 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: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } ancestors_.add(s); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); changeCase_ = 3; change_ = s; break; } case 34: { cz.proto.DataType.Builder subBuilder = null; if (changeCase_ == 4) { subBuilder = ((cz.proto.DataType) change_).toBuilder(); } change_ = input.readMessage(cz.proto.DataType.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.DataType) change_); change_ = subBuilder.buildPartial(); } changeCase_ = 4; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); changeCase_ = 5; change_ = 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { ancestors_ = ancestors_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnChange_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ColumnChange.class, cz.proto.access.Ddl.ColumnChange.Builder.class); } private int changeCase_ = 0; private java.lang.Object change_; public enum ChangeCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NEW_NAME(3), NEW_TYPE(4), NEW_COMMENT(5), CHANGE_NOT_SET(0); private final int value; private ChangeCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ChangeCase valueOf(int value) { return forNumber(value); } public static ChangeCase forNumber(int value) { switch (value) { case 3: return NEW_NAME; case 4: return NEW_TYPE; case 5: return NEW_COMMENT; case 0: return CHANGE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ChangeCase getChangeCase() { return ChangeCase.forNumber( changeCase_); } public static final int ANCESTORS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList ancestors_; /** * repeated string ancestors = 1; * @return A list containing the ancestors. */ public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_; } /** * repeated string ancestors = 1; * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** * repeated string ancestors = 1; * @param index The index of the element to return. * @return The ancestors at the given index. */ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** * repeated string ancestors = 1; * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** * string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEW_NAME_FIELD_NUMBER = 3; /** * string new_name = 3; * @return Whether the newName field is set. */ public boolean hasNewName() { return changeCase_ == 3; } /** * string new_name = 3; * @return The newName. */ public java.lang.String getNewName() { java.lang.Object ref = ""; if (changeCase_ == 3) { ref = change_; } 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(); if (changeCase_ == 3) { change_ = s; } return s; } } /** * string new_name = 3; * @return The bytes for newName. */ public com.google.protobuf.ByteString getNewNameBytes() { java.lang.Object ref = ""; if (changeCase_ == 3) { ref = change_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (changeCase_ == 3) { change_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEW_TYPE_FIELD_NUMBER = 4; /** * .cz.proto.DataType new_type = 4; * @return Whether the newType field is set. */ @java.lang.Override public boolean hasNewType() { return changeCase_ == 4; } /** * .cz.proto.DataType new_type = 4; * @return The newType. */ @java.lang.Override public cz.proto.DataType getNewType() { if (changeCase_ == 4) { return (cz.proto.DataType) change_; } return cz.proto.DataType.getDefaultInstance(); } /** * .cz.proto.DataType new_type = 4; */ @java.lang.Override public cz.proto.DataTypeOrBuilder getNewTypeOrBuilder() { if (changeCase_ == 4) { return (cz.proto.DataType) change_; } return cz.proto.DataType.getDefaultInstance(); } public static final int NEW_COMMENT_FIELD_NUMBER = 5; /** * string new_comment = 5; * @return Whether the newComment field is set. */ public boolean hasNewComment() { return changeCase_ == 5; } /** * string new_comment = 5; * @return The newComment. */ public java.lang.String getNewComment() { java.lang.Object ref = ""; if (changeCase_ == 5) { ref = change_; } 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(); if (changeCase_ == 5) { change_ = s; } return s; } } /** * string new_comment = 5; * @return The bytes for newComment. */ public com.google.protobuf.ByteString getNewCommentBytes() { java.lang.Object ref = ""; if (changeCase_ == 5) { ref = change_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (changeCase_ == 5) { change_ = 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 { for (int i = 0; i < ancestors_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ancestors_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (changeCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, change_); } if (changeCase_ == 4) { output.writeMessage(4, (cz.proto.DataType) change_); } if (changeCase_ == 5) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, change_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < ancestors_.size(); i++) { dataSize += computeStringSizeNoTag(ancestors_.getRaw(i)); } size += dataSize; size += 1 * getAncestorsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (changeCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, change_); } if (changeCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (cz.proto.DataType) change_); } if (changeCase_ == 5) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, change_); } 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 cz.proto.access.Ddl.ColumnChange)) { return super.equals(obj); } cz.proto.access.Ddl.ColumnChange other = (cz.proto.access.Ddl.ColumnChange) obj; if (!getAncestorsList() .equals(other.getAncestorsList())) return false; if (!getName() .equals(other.getName())) return false; if (!getChangeCase().equals(other.getChangeCase())) return false; switch (changeCase_) { case 3: if (!getNewName() .equals(other.getNewName())) return false; break; case 4: if (!getNewType() .equals(other.getNewType())) return false; break; case 5: if (!getNewComment() .equals(other.getNewComment())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getAncestorsCount() > 0) { hash = (37 * hash) + ANCESTORS_FIELD_NUMBER; hash = (53 * hash) + getAncestorsList().hashCode(); } hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); switch (changeCase_) { case 3: hash = (37 * hash) + NEW_NAME_FIELD_NUMBER; hash = (53 * hash) + getNewName().hashCode(); break; case 4: hash = (37 * hash) + NEW_TYPE_FIELD_NUMBER; hash = (53 * hash) + getNewType().hashCode(); break; case 5: hash = (37 * hash) + NEW_COMMENT_FIELD_NUMBER; hash = (53 * hash) + getNewComment().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ColumnChange parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ColumnChange parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ColumnChange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ColumnChange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ColumnChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ColumnChange parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ColumnChange parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ColumnChange 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 cz.proto.access.Ddl.ColumnChange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ColumnChange 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 cz.proto.access.Ddl.ColumnChange parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ColumnChange 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(cz.proto.access.Ddl.ColumnChange 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 cz.proto.access.ColumnChange} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ColumnChange) cz.proto.access.Ddl.ColumnChangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnChange_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ColumnChange.class, cz.proto.access.Ddl.ColumnChange.Builder.class); } // Construct using cz.proto.access.Ddl.ColumnChange.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(); ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; changeCase_ = 0; change_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ColumnChange_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ColumnChange getDefaultInstanceForType() { return cz.proto.access.Ddl.ColumnChange.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ColumnChange build() { cz.proto.access.Ddl.ColumnChange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ColumnChange buildPartial() { cz.proto.access.Ddl.ColumnChange result = new cz.proto.access.Ddl.ColumnChange(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { ancestors_ = ancestors_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.ancestors_ = ancestors_; result.name_ = name_; if (changeCase_ == 3) { result.change_ = change_; } if (changeCase_ == 4) { if (newTypeBuilder_ == null) { result.change_ = change_; } else { result.change_ = newTypeBuilder_.build(); } } if (changeCase_ == 5) { result.change_ = change_; } result.changeCase_ = changeCase_; 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 cz.proto.access.Ddl.ColumnChange) { return mergeFrom((cz.proto.access.Ddl.ColumnChange)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ColumnChange other) { if (other == cz.proto.access.Ddl.ColumnChange.getDefaultInstance()) return this; if (!other.ancestors_.isEmpty()) { if (ancestors_.isEmpty()) { ancestors_ = other.ancestors_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAncestorsIsMutable(); ancestors_.addAll(other.ancestors_); } onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } switch (other.getChangeCase()) { case NEW_NAME: { changeCase_ = 3; change_ = other.change_; onChanged(); break; } case NEW_TYPE: { mergeNewType(other.getNewType()); break; } case NEW_COMMENT: { changeCase_ = 5; change_ = other.change_; onChanged(); break; } case CHANGE_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.ColumnChange parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ColumnChange) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int changeCase_ = 0; private java.lang.Object change_; public ChangeCase getChangeCase() { return ChangeCase.forNumber( changeCase_); } public Builder clearChange() { changeCase_ = 0; change_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAncestorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00000001; } } /** * repeated string ancestors = 1; * @return A list containing the ancestors. */ public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** * repeated string ancestors = 1; * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** * repeated string ancestors = 1; * @param index The index of the element to return. * @return The ancestors at the given index. */ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** * repeated string ancestors = 1; * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** * repeated string ancestors = 1; * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ public Builder setAncestors( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** * repeated string ancestors = 1; * @param value The ancestors to add. * @return This builder for chaining. */ public Builder addAncestors( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** * repeated string ancestors = 1; * @param values The ancestors to add. * @return This builder for chaining. */ public Builder addAllAncestors( java.lang.Iterable values) { ensureAncestorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, ancestors_); onChanged(); return this; } /** * repeated string ancestors = 1; * @return This builder for chaining. */ public Builder clearAncestors() { ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string ancestors = 1; * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ public Builder addAncestorsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } private java.lang.Object name_ = ""; /** * string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** * string name = 2; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } /** * string new_name = 3; * @return Whether the newName field is set. */ @java.lang.Override public boolean hasNewName() { return changeCase_ == 3; } /** * string new_name = 3; * @return The newName. */ @java.lang.Override public java.lang.String getNewName() { java.lang.Object ref = ""; if (changeCase_ == 3) { ref = change_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (changeCase_ == 3) { change_ = s; } return s; } else { return (java.lang.String) ref; } } /** * string new_name = 3; * @return The bytes for newName. */ @java.lang.Override public com.google.protobuf.ByteString getNewNameBytes() { java.lang.Object ref = ""; if (changeCase_ == 3) { ref = change_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (changeCase_ == 3) { change_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string new_name = 3; * @param value The newName to set. * @return This builder for chaining. */ public Builder setNewName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } changeCase_ = 3; change_ = value; onChanged(); return this; } /** * string new_name = 3; * @return This builder for chaining. */ public Builder clearNewName() { if (changeCase_ == 3) { changeCase_ = 0; change_ = null; onChanged(); } return this; } /** * string new_name = 3; * @param value The bytes for newName to set. * @return This builder for chaining. */ public Builder setNewNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); changeCase_ = 3; change_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder> newTypeBuilder_; /** * .cz.proto.DataType new_type = 4; * @return Whether the newType field is set. */ @java.lang.Override public boolean hasNewType() { return changeCase_ == 4; } /** * .cz.proto.DataType new_type = 4; * @return The newType. */ @java.lang.Override public cz.proto.DataType getNewType() { if (newTypeBuilder_ == null) { if (changeCase_ == 4) { return (cz.proto.DataType) change_; } return cz.proto.DataType.getDefaultInstance(); } else { if (changeCase_ == 4) { return newTypeBuilder_.getMessage(); } return cz.proto.DataType.getDefaultInstance(); } } /** * .cz.proto.DataType new_type = 4; */ public Builder setNewType(cz.proto.DataType value) { if (newTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } change_ = value; onChanged(); } else { newTypeBuilder_.setMessage(value); } changeCase_ = 4; return this; } /** * .cz.proto.DataType new_type = 4; */ public Builder setNewType( cz.proto.DataType.Builder builderForValue) { if (newTypeBuilder_ == null) { change_ = builderForValue.build(); onChanged(); } else { newTypeBuilder_.setMessage(builderForValue.build()); } changeCase_ = 4; return this; } /** * .cz.proto.DataType new_type = 4; */ public Builder mergeNewType(cz.proto.DataType value) { if (newTypeBuilder_ == null) { if (changeCase_ == 4 && change_ != cz.proto.DataType.getDefaultInstance()) { change_ = cz.proto.DataType.newBuilder((cz.proto.DataType) change_) .mergeFrom(value).buildPartial(); } else { change_ = value; } onChanged(); } else { if (changeCase_ == 4) { newTypeBuilder_.mergeFrom(value); } newTypeBuilder_.setMessage(value); } changeCase_ = 4; return this; } /** * .cz.proto.DataType new_type = 4; */ public Builder clearNewType() { if (newTypeBuilder_ == null) { if (changeCase_ == 4) { changeCase_ = 0; change_ = null; onChanged(); } } else { if (changeCase_ == 4) { changeCase_ = 0; change_ = null; } newTypeBuilder_.clear(); } return this; } /** * .cz.proto.DataType new_type = 4; */ public cz.proto.DataType.Builder getNewTypeBuilder() { return getNewTypeFieldBuilder().getBuilder(); } /** * .cz.proto.DataType new_type = 4; */ @java.lang.Override public cz.proto.DataTypeOrBuilder getNewTypeOrBuilder() { if ((changeCase_ == 4) && (newTypeBuilder_ != null)) { return newTypeBuilder_.getMessageOrBuilder(); } else { if (changeCase_ == 4) { return (cz.proto.DataType) change_; } return cz.proto.DataType.getDefaultInstance(); } } /** * .cz.proto.DataType new_type = 4; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder> getNewTypeFieldBuilder() { if (newTypeBuilder_ == null) { if (!(changeCase_ == 4)) { change_ = cz.proto.DataType.getDefaultInstance(); } newTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder>( (cz.proto.DataType) change_, getParentForChildren(), isClean()); change_ = null; } changeCase_ = 4; onChanged();; return newTypeBuilder_; } /** * string new_comment = 5; * @return Whether the newComment field is set. */ @java.lang.Override public boolean hasNewComment() { return changeCase_ == 5; } /** * string new_comment = 5; * @return The newComment. */ @java.lang.Override public java.lang.String getNewComment() { java.lang.Object ref = ""; if (changeCase_ == 5) { ref = change_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (changeCase_ == 5) { change_ = s; } return s; } else { return (java.lang.String) ref; } } /** * string new_comment = 5; * @return The bytes for newComment. */ @java.lang.Override public com.google.protobuf.ByteString getNewCommentBytes() { java.lang.Object ref = ""; if (changeCase_ == 5) { ref = change_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (changeCase_ == 5) { change_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string new_comment = 5; * @param value The newComment to set. * @return This builder for chaining. */ public Builder setNewComment( java.lang.String value) { if (value == null) { throw new NullPointerException(); } changeCase_ = 5; change_ = value; onChanged(); return this; } /** * string new_comment = 5; * @return This builder for chaining. */ public Builder clearNewComment() { if (changeCase_ == 5) { changeCase_ = 0; change_ = null; onChanged(); } return this; } /** * string new_comment = 5; * @param value The bytes for newComment to set. * @return This builder for chaining. */ public Builder setNewCommentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); changeCase_ = 5; change_ = 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:cz.proto.access.ColumnChange) } // @@protoc_insertion_point(class_scope:cz.proto.access.ColumnChange) private static final cz.proto.access.Ddl.ColumnChange DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ColumnChange(); } public static cz.proto.access.Ddl.ColumnChange getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ColumnChange parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ColumnChange(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 cz.proto.access.Ddl.ColumnChange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlterVirtualClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.AlterVirtualCluster) com.google.protobuf.MessageOrBuilder { /** * bool start = 1; * @return Whether the start field is set. */ boolean hasStart(); /** * bool start = 1; * @return The start. */ boolean getStart(); /** * bool stop = 2; * @return Whether the stop field is set. */ boolean hasStop(); /** * bool stop = 2; * @return The stop. */ boolean getStop(); /** * bool abort_all_jobs = 3; * @return Whether the abortAllJobs field is set. */ boolean hasAbortAllJobs(); /** * bool abort_all_jobs = 3; * @return The abortAllJobs. */ boolean getAbortAllJobs(); /** * bool terminate = 6; * @return Whether the terminate field is set. */ boolean hasTerminate(); /** * bool terminate = 6; * @return The terminate. */ boolean getTerminate(); /** * bool if_stopped = 4; * @return Whether the ifStopped field is set. */ boolean hasIfStopped(); /** * bool if_stopped = 4; * @return The ifStopped. */ boolean getIfStopped(); /** * bool force = 5; * @return Whether the force field is set. */ boolean hasForce(); /** * bool force = 5; * @return The force. */ boolean getForce(); public cz.proto.access.Ddl.AlterVirtualCluster.DerivedCase getDerivedCase(); public cz.proto.access.Ddl.AlterVirtualCluster.OptionsCase getOptionsCase(); } /** * Protobuf type {@code cz.proto.access.AlterVirtualCluster} */ public static final class AlterVirtualCluster extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AlterVirtualCluster) AlterVirtualClusterOrBuilder { private static final long serialVersionUID = 0L; // Use AlterVirtualCluster.newBuilder() to construct. private AlterVirtualCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlterVirtualCluster() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterVirtualCluster(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlterVirtualCluster( 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: { derived_ = input.readBool(); derivedCase_ = 1; break; } case 16: { derived_ = input.readBool(); derivedCase_ = 2; break; } case 24: { derived_ = input.readBool(); derivedCase_ = 3; break; } case 32: { options_ = input.readBool(); optionsCase_ = 4; break; } case 40: { options_ = input.readBool(); optionsCase_ = 5; break; } case 48: { derived_ = input.readBool(); derivedCase_ = 6; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVirtualCluster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVirtualCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterVirtualCluster.class, cz.proto.access.Ddl.AlterVirtualCluster.Builder.class); } private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { START(1), STOP(2), ABORT_ALL_JOBS(3), TERMINATE(6), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 1: return START; case 2: return STOP; case 3: return ABORT_ALL_JOBS; case 6: return TERMINATE; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } private int optionsCase_ = 0; private java.lang.Object options_; public enum OptionsCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { IF_STOPPED(4), FORCE(5), OPTIONS_NOT_SET(0); private final int value; private OptionsCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static OptionsCase valueOf(int value) { return forNumber(value); } public static OptionsCase forNumber(int value) { switch (value) { case 4: return IF_STOPPED; case 5: return FORCE; case 0: return OPTIONS_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public OptionsCase getOptionsCase() { return OptionsCase.forNumber( optionsCase_); } public static final int START_FIELD_NUMBER = 1; /** * bool start = 1; * @return Whether the start field is set. */ @java.lang.Override public boolean hasStart() { return derivedCase_ == 1; } /** * bool start = 1; * @return The start. */ @java.lang.Override public boolean getStart() { if (derivedCase_ == 1) { return (java.lang.Boolean) derived_; } return false; } public static final int STOP_FIELD_NUMBER = 2; /** * bool stop = 2; * @return Whether the stop field is set. */ @java.lang.Override public boolean hasStop() { return derivedCase_ == 2; } /** * bool stop = 2; * @return The stop. */ @java.lang.Override public boolean getStop() { if (derivedCase_ == 2) { return (java.lang.Boolean) derived_; } return false; } public static final int ABORT_ALL_JOBS_FIELD_NUMBER = 3; /** * bool abort_all_jobs = 3; * @return Whether the abortAllJobs field is set. */ @java.lang.Override public boolean hasAbortAllJobs() { return derivedCase_ == 3; } /** * bool abort_all_jobs = 3; * @return The abortAllJobs. */ @java.lang.Override public boolean getAbortAllJobs() { if (derivedCase_ == 3) { return (java.lang.Boolean) derived_; } return false; } public static final int TERMINATE_FIELD_NUMBER = 6; /** * bool terminate = 6; * @return Whether the terminate field is set. */ @java.lang.Override public boolean hasTerminate() { return derivedCase_ == 6; } /** * bool terminate = 6; * @return The terminate. */ @java.lang.Override public boolean getTerminate() { if (derivedCase_ == 6) { return (java.lang.Boolean) derived_; } return false; } public static final int IF_STOPPED_FIELD_NUMBER = 4; /** * bool if_stopped = 4; * @return Whether the ifStopped field is set. */ @java.lang.Override public boolean hasIfStopped() { return optionsCase_ == 4; } /** * bool if_stopped = 4; * @return The ifStopped. */ @java.lang.Override public boolean getIfStopped() { if (optionsCase_ == 4) { return (java.lang.Boolean) options_; } return false; } public static final int FORCE_FIELD_NUMBER = 5; /** * bool force = 5; * @return Whether the force field is set. */ @java.lang.Override public boolean hasForce() { return optionsCase_ == 5; } /** * bool force = 5; * @return The force. */ @java.lang.Override public boolean getForce() { if (optionsCase_ == 5) { return (java.lang.Boolean) options_; } return false; } 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 (derivedCase_ == 1) { output.writeBool( 1, (boolean)((java.lang.Boolean) derived_)); } if (derivedCase_ == 2) { output.writeBool( 2, (boolean)((java.lang.Boolean) derived_)); } if (derivedCase_ == 3) { output.writeBool( 3, (boolean)((java.lang.Boolean) derived_)); } if (optionsCase_ == 4) { output.writeBool( 4, (boolean)((java.lang.Boolean) options_)); } if (optionsCase_ == 5) { output.writeBool( 5, (boolean)((java.lang.Boolean) options_)); } if (derivedCase_ == 6) { output.writeBool( 6, (boolean)((java.lang.Boolean) derived_)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (derivedCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 1, (boolean)((java.lang.Boolean) derived_)); } if (derivedCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 2, (boolean)((java.lang.Boolean) derived_)); } if (derivedCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 3, (boolean)((java.lang.Boolean) derived_)); } if (optionsCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 4, (boolean)((java.lang.Boolean) options_)); } if (optionsCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 5, (boolean)((java.lang.Boolean) options_)); } if (derivedCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 6, (boolean)((java.lang.Boolean) derived_)); } 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 cz.proto.access.Ddl.AlterVirtualCluster)) { return super.equals(obj); } cz.proto.access.Ddl.AlterVirtualCluster other = (cz.proto.access.Ddl.AlterVirtualCluster) obj; if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 1: if (getStart() != other.getStart()) return false; break; case 2: if (getStop() != other.getStop()) return false; break; case 3: if (getAbortAllJobs() != other.getAbortAllJobs()) return false; break; case 6: if (getTerminate() != other.getTerminate()) return false; break; case 0: default: } if (!getOptionsCase().equals(other.getOptionsCase())) return false; switch (optionsCase_) { case 4: if (getIfStopped() != other.getIfStopped()) return false; break; case 5: if (getForce() != other.getForce()) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (derivedCase_) { case 1: hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getStart()); break; case 2: hash = (37 * hash) + STOP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getStop()); break; case 3: hash = (37 * hash) + ABORT_ALL_JOBS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAbortAllJobs()); break; case 6: hash = (37 * hash) + TERMINATE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getTerminate()); break; case 0: default: } switch (optionsCase_) { case 4: hash = (37 * hash) + IF_STOPPED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIfStopped()); break; case 5: hash = (37 * hash) + FORCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getForce()); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AlterVirtualCluster parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterVirtualCluster parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterVirtualCluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterVirtualCluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterVirtualCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterVirtualCluster parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterVirtualCluster parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterVirtualCluster 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 cz.proto.access.Ddl.AlterVirtualCluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterVirtualCluster 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 cz.proto.access.Ddl.AlterVirtualCluster parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterVirtualCluster 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(cz.proto.access.Ddl.AlterVirtualCluster 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 cz.proto.access.AlterVirtualCluster} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AlterVirtualCluster) cz.proto.access.Ddl.AlterVirtualClusterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVirtualCluster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVirtualCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterVirtualCluster.class, cz.proto.access.Ddl.AlterVirtualCluster.Builder.class); } // Construct using cz.proto.access.Ddl.AlterVirtualCluster.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(); derivedCase_ = 0; derived_ = null; optionsCase_ = 0; options_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVirtualCluster_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AlterVirtualCluster getDefaultInstanceForType() { return cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AlterVirtualCluster build() { cz.proto.access.Ddl.AlterVirtualCluster result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AlterVirtualCluster buildPartial() { cz.proto.access.Ddl.AlterVirtualCluster result = new cz.proto.access.Ddl.AlterVirtualCluster(this); if (derivedCase_ == 1) { result.derived_ = derived_; } if (derivedCase_ == 2) { result.derived_ = derived_; } if (derivedCase_ == 3) { result.derived_ = derived_; } if (derivedCase_ == 6) { result.derived_ = derived_; } if (optionsCase_ == 4) { result.options_ = options_; } if (optionsCase_ == 5) { result.options_ = options_; } result.derivedCase_ = derivedCase_; result.optionsCase_ = optionsCase_; 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 cz.proto.access.Ddl.AlterVirtualCluster) { return mergeFrom((cz.proto.access.Ddl.AlterVirtualCluster)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AlterVirtualCluster other) { if (other == cz.proto.access.Ddl.AlterVirtualCluster.getDefaultInstance()) return this; switch (other.getDerivedCase()) { case START: { setStart(other.getStart()); break; } case STOP: { setStop(other.getStop()); break; } case ABORT_ALL_JOBS: { setAbortAllJobs(other.getAbortAllJobs()); break; } case TERMINATE: { setTerminate(other.getTerminate()); break; } case DERIVED_NOT_SET: { break; } } switch (other.getOptionsCase()) { case IF_STOPPED: { setIfStopped(other.getIfStopped()); break; } case FORCE: { setForce(other.getForce()); break; } case OPTIONS_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.AlterVirtualCluster parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AlterVirtualCluster) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } private int optionsCase_ = 0; private java.lang.Object options_; public OptionsCase getOptionsCase() { return OptionsCase.forNumber( optionsCase_); } public Builder clearOptions() { optionsCase_ = 0; options_ = null; onChanged(); return this; } /** * bool start = 1; * @return Whether the start field is set. */ public boolean hasStart() { return derivedCase_ == 1; } /** * bool start = 1; * @return The start. */ public boolean getStart() { if (derivedCase_ == 1) { return (java.lang.Boolean) derived_; } return false; } /** * bool start = 1; * @param value The start to set. * @return This builder for chaining. */ public Builder setStart(boolean value) { derivedCase_ = 1; derived_ = value; onChanged(); return this; } /** * bool start = 1; * @return This builder for chaining. */ public Builder clearStart() { if (derivedCase_ == 1) { derivedCase_ = 0; derived_ = null; onChanged(); } return this; } /** * bool stop = 2; * @return Whether the stop field is set. */ public boolean hasStop() { return derivedCase_ == 2; } /** * bool stop = 2; * @return The stop. */ public boolean getStop() { if (derivedCase_ == 2) { return (java.lang.Boolean) derived_; } return false; } /** * bool stop = 2; * @param value The stop to set. * @return This builder for chaining. */ public Builder setStop(boolean value) { derivedCase_ = 2; derived_ = value; onChanged(); return this; } /** * bool stop = 2; * @return This builder for chaining. */ public Builder clearStop() { if (derivedCase_ == 2) { derivedCase_ = 0; derived_ = null; onChanged(); } return this; } /** * bool abort_all_jobs = 3; * @return Whether the abortAllJobs field is set. */ public boolean hasAbortAllJobs() { return derivedCase_ == 3; } /** * bool abort_all_jobs = 3; * @return The abortAllJobs. */ public boolean getAbortAllJobs() { if (derivedCase_ == 3) { return (java.lang.Boolean) derived_; } return false; } /** * bool abort_all_jobs = 3; * @param value The abortAllJobs to set. * @return This builder for chaining. */ public Builder setAbortAllJobs(boolean value) { derivedCase_ = 3; derived_ = value; onChanged(); return this; } /** * bool abort_all_jobs = 3; * @return This builder for chaining. */ public Builder clearAbortAllJobs() { if (derivedCase_ == 3) { derivedCase_ = 0; derived_ = null; onChanged(); } return this; } /** * bool terminate = 6; * @return Whether the terminate field is set. */ public boolean hasTerminate() { return derivedCase_ == 6; } /** * bool terminate = 6; * @return The terminate. */ public boolean getTerminate() { if (derivedCase_ == 6) { return (java.lang.Boolean) derived_; } return false; } /** * bool terminate = 6; * @param value The terminate to set. * @return This builder for chaining. */ public Builder setTerminate(boolean value) { derivedCase_ = 6; derived_ = value; onChanged(); return this; } /** * bool terminate = 6; * @return This builder for chaining. */ public Builder clearTerminate() { if (derivedCase_ == 6) { derivedCase_ = 0; derived_ = null; onChanged(); } return this; } /** * bool if_stopped = 4; * @return Whether the ifStopped field is set. */ public boolean hasIfStopped() { return optionsCase_ == 4; } /** * bool if_stopped = 4; * @return The ifStopped. */ public boolean getIfStopped() { if (optionsCase_ == 4) { return (java.lang.Boolean) options_; } return false; } /** * bool if_stopped = 4; * @param value The ifStopped to set. * @return This builder for chaining. */ public Builder setIfStopped(boolean value) { optionsCase_ = 4; options_ = value; onChanged(); return this; } /** * bool if_stopped = 4; * @return This builder for chaining. */ public Builder clearIfStopped() { if (optionsCase_ == 4) { optionsCase_ = 0; options_ = null; onChanged(); } return this; } /** * bool force = 5; * @return Whether the force field is set. */ public boolean hasForce() { return optionsCase_ == 5; } /** * bool force = 5; * @return The force. */ public boolean getForce() { if (optionsCase_ == 5) { return (java.lang.Boolean) options_; } return false; } /** * bool force = 5; * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { optionsCase_ = 5; options_ = value; onChanged(); return this; } /** * bool force = 5; * @return This builder for chaining. */ public Builder clearForce() { if (optionsCase_ == 5) { optionsCase_ = 0; options_ = null; 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:cz.proto.access.AlterVirtualCluster) } // @@protoc_insertion_point(class_scope:cz.proto.access.AlterVirtualCluster) private static final cz.proto.access.Ddl.AlterVirtualCluster DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterVirtualCluster(); } public static cz.proto.access.Ddl.AlterVirtualCluster getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlterVirtualCluster parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlterVirtualCluster(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 cz.proto.access.Ddl.AlterVirtualCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlterShareOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.AlterShare) com.google.protobuf.MessageOrBuilder { /** * bool public = 1; * @return Whether the public field is set. */ boolean hasPublic(); /** * bool public = 1; * @return The public. */ boolean getPublic(); /** * bool add_instance = 2; * @return Whether the addInstance field is set. */ boolean hasAddInstance(); /** * bool add_instance = 2; * @return The addInstance. */ boolean getAddInstance(); /** * bool remove_instance = 3; * @return Whether the removeInstance field is set. */ boolean hasRemoveInstance(); /** * bool remove_instance = 3; * @return The removeInstance. */ boolean getRemoveInstance(); /** * repeated string instances = 10; * @return A list containing the instances. */ java.util.List getInstancesList(); /** * repeated string instances = 10; * @return The count of instances. */ int getInstancesCount(); /** * repeated string instances = 10; * @param index The index of the element to return. * @return The instances at the given index. */ java.lang.String getInstances(int index); /** * repeated string instances = 10; * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ com.google.protobuf.ByteString getInstancesBytes(int index); public cz.proto.access.Ddl.AlterShare.DerivedCase getDerivedCase(); } /** * Protobuf type {@code cz.proto.access.AlterShare} */ public static final class AlterShare extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AlterShare) AlterShareOrBuilder { private static final long serialVersionUID = 0L; // Use AlterShare.newBuilder() to construct. private AlterShare(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlterShare() { instances_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterShare(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlterShare( 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: { derived_ = input.readBool(); derivedCase_ = 1; break; } case 16: { derived_ = input.readBool(); derivedCase_ = 2; break; } case 24: { derived_ = input.readBool(); derivedCase_ = 3; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { instances_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } instances_.add(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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { instances_ = instances_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterShare_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterShare_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterShare.class, cz.proto.access.Ddl.AlterShare.Builder.class); } private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PUBLIC(1), ADD_INSTANCE(2), REMOVE_INSTANCE(3), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 1: return PUBLIC; case 2: return ADD_INSTANCE; case 3: return REMOVE_INSTANCE; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public static final int PUBLIC_FIELD_NUMBER = 1; /** * bool public = 1; * @return Whether the public field is set. */ @java.lang.Override public boolean hasPublic() { return derivedCase_ == 1; } /** * bool public = 1; * @return The public. */ @java.lang.Override public boolean getPublic() { if (derivedCase_ == 1) { return (java.lang.Boolean) derived_; } return false; } public static final int ADD_INSTANCE_FIELD_NUMBER = 2; /** * bool add_instance = 2; * @return Whether the addInstance field is set. */ @java.lang.Override public boolean hasAddInstance() { return derivedCase_ == 2; } /** * bool add_instance = 2; * @return The addInstance. */ @java.lang.Override public boolean getAddInstance() { if (derivedCase_ == 2) { return (java.lang.Boolean) derived_; } return false; } public static final int REMOVE_INSTANCE_FIELD_NUMBER = 3; /** * bool remove_instance = 3; * @return Whether the removeInstance field is set. */ @java.lang.Override public boolean hasRemoveInstance() { return derivedCase_ == 3; } /** * bool remove_instance = 3; * @return The removeInstance. */ @java.lang.Override public boolean getRemoveInstance() { if (derivedCase_ == 3) { return (java.lang.Boolean) derived_; } return false; } public static final int INSTANCES_FIELD_NUMBER = 10; private com.google.protobuf.LazyStringList instances_; /** * repeated string instances = 10; * @return A list containing the instances. */ public com.google.protobuf.ProtocolStringList getInstancesList() { return instances_; } /** * repeated string instances = 10; * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** * repeated string instances = 10; * @param index The index of the element to return. * @return The instances at the given index. */ public java.lang.String getInstances(int index) { return instances_.get(index); } /** * repeated string instances = 10; * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ public com.google.protobuf.ByteString getInstancesBytes(int index) { return instances_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (derivedCase_ == 1) { output.writeBool( 1, (boolean)((java.lang.Boolean) derived_)); } if (derivedCase_ == 2) { output.writeBool( 2, (boolean)((java.lang.Boolean) derived_)); } if (derivedCase_ == 3) { output.writeBool( 3, (boolean)((java.lang.Boolean) derived_)); } for (int i = 0; i < instances_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, instances_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (derivedCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 1, (boolean)((java.lang.Boolean) derived_)); } if (derivedCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 2, (boolean)((java.lang.Boolean) derived_)); } if (derivedCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 3, (boolean)((java.lang.Boolean) derived_)); } { int dataSize = 0; for (int i = 0; i < instances_.size(); i++) { dataSize += computeStringSizeNoTag(instances_.getRaw(i)); } size += dataSize; size += 1 * getInstancesList().size(); } 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 cz.proto.access.Ddl.AlterShare)) { return super.equals(obj); } cz.proto.access.Ddl.AlterShare other = (cz.proto.access.Ddl.AlterShare) obj; if (!getInstancesList() .equals(other.getInstancesList())) return false; if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 1: if (getPublic() != other.getPublic()) return false; break; case 2: if (getAddInstance() != other.getAddInstance()) return false; break; case 3: if (getRemoveInstance() != other.getRemoveInstance()) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getInstancesCount() > 0) { hash = (37 * hash) + INSTANCES_FIELD_NUMBER; hash = (53 * hash) + getInstancesList().hashCode(); } switch (derivedCase_) { case 1: hash = (37 * hash) + PUBLIC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getPublic()); break; case 2: hash = (37 * hash) + ADD_INSTANCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAddInstance()); break; case 3: hash = (37 * hash) + REMOVE_INSTANCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRemoveInstance()); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AlterShare parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterShare parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterShare parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterShare parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterShare parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterShare parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterShare parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterShare 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 cz.proto.access.Ddl.AlterShare parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterShare 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 cz.proto.access.Ddl.AlterShare parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterShare 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(cz.proto.access.Ddl.AlterShare 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 cz.proto.access.AlterShare} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AlterShare) cz.proto.access.Ddl.AlterShareOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterShare_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterShare_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterShare.class, cz.proto.access.Ddl.AlterShare.Builder.class); } // Construct using cz.proto.access.Ddl.AlterShare.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(); instances_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); derivedCase_ = 0; derived_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterShare_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AlterShare getDefaultInstanceForType() { return cz.proto.access.Ddl.AlterShare.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AlterShare build() { cz.proto.access.Ddl.AlterShare result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AlterShare buildPartial() { cz.proto.access.Ddl.AlterShare result = new cz.proto.access.Ddl.AlterShare(this); int from_bitField0_ = bitField0_; if (derivedCase_ == 1) { result.derived_ = derived_; } if (derivedCase_ == 2) { result.derived_ = derived_; } if (derivedCase_ == 3) { result.derived_ = derived_; } if (((bitField0_ & 0x00000001) != 0)) { instances_ = instances_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.instances_ = instances_; result.derivedCase_ = derivedCase_; 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 cz.proto.access.Ddl.AlterShare) { return mergeFrom((cz.proto.access.Ddl.AlterShare)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AlterShare other) { if (other == cz.proto.access.Ddl.AlterShare.getDefaultInstance()) return this; if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { instances_ = other.instances_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureInstancesIsMutable(); instances_.addAll(other.instances_); } onChanged(); } switch (other.getDerivedCase()) { case PUBLIC: { setPublic(other.getPublic()); break; } case ADD_INSTANCE: { setAddInstance(other.getAddInstance()); break; } case REMOVE_INSTANCE: { setRemoveInstance(other.getRemoveInstance()); break; } case DERIVED_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.AlterShare parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AlterShare) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } private int bitField0_; /** * bool public = 1; * @return Whether the public field is set. */ public boolean hasPublic() { return derivedCase_ == 1; } /** * bool public = 1; * @return The public. */ public boolean getPublic() { if (derivedCase_ == 1) { return (java.lang.Boolean) derived_; } return false; } /** * bool public = 1; * @param value The public to set. * @return This builder for chaining. */ public Builder setPublic(boolean value) { derivedCase_ = 1; derived_ = value; onChanged(); return this; } /** * bool public = 1; * @return This builder for chaining. */ public Builder clearPublic() { if (derivedCase_ == 1) { derivedCase_ = 0; derived_ = null; onChanged(); } return this; } /** * bool add_instance = 2; * @return Whether the addInstance field is set. */ public boolean hasAddInstance() { return derivedCase_ == 2; } /** * bool add_instance = 2; * @return The addInstance. */ public boolean getAddInstance() { if (derivedCase_ == 2) { return (java.lang.Boolean) derived_; } return false; } /** * bool add_instance = 2; * @param value The addInstance to set. * @return This builder for chaining. */ public Builder setAddInstance(boolean value) { derivedCase_ = 2; derived_ = value; onChanged(); return this; } /** * bool add_instance = 2; * @return This builder for chaining. */ public Builder clearAddInstance() { if (derivedCase_ == 2) { derivedCase_ = 0; derived_ = null; onChanged(); } return this; } /** * bool remove_instance = 3; * @return Whether the removeInstance field is set. */ public boolean hasRemoveInstance() { return derivedCase_ == 3; } /** * bool remove_instance = 3; * @return The removeInstance. */ public boolean getRemoveInstance() { if (derivedCase_ == 3) { return (java.lang.Boolean) derived_; } return false; } /** * bool remove_instance = 3; * @param value The removeInstance to set. * @return This builder for chaining. */ public Builder setRemoveInstance(boolean value) { derivedCase_ = 3; derived_ = value; onChanged(); return this; } /** * bool remove_instance = 3; * @return This builder for chaining. */ public Builder clearRemoveInstance() { if (derivedCase_ == 3) { derivedCase_ = 0; derived_ = null; onChanged(); } return this; } private com.google.protobuf.LazyStringList instances_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new com.google.protobuf.LazyStringArrayList(instances_); bitField0_ |= 0x00000001; } } /** * repeated string instances = 10; * @return A list containing the instances. */ public com.google.protobuf.ProtocolStringList getInstancesList() { return instances_.getUnmodifiableView(); } /** * repeated string instances = 10; * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** * repeated string instances = 10; * @param index The index of the element to return. * @return The instances at the given index. */ public java.lang.String getInstances(int index) { return instances_.get(index); } /** * repeated string instances = 10; * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ public com.google.protobuf.ByteString getInstancesBytes(int index) { return instances_.getByteString(index); } /** * repeated string instances = 10; * @param index The index to set the value at. * @param value The instances to set. * @return This builder for chaining. */ public Builder setInstances( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureInstancesIsMutable(); instances_.set(index, value); onChanged(); return this; } /** * repeated string instances = 10; * @param value The instances to add. * @return This builder for chaining. */ public Builder addInstances( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureInstancesIsMutable(); instances_.add(value); onChanged(); return this; } /** * repeated string instances = 10; * @param values The instances to add. * @return This builder for chaining. */ public Builder addAllInstances( java.lang.Iterable values) { ensureInstancesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, instances_); onChanged(); return this; } /** * repeated string instances = 10; * @return This builder for chaining. */ public Builder clearInstances() { instances_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string instances = 10; * @param value The bytes of the instances to add. * @return This builder for chaining. */ public Builder addInstancesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureInstancesIsMutable(); instances_.add(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:cz.proto.access.AlterShare) } // @@protoc_insertion_point(class_scope:cz.proto.access.AlterShare) private static final cz.proto.access.Ddl.AlterShare DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterShare(); } public static cz.proto.access.Ddl.AlterShare getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlterShare parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlterShare(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 cz.proto.access.Ddl.AlterShare getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlterConnectionAvailabilityOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.AlterConnectionAvailability) com.google.protobuf.MessageOrBuilder { /** * bool enable = 1; * @return The enable. */ boolean getEnable(); } /** * Protobuf type {@code cz.proto.access.AlterConnectionAvailability} */ public static final class AlterConnectionAvailability extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AlterConnectionAvailability) AlterConnectionAvailabilityOrBuilder { private static final long serialVersionUID = 0L; // Use AlterConnectionAvailability.newBuilder() to construct. private AlterConnectionAvailability(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlterConnectionAvailability() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterConnectionAvailability(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlterConnectionAvailability( 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: { enable_ = input.readBool(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionAvailability_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionAvailability_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterConnectionAvailability.class, cz.proto.access.Ddl.AlterConnectionAvailability.Builder.class); } public static final int ENABLE_FIELD_NUMBER = 1; private boolean enable_; /** * bool enable = 1; * @return The enable. */ @java.lang.Override public boolean getEnable() { return enable_; } 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 (enable_ != false) { output.writeBool(1, enable_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (enable_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, enable_); } 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 cz.proto.access.Ddl.AlterConnectionAvailability)) { return super.equals(obj); } cz.proto.access.Ddl.AlterConnectionAvailability other = (cz.proto.access.Ddl.AlterConnectionAvailability) obj; if (getEnable() != other.getEnable()) 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) + ENABLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnable()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AlterConnectionAvailability parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterConnectionAvailability parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterConnectionAvailability parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterConnectionAvailability parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterConnectionAvailability parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterConnectionAvailability parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterConnectionAvailability parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterConnectionAvailability 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 cz.proto.access.Ddl.AlterConnectionAvailability parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterConnectionAvailability 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 cz.proto.access.Ddl.AlterConnectionAvailability parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterConnectionAvailability 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(cz.proto.access.Ddl.AlterConnectionAvailability 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 cz.proto.access.AlterConnectionAvailability} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AlterConnectionAvailability) cz.proto.access.Ddl.AlterConnectionAvailabilityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionAvailability_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionAvailability_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterConnectionAvailability.class, cz.proto.access.Ddl.AlterConnectionAvailability.Builder.class); } // Construct using cz.proto.access.Ddl.AlterConnectionAvailability.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(); enable_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionAvailability_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AlterConnectionAvailability getDefaultInstanceForType() { return cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AlterConnectionAvailability build() { cz.proto.access.Ddl.AlterConnectionAvailability result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AlterConnectionAvailability buildPartial() { cz.proto.access.Ddl.AlterConnectionAvailability result = new cz.proto.access.Ddl.AlterConnectionAvailability(this); result.enable_ = enable_; 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 cz.proto.access.Ddl.AlterConnectionAvailability) { return mergeFrom((cz.proto.access.Ddl.AlterConnectionAvailability)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AlterConnectionAvailability other) { if (other == cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance()) return this; if (other.getEnable() != false) { setEnable(other.getEnable()); } 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 { cz.proto.access.Ddl.AlterConnectionAvailability parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AlterConnectionAvailability) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean enable_ ; /** * bool enable = 1; * @return The enable. */ @java.lang.Override public boolean getEnable() { return enable_; } /** * bool enable = 1; * @param value The enable to set. * @return This builder for chaining. */ public Builder setEnable(boolean value) { enable_ = value; onChanged(); return this; } /** * bool enable = 1; * @return This builder for chaining. */ public Builder clearEnable() { enable_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.AlterConnectionAvailability) } // @@protoc_insertion_point(class_scope:cz.proto.access.AlterConnectionAvailability) private static final cz.proto.access.Ddl.AlterConnectionAvailability DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterConnectionAvailability(); } public static cz.proto.access.Ddl.AlterConnectionAvailability getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlterConnectionAvailability parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlterConnectionAvailability(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 cz.proto.access.Ddl.AlterConnectionAvailability getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlterConnectionPropertiesOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.AlterConnectionProperties) com.google.protobuf.MessageOrBuilder { /** * bool set = 1; * @return The set. */ boolean getSet(); /** * repeated .cz.proto.Property properties = 2; */ java.util.List getPropertiesList(); /** * repeated .cz.proto.Property properties = 2; */ cz.proto.PropertyOuterClass.Property getProperties(int index); /** * repeated .cz.proto.Property properties = 2; */ int getPropertiesCount(); /** * repeated .cz.proto.Property properties = 2; */ java.util.List getPropertiesOrBuilderList(); /** * repeated .cz.proto.Property properties = 2; */ cz.proto.PropertyOuterClass.PropertyOrBuilder getPropertiesOrBuilder( int index); } /** * Protobuf type {@code cz.proto.access.AlterConnectionProperties} */ public static final class AlterConnectionProperties extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AlterConnectionProperties) AlterConnectionPropertiesOrBuilder { private static final long serialVersionUID = 0L; // Use AlterConnectionProperties.newBuilder() to construct. private AlterConnectionProperties(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlterConnectionProperties() { properties_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterConnectionProperties(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlterConnectionProperties( 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: { set_ = input.readBool(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { properties_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } properties_.add( input.readMessage(cz.proto.PropertyOuterClass.Property.parser(), extensionRegistry)); 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)) { properties_ = java.util.Collections.unmodifiableList(properties_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionProperties_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionProperties_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterConnectionProperties.class, cz.proto.access.Ddl.AlterConnectionProperties.Builder.class); } public static final int SET_FIELD_NUMBER = 1; private boolean set_; /** * bool set = 1; * @return The set. */ @java.lang.Override public boolean getSet() { return set_; } public static final int PROPERTIES_FIELD_NUMBER = 2; private java.util.List properties_; /** * repeated .cz.proto.Property properties = 2; */ @java.lang.Override public java.util.List getPropertiesList() { return properties_; } /** * repeated .cz.proto.Property properties = 2; */ @java.lang.Override public java.util.List getPropertiesOrBuilderList() { return properties_; } /** * repeated .cz.proto.Property properties = 2; */ @java.lang.Override public int getPropertiesCount() { return properties_.size(); } /** * repeated .cz.proto.Property properties = 2; */ @java.lang.Override public cz.proto.PropertyOuterClass.Property getProperties(int index) { return properties_.get(index); } /** * repeated .cz.proto.Property properties = 2; */ @java.lang.Override public cz.proto.PropertyOuterClass.PropertyOrBuilder getPropertiesOrBuilder( int index) { return properties_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (set_ != false) { output.writeBool(1, set_); } for (int i = 0; i < properties_.size(); i++) { output.writeMessage(2, properties_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (set_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, set_); } for (int i = 0; i < properties_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, properties_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cz.proto.access.Ddl.AlterConnectionProperties)) { return super.equals(obj); } cz.proto.access.Ddl.AlterConnectionProperties other = (cz.proto.access.Ddl.AlterConnectionProperties) obj; if (getSet() != other.getSet()) return false; if (!getPropertiesList() .equals(other.getPropertiesList())) 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) + SET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSet()); if (getPropertiesCount() > 0) { hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getPropertiesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AlterConnectionProperties parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterConnectionProperties parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterConnectionProperties parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterConnectionProperties parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterConnectionProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterConnectionProperties parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterConnectionProperties parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterConnectionProperties 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 cz.proto.access.Ddl.AlterConnectionProperties parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterConnectionProperties 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 cz.proto.access.Ddl.AlterConnectionProperties parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterConnectionProperties 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(cz.proto.access.Ddl.AlterConnectionProperties 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 cz.proto.access.AlterConnectionProperties} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AlterConnectionProperties) cz.proto.access.Ddl.AlterConnectionPropertiesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionProperties_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionProperties_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterConnectionProperties.class, cz.proto.access.Ddl.AlterConnectionProperties.Builder.class); } // Construct using cz.proto.access.Ddl.AlterConnectionProperties.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPropertiesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); set_ = false; if (propertiesBuilder_ == null) { properties_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { propertiesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnectionProperties_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AlterConnectionProperties getDefaultInstanceForType() { return cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AlterConnectionProperties build() { cz.proto.access.Ddl.AlterConnectionProperties result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AlterConnectionProperties buildPartial() { cz.proto.access.Ddl.AlterConnectionProperties result = new cz.proto.access.Ddl.AlterConnectionProperties(this); int from_bitField0_ = bitField0_; result.set_ = set_; if (propertiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { properties_ = java.util.Collections.unmodifiableList(properties_); bitField0_ = (bitField0_ & ~0x00000001); } result.properties_ = properties_; } else { result.properties_ = propertiesBuilder_.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 cz.proto.access.Ddl.AlterConnectionProperties) { return mergeFrom((cz.proto.access.Ddl.AlterConnectionProperties)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AlterConnectionProperties other) { if (other == cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance()) return this; if (other.getSet() != false) { setSet(other.getSet()); } if (propertiesBuilder_ == null) { if (!other.properties_.isEmpty()) { if (properties_.isEmpty()) { properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePropertiesIsMutable(); properties_.addAll(other.properties_); } onChanged(); } } else { if (!other.properties_.isEmpty()) { if (propertiesBuilder_.isEmpty()) { propertiesBuilder_.dispose(); propertiesBuilder_ = null; properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000001); propertiesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPropertiesFieldBuilder() : null; } else { propertiesBuilder_.addAllMessages(other.properties_); } } } 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 { cz.proto.access.Ddl.AlterConnectionProperties parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AlterConnectionProperties) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean set_ ; /** * bool set = 1; * @return The set. */ @java.lang.Override public boolean getSet() { return set_; } /** * bool set = 1; * @param value The set to set. * @return This builder for chaining. */ public Builder setSet(boolean value) { set_ = value; onChanged(); return this; } /** * bool set = 1; * @return This builder for chaining. */ public Builder clearSet() { set_ = false; onChanged(); return this; } private java.util.List properties_ = java.util.Collections.emptyList(); private void ensurePropertiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { properties_ = new java.util.ArrayList(properties_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.PropertyOuterClass.Property, cz.proto.PropertyOuterClass.Property.Builder, cz.proto.PropertyOuterClass.PropertyOrBuilder> propertiesBuilder_; /** * repeated .cz.proto.Property properties = 2; */ public java.util.List getPropertiesList() { if (propertiesBuilder_ == null) { return java.util.Collections.unmodifiableList(properties_); } else { return propertiesBuilder_.getMessageList(); } } /** * repeated .cz.proto.Property properties = 2; */ public int getPropertiesCount() { if (propertiesBuilder_ == null) { return properties_.size(); } else { return propertiesBuilder_.getCount(); } } /** * repeated .cz.proto.Property properties = 2; */ public cz.proto.PropertyOuterClass.Property getProperties(int index) { if (propertiesBuilder_ == null) { return properties_.get(index); } else { return propertiesBuilder_.getMessage(index); } } /** * repeated .cz.proto.Property properties = 2; */ public Builder setProperties( int index, cz.proto.PropertyOuterClass.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.set(index, value); onChanged(); } else { propertiesBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.Property properties = 2; */ public Builder setProperties( int index, cz.proto.PropertyOuterClass.Property.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.set(index, builderForValue.build()); onChanged(); } else { propertiesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.Property properties = 2; */ public Builder addProperties(cz.proto.PropertyOuterClass.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(value); onChanged(); } else { propertiesBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.Property properties = 2; */ public Builder addProperties( int index, cz.proto.PropertyOuterClass.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(index, value); onChanged(); } else { propertiesBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.Property properties = 2; */ public Builder addProperties( cz.proto.PropertyOuterClass.Property.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.add(builderForValue.build()); onChanged(); } else { propertiesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.Property properties = 2; */ public Builder addProperties( int index, cz.proto.PropertyOuterClass.Property.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.add(index, builderForValue.build()); onChanged(); } else { propertiesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.Property properties = 2; */ public Builder addAllProperties( java.lang.Iterable values) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, properties_); onChanged(); } else { propertiesBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.Property properties = 2; */ public Builder clearProperties() { if (propertiesBuilder_ == null) { properties_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { propertiesBuilder_.clear(); } return this; } /** * repeated .cz.proto.Property properties = 2; */ public Builder removeProperties(int index) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.remove(index); onChanged(); } else { propertiesBuilder_.remove(index); } return this; } /** * repeated .cz.proto.Property properties = 2; */ public cz.proto.PropertyOuterClass.Property.Builder getPropertiesBuilder( int index) { return getPropertiesFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.Property properties = 2; */ public cz.proto.PropertyOuterClass.PropertyOrBuilder getPropertiesOrBuilder( int index) { if (propertiesBuilder_ == null) { return properties_.get(index); } else { return propertiesBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.Property properties = 2; */ public java.util.List getPropertiesOrBuilderList() { if (propertiesBuilder_ != null) { return propertiesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(properties_); } } /** * repeated .cz.proto.Property properties = 2; */ public cz.proto.PropertyOuterClass.Property.Builder addPropertiesBuilder() { return getPropertiesFieldBuilder().addBuilder( cz.proto.PropertyOuterClass.Property.getDefaultInstance()); } /** * repeated .cz.proto.Property properties = 2; */ public cz.proto.PropertyOuterClass.Property.Builder addPropertiesBuilder( int index) { return getPropertiesFieldBuilder().addBuilder( index, cz.proto.PropertyOuterClass.Property.getDefaultInstance()); } /** * repeated .cz.proto.Property properties = 2; */ public java.util.List getPropertiesBuilderList() { return getPropertiesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.PropertyOuterClass.Property, cz.proto.PropertyOuterClass.Property.Builder, cz.proto.PropertyOuterClass.PropertyOrBuilder> getPropertiesFieldBuilder() { if (propertiesBuilder_ == null) { propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.PropertyOuterClass.Property, cz.proto.PropertyOuterClass.Property.Builder, cz.proto.PropertyOuterClass.PropertyOrBuilder>( properties_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); properties_ = null; } return propertiesBuilder_; } @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:cz.proto.access.AlterConnectionProperties) } // @@protoc_insertion_point(class_scope:cz.proto.access.AlterConnectionProperties) private static final cz.proto.access.Ddl.AlterConnectionProperties DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterConnectionProperties(); } public static cz.proto.access.Ddl.AlterConnectionProperties getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlterConnectionProperties parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlterConnectionProperties(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 cz.proto.access.Ddl.AlterConnectionProperties getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlterConnectionOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.AlterConnection) com.google.protobuf.MessageOrBuilder { /** * bool enable = 1; * @return Whether the enable field is set. */ boolean hasEnable(); /** * bool enable = 1; * @return The enable. */ boolean getEnable(); /** * .cz.proto.access.AlterConnectionAvailability availability = 2; * @return Whether the availability field is set. */ boolean hasAvailability(); /** * .cz.proto.access.AlterConnectionAvailability availability = 2; * @return The availability. */ cz.proto.access.Ddl.AlterConnectionAvailability getAvailability(); /** * .cz.proto.access.AlterConnectionAvailability availability = 2; */ cz.proto.access.Ddl.AlterConnectionAvailabilityOrBuilder getAvailabilityOrBuilder(); /** * .cz.proto.access.AlterConnectionProperties properties = 3; * @return Whether the properties field is set. */ boolean hasProperties(); /** * .cz.proto.access.AlterConnectionProperties properties = 3; * @return The properties. */ cz.proto.access.Ddl.AlterConnectionProperties getProperties(); /** * .cz.proto.access.AlterConnectionProperties properties = 3; */ cz.proto.access.Ddl.AlterConnectionPropertiesOrBuilder getPropertiesOrBuilder(); public cz.proto.access.Ddl.AlterConnection.DerivedCase getDerivedCase(); } /** * Protobuf type {@code cz.proto.access.AlterConnection} */ public static final class AlterConnection extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AlterConnection) AlterConnectionOrBuilder { private static final long serialVersionUID = 0L; // Use AlterConnection.newBuilder() to construct. private AlterConnection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlterConnection() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterConnection(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlterConnection( 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: { derived_ = input.readBool(); derivedCase_ = 1; break; } case 18: { cz.proto.access.Ddl.AlterConnectionAvailability.Builder subBuilder = null; if (derivedCase_ == 2) { subBuilder = ((cz.proto.access.Ddl.AlterConnectionAvailability) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.AlterConnectionAvailability.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.AlterConnectionAvailability) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 2; break; } case 26: { cz.proto.access.Ddl.AlterConnectionProperties.Builder subBuilder = null; if (derivedCase_ == 3) { subBuilder = ((cz.proto.access.Ddl.AlterConnectionProperties) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.AlterConnectionProperties.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.AlterConnectionProperties) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 3; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnection_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterConnection.class, cz.proto.access.Ddl.AlterConnection.Builder.class); } private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ENABLE(1), AVAILABILITY(2), PROPERTIES(3), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 1: return ENABLE; case 2: return AVAILABILITY; case 3: return PROPERTIES; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public static final int ENABLE_FIELD_NUMBER = 1; /** * bool enable = 1; * @return Whether the enable field is set. */ @java.lang.Override public boolean hasEnable() { return derivedCase_ == 1; } /** * bool enable = 1; * @return The enable. */ @java.lang.Override public boolean getEnable() { if (derivedCase_ == 1) { return (java.lang.Boolean) derived_; } return false; } public static final int AVAILABILITY_FIELD_NUMBER = 2; /** * .cz.proto.access.AlterConnectionAvailability availability = 2; * @return Whether the availability field is set. */ @java.lang.Override public boolean hasAvailability() { return derivedCase_ == 2; } /** * .cz.proto.access.AlterConnectionAvailability availability = 2; * @return The availability. */ @java.lang.Override public cz.proto.access.Ddl.AlterConnectionAvailability getAvailability() { if (derivedCase_ == 2) { return (cz.proto.access.Ddl.AlterConnectionAvailability) derived_; } return cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance(); } /** * .cz.proto.access.AlterConnectionAvailability availability = 2; */ @java.lang.Override public cz.proto.access.Ddl.AlterConnectionAvailabilityOrBuilder getAvailabilityOrBuilder() { if (derivedCase_ == 2) { return (cz.proto.access.Ddl.AlterConnectionAvailability) derived_; } return cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance(); } public static final int PROPERTIES_FIELD_NUMBER = 3; /** * .cz.proto.access.AlterConnectionProperties properties = 3; * @return Whether the properties field is set. */ @java.lang.Override public boolean hasProperties() { return derivedCase_ == 3; } /** * .cz.proto.access.AlterConnectionProperties properties = 3; * @return The properties. */ @java.lang.Override public cz.proto.access.Ddl.AlterConnectionProperties getProperties() { if (derivedCase_ == 3) { return (cz.proto.access.Ddl.AlterConnectionProperties) derived_; } return cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance(); } /** * .cz.proto.access.AlterConnectionProperties properties = 3; */ @java.lang.Override public cz.proto.access.Ddl.AlterConnectionPropertiesOrBuilder getPropertiesOrBuilder() { if (derivedCase_ == 3) { return (cz.proto.access.Ddl.AlterConnectionProperties) derived_; } return cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (derivedCase_ == 1) { output.writeBool( 1, (boolean)((java.lang.Boolean) derived_)); } if (derivedCase_ == 2) { output.writeMessage(2, (cz.proto.access.Ddl.AlterConnectionAvailability) derived_); } if (derivedCase_ == 3) { output.writeMessage(3, (cz.proto.access.Ddl.AlterConnectionProperties) derived_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (derivedCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 1, (boolean)((java.lang.Boolean) derived_)); } if (derivedCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (cz.proto.access.Ddl.AlterConnectionAvailability) derived_); } if (derivedCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (cz.proto.access.Ddl.AlterConnectionProperties) derived_); } 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 cz.proto.access.Ddl.AlterConnection)) { return super.equals(obj); } cz.proto.access.Ddl.AlterConnection other = (cz.proto.access.Ddl.AlterConnection) obj; if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 1: if (getEnable() != other.getEnable()) return false; break; case 2: if (!getAvailability() .equals(other.getAvailability())) return false; break; case 3: if (!getProperties() .equals(other.getProperties())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (derivedCase_) { case 1: hash = (37 * hash) + ENABLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnable()); break; case 2: hash = (37 * hash) + AVAILABILITY_FIELD_NUMBER; hash = (53 * hash) + getAvailability().hashCode(); break; case 3: hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getProperties().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AlterConnection parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterConnection parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterConnection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterConnection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterConnection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterConnection parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterConnection parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterConnection 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 cz.proto.access.Ddl.AlterConnection parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterConnection 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 cz.proto.access.Ddl.AlterConnection parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterConnection 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(cz.proto.access.Ddl.AlterConnection 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 cz.proto.access.AlterConnection} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AlterConnection) cz.proto.access.Ddl.AlterConnectionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnection_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterConnection.class, cz.proto.access.Ddl.AlterConnection.Builder.class); } // Construct using cz.proto.access.Ddl.AlterConnection.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(); derivedCase_ = 0; derived_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterConnection_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AlterConnection getDefaultInstanceForType() { return cz.proto.access.Ddl.AlterConnection.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AlterConnection build() { cz.proto.access.Ddl.AlterConnection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AlterConnection buildPartial() { cz.proto.access.Ddl.AlterConnection result = new cz.proto.access.Ddl.AlterConnection(this); if (derivedCase_ == 1) { result.derived_ = derived_; } if (derivedCase_ == 2) { if (availabilityBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = availabilityBuilder_.build(); } } if (derivedCase_ == 3) { if (propertiesBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = propertiesBuilder_.build(); } } result.derivedCase_ = derivedCase_; 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 cz.proto.access.Ddl.AlterConnection) { return mergeFrom((cz.proto.access.Ddl.AlterConnection)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AlterConnection other) { if (other == cz.proto.access.Ddl.AlterConnection.getDefaultInstance()) return this; switch (other.getDerivedCase()) { case ENABLE: { setEnable(other.getEnable()); break; } case AVAILABILITY: { mergeAvailability(other.getAvailability()); break; } case PROPERTIES: { mergeProperties(other.getProperties()); break; } case DERIVED_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.AlterConnection parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AlterConnection) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } /** * bool enable = 1; * @return Whether the enable field is set. */ public boolean hasEnable() { return derivedCase_ == 1; } /** * bool enable = 1; * @return The enable. */ public boolean getEnable() { if (derivedCase_ == 1) { return (java.lang.Boolean) derived_; } return false; } /** * bool enable = 1; * @param value The enable to set. * @return This builder for chaining. */ public Builder setEnable(boolean value) { derivedCase_ = 1; derived_ = value; onChanged(); return this; } /** * bool enable = 1; * @return This builder for chaining. */ public Builder clearEnable() { if (derivedCase_ == 1) { derivedCase_ = 0; derived_ = null; onChanged(); } return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterConnectionAvailability, cz.proto.access.Ddl.AlterConnectionAvailability.Builder, cz.proto.access.Ddl.AlterConnectionAvailabilityOrBuilder> availabilityBuilder_; /** * .cz.proto.access.AlterConnectionAvailability availability = 2; * @return Whether the availability field is set. */ @java.lang.Override public boolean hasAvailability() { return derivedCase_ == 2; } /** * .cz.proto.access.AlterConnectionAvailability availability = 2; * @return The availability. */ @java.lang.Override public cz.proto.access.Ddl.AlterConnectionAvailability getAvailability() { if (availabilityBuilder_ == null) { if (derivedCase_ == 2) { return (cz.proto.access.Ddl.AlterConnectionAvailability) derived_; } return cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance(); } else { if (derivedCase_ == 2) { return availabilityBuilder_.getMessage(); } return cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance(); } } /** * .cz.proto.access.AlterConnectionAvailability availability = 2; */ public Builder setAvailability(cz.proto.access.Ddl.AlterConnectionAvailability value) { if (availabilityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { availabilityBuilder_.setMessage(value); } derivedCase_ = 2; return this; } /** * .cz.proto.access.AlterConnectionAvailability availability = 2; */ public Builder setAvailability( cz.proto.access.Ddl.AlterConnectionAvailability.Builder builderForValue) { if (availabilityBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { availabilityBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 2; return this; } /** * .cz.proto.access.AlterConnectionAvailability availability = 2; */ public Builder mergeAvailability(cz.proto.access.Ddl.AlterConnectionAvailability value) { if (availabilityBuilder_ == null) { if (derivedCase_ == 2 && derived_ != cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.AlterConnectionAvailability.newBuilder((cz.proto.access.Ddl.AlterConnectionAvailability) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 2) { availabilityBuilder_.mergeFrom(value); } availabilityBuilder_.setMessage(value); } derivedCase_ = 2; return this; } /** * .cz.proto.access.AlterConnectionAvailability availability = 2; */ public Builder clearAvailability() { if (availabilityBuilder_ == null) { if (derivedCase_ == 2) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 2) { derivedCase_ = 0; derived_ = null; } availabilityBuilder_.clear(); } return this; } /** * .cz.proto.access.AlterConnectionAvailability availability = 2; */ public cz.proto.access.Ddl.AlterConnectionAvailability.Builder getAvailabilityBuilder() { return getAvailabilityFieldBuilder().getBuilder(); } /** * .cz.proto.access.AlterConnectionAvailability availability = 2; */ @java.lang.Override public cz.proto.access.Ddl.AlterConnectionAvailabilityOrBuilder getAvailabilityOrBuilder() { if ((derivedCase_ == 2) && (availabilityBuilder_ != null)) { return availabilityBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 2) { return (cz.proto.access.Ddl.AlterConnectionAvailability) derived_; } return cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance(); } } /** * .cz.proto.access.AlterConnectionAvailability availability = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterConnectionAvailability, cz.proto.access.Ddl.AlterConnectionAvailability.Builder, cz.proto.access.Ddl.AlterConnectionAvailabilityOrBuilder> getAvailabilityFieldBuilder() { if (availabilityBuilder_ == null) { if (!(derivedCase_ == 2)) { derived_ = cz.proto.access.Ddl.AlterConnectionAvailability.getDefaultInstance(); } availabilityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterConnectionAvailability, cz.proto.access.Ddl.AlterConnectionAvailability.Builder, cz.proto.access.Ddl.AlterConnectionAvailabilityOrBuilder>( (cz.proto.access.Ddl.AlterConnectionAvailability) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 2; onChanged();; return availabilityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterConnectionProperties, cz.proto.access.Ddl.AlterConnectionProperties.Builder, cz.proto.access.Ddl.AlterConnectionPropertiesOrBuilder> propertiesBuilder_; /** * .cz.proto.access.AlterConnectionProperties properties = 3; * @return Whether the properties field is set. */ @java.lang.Override public boolean hasProperties() { return derivedCase_ == 3; } /** * .cz.proto.access.AlterConnectionProperties properties = 3; * @return The properties. */ @java.lang.Override public cz.proto.access.Ddl.AlterConnectionProperties getProperties() { if (propertiesBuilder_ == null) { if (derivedCase_ == 3) { return (cz.proto.access.Ddl.AlterConnectionProperties) derived_; } return cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance(); } else { if (derivedCase_ == 3) { return propertiesBuilder_.getMessage(); } return cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance(); } } /** * .cz.proto.access.AlterConnectionProperties properties = 3; */ public Builder setProperties(cz.proto.access.Ddl.AlterConnectionProperties value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { propertiesBuilder_.setMessage(value); } derivedCase_ = 3; return this; } /** * .cz.proto.access.AlterConnectionProperties properties = 3; */ public Builder setProperties( cz.proto.access.Ddl.AlterConnectionProperties.Builder builderForValue) { if (propertiesBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { propertiesBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 3; return this; } /** * .cz.proto.access.AlterConnectionProperties properties = 3; */ public Builder mergeProperties(cz.proto.access.Ddl.AlterConnectionProperties value) { if (propertiesBuilder_ == null) { if (derivedCase_ == 3 && derived_ != cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.AlterConnectionProperties.newBuilder((cz.proto.access.Ddl.AlterConnectionProperties) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 3) { propertiesBuilder_.mergeFrom(value); } propertiesBuilder_.setMessage(value); } derivedCase_ = 3; return this; } /** * .cz.proto.access.AlterConnectionProperties properties = 3; */ public Builder clearProperties() { if (propertiesBuilder_ == null) { if (derivedCase_ == 3) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 3) { derivedCase_ = 0; derived_ = null; } propertiesBuilder_.clear(); } return this; } /** * .cz.proto.access.AlterConnectionProperties properties = 3; */ public cz.proto.access.Ddl.AlterConnectionProperties.Builder getPropertiesBuilder() { return getPropertiesFieldBuilder().getBuilder(); } /** * .cz.proto.access.AlterConnectionProperties properties = 3; */ @java.lang.Override public cz.proto.access.Ddl.AlterConnectionPropertiesOrBuilder getPropertiesOrBuilder() { if ((derivedCase_ == 3) && (propertiesBuilder_ != null)) { return propertiesBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 3) { return (cz.proto.access.Ddl.AlterConnectionProperties) derived_; } return cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance(); } } /** * .cz.proto.access.AlterConnectionProperties properties = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterConnectionProperties, cz.proto.access.Ddl.AlterConnectionProperties.Builder, cz.proto.access.Ddl.AlterConnectionPropertiesOrBuilder> getPropertiesFieldBuilder() { if (propertiesBuilder_ == null) { if (!(derivedCase_ == 3)) { derived_ = cz.proto.access.Ddl.AlterConnectionProperties.getDefaultInstance(); } propertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterConnectionProperties, cz.proto.access.Ddl.AlterConnectionProperties.Builder, cz.proto.access.Ddl.AlterConnectionPropertiesOrBuilder>( (cz.proto.access.Ddl.AlterConnectionProperties) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 3; onChanged();; return propertiesBuilder_; } @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:cz.proto.access.AlterConnection) } // @@protoc_insertion_point(class_scope:cz.proto.access.AlterConnection) private static final cz.proto.access.Ddl.AlterConnection DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterConnection(); } public static cz.proto.access.Ddl.AlterConnection getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlterConnection parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlterConnection(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 cz.proto.access.Ddl.AlterConnection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlterFunctionOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.AlterFunction) com.google.protobuf.MessageOrBuilder { /** * string comment = 1; * @return Whether the comment field is set. */ boolean hasComment(); /** * string comment = 1; * @return The comment. */ java.lang.String getComment(); /** * string comment = 1; * @return The bytes for comment. */ com.google.protobuf.ByteString getCommentBytes(); public cz.proto.access.Ddl.AlterFunction.DerivedCase getDerivedCase(); } /** * Protobuf type {@code cz.proto.access.AlterFunction} */ public static final class AlterFunction extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AlterFunction) AlterFunctionOrBuilder { private static final long serialVersionUID = 0L; // Use AlterFunction.newBuilder() to construct. private AlterFunction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlterFunction() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterFunction(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlterFunction( 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: { java.lang.String s = input.readStringRequireUtf8(); derivedCase_ = 1; derived_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_AlterFunction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterFunction_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterFunction.class, cz.proto.access.Ddl.AlterFunction.Builder.class); } private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMMENT(1), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 1: return COMMENT; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public static final int COMMENT_FIELD_NUMBER = 1; /** * string comment = 1; * @return Whether the comment field is set. */ public boolean hasComment() { return derivedCase_ == 1; } /** * string comment = 1; * @return The comment. */ public java.lang.String getComment() { java.lang.Object ref = ""; if (derivedCase_ == 1) { ref = derived_; } 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(); if (derivedCase_ == 1) { derived_ = s; } return s; } } /** * string comment = 1; * @return The bytes for comment. */ public com.google.protobuf.ByteString getCommentBytes() { java.lang.Object ref = ""; if (derivedCase_ == 1) { ref = derived_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (derivedCase_ == 1) { derived_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (derivedCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, derived_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (derivedCase_ == 1) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, derived_); } 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 cz.proto.access.Ddl.AlterFunction)) { return super.equals(obj); } cz.proto.access.Ddl.AlterFunction other = (cz.proto.access.Ddl.AlterFunction) obj; if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 1: if (!getComment() .equals(other.getComment())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (derivedCase_) { case 1: hash = (37 * hash) + COMMENT_FIELD_NUMBER; hash = (53 * hash) + getComment().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AlterFunction parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterFunction parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterFunction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterFunction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterFunction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterFunction parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterFunction parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterFunction 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 cz.proto.access.Ddl.AlterFunction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterFunction 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 cz.proto.access.Ddl.AlterFunction parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterFunction 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(cz.proto.access.Ddl.AlterFunction 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 cz.proto.access.AlterFunction} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AlterFunction) cz.proto.access.Ddl.AlterFunctionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterFunction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterFunction_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterFunction.class, cz.proto.access.Ddl.AlterFunction.Builder.class); } // Construct using cz.proto.access.Ddl.AlterFunction.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(); derivedCase_ = 0; derived_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterFunction_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AlterFunction getDefaultInstanceForType() { return cz.proto.access.Ddl.AlterFunction.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AlterFunction build() { cz.proto.access.Ddl.AlterFunction result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AlterFunction buildPartial() { cz.proto.access.Ddl.AlterFunction result = new cz.proto.access.Ddl.AlterFunction(this); if (derivedCase_ == 1) { result.derived_ = derived_; } result.derivedCase_ = derivedCase_; 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 cz.proto.access.Ddl.AlterFunction) { return mergeFrom((cz.proto.access.Ddl.AlterFunction)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AlterFunction other) { if (other == cz.proto.access.Ddl.AlterFunction.getDefaultInstance()) return this; switch (other.getDerivedCase()) { case COMMENT: { derivedCase_ = 1; derived_ = other.derived_; onChanged(); break; } case DERIVED_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.AlterFunction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AlterFunction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } /** * string comment = 1; * @return Whether the comment field is set. */ @java.lang.Override public boolean hasComment() { return derivedCase_ == 1; } /** * string comment = 1; * @return The comment. */ @java.lang.Override public java.lang.String getComment() { java.lang.Object ref = ""; if (derivedCase_ == 1) { ref = derived_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (derivedCase_ == 1) { derived_ = s; } return s; } else { return (java.lang.String) ref; } } /** * string comment = 1; * @return The bytes for comment. */ @java.lang.Override public com.google.protobuf.ByteString getCommentBytes() { java.lang.Object ref = ""; if (derivedCase_ == 1) { ref = derived_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (derivedCase_ == 1) { derived_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string comment = 1; * @param value The comment to set. * @return This builder for chaining. */ public Builder setComment( java.lang.String value) { if (value == null) { throw new NullPointerException(); } derivedCase_ = 1; derived_ = value; onChanged(); return this; } /** * string comment = 1; * @return This builder for chaining. */ public Builder clearComment() { if (derivedCase_ == 1) { derivedCase_ = 0; derived_ = null; onChanged(); } return this; } /** * string comment = 1; * @param value The bytes for comment to set. * @return This builder for chaining. */ public Builder setCommentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); derivedCase_ = 1; derived_ = 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:cz.proto.access.AlterFunction) } // @@protoc_insertion_point(class_scope:cz.proto.access.AlterFunction) private static final cz.proto.access.Ddl.AlterFunction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterFunction(); } public static cz.proto.access.Ddl.AlterFunction getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlterFunction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlterFunction(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 cz.proto.access.Ddl.AlterFunction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropEntityOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropEntity) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ cz.proto.ObjectIdentifier getIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; */ cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder(); /** * bool if_exists = 2; * @return The ifExists. */ boolean getIfExists(); /** * int64 drop_time_ms = 3; * @return The dropTimeMs. */ long getDropTimeMs(); /** * .cz.proto.access.DropTable table = 10; * @return Whether the table field is set. */ boolean hasTable(); /** * .cz.proto.access.DropTable table = 10; * @return The table. */ cz.proto.access.Ddl.DropTable getTable(); /** * .cz.proto.access.DropTable table = 10; */ cz.proto.access.Ddl.DropTableOrBuilder getTableOrBuilder(); /** * .cz.proto.access.DropView view = 11; * @return Whether the view field is set. */ boolean hasView(); /** * .cz.proto.access.DropView view = 11; * @return The view. */ cz.proto.access.Ddl.DropView getView(); /** * .cz.proto.access.DropView view = 11; */ cz.proto.access.Ddl.DropViewOrBuilder getViewOrBuilder(); /** * .cz.proto.access.DropMaterializedView mv = 12; * @return Whether the mv field is set. */ boolean hasMv(); /** * .cz.proto.access.DropMaterializedView mv = 12; * @return The mv. */ cz.proto.access.Ddl.DropMaterializedView getMv(); /** * .cz.proto.access.DropMaterializedView mv = 12; */ cz.proto.access.Ddl.DropMaterializedViewOrBuilder getMvOrBuilder(); /** * .cz.proto.access.DropSchema schema = 13; * @return Whether the schema field is set. */ boolean hasSchema(); /** * .cz.proto.access.DropSchema schema = 13; * @return The schema. */ cz.proto.access.Ddl.DropSchema getSchema(); /** * .cz.proto.access.DropSchema schema = 13; */ cz.proto.access.Ddl.DropSchemaOrBuilder getSchemaOrBuilder(); /** * .cz.proto.access.DropCatalog catalog = 14; * @return Whether the catalog field is set. */ boolean hasCatalog(); /** * .cz.proto.access.DropCatalog catalog = 14; * @return The catalog. */ cz.proto.access.Ddl.DropCatalog getCatalog(); /** * .cz.proto.access.DropCatalog catalog = 14; */ cz.proto.access.Ddl.DropCatalogOrBuilder getCatalogOrBuilder(); /** * .cz.proto.access.DropUser user = 15; * @return Whether the user field is set. */ boolean hasUser(); /** * .cz.proto.access.DropUser user = 15; * @return The user. */ cz.proto.access.Ddl.DropUser getUser(); /** * .cz.proto.access.DropUser user = 15; */ cz.proto.access.Ddl.DropUserOrBuilder getUserOrBuilder(); /** * .cz.proto.access.DropRole role = 16; * @return Whether the role field is set. */ boolean hasRole(); /** * .cz.proto.access.DropRole role = 16; * @return The role. */ cz.proto.access.Ddl.DropRole getRole(); /** * .cz.proto.access.DropRole role = 16; */ cz.proto.access.Ddl.DropRoleOrBuilder getRoleOrBuilder(); /** * .cz.proto.access.DropVCluster virtual_cluster = 17; * @return Whether the virtualCluster field is set. */ boolean hasVirtualCluster(); /** * .cz.proto.access.DropVCluster virtual_cluster = 17; * @return The virtualCluster. */ cz.proto.access.Ddl.DropVCluster getVirtualCluster(); /** * .cz.proto.access.DropVCluster virtual_cluster = 17; */ cz.proto.access.Ddl.DropVClusterOrBuilder getVirtualClusterOrBuilder(); /** * .cz.proto.access.DropShare share = 18; * @return Whether the share field is set. */ boolean hasShare(); /** * .cz.proto.access.DropShare share = 18; * @return The share. */ cz.proto.access.Ddl.DropShare getShare(); /** * .cz.proto.access.DropShare share = 18; */ cz.proto.access.Ddl.DropShareOrBuilder getShareOrBuilder(); /** * .cz.proto.access.DropFunction function = 19; * @return Whether the function field is set. */ boolean hasFunction(); /** * .cz.proto.access.DropFunction function = 19; * @return The function. */ cz.proto.access.Ddl.DropFunction getFunction(); /** * .cz.proto.access.DropFunction function = 19; */ cz.proto.access.Ddl.DropFunctionOrBuilder getFunctionOrBuilder(); /** * .cz.proto.access.DropConnection connection = 20; * @return Whether the connection field is set. */ boolean hasConnection(); /** * .cz.proto.access.DropConnection connection = 20; * @return The connection. */ cz.proto.access.Ddl.DropConnection getConnection(); /** * .cz.proto.access.DropConnection connection = 20; */ cz.proto.access.Ddl.DropConnectionOrBuilder getConnectionOrBuilder(); /** * .cz.proto.access.DropLocation location = 21; * @return Whether the location field is set. */ boolean hasLocation(); /** * .cz.proto.access.DropLocation location = 21; * @return The location. */ cz.proto.access.Ddl.DropLocation getLocation(); /** * .cz.proto.access.DropLocation location = 21; */ cz.proto.access.Ddl.DropLocationOrBuilder getLocationOrBuilder(); /** * .cz.proto.access.DropStreamTable stream_table = 22; * @return Whether the streamTable field is set. */ boolean hasStreamTable(); /** * .cz.proto.access.DropStreamTable stream_table = 22; * @return The streamTable. */ cz.proto.access.Ddl.DropStreamTable getStreamTable(); /** * .cz.proto.access.DropStreamTable stream_table = 22; */ cz.proto.access.Ddl.DropStreamTableOrBuilder getStreamTableOrBuilder(); /** * .cz.proto.access.DropIndex index = 23; * @return Whether the index field is set. */ boolean hasIndex(); /** * .cz.proto.access.DropIndex index = 23; * @return The index. */ cz.proto.access.Ddl.DropIndex getIndex(); /** * .cz.proto.access.DropIndex index = 23; */ cz.proto.access.Ddl.DropIndexOrBuilder getIndexOrBuilder(); /** * .cz.proto.access.DropVolume volume = 24; * @return Whether the volume field is set. */ boolean hasVolume(); /** * .cz.proto.access.DropVolume volume = 24; * @return The volume. */ cz.proto.access.Ddl.DropVolume getVolume(); /** * .cz.proto.access.DropVolume volume = 24; */ cz.proto.access.Ddl.DropVolumeOrBuilder getVolumeOrBuilder(); public cz.proto.access.Ddl.DropEntity.DerivedCase getDerivedCase(); } /** * Protobuf type {@code cz.proto.access.DropEntity} */ public static final class DropEntity extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropEntity) DropEntityOrBuilder { private static final long serialVersionUID = 0L; // Use DropEntity.newBuilder() to construct. private DropEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropEntity() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropEntity(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropEntity( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 16: { ifExists_ = input.readBool(); break; } case 24: { dropTimeMs_ = input.readInt64(); break; } case 82: { cz.proto.access.Ddl.DropTable.Builder subBuilder = null; if (derivedCase_ == 10) { subBuilder = ((cz.proto.access.Ddl.DropTable) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropTable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropTable) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 10; break; } case 90: { cz.proto.access.Ddl.DropView.Builder subBuilder = null; if (derivedCase_ == 11) { subBuilder = ((cz.proto.access.Ddl.DropView) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropView.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropView) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 11; break; } case 98: { cz.proto.access.Ddl.DropMaterializedView.Builder subBuilder = null; if (derivedCase_ == 12) { subBuilder = ((cz.proto.access.Ddl.DropMaterializedView) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropMaterializedView.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropMaterializedView) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 12; break; } case 106: { cz.proto.access.Ddl.DropSchema.Builder subBuilder = null; if (derivedCase_ == 13) { subBuilder = ((cz.proto.access.Ddl.DropSchema) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropSchema.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropSchema) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 13; break; } case 114: { cz.proto.access.Ddl.DropCatalog.Builder subBuilder = null; if (derivedCase_ == 14) { subBuilder = ((cz.proto.access.Ddl.DropCatalog) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropCatalog.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropCatalog) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 14; break; } case 122: { cz.proto.access.Ddl.DropUser.Builder subBuilder = null; if (derivedCase_ == 15) { subBuilder = ((cz.proto.access.Ddl.DropUser) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropUser.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropUser) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 15; break; } case 130: { cz.proto.access.Ddl.DropRole.Builder subBuilder = null; if (derivedCase_ == 16) { subBuilder = ((cz.proto.access.Ddl.DropRole) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropRole.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropRole) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 16; break; } case 138: { cz.proto.access.Ddl.DropVCluster.Builder subBuilder = null; if (derivedCase_ == 17) { subBuilder = ((cz.proto.access.Ddl.DropVCluster) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropVCluster.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropVCluster) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 17; break; } case 146: { cz.proto.access.Ddl.DropShare.Builder subBuilder = null; if (derivedCase_ == 18) { subBuilder = ((cz.proto.access.Ddl.DropShare) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropShare.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropShare) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 18; break; } case 154: { cz.proto.access.Ddl.DropFunction.Builder subBuilder = null; if (derivedCase_ == 19) { subBuilder = ((cz.proto.access.Ddl.DropFunction) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropFunction.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropFunction) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 19; break; } case 162: { cz.proto.access.Ddl.DropConnection.Builder subBuilder = null; if (derivedCase_ == 20) { subBuilder = ((cz.proto.access.Ddl.DropConnection) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropConnection.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropConnection) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 20; break; } case 170: { cz.proto.access.Ddl.DropLocation.Builder subBuilder = null; if (derivedCase_ == 21) { subBuilder = ((cz.proto.access.Ddl.DropLocation) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropLocation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropLocation) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 21; break; } case 178: { cz.proto.access.Ddl.DropStreamTable.Builder subBuilder = null; if (derivedCase_ == 22) { subBuilder = ((cz.proto.access.Ddl.DropStreamTable) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropStreamTable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropStreamTable) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 22; break; } case 186: { cz.proto.access.Ddl.DropIndex.Builder subBuilder = null; if (derivedCase_ == 23) { subBuilder = ((cz.proto.access.Ddl.DropIndex) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropIndex.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropIndex) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 23; break; } case 194: { cz.proto.access.Ddl.DropVolume.Builder subBuilder = null; if (derivedCase_ == 24) { subBuilder = ((cz.proto.access.Ddl.DropVolume) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.DropVolume.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropVolume) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 24; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropEntity.class, cz.proto.access.Ddl.DropEntity.Builder.class); } private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TABLE(10), VIEW(11), MV(12), SCHEMA(13), CATALOG(14), USER(15), ROLE(16), VIRTUAL_CLUSTER(17), SHARE(18), FUNCTION(19), CONNECTION(20), LOCATION(21), STREAM_TABLE(22), INDEX(23), VOLUME(24), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 10: return TABLE; case 11: return VIEW; case 12: return MV; case 13: return SCHEMA; case 14: return CATALOG; case 15: return USER; case 16: return ROLE; case 17: return VIRTUAL_CLUSTER; case 18: return SHARE; case 19: return FUNCTION; case 20: return CONNECTION; case 21: return LOCATION; case 22: return STREAM_TABLE; case 23: return INDEX; case 24: return VOLUME; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public static final int IDENTIFIER_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier identifier_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ @java.lang.Override public cz.proto.ObjectIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int IF_EXISTS_FIELD_NUMBER = 2; private boolean ifExists_; /** * bool if_exists = 2; * @return The ifExists. */ @java.lang.Override public boolean getIfExists() { return ifExists_; } public static final int DROP_TIME_MS_FIELD_NUMBER = 3; private long dropTimeMs_; /** * int64 drop_time_ms = 3; * @return The dropTimeMs. */ @java.lang.Override public long getDropTimeMs() { return dropTimeMs_; } public static final int TABLE_FIELD_NUMBER = 10; /** * .cz.proto.access.DropTable table = 10; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return derivedCase_ == 10; } /** * .cz.proto.access.DropTable table = 10; * @return The table. */ @java.lang.Override public cz.proto.access.Ddl.DropTable getTable() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.DropTable) derived_; } return cz.proto.access.Ddl.DropTable.getDefaultInstance(); } /** * .cz.proto.access.DropTable table = 10; */ @java.lang.Override public cz.proto.access.Ddl.DropTableOrBuilder getTableOrBuilder() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.DropTable) derived_; } return cz.proto.access.Ddl.DropTable.getDefaultInstance(); } public static final int VIEW_FIELD_NUMBER = 11; /** * .cz.proto.access.DropView view = 11; * @return Whether the view field is set. */ @java.lang.Override public boolean hasView() { return derivedCase_ == 11; } /** * .cz.proto.access.DropView view = 11; * @return The view. */ @java.lang.Override public cz.proto.access.Ddl.DropView getView() { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.DropView) derived_; } return cz.proto.access.Ddl.DropView.getDefaultInstance(); } /** * .cz.proto.access.DropView view = 11; */ @java.lang.Override public cz.proto.access.Ddl.DropViewOrBuilder getViewOrBuilder() { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.DropView) derived_; } return cz.proto.access.Ddl.DropView.getDefaultInstance(); } public static final int MV_FIELD_NUMBER = 12; /** * .cz.proto.access.DropMaterializedView mv = 12; * @return Whether the mv field is set. */ @java.lang.Override public boolean hasMv() { return derivedCase_ == 12; } /** * .cz.proto.access.DropMaterializedView mv = 12; * @return The mv. */ @java.lang.Override public cz.proto.access.Ddl.DropMaterializedView getMv() { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.DropMaterializedView) derived_; } return cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance(); } /** * .cz.proto.access.DropMaterializedView mv = 12; */ @java.lang.Override public cz.proto.access.Ddl.DropMaterializedViewOrBuilder getMvOrBuilder() { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.DropMaterializedView) derived_; } return cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance(); } public static final int SCHEMA_FIELD_NUMBER = 13; /** * .cz.proto.access.DropSchema schema = 13; * @return Whether the schema field is set. */ @java.lang.Override public boolean hasSchema() { return derivedCase_ == 13; } /** * .cz.proto.access.DropSchema schema = 13; * @return The schema. */ @java.lang.Override public cz.proto.access.Ddl.DropSchema getSchema() { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.DropSchema) derived_; } return cz.proto.access.Ddl.DropSchema.getDefaultInstance(); } /** * .cz.proto.access.DropSchema schema = 13; */ @java.lang.Override public cz.proto.access.Ddl.DropSchemaOrBuilder getSchemaOrBuilder() { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.DropSchema) derived_; } return cz.proto.access.Ddl.DropSchema.getDefaultInstance(); } public static final int CATALOG_FIELD_NUMBER = 14; /** * .cz.proto.access.DropCatalog catalog = 14; * @return Whether the catalog field is set. */ @java.lang.Override public boolean hasCatalog() { return derivedCase_ == 14; } /** * .cz.proto.access.DropCatalog catalog = 14; * @return The catalog. */ @java.lang.Override public cz.proto.access.Ddl.DropCatalog getCatalog() { if (derivedCase_ == 14) { return (cz.proto.access.Ddl.DropCatalog) derived_; } return cz.proto.access.Ddl.DropCatalog.getDefaultInstance(); } /** * .cz.proto.access.DropCatalog catalog = 14; */ @java.lang.Override public cz.proto.access.Ddl.DropCatalogOrBuilder getCatalogOrBuilder() { if (derivedCase_ == 14) { return (cz.proto.access.Ddl.DropCatalog) derived_; } return cz.proto.access.Ddl.DropCatalog.getDefaultInstance(); } public static final int USER_FIELD_NUMBER = 15; /** * .cz.proto.access.DropUser user = 15; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return derivedCase_ == 15; } /** * .cz.proto.access.DropUser user = 15; * @return The user. */ @java.lang.Override public cz.proto.access.Ddl.DropUser getUser() { if (derivedCase_ == 15) { return (cz.proto.access.Ddl.DropUser) derived_; } return cz.proto.access.Ddl.DropUser.getDefaultInstance(); } /** * .cz.proto.access.DropUser user = 15; */ @java.lang.Override public cz.proto.access.Ddl.DropUserOrBuilder getUserOrBuilder() { if (derivedCase_ == 15) { return (cz.proto.access.Ddl.DropUser) derived_; } return cz.proto.access.Ddl.DropUser.getDefaultInstance(); } public static final int ROLE_FIELD_NUMBER = 16; /** * .cz.proto.access.DropRole role = 16; * @return Whether the role field is set. */ @java.lang.Override public boolean hasRole() { return derivedCase_ == 16; } /** * .cz.proto.access.DropRole role = 16; * @return The role. */ @java.lang.Override public cz.proto.access.Ddl.DropRole getRole() { if (derivedCase_ == 16) { return (cz.proto.access.Ddl.DropRole) derived_; } return cz.proto.access.Ddl.DropRole.getDefaultInstance(); } /** * .cz.proto.access.DropRole role = 16; */ @java.lang.Override public cz.proto.access.Ddl.DropRoleOrBuilder getRoleOrBuilder() { if (derivedCase_ == 16) { return (cz.proto.access.Ddl.DropRole) derived_; } return cz.proto.access.Ddl.DropRole.getDefaultInstance(); } public static final int VIRTUAL_CLUSTER_FIELD_NUMBER = 17; /** * .cz.proto.access.DropVCluster virtual_cluster = 17; * @return Whether the virtualCluster field is set. */ @java.lang.Override public boolean hasVirtualCluster() { return derivedCase_ == 17; } /** * .cz.proto.access.DropVCluster virtual_cluster = 17; * @return The virtualCluster. */ @java.lang.Override public cz.proto.access.Ddl.DropVCluster getVirtualCluster() { if (derivedCase_ == 17) { return (cz.proto.access.Ddl.DropVCluster) derived_; } return cz.proto.access.Ddl.DropVCluster.getDefaultInstance(); } /** * .cz.proto.access.DropVCluster virtual_cluster = 17; */ @java.lang.Override public cz.proto.access.Ddl.DropVClusterOrBuilder getVirtualClusterOrBuilder() { if (derivedCase_ == 17) { return (cz.proto.access.Ddl.DropVCluster) derived_; } return cz.proto.access.Ddl.DropVCluster.getDefaultInstance(); } public static final int SHARE_FIELD_NUMBER = 18; /** * .cz.proto.access.DropShare share = 18; * @return Whether the share field is set. */ @java.lang.Override public boolean hasShare() { return derivedCase_ == 18; } /** * .cz.proto.access.DropShare share = 18; * @return The share. */ @java.lang.Override public cz.proto.access.Ddl.DropShare getShare() { if (derivedCase_ == 18) { return (cz.proto.access.Ddl.DropShare) derived_; } return cz.proto.access.Ddl.DropShare.getDefaultInstance(); } /** * .cz.proto.access.DropShare share = 18; */ @java.lang.Override public cz.proto.access.Ddl.DropShareOrBuilder getShareOrBuilder() { if (derivedCase_ == 18) { return (cz.proto.access.Ddl.DropShare) derived_; } return cz.proto.access.Ddl.DropShare.getDefaultInstance(); } public static final int FUNCTION_FIELD_NUMBER = 19; /** * .cz.proto.access.DropFunction function = 19; * @return Whether the function field is set. */ @java.lang.Override public boolean hasFunction() { return derivedCase_ == 19; } /** * .cz.proto.access.DropFunction function = 19; * @return The function. */ @java.lang.Override public cz.proto.access.Ddl.DropFunction getFunction() { if (derivedCase_ == 19) { return (cz.proto.access.Ddl.DropFunction) derived_; } return cz.proto.access.Ddl.DropFunction.getDefaultInstance(); } /** * .cz.proto.access.DropFunction function = 19; */ @java.lang.Override public cz.proto.access.Ddl.DropFunctionOrBuilder getFunctionOrBuilder() { if (derivedCase_ == 19) { return (cz.proto.access.Ddl.DropFunction) derived_; } return cz.proto.access.Ddl.DropFunction.getDefaultInstance(); } public static final int CONNECTION_FIELD_NUMBER = 20; /** * .cz.proto.access.DropConnection connection = 20; * @return Whether the connection field is set. */ @java.lang.Override public boolean hasConnection() { return derivedCase_ == 20; } /** * .cz.proto.access.DropConnection connection = 20; * @return The connection. */ @java.lang.Override public cz.proto.access.Ddl.DropConnection getConnection() { if (derivedCase_ == 20) { return (cz.proto.access.Ddl.DropConnection) derived_; } return cz.proto.access.Ddl.DropConnection.getDefaultInstance(); } /** * .cz.proto.access.DropConnection connection = 20; */ @java.lang.Override public cz.proto.access.Ddl.DropConnectionOrBuilder getConnectionOrBuilder() { if (derivedCase_ == 20) { return (cz.proto.access.Ddl.DropConnection) derived_; } return cz.proto.access.Ddl.DropConnection.getDefaultInstance(); } public static final int LOCATION_FIELD_NUMBER = 21; /** * .cz.proto.access.DropLocation location = 21; * @return Whether the location field is set. */ @java.lang.Override public boolean hasLocation() { return derivedCase_ == 21; } /** * .cz.proto.access.DropLocation location = 21; * @return The location. */ @java.lang.Override public cz.proto.access.Ddl.DropLocation getLocation() { if (derivedCase_ == 21) { return (cz.proto.access.Ddl.DropLocation) derived_; } return cz.proto.access.Ddl.DropLocation.getDefaultInstance(); } /** * .cz.proto.access.DropLocation location = 21; */ @java.lang.Override public cz.proto.access.Ddl.DropLocationOrBuilder getLocationOrBuilder() { if (derivedCase_ == 21) { return (cz.proto.access.Ddl.DropLocation) derived_; } return cz.proto.access.Ddl.DropLocation.getDefaultInstance(); } public static final int STREAM_TABLE_FIELD_NUMBER = 22; /** * .cz.proto.access.DropStreamTable stream_table = 22; * @return Whether the streamTable field is set. */ @java.lang.Override public boolean hasStreamTable() { return derivedCase_ == 22; } /** * .cz.proto.access.DropStreamTable stream_table = 22; * @return The streamTable. */ @java.lang.Override public cz.proto.access.Ddl.DropStreamTable getStreamTable() { if (derivedCase_ == 22) { return (cz.proto.access.Ddl.DropStreamTable) derived_; } return cz.proto.access.Ddl.DropStreamTable.getDefaultInstance(); } /** * .cz.proto.access.DropStreamTable stream_table = 22; */ @java.lang.Override public cz.proto.access.Ddl.DropStreamTableOrBuilder getStreamTableOrBuilder() { if (derivedCase_ == 22) { return (cz.proto.access.Ddl.DropStreamTable) derived_; } return cz.proto.access.Ddl.DropStreamTable.getDefaultInstance(); } public static final int INDEX_FIELD_NUMBER = 23; /** * .cz.proto.access.DropIndex index = 23; * @return Whether the index field is set. */ @java.lang.Override public boolean hasIndex() { return derivedCase_ == 23; } /** * .cz.proto.access.DropIndex index = 23; * @return The index. */ @java.lang.Override public cz.proto.access.Ddl.DropIndex getIndex() { if (derivedCase_ == 23) { return (cz.proto.access.Ddl.DropIndex) derived_; } return cz.proto.access.Ddl.DropIndex.getDefaultInstance(); } /** * .cz.proto.access.DropIndex index = 23; */ @java.lang.Override public cz.proto.access.Ddl.DropIndexOrBuilder getIndexOrBuilder() { if (derivedCase_ == 23) { return (cz.proto.access.Ddl.DropIndex) derived_; } return cz.proto.access.Ddl.DropIndex.getDefaultInstance(); } public static final int VOLUME_FIELD_NUMBER = 24; /** * .cz.proto.access.DropVolume volume = 24; * @return Whether the volume field is set. */ @java.lang.Override public boolean hasVolume() { return derivedCase_ == 24; } /** * .cz.proto.access.DropVolume volume = 24; * @return The volume. */ @java.lang.Override public cz.proto.access.Ddl.DropVolume getVolume() { if (derivedCase_ == 24) { return (cz.proto.access.Ddl.DropVolume) derived_; } return cz.proto.access.Ddl.DropVolume.getDefaultInstance(); } /** * .cz.proto.access.DropVolume volume = 24; */ @java.lang.Override public cz.proto.access.Ddl.DropVolumeOrBuilder getVolumeOrBuilder() { if (derivedCase_ == 24) { return (cz.proto.access.Ddl.DropVolume) derived_; } return cz.proto.access.Ddl.DropVolume.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (identifier_ != null) { output.writeMessage(1, getIdentifier()); } if (ifExists_ != false) { output.writeBool(2, ifExists_); } if (dropTimeMs_ != 0L) { output.writeInt64(3, dropTimeMs_); } if (derivedCase_ == 10) { output.writeMessage(10, (cz.proto.access.Ddl.DropTable) derived_); } if (derivedCase_ == 11) { output.writeMessage(11, (cz.proto.access.Ddl.DropView) derived_); } if (derivedCase_ == 12) { output.writeMessage(12, (cz.proto.access.Ddl.DropMaterializedView) derived_); } if (derivedCase_ == 13) { output.writeMessage(13, (cz.proto.access.Ddl.DropSchema) derived_); } if (derivedCase_ == 14) { output.writeMessage(14, (cz.proto.access.Ddl.DropCatalog) derived_); } if (derivedCase_ == 15) { output.writeMessage(15, (cz.proto.access.Ddl.DropUser) derived_); } if (derivedCase_ == 16) { output.writeMessage(16, (cz.proto.access.Ddl.DropRole) derived_); } if (derivedCase_ == 17) { output.writeMessage(17, (cz.proto.access.Ddl.DropVCluster) derived_); } if (derivedCase_ == 18) { output.writeMessage(18, (cz.proto.access.Ddl.DropShare) derived_); } if (derivedCase_ == 19) { output.writeMessage(19, (cz.proto.access.Ddl.DropFunction) derived_); } if (derivedCase_ == 20) { output.writeMessage(20, (cz.proto.access.Ddl.DropConnection) derived_); } if (derivedCase_ == 21) { output.writeMessage(21, (cz.proto.access.Ddl.DropLocation) derived_); } if (derivedCase_ == 22) { output.writeMessage(22, (cz.proto.access.Ddl.DropStreamTable) derived_); } if (derivedCase_ == 23) { output.writeMessage(23, (cz.proto.access.Ddl.DropIndex) derived_); } if (derivedCase_ == 24) { output.writeMessage(24, (cz.proto.access.Ddl.DropVolume) derived_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } if (ifExists_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, ifExists_); } if (dropTimeMs_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, dropTimeMs_); } if (derivedCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.Ddl.DropTable) derived_); } if (derivedCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (cz.proto.access.Ddl.DropView) derived_); } if (derivedCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (cz.proto.access.Ddl.DropMaterializedView) derived_); } if (derivedCase_ == 13) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, (cz.proto.access.Ddl.DropSchema) derived_); } if (derivedCase_ == 14) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, (cz.proto.access.Ddl.DropCatalog) derived_); } if (derivedCase_ == 15) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, (cz.proto.access.Ddl.DropUser) derived_); } if (derivedCase_ == 16) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, (cz.proto.access.Ddl.DropRole) derived_); } if (derivedCase_ == 17) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, (cz.proto.access.Ddl.DropVCluster) derived_); } if (derivedCase_ == 18) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, (cz.proto.access.Ddl.DropShare) derived_); } if (derivedCase_ == 19) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, (cz.proto.access.Ddl.DropFunction) derived_); } if (derivedCase_ == 20) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, (cz.proto.access.Ddl.DropConnection) derived_); } if (derivedCase_ == 21) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, (cz.proto.access.Ddl.DropLocation) derived_); } if (derivedCase_ == 22) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, (cz.proto.access.Ddl.DropStreamTable) derived_); } if (derivedCase_ == 23) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, (cz.proto.access.Ddl.DropIndex) derived_); } if (derivedCase_ == 24) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(24, (cz.proto.access.Ddl.DropVolume) derived_); } 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 cz.proto.access.Ddl.DropEntity)) { return super.equals(obj); } cz.proto.access.Ddl.DropEntity other = (cz.proto.access.Ddl.DropEntity) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (getIfExists() != other.getIfExists()) return false; if (getDropTimeMs() != other.getDropTimeMs()) return false; if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 10: if (!getTable() .equals(other.getTable())) return false; break; case 11: if (!getView() .equals(other.getView())) return false; break; case 12: if (!getMv() .equals(other.getMv())) return false; break; case 13: if (!getSchema() .equals(other.getSchema())) return false; break; case 14: if (!getCatalog() .equals(other.getCatalog())) return false; break; case 15: if (!getUser() .equals(other.getUser())) return false; break; case 16: if (!getRole() .equals(other.getRole())) return false; break; case 17: if (!getVirtualCluster() .equals(other.getVirtualCluster())) return false; break; case 18: if (!getShare() .equals(other.getShare())) return false; break; case 19: if (!getFunction() .equals(other.getFunction())) return false; break; case 20: if (!getConnection() .equals(other.getConnection())) return false; break; case 21: if (!getLocation() .equals(other.getLocation())) return false; break; case 22: if (!getStreamTable() .equals(other.getStreamTable())) return false; break; case 23: if (!getIndex() .equals(other.getIndex())) return false; break; case 24: if (!getVolume() .equals(other.getVolume())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } hash = (37 * hash) + IF_EXISTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIfExists()); hash = (37 * hash) + DROP_TIME_MS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDropTimeMs()); switch (derivedCase_) { case 10: hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); break; case 11: hash = (37 * hash) + VIEW_FIELD_NUMBER; hash = (53 * hash) + getView().hashCode(); break; case 12: hash = (37 * hash) + MV_FIELD_NUMBER; hash = (53 * hash) + getMv().hashCode(); break; case 13: hash = (37 * hash) + SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getSchema().hashCode(); break; case 14: hash = (37 * hash) + CATALOG_FIELD_NUMBER; hash = (53 * hash) + getCatalog().hashCode(); break; case 15: hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); break; case 16: hash = (37 * hash) + ROLE_FIELD_NUMBER; hash = (53 * hash) + getRole().hashCode(); break; case 17: hash = (37 * hash) + VIRTUAL_CLUSTER_FIELD_NUMBER; hash = (53 * hash) + getVirtualCluster().hashCode(); break; case 18: hash = (37 * hash) + SHARE_FIELD_NUMBER; hash = (53 * hash) + getShare().hashCode(); break; case 19: hash = (37 * hash) + FUNCTION_FIELD_NUMBER; hash = (53 * hash) + getFunction().hashCode(); break; case 20: hash = (37 * hash) + CONNECTION_FIELD_NUMBER; hash = (53 * hash) + getConnection().hashCode(); break; case 21: hash = (37 * hash) + LOCATION_FIELD_NUMBER; hash = (53 * hash) + getLocation().hashCode(); break; case 22: hash = (37 * hash) + STREAM_TABLE_FIELD_NUMBER; hash = (53 * hash) + getStreamTable().hashCode(); break; case 23: hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex().hashCode(); break; case 24: hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + getVolume().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropEntity parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropEntity parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropEntity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropEntity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropEntity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropEntity parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropEntity parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropEntity 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 cz.proto.access.Ddl.DropEntity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropEntity 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 cz.proto.access.Ddl.DropEntity parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropEntity 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(cz.proto.access.Ddl.DropEntity 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 cz.proto.access.DropEntity} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropEntity) cz.proto.access.Ddl.DropEntityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropEntity.class, cz.proto.access.Ddl.DropEntity.Builder.class); } // Construct using cz.proto.access.Ddl.DropEntity.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 (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } ifExists_ = false; dropTimeMs_ = 0L; derivedCase_ = 0; derived_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropEntity_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropEntity getDefaultInstanceForType() { return cz.proto.access.Ddl.DropEntity.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropEntity build() { cz.proto.access.Ddl.DropEntity result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropEntity buildPartial() { cz.proto.access.Ddl.DropEntity result = new cz.proto.access.Ddl.DropEntity(this); if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } result.ifExists_ = ifExists_; result.dropTimeMs_ = dropTimeMs_; if (derivedCase_ == 10) { if (tableBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = tableBuilder_.build(); } } if (derivedCase_ == 11) { if (viewBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = viewBuilder_.build(); } } if (derivedCase_ == 12) { if (mvBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = mvBuilder_.build(); } } if (derivedCase_ == 13) { if (schemaBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = schemaBuilder_.build(); } } if (derivedCase_ == 14) { if (catalogBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = catalogBuilder_.build(); } } if (derivedCase_ == 15) { if (userBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = userBuilder_.build(); } } if (derivedCase_ == 16) { if (roleBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = roleBuilder_.build(); } } if (derivedCase_ == 17) { if (virtualClusterBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = virtualClusterBuilder_.build(); } } if (derivedCase_ == 18) { if (shareBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = shareBuilder_.build(); } } if (derivedCase_ == 19) { if (functionBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = functionBuilder_.build(); } } if (derivedCase_ == 20) { if (connectionBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = connectionBuilder_.build(); } } if (derivedCase_ == 21) { if (locationBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = locationBuilder_.build(); } } if (derivedCase_ == 22) { if (streamTableBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = streamTableBuilder_.build(); } } if (derivedCase_ == 23) { if (indexBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = indexBuilder_.build(); } } if (derivedCase_ == 24) { if (volumeBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = volumeBuilder_.build(); } } result.derivedCase_ = derivedCase_; 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 cz.proto.access.Ddl.DropEntity) { return mergeFrom((cz.proto.access.Ddl.DropEntity)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropEntity other) { if (other == cz.proto.access.Ddl.DropEntity.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (other.getIfExists() != false) { setIfExists(other.getIfExists()); } if (other.getDropTimeMs() != 0L) { setDropTimeMs(other.getDropTimeMs()); } switch (other.getDerivedCase()) { case TABLE: { mergeTable(other.getTable()); break; } case VIEW: { mergeView(other.getView()); break; } case MV: { mergeMv(other.getMv()); break; } case SCHEMA: { mergeSchema(other.getSchema()); break; } case CATALOG: { mergeCatalog(other.getCatalog()); break; } case USER: { mergeUser(other.getUser()); break; } case ROLE: { mergeRole(other.getRole()); break; } case VIRTUAL_CLUSTER: { mergeVirtualCluster(other.getVirtualCluster()); break; } case SHARE: { mergeShare(other.getShare()); break; } case FUNCTION: { mergeFunction(other.getFunction()); break; } case CONNECTION: { mergeConnection(other.getConnection()); break; } case LOCATION: { mergeLocation(other.getLocation()); break; } case STREAM_TABLE: { mergeStreamTable(other.getStreamTable()); break; } case INDEX: { mergeIndex(other.getIndex()); break; } case VOLUME: { mergeVolume(other.getVolume()); break; } case DERIVED_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.DropEntity parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropEntity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } private cz.proto.ObjectIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ public cz.proto.ObjectIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private boolean ifExists_ ; /** * bool if_exists = 2; * @return The ifExists. */ @java.lang.Override public boolean getIfExists() { return ifExists_; } /** * bool if_exists = 2; * @param value The ifExists to set. * @return This builder for chaining. */ public Builder setIfExists(boolean value) { ifExists_ = value; onChanged(); return this; } /** * bool if_exists = 2; * @return This builder for chaining. */ public Builder clearIfExists() { ifExists_ = false; onChanged(); return this; } private long dropTimeMs_ ; /** * int64 drop_time_ms = 3; * @return The dropTimeMs. */ @java.lang.Override public long getDropTimeMs() { return dropTimeMs_; } /** * int64 drop_time_ms = 3; * @param value The dropTimeMs to set. * @return This builder for chaining. */ public Builder setDropTimeMs(long value) { dropTimeMs_ = value; onChanged(); return this; } /** * int64 drop_time_ms = 3; * @return This builder for chaining. */ public Builder clearDropTimeMs() { dropTimeMs_ = 0L; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropTable, cz.proto.access.Ddl.DropTable.Builder, cz.proto.access.Ddl.DropTableOrBuilder> tableBuilder_; /** * .cz.proto.access.DropTable table = 10; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return derivedCase_ == 10; } /** * .cz.proto.access.DropTable table = 10; * @return The table. */ @java.lang.Override public cz.proto.access.Ddl.DropTable getTable() { if (tableBuilder_ == null) { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.DropTable) derived_; } return cz.proto.access.Ddl.DropTable.getDefaultInstance(); } else { if (derivedCase_ == 10) { return tableBuilder_.getMessage(); } return cz.proto.access.Ddl.DropTable.getDefaultInstance(); } } /** * .cz.proto.access.DropTable table = 10; */ public Builder setTable(cz.proto.access.Ddl.DropTable value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { tableBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.DropTable table = 10; */ public Builder setTable( cz.proto.access.Ddl.DropTable.Builder builderForValue) { if (tableBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { tableBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 10; return this; } /** * .cz.proto.access.DropTable table = 10; */ public Builder mergeTable(cz.proto.access.Ddl.DropTable value) { if (tableBuilder_ == null) { if (derivedCase_ == 10 && derived_ != cz.proto.access.Ddl.DropTable.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropTable.newBuilder((cz.proto.access.Ddl.DropTable) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 10) { tableBuilder_.mergeFrom(value); } tableBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.DropTable table = 10; */ public Builder clearTable() { if (tableBuilder_ == null) { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; } tableBuilder_.clear(); } return this; } /** * .cz.proto.access.DropTable table = 10; */ public cz.proto.access.Ddl.DropTable.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropTable table = 10; */ @java.lang.Override public cz.proto.access.Ddl.DropTableOrBuilder getTableOrBuilder() { if ((derivedCase_ == 10) && (tableBuilder_ != null)) { return tableBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.DropTable) derived_; } return cz.proto.access.Ddl.DropTable.getDefaultInstance(); } } /** * .cz.proto.access.DropTable table = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropTable, cz.proto.access.Ddl.DropTable.Builder, cz.proto.access.Ddl.DropTableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { if (!(derivedCase_ == 10)) { derived_ = cz.proto.access.Ddl.DropTable.getDefaultInstance(); } tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropTable, cz.proto.access.Ddl.DropTable.Builder, cz.proto.access.Ddl.DropTableOrBuilder>( (cz.proto.access.Ddl.DropTable) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 10; onChanged();; return tableBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropView, cz.proto.access.Ddl.DropView.Builder, cz.proto.access.Ddl.DropViewOrBuilder> viewBuilder_; /** * .cz.proto.access.DropView view = 11; * @return Whether the view field is set. */ @java.lang.Override public boolean hasView() { return derivedCase_ == 11; } /** * .cz.proto.access.DropView view = 11; * @return The view. */ @java.lang.Override public cz.proto.access.Ddl.DropView getView() { if (viewBuilder_ == null) { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.DropView) derived_; } return cz.proto.access.Ddl.DropView.getDefaultInstance(); } else { if (derivedCase_ == 11) { return viewBuilder_.getMessage(); } return cz.proto.access.Ddl.DropView.getDefaultInstance(); } } /** * .cz.proto.access.DropView view = 11; */ public Builder setView(cz.proto.access.Ddl.DropView value) { if (viewBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { viewBuilder_.setMessage(value); } derivedCase_ = 11; return this; } /** * .cz.proto.access.DropView view = 11; */ public Builder setView( cz.proto.access.Ddl.DropView.Builder builderForValue) { if (viewBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { viewBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 11; return this; } /** * .cz.proto.access.DropView view = 11; */ public Builder mergeView(cz.proto.access.Ddl.DropView value) { if (viewBuilder_ == null) { if (derivedCase_ == 11 && derived_ != cz.proto.access.Ddl.DropView.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropView.newBuilder((cz.proto.access.Ddl.DropView) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 11) { viewBuilder_.mergeFrom(value); } viewBuilder_.setMessage(value); } derivedCase_ = 11; return this; } /** * .cz.proto.access.DropView view = 11; */ public Builder clearView() { if (viewBuilder_ == null) { if (derivedCase_ == 11) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 11) { derivedCase_ = 0; derived_ = null; } viewBuilder_.clear(); } return this; } /** * .cz.proto.access.DropView view = 11; */ public cz.proto.access.Ddl.DropView.Builder getViewBuilder() { return getViewFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropView view = 11; */ @java.lang.Override public cz.proto.access.Ddl.DropViewOrBuilder getViewOrBuilder() { if ((derivedCase_ == 11) && (viewBuilder_ != null)) { return viewBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.DropView) derived_; } return cz.proto.access.Ddl.DropView.getDefaultInstance(); } } /** * .cz.proto.access.DropView view = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropView, cz.proto.access.Ddl.DropView.Builder, cz.proto.access.Ddl.DropViewOrBuilder> getViewFieldBuilder() { if (viewBuilder_ == null) { if (!(derivedCase_ == 11)) { derived_ = cz.proto.access.Ddl.DropView.getDefaultInstance(); } viewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropView, cz.proto.access.Ddl.DropView.Builder, cz.proto.access.Ddl.DropViewOrBuilder>( (cz.proto.access.Ddl.DropView) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 11; onChanged();; return viewBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropMaterializedView, cz.proto.access.Ddl.DropMaterializedView.Builder, cz.proto.access.Ddl.DropMaterializedViewOrBuilder> mvBuilder_; /** * .cz.proto.access.DropMaterializedView mv = 12; * @return Whether the mv field is set. */ @java.lang.Override public boolean hasMv() { return derivedCase_ == 12; } /** * .cz.proto.access.DropMaterializedView mv = 12; * @return The mv. */ @java.lang.Override public cz.proto.access.Ddl.DropMaterializedView getMv() { if (mvBuilder_ == null) { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.DropMaterializedView) derived_; } return cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance(); } else { if (derivedCase_ == 12) { return mvBuilder_.getMessage(); } return cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance(); } } /** * .cz.proto.access.DropMaterializedView mv = 12; */ public Builder setMv(cz.proto.access.Ddl.DropMaterializedView value) { if (mvBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { mvBuilder_.setMessage(value); } derivedCase_ = 12; return this; } /** * .cz.proto.access.DropMaterializedView mv = 12; */ public Builder setMv( cz.proto.access.Ddl.DropMaterializedView.Builder builderForValue) { if (mvBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { mvBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 12; return this; } /** * .cz.proto.access.DropMaterializedView mv = 12; */ public Builder mergeMv(cz.proto.access.Ddl.DropMaterializedView value) { if (mvBuilder_ == null) { if (derivedCase_ == 12 && derived_ != cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropMaterializedView.newBuilder((cz.proto.access.Ddl.DropMaterializedView) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 12) { mvBuilder_.mergeFrom(value); } mvBuilder_.setMessage(value); } derivedCase_ = 12; return this; } /** * .cz.proto.access.DropMaterializedView mv = 12; */ public Builder clearMv() { if (mvBuilder_ == null) { if (derivedCase_ == 12) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 12) { derivedCase_ = 0; derived_ = null; } mvBuilder_.clear(); } return this; } /** * .cz.proto.access.DropMaterializedView mv = 12; */ public cz.proto.access.Ddl.DropMaterializedView.Builder getMvBuilder() { return getMvFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropMaterializedView mv = 12; */ @java.lang.Override public cz.proto.access.Ddl.DropMaterializedViewOrBuilder getMvOrBuilder() { if ((derivedCase_ == 12) && (mvBuilder_ != null)) { return mvBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.DropMaterializedView) derived_; } return cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance(); } } /** * .cz.proto.access.DropMaterializedView mv = 12; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropMaterializedView, cz.proto.access.Ddl.DropMaterializedView.Builder, cz.proto.access.Ddl.DropMaterializedViewOrBuilder> getMvFieldBuilder() { if (mvBuilder_ == null) { if (!(derivedCase_ == 12)) { derived_ = cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance(); } mvBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropMaterializedView, cz.proto.access.Ddl.DropMaterializedView.Builder, cz.proto.access.Ddl.DropMaterializedViewOrBuilder>( (cz.proto.access.Ddl.DropMaterializedView) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 12; onChanged();; return mvBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropSchema, cz.proto.access.Ddl.DropSchema.Builder, cz.proto.access.Ddl.DropSchemaOrBuilder> schemaBuilder_; /** * .cz.proto.access.DropSchema schema = 13; * @return Whether the schema field is set. */ @java.lang.Override public boolean hasSchema() { return derivedCase_ == 13; } /** * .cz.proto.access.DropSchema schema = 13; * @return The schema. */ @java.lang.Override public cz.proto.access.Ddl.DropSchema getSchema() { if (schemaBuilder_ == null) { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.DropSchema) derived_; } return cz.proto.access.Ddl.DropSchema.getDefaultInstance(); } else { if (derivedCase_ == 13) { return schemaBuilder_.getMessage(); } return cz.proto.access.Ddl.DropSchema.getDefaultInstance(); } } /** * .cz.proto.access.DropSchema schema = 13; */ public Builder setSchema(cz.proto.access.Ddl.DropSchema value) { if (schemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { schemaBuilder_.setMessage(value); } derivedCase_ = 13; return this; } /** * .cz.proto.access.DropSchema schema = 13; */ public Builder setSchema( cz.proto.access.Ddl.DropSchema.Builder builderForValue) { if (schemaBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { schemaBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 13; return this; } /** * .cz.proto.access.DropSchema schema = 13; */ public Builder mergeSchema(cz.proto.access.Ddl.DropSchema value) { if (schemaBuilder_ == null) { if (derivedCase_ == 13 && derived_ != cz.proto.access.Ddl.DropSchema.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropSchema.newBuilder((cz.proto.access.Ddl.DropSchema) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 13) { schemaBuilder_.mergeFrom(value); } schemaBuilder_.setMessage(value); } derivedCase_ = 13; return this; } /** * .cz.proto.access.DropSchema schema = 13; */ public Builder clearSchema() { if (schemaBuilder_ == null) { if (derivedCase_ == 13) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 13) { derivedCase_ = 0; derived_ = null; } schemaBuilder_.clear(); } return this; } /** * .cz.proto.access.DropSchema schema = 13; */ public cz.proto.access.Ddl.DropSchema.Builder getSchemaBuilder() { return getSchemaFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropSchema schema = 13; */ @java.lang.Override public cz.proto.access.Ddl.DropSchemaOrBuilder getSchemaOrBuilder() { if ((derivedCase_ == 13) && (schemaBuilder_ != null)) { return schemaBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.DropSchema) derived_; } return cz.proto.access.Ddl.DropSchema.getDefaultInstance(); } } /** * .cz.proto.access.DropSchema schema = 13; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropSchema, cz.proto.access.Ddl.DropSchema.Builder, cz.proto.access.Ddl.DropSchemaOrBuilder> getSchemaFieldBuilder() { if (schemaBuilder_ == null) { if (!(derivedCase_ == 13)) { derived_ = cz.proto.access.Ddl.DropSchema.getDefaultInstance(); } schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropSchema, cz.proto.access.Ddl.DropSchema.Builder, cz.proto.access.Ddl.DropSchemaOrBuilder>( (cz.proto.access.Ddl.DropSchema) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 13; onChanged();; return schemaBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropCatalog, cz.proto.access.Ddl.DropCatalog.Builder, cz.proto.access.Ddl.DropCatalogOrBuilder> catalogBuilder_; /** * .cz.proto.access.DropCatalog catalog = 14; * @return Whether the catalog field is set. */ @java.lang.Override public boolean hasCatalog() { return derivedCase_ == 14; } /** * .cz.proto.access.DropCatalog catalog = 14; * @return The catalog. */ @java.lang.Override public cz.proto.access.Ddl.DropCatalog getCatalog() { if (catalogBuilder_ == null) { if (derivedCase_ == 14) { return (cz.proto.access.Ddl.DropCatalog) derived_; } return cz.proto.access.Ddl.DropCatalog.getDefaultInstance(); } else { if (derivedCase_ == 14) { return catalogBuilder_.getMessage(); } return cz.proto.access.Ddl.DropCatalog.getDefaultInstance(); } } /** * .cz.proto.access.DropCatalog catalog = 14; */ public Builder setCatalog(cz.proto.access.Ddl.DropCatalog value) { if (catalogBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { catalogBuilder_.setMessage(value); } derivedCase_ = 14; return this; } /** * .cz.proto.access.DropCatalog catalog = 14; */ public Builder setCatalog( cz.proto.access.Ddl.DropCatalog.Builder builderForValue) { if (catalogBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { catalogBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 14; return this; } /** * .cz.proto.access.DropCatalog catalog = 14; */ public Builder mergeCatalog(cz.proto.access.Ddl.DropCatalog value) { if (catalogBuilder_ == null) { if (derivedCase_ == 14 && derived_ != cz.proto.access.Ddl.DropCatalog.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropCatalog.newBuilder((cz.proto.access.Ddl.DropCatalog) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 14) { catalogBuilder_.mergeFrom(value); } catalogBuilder_.setMessage(value); } derivedCase_ = 14; return this; } /** * .cz.proto.access.DropCatalog catalog = 14; */ public Builder clearCatalog() { if (catalogBuilder_ == null) { if (derivedCase_ == 14) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 14) { derivedCase_ = 0; derived_ = null; } catalogBuilder_.clear(); } return this; } /** * .cz.proto.access.DropCatalog catalog = 14; */ public cz.proto.access.Ddl.DropCatalog.Builder getCatalogBuilder() { return getCatalogFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropCatalog catalog = 14; */ @java.lang.Override public cz.proto.access.Ddl.DropCatalogOrBuilder getCatalogOrBuilder() { if ((derivedCase_ == 14) && (catalogBuilder_ != null)) { return catalogBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 14) { return (cz.proto.access.Ddl.DropCatalog) derived_; } return cz.proto.access.Ddl.DropCatalog.getDefaultInstance(); } } /** * .cz.proto.access.DropCatalog catalog = 14; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropCatalog, cz.proto.access.Ddl.DropCatalog.Builder, cz.proto.access.Ddl.DropCatalogOrBuilder> getCatalogFieldBuilder() { if (catalogBuilder_ == null) { if (!(derivedCase_ == 14)) { derived_ = cz.proto.access.Ddl.DropCatalog.getDefaultInstance(); } catalogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropCatalog, cz.proto.access.Ddl.DropCatalog.Builder, cz.proto.access.Ddl.DropCatalogOrBuilder>( (cz.proto.access.Ddl.DropCatalog) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 14; onChanged();; return catalogBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropUser, cz.proto.access.Ddl.DropUser.Builder, cz.proto.access.Ddl.DropUserOrBuilder> userBuilder_; /** * .cz.proto.access.DropUser user = 15; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return derivedCase_ == 15; } /** * .cz.proto.access.DropUser user = 15; * @return The user. */ @java.lang.Override public cz.proto.access.Ddl.DropUser getUser() { if (userBuilder_ == null) { if (derivedCase_ == 15) { return (cz.proto.access.Ddl.DropUser) derived_; } return cz.proto.access.Ddl.DropUser.getDefaultInstance(); } else { if (derivedCase_ == 15) { return userBuilder_.getMessage(); } return cz.proto.access.Ddl.DropUser.getDefaultInstance(); } } /** * .cz.proto.access.DropUser user = 15; */ public Builder setUser(cz.proto.access.Ddl.DropUser value) { if (userBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { userBuilder_.setMessage(value); } derivedCase_ = 15; return this; } /** * .cz.proto.access.DropUser user = 15; */ public Builder setUser( cz.proto.access.Ddl.DropUser.Builder builderForValue) { if (userBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { userBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 15; return this; } /** * .cz.proto.access.DropUser user = 15; */ public Builder mergeUser(cz.proto.access.Ddl.DropUser value) { if (userBuilder_ == null) { if (derivedCase_ == 15 && derived_ != cz.proto.access.Ddl.DropUser.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropUser.newBuilder((cz.proto.access.Ddl.DropUser) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 15) { userBuilder_.mergeFrom(value); } userBuilder_.setMessage(value); } derivedCase_ = 15; return this; } /** * .cz.proto.access.DropUser user = 15; */ public Builder clearUser() { if (userBuilder_ == null) { if (derivedCase_ == 15) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 15) { derivedCase_ = 0; derived_ = null; } userBuilder_.clear(); } return this; } /** * .cz.proto.access.DropUser user = 15; */ public cz.proto.access.Ddl.DropUser.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropUser user = 15; */ @java.lang.Override public cz.proto.access.Ddl.DropUserOrBuilder getUserOrBuilder() { if ((derivedCase_ == 15) && (userBuilder_ != null)) { return userBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 15) { return (cz.proto.access.Ddl.DropUser) derived_; } return cz.proto.access.Ddl.DropUser.getDefaultInstance(); } } /** * .cz.proto.access.DropUser user = 15; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropUser, cz.proto.access.Ddl.DropUser.Builder, cz.proto.access.Ddl.DropUserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { if (!(derivedCase_ == 15)) { derived_ = cz.proto.access.Ddl.DropUser.getDefaultInstance(); } userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropUser, cz.proto.access.Ddl.DropUser.Builder, cz.proto.access.Ddl.DropUserOrBuilder>( (cz.proto.access.Ddl.DropUser) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 15; onChanged();; return userBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropRole, cz.proto.access.Ddl.DropRole.Builder, cz.proto.access.Ddl.DropRoleOrBuilder> roleBuilder_; /** * .cz.proto.access.DropRole role = 16; * @return Whether the role field is set. */ @java.lang.Override public boolean hasRole() { return derivedCase_ == 16; } /** * .cz.proto.access.DropRole role = 16; * @return The role. */ @java.lang.Override public cz.proto.access.Ddl.DropRole getRole() { if (roleBuilder_ == null) { if (derivedCase_ == 16) { return (cz.proto.access.Ddl.DropRole) derived_; } return cz.proto.access.Ddl.DropRole.getDefaultInstance(); } else { if (derivedCase_ == 16) { return roleBuilder_.getMessage(); } return cz.proto.access.Ddl.DropRole.getDefaultInstance(); } } /** * .cz.proto.access.DropRole role = 16; */ public Builder setRole(cz.proto.access.Ddl.DropRole value) { if (roleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { roleBuilder_.setMessage(value); } derivedCase_ = 16; return this; } /** * .cz.proto.access.DropRole role = 16; */ public Builder setRole( cz.proto.access.Ddl.DropRole.Builder builderForValue) { if (roleBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { roleBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 16; return this; } /** * .cz.proto.access.DropRole role = 16; */ public Builder mergeRole(cz.proto.access.Ddl.DropRole value) { if (roleBuilder_ == null) { if (derivedCase_ == 16 && derived_ != cz.proto.access.Ddl.DropRole.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropRole.newBuilder((cz.proto.access.Ddl.DropRole) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 16) { roleBuilder_.mergeFrom(value); } roleBuilder_.setMessage(value); } derivedCase_ = 16; return this; } /** * .cz.proto.access.DropRole role = 16; */ public Builder clearRole() { if (roleBuilder_ == null) { if (derivedCase_ == 16) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 16) { derivedCase_ = 0; derived_ = null; } roleBuilder_.clear(); } return this; } /** * .cz.proto.access.DropRole role = 16; */ public cz.proto.access.Ddl.DropRole.Builder getRoleBuilder() { return getRoleFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropRole role = 16; */ @java.lang.Override public cz.proto.access.Ddl.DropRoleOrBuilder getRoleOrBuilder() { if ((derivedCase_ == 16) && (roleBuilder_ != null)) { return roleBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 16) { return (cz.proto.access.Ddl.DropRole) derived_; } return cz.proto.access.Ddl.DropRole.getDefaultInstance(); } } /** * .cz.proto.access.DropRole role = 16; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropRole, cz.proto.access.Ddl.DropRole.Builder, cz.proto.access.Ddl.DropRoleOrBuilder> getRoleFieldBuilder() { if (roleBuilder_ == null) { if (!(derivedCase_ == 16)) { derived_ = cz.proto.access.Ddl.DropRole.getDefaultInstance(); } roleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropRole, cz.proto.access.Ddl.DropRole.Builder, cz.proto.access.Ddl.DropRoleOrBuilder>( (cz.proto.access.Ddl.DropRole) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 16; onChanged();; return roleBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropVCluster, cz.proto.access.Ddl.DropVCluster.Builder, cz.proto.access.Ddl.DropVClusterOrBuilder> virtualClusterBuilder_; /** * .cz.proto.access.DropVCluster virtual_cluster = 17; * @return Whether the virtualCluster field is set. */ @java.lang.Override public boolean hasVirtualCluster() { return derivedCase_ == 17; } /** * .cz.proto.access.DropVCluster virtual_cluster = 17; * @return The virtualCluster. */ @java.lang.Override public cz.proto.access.Ddl.DropVCluster getVirtualCluster() { if (virtualClusterBuilder_ == null) { if (derivedCase_ == 17) { return (cz.proto.access.Ddl.DropVCluster) derived_; } return cz.proto.access.Ddl.DropVCluster.getDefaultInstance(); } else { if (derivedCase_ == 17) { return virtualClusterBuilder_.getMessage(); } return cz.proto.access.Ddl.DropVCluster.getDefaultInstance(); } } /** * .cz.proto.access.DropVCluster virtual_cluster = 17; */ public Builder setVirtualCluster(cz.proto.access.Ddl.DropVCluster value) { if (virtualClusterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { virtualClusterBuilder_.setMessage(value); } derivedCase_ = 17; return this; } /** * .cz.proto.access.DropVCluster virtual_cluster = 17; */ public Builder setVirtualCluster( cz.proto.access.Ddl.DropVCluster.Builder builderForValue) { if (virtualClusterBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { virtualClusterBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 17; return this; } /** * .cz.proto.access.DropVCluster virtual_cluster = 17; */ public Builder mergeVirtualCluster(cz.proto.access.Ddl.DropVCluster value) { if (virtualClusterBuilder_ == null) { if (derivedCase_ == 17 && derived_ != cz.proto.access.Ddl.DropVCluster.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropVCluster.newBuilder((cz.proto.access.Ddl.DropVCluster) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 17) { virtualClusterBuilder_.mergeFrom(value); } virtualClusterBuilder_.setMessage(value); } derivedCase_ = 17; return this; } /** * .cz.proto.access.DropVCluster virtual_cluster = 17; */ public Builder clearVirtualCluster() { if (virtualClusterBuilder_ == null) { if (derivedCase_ == 17) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 17) { derivedCase_ = 0; derived_ = null; } virtualClusterBuilder_.clear(); } return this; } /** * .cz.proto.access.DropVCluster virtual_cluster = 17; */ public cz.proto.access.Ddl.DropVCluster.Builder getVirtualClusterBuilder() { return getVirtualClusterFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropVCluster virtual_cluster = 17; */ @java.lang.Override public cz.proto.access.Ddl.DropVClusterOrBuilder getVirtualClusterOrBuilder() { if ((derivedCase_ == 17) && (virtualClusterBuilder_ != null)) { return virtualClusterBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 17) { return (cz.proto.access.Ddl.DropVCluster) derived_; } return cz.proto.access.Ddl.DropVCluster.getDefaultInstance(); } } /** * .cz.proto.access.DropVCluster virtual_cluster = 17; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropVCluster, cz.proto.access.Ddl.DropVCluster.Builder, cz.proto.access.Ddl.DropVClusterOrBuilder> getVirtualClusterFieldBuilder() { if (virtualClusterBuilder_ == null) { if (!(derivedCase_ == 17)) { derived_ = cz.proto.access.Ddl.DropVCluster.getDefaultInstance(); } virtualClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropVCluster, cz.proto.access.Ddl.DropVCluster.Builder, cz.proto.access.Ddl.DropVClusterOrBuilder>( (cz.proto.access.Ddl.DropVCluster) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 17; onChanged();; return virtualClusterBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropShare, cz.proto.access.Ddl.DropShare.Builder, cz.proto.access.Ddl.DropShareOrBuilder> shareBuilder_; /** * .cz.proto.access.DropShare share = 18; * @return Whether the share field is set. */ @java.lang.Override public boolean hasShare() { return derivedCase_ == 18; } /** * .cz.proto.access.DropShare share = 18; * @return The share. */ @java.lang.Override public cz.proto.access.Ddl.DropShare getShare() { if (shareBuilder_ == null) { if (derivedCase_ == 18) { return (cz.proto.access.Ddl.DropShare) derived_; } return cz.proto.access.Ddl.DropShare.getDefaultInstance(); } else { if (derivedCase_ == 18) { return shareBuilder_.getMessage(); } return cz.proto.access.Ddl.DropShare.getDefaultInstance(); } } /** * .cz.proto.access.DropShare share = 18; */ public Builder setShare(cz.proto.access.Ddl.DropShare value) { if (shareBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { shareBuilder_.setMessage(value); } derivedCase_ = 18; return this; } /** * .cz.proto.access.DropShare share = 18; */ public Builder setShare( cz.proto.access.Ddl.DropShare.Builder builderForValue) { if (shareBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { shareBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 18; return this; } /** * .cz.proto.access.DropShare share = 18; */ public Builder mergeShare(cz.proto.access.Ddl.DropShare value) { if (shareBuilder_ == null) { if (derivedCase_ == 18 && derived_ != cz.proto.access.Ddl.DropShare.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropShare.newBuilder((cz.proto.access.Ddl.DropShare) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 18) { shareBuilder_.mergeFrom(value); } shareBuilder_.setMessage(value); } derivedCase_ = 18; return this; } /** * .cz.proto.access.DropShare share = 18; */ public Builder clearShare() { if (shareBuilder_ == null) { if (derivedCase_ == 18) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 18) { derivedCase_ = 0; derived_ = null; } shareBuilder_.clear(); } return this; } /** * .cz.proto.access.DropShare share = 18; */ public cz.proto.access.Ddl.DropShare.Builder getShareBuilder() { return getShareFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropShare share = 18; */ @java.lang.Override public cz.proto.access.Ddl.DropShareOrBuilder getShareOrBuilder() { if ((derivedCase_ == 18) && (shareBuilder_ != null)) { return shareBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 18) { return (cz.proto.access.Ddl.DropShare) derived_; } return cz.proto.access.Ddl.DropShare.getDefaultInstance(); } } /** * .cz.proto.access.DropShare share = 18; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropShare, cz.proto.access.Ddl.DropShare.Builder, cz.proto.access.Ddl.DropShareOrBuilder> getShareFieldBuilder() { if (shareBuilder_ == null) { if (!(derivedCase_ == 18)) { derived_ = cz.proto.access.Ddl.DropShare.getDefaultInstance(); } shareBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropShare, cz.proto.access.Ddl.DropShare.Builder, cz.proto.access.Ddl.DropShareOrBuilder>( (cz.proto.access.Ddl.DropShare) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 18; onChanged();; return shareBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropFunction, cz.proto.access.Ddl.DropFunction.Builder, cz.proto.access.Ddl.DropFunctionOrBuilder> functionBuilder_; /** * .cz.proto.access.DropFunction function = 19; * @return Whether the function field is set. */ @java.lang.Override public boolean hasFunction() { return derivedCase_ == 19; } /** * .cz.proto.access.DropFunction function = 19; * @return The function. */ @java.lang.Override public cz.proto.access.Ddl.DropFunction getFunction() { if (functionBuilder_ == null) { if (derivedCase_ == 19) { return (cz.proto.access.Ddl.DropFunction) derived_; } return cz.proto.access.Ddl.DropFunction.getDefaultInstance(); } else { if (derivedCase_ == 19) { return functionBuilder_.getMessage(); } return cz.proto.access.Ddl.DropFunction.getDefaultInstance(); } } /** * .cz.proto.access.DropFunction function = 19; */ public Builder setFunction(cz.proto.access.Ddl.DropFunction value) { if (functionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { functionBuilder_.setMessage(value); } derivedCase_ = 19; return this; } /** * .cz.proto.access.DropFunction function = 19; */ public Builder setFunction( cz.proto.access.Ddl.DropFunction.Builder builderForValue) { if (functionBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { functionBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 19; return this; } /** * .cz.proto.access.DropFunction function = 19; */ public Builder mergeFunction(cz.proto.access.Ddl.DropFunction value) { if (functionBuilder_ == null) { if (derivedCase_ == 19 && derived_ != cz.proto.access.Ddl.DropFunction.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropFunction.newBuilder((cz.proto.access.Ddl.DropFunction) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 19) { functionBuilder_.mergeFrom(value); } functionBuilder_.setMessage(value); } derivedCase_ = 19; return this; } /** * .cz.proto.access.DropFunction function = 19; */ public Builder clearFunction() { if (functionBuilder_ == null) { if (derivedCase_ == 19) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 19) { derivedCase_ = 0; derived_ = null; } functionBuilder_.clear(); } return this; } /** * .cz.proto.access.DropFunction function = 19; */ public cz.proto.access.Ddl.DropFunction.Builder getFunctionBuilder() { return getFunctionFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropFunction function = 19; */ @java.lang.Override public cz.proto.access.Ddl.DropFunctionOrBuilder getFunctionOrBuilder() { if ((derivedCase_ == 19) && (functionBuilder_ != null)) { return functionBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 19) { return (cz.proto.access.Ddl.DropFunction) derived_; } return cz.proto.access.Ddl.DropFunction.getDefaultInstance(); } } /** * .cz.proto.access.DropFunction function = 19; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropFunction, cz.proto.access.Ddl.DropFunction.Builder, cz.proto.access.Ddl.DropFunctionOrBuilder> getFunctionFieldBuilder() { if (functionBuilder_ == null) { if (!(derivedCase_ == 19)) { derived_ = cz.proto.access.Ddl.DropFunction.getDefaultInstance(); } functionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropFunction, cz.proto.access.Ddl.DropFunction.Builder, cz.proto.access.Ddl.DropFunctionOrBuilder>( (cz.proto.access.Ddl.DropFunction) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 19; onChanged();; return functionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropConnection, cz.proto.access.Ddl.DropConnection.Builder, cz.proto.access.Ddl.DropConnectionOrBuilder> connectionBuilder_; /** * .cz.proto.access.DropConnection connection = 20; * @return Whether the connection field is set. */ @java.lang.Override public boolean hasConnection() { return derivedCase_ == 20; } /** * .cz.proto.access.DropConnection connection = 20; * @return The connection. */ @java.lang.Override public cz.proto.access.Ddl.DropConnection getConnection() { if (connectionBuilder_ == null) { if (derivedCase_ == 20) { return (cz.proto.access.Ddl.DropConnection) derived_; } return cz.proto.access.Ddl.DropConnection.getDefaultInstance(); } else { if (derivedCase_ == 20) { return connectionBuilder_.getMessage(); } return cz.proto.access.Ddl.DropConnection.getDefaultInstance(); } } /** * .cz.proto.access.DropConnection connection = 20; */ public Builder setConnection(cz.proto.access.Ddl.DropConnection value) { if (connectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { connectionBuilder_.setMessage(value); } derivedCase_ = 20; return this; } /** * .cz.proto.access.DropConnection connection = 20; */ public Builder setConnection( cz.proto.access.Ddl.DropConnection.Builder builderForValue) { if (connectionBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { connectionBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 20; return this; } /** * .cz.proto.access.DropConnection connection = 20; */ public Builder mergeConnection(cz.proto.access.Ddl.DropConnection value) { if (connectionBuilder_ == null) { if (derivedCase_ == 20 && derived_ != cz.proto.access.Ddl.DropConnection.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropConnection.newBuilder((cz.proto.access.Ddl.DropConnection) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 20) { connectionBuilder_.mergeFrom(value); } connectionBuilder_.setMessage(value); } derivedCase_ = 20; return this; } /** * .cz.proto.access.DropConnection connection = 20; */ public Builder clearConnection() { if (connectionBuilder_ == null) { if (derivedCase_ == 20) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 20) { derivedCase_ = 0; derived_ = null; } connectionBuilder_.clear(); } return this; } /** * .cz.proto.access.DropConnection connection = 20; */ public cz.proto.access.Ddl.DropConnection.Builder getConnectionBuilder() { return getConnectionFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropConnection connection = 20; */ @java.lang.Override public cz.proto.access.Ddl.DropConnectionOrBuilder getConnectionOrBuilder() { if ((derivedCase_ == 20) && (connectionBuilder_ != null)) { return connectionBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 20) { return (cz.proto.access.Ddl.DropConnection) derived_; } return cz.proto.access.Ddl.DropConnection.getDefaultInstance(); } } /** * .cz.proto.access.DropConnection connection = 20; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropConnection, cz.proto.access.Ddl.DropConnection.Builder, cz.proto.access.Ddl.DropConnectionOrBuilder> getConnectionFieldBuilder() { if (connectionBuilder_ == null) { if (!(derivedCase_ == 20)) { derived_ = cz.proto.access.Ddl.DropConnection.getDefaultInstance(); } connectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropConnection, cz.proto.access.Ddl.DropConnection.Builder, cz.proto.access.Ddl.DropConnectionOrBuilder>( (cz.proto.access.Ddl.DropConnection) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 20; onChanged();; return connectionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropLocation, cz.proto.access.Ddl.DropLocation.Builder, cz.proto.access.Ddl.DropLocationOrBuilder> locationBuilder_; /** * .cz.proto.access.DropLocation location = 21; * @return Whether the location field is set. */ @java.lang.Override public boolean hasLocation() { return derivedCase_ == 21; } /** * .cz.proto.access.DropLocation location = 21; * @return The location. */ @java.lang.Override public cz.proto.access.Ddl.DropLocation getLocation() { if (locationBuilder_ == null) { if (derivedCase_ == 21) { return (cz.proto.access.Ddl.DropLocation) derived_; } return cz.proto.access.Ddl.DropLocation.getDefaultInstance(); } else { if (derivedCase_ == 21) { return locationBuilder_.getMessage(); } return cz.proto.access.Ddl.DropLocation.getDefaultInstance(); } } /** * .cz.proto.access.DropLocation location = 21; */ public Builder setLocation(cz.proto.access.Ddl.DropLocation value) { if (locationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { locationBuilder_.setMessage(value); } derivedCase_ = 21; return this; } /** * .cz.proto.access.DropLocation location = 21; */ public Builder setLocation( cz.proto.access.Ddl.DropLocation.Builder builderForValue) { if (locationBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { locationBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 21; return this; } /** * .cz.proto.access.DropLocation location = 21; */ public Builder mergeLocation(cz.proto.access.Ddl.DropLocation value) { if (locationBuilder_ == null) { if (derivedCase_ == 21 && derived_ != cz.proto.access.Ddl.DropLocation.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropLocation.newBuilder((cz.proto.access.Ddl.DropLocation) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 21) { locationBuilder_.mergeFrom(value); } locationBuilder_.setMessage(value); } derivedCase_ = 21; return this; } /** * .cz.proto.access.DropLocation location = 21; */ public Builder clearLocation() { if (locationBuilder_ == null) { if (derivedCase_ == 21) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 21) { derivedCase_ = 0; derived_ = null; } locationBuilder_.clear(); } return this; } /** * .cz.proto.access.DropLocation location = 21; */ public cz.proto.access.Ddl.DropLocation.Builder getLocationBuilder() { return getLocationFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropLocation location = 21; */ @java.lang.Override public cz.proto.access.Ddl.DropLocationOrBuilder getLocationOrBuilder() { if ((derivedCase_ == 21) && (locationBuilder_ != null)) { return locationBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 21) { return (cz.proto.access.Ddl.DropLocation) derived_; } return cz.proto.access.Ddl.DropLocation.getDefaultInstance(); } } /** * .cz.proto.access.DropLocation location = 21; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropLocation, cz.proto.access.Ddl.DropLocation.Builder, cz.proto.access.Ddl.DropLocationOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { if (!(derivedCase_ == 21)) { derived_ = cz.proto.access.Ddl.DropLocation.getDefaultInstance(); } locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropLocation, cz.proto.access.Ddl.DropLocation.Builder, cz.proto.access.Ddl.DropLocationOrBuilder>( (cz.proto.access.Ddl.DropLocation) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 21; onChanged();; return locationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropStreamTable, cz.proto.access.Ddl.DropStreamTable.Builder, cz.proto.access.Ddl.DropStreamTableOrBuilder> streamTableBuilder_; /** * .cz.proto.access.DropStreamTable stream_table = 22; * @return Whether the streamTable field is set. */ @java.lang.Override public boolean hasStreamTable() { return derivedCase_ == 22; } /** * .cz.proto.access.DropStreamTable stream_table = 22; * @return The streamTable. */ @java.lang.Override public cz.proto.access.Ddl.DropStreamTable getStreamTable() { if (streamTableBuilder_ == null) { if (derivedCase_ == 22) { return (cz.proto.access.Ddl.DropStreamTable) derived_; } return cz.proto.access.Ddl.DropStreamTable.getDefaultInstance(); } else { if (derivedCase_ == 22) { return streamTableBuilder_.getMessage(); } return cz.proto.access.Ddl.DropStreamTable.getDefaultInstance(); } } /** * .cz.proto.access.DropStreamTable stream_table = 22; */ public Builder setStreamTable(cz.proto.access.Ddl.DropStreamTable value) { if (streamTableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { streamTableBuilder_.setMessage(value); } derivedCase_ = 22; return this; } /** * .cz.proto.access.DropStreamTable stream_table = 22; */ public Builder setStreamTable( cz.proto.access.Ddl.DropStreamTable.Builder builderForValue) { if (streamTableBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { streamTableBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 22; return this; } /** * .cz.proto.access.DropStreamTable stream_table = 22; */ public Builder mergeStreamTable(cz.proto.access.Ddl.DropStreamTable value) { if (streamTableBuilder_ == null) { if (derivedCase_ == 22 && derived_ != cz.proto.access.Ddl.DropStreamTable.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropStreamTable.newBuilder((cz.proto.access.Ddl.DropStreamTable) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 22) { streamTableBuilder_.mergeFrom(value); } streamTableBuilder_.setMessage(value); } derivedCase_ = 22; return this; } /** * .cz.proto.access.DropStreamTable stream_table = 22; */ public Builder clearStreamTable() { if (streamTableBuilder_ == null) { if (derivedCase_ == 22) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 22) { derivedCase_ = 0; derived_ = null; } streamTableBuilder_.clear(); } return this; } /** * .cz.proto.access.DropStreamTable stream_table = 22; */ public cz.proto.access.Ddl.DropStreamTable.Builder getStreamTableBuilder() { return getStreamTableFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropStreamTable stream_table = 22; */ @java.lang.Override public cz.proto.access.Ddl.DropStreamTableOrBuilder getStreamTableOrBuilder() { if ((derivedCase_ == 22) && (streamTableBuilder_ != null)) { return streamTableBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 22) { return (cz.proto.access.Ddl.DropStreamTable) derived_; } return cz.proto.access.Ddl.DropStreamTable.getDefaultInstance(); } } /** * .cz.proto.access.DropStreamTable stream_table = 22; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropStreamTable, cz.proto.access.Ddl.DropStreamTable.Builder, cz.proto.access.Ddl.DropStreamTableOrBuilder> getStreamTableFieldBuilder() { if (streamTableBuilder_ == null) { if (!(derivedCase_ == 22)) { derived_ = cz.proto.access.Ddl.DropStreamTable.getDefaultInstance(); } streamTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropStreamTable, cz.proto.access.Ddl.DropStreamTable.Builder, cz.proto.access.Ddl.DropStreamTableOrBuilder>( (cz.proto.access.Ddl.DropStreamTable) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 22; onChanged();; return streamTableBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropIndex, cz.proto.access.Ddl.DropIndex.Builder, cz.proto.access.Ddl.DropIndexOrBuilder> indexBuilder_; /** * .cz.proto.access.DropIndex index = 23; * @return Whether the index field is set. */ @java.lang.Override public boolean hasIndex() { return derivedCase_ == 23; } /** * .cz.proto.access.DropIndex index = 23; * @return The index. */ @java.lang.Override public cz.proto.access.Ddl.DropIndex getIndex() { if (indexBuilder_ == null) { if (derivedCase_ == 23) { return (cz.proto.access.Ddl.DropIndex) derived_; } return cz.proto.access.Ddl.DropIndex.getDefaultInstance(); } else { if (derivedCase_ == 23) { return indexBuilder_.getMessage(); } return cz.proto.access.Ddl.DropIndex.getDefaultInstance(); } } /** * .cz.proto.access.DropIndex index = 23; */ public Builder setIndex(cz.proto.access.Ddl.DropIndex value) { if (indexBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { indexBuilder_.setMessage(value); } derivedCase_ = 23; return this; } /** * .cz.proto.access.DropIndex index = 23; */ public Builder setIndex( cz.proto.access.Ddl.DropIndex.Builder builderForValue) { if (indexBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { indexBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 23; return this; } /** * .cz.proto.access.DropIndex index = 23; */ public Builder mergeIndex(cz.proto.access.Ddl.DropIndex value) { if (indexBuilder_ == null) { if (derivedCase_ == 23 && derived_ != cz.proto.access.Ddl.DropIndex.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropIndex.newBuilder((cz.proto.access.Ddl.DropIndex) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 23) { indexBuilder_.mergeFrom(value); } indexBuilder_.setMessage(value); } derivedCase_ = 23; return this; } /** * .cz.proto.access.DropIndex index = 23; */ public Builder clearIndex() { if (indexBuilder_ == null) { if (derivedCase_ == 23) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 23) { derivedCase_ = 0; derived_ = null; } indexBuilder_.clear(); } return this; } /** * .cz.proto.access.DropIndex index = 23; */ public cz.proto.access.Ddl.DropIndex.Builder getIndexBuilder() { return getIndexFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropIndex index = 23; */ @java.lang.Override public cz.proto.access.Ddl.DropIndexOrBuilder getIndexOrBuilder() { if ((derivedCase_ == 23) && (indexBuilder_ != null)) { return indexBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 23) { return (cz.proto.access.Ddl.DropIndex) derived_; } return cz.proto.access.Ddl.DropIndex.getDefaultInstance(); } } /** * .cz.proto.access.DropIndex index = 23; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropIndex, cz.proto.access.Ddl.DropIndex.Builder, cz.proto.access.Ddl.DropIndexOrBuilder> getIndexFieldBuilder() { if (indexBuilder_ == null) { if (!(derivedCase_ == 23)) { derived_ = cz.proto.access.Ddl.DropIndex.getDefaultInstance(); } indexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropIndex, cz.proto.access.Ddl.DropIndex.Builder, cz.proto.access.Ddl.DropIndexOrBuilder>( (cz.proto.access.Ddl.DropIndex) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 23; onChanged();; return indexBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropVolume, cz.proto.access.Ddl.DropVolume.Builder, cz.proto.access.Ddl.DropVolumeOrBuilder> volumeBuilder_; /** * .cz.proto.access.DropVolume volume = 24; * @return Whether the volume field is set. */ @java.lang.Override public boolean hasVolume() { return derivedCase_ == 24; } /** * .cz.proto.access.DropVolume volume = 24; * @return The volume. */ @java.lang.Override public cz.proto.access.Ddl.DropVolume getVolume() { if (volumeBuilder_ == null) { if (derivedCase_ == 24) { return (cz.proto.access.Ddl.DropVolume) derived_; } return cz.proto.access.Ddl.DropVolume.getDefaultInstance(); } else { if (derivedCase_ == 24) { return volumeBuilder_.getMessage(); } return cz.proto.access.Ddl.DropVolume.getDefaultInstance(); } } /** * .cz.proto.access.DropVolume volume = 24; */ public Builder setVolume(cz.proto.access.Ddl.DropVolume value) { if (volumeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { volumeBuilder_.setMessage(value); } derivedCase_ = 24; return this; } /** * .cz.proto.access.DropVolume volume = 24; */ public Builder setVolume( cz.proto.access.Ddl.DropVolume.Builder builderForValue) { if (volumeBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { volumeBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 24; return this; } /** * .cz.proto.access.DropVolume volume = 24; */ public Builder mergeVolume(cz.proto.access.Ddl.DropVolume value) { if (volumeBuilder_ == null) { if (derivedCase_ == 24 && derived_ != cz.proto.access.Ddl.DropVolume.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.DropVolume.newBuilder((cz.proto.access.Ddl.DropVolume) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 24) { volumeBuilder_.mergeFrom(value); } volumeBuilder_.setMessage(value); } derivedCase_ = 24; return this; } /** * .cz.proto.access.DropVolume volume = 24; */ public Builder clearVolume() { if (volumeBuilder_ == null) { if (derivedCase_ == 24) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 24) { derivedCase_ = 0; derived_ = null; } volumeBuilder_.clear(); } return this; } /** * .cz.proto.access.DropVolume volume = 24; */ public cz.proto.access.Ddl.DropVolume.Builder getVolumeBuilder() { return getVolumeFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropVolume volume = 24; */ @java.lang.Override public cz.proto.access.Ddl.DropVolumeOrBuilder getVolumeOrBuilder() { if ((derivedCase_ == 24) && (volumeBuilder_ != null)) { return volumeBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 24) { return (cz.proto.access.Ddl.DropVolume) derived_; } return cz.proto.access.Ddl.DropVolume.getDefaultInstance(); } } /** * .cz.proto.access.DropVolume volume = 24; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropVolume, cz.proto.access.Ddl.DropVolume.Builder, cz.proto.access.Ddl.DropVolumeOrBuilder> getVolumeFieldBuilder() { if (volumeBuilder_ == null) { if (!(derivedCase_ == 24)) { derived_ = cz.proto.access.Ddl.DropVolume.getDefaultInstance(); } volumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropVolume, cz.proto.access.Ddl.DropVolume.Builder, cz.proto.access.Ddl.DropVolumeOrBuilder>( (cz.proto.access.Ddl.DropVolume) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 24; onChanged();; return volumeBuilder_; } @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:cz.proto.access.DropEntity) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropEntity) private static final cz.proto.access.Ddl.DropEntity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropEntity(); } public static cz.proto.access.Ddl.DropEntity getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropEntity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropEntity(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 cz.proto.access.Ddl.DropEntity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropTableOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropTable) com.google.protobuf.MessageOrBuilder { /** * bool purge = 1; * @return The purge. */ boolean getPurge(); } /** * Protobuf type {@code cz.proto.access.DropTable} */ public static final class DropTable extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropTable) DropTableOrBuilder { private static final long serialVersionUID = 0L; // Use DropTable.newBuilder() to construct. private DropTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropTable() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropTable(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropTable( 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: { purge_ = input.readBool(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropTable.class, cz.proto.access.Ddl.DropTable.Builder.class); } public static final int PURGE_FIELD_NUMBER = 1; private boolean purge_; /** * bool purge = 1; * @return The purge. */ @java.lang.Override public boolean getPurge() { return purge_; } 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 (purge_ != false) { output.writeBool(1, purge_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (purge_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, purge_); } 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 cz.proto.access.Ddl.DropTable)) { return super.equals(obj); } cz.proto.access.Ddl.DropTable other = (cz.proto.access.Ddl.DropTable) obj; if (getPurge() != other.getPurge()) 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) + PURGE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getPurge()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropTable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropTable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropTable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropTable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropTable 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 cz.proto.access.Ddl.DropTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropTable 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 cz.proto.access.Ddl.DropTable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropTable 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(cz.proto.access.Ddl.DropTable 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 cz.proto.access.DropTable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropTable) cz.proto.access.Ddl.DropTableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropTable.class, cz.proto.access.Ddl.DropTable.Builder.class); } // Construct using cz.proto.access.Ddl.DropTable.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(); purge_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropTable_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropTable getDefaultInstanceForType() { return cz.proto.access.Ddl.DropTable.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropTable build() { cz.proto.access.Ddl.DropTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropTable buildPartial() { cz.proto.access.Ddl.DropTable result = new cz.proto.access.Ddl.DropTable(this); result.purge_ = purge_; 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 cz.proto.access.Ddl.DropTable) { return mergeFrom((cz.proto.access.Ddl.DropTable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropTable other) { if (other == cz.proto.access.Ddl.DropTable.getDefaultInstance()) return this; if (other.getPurge() != false) { setPurge(other.getPurge()); } 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 { cz.proto.access.Ddl.DropTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropTable) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean purge_ ; /** * bool purge = 1; * @return The purge. */ @java.lang.Override public boolean getPurge() { return purge_; } /** * bool purge = 1; * @param value The purge to set. * @return This builder for chaining. */ public Builder setPurge(boolean value) { purge_ = value; onChanged(); return this; } /** * bool purge = 1; * @return This builder for chaining. */ public Builder clearPurge() { purge_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.DropTable) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropTable) private static final cz.proto.access.Ddl.DropTable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropTable(); } public static cz.proto.access.Ddl.DropTable getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropTable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropTable(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 cz.proto.access.Ddl.DropTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropStreamTableOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropStreamTable) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cz.proto.access.DropStreamTable} */ public static final class DropStreamTable extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropStreamTable) DropStreamTableOrBuilder { private static final long serialVersionUID = 0L; // Use DropStreamTable.newBuilder() to construct. private DropStreamTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropStreamTable() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropStreamTable(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropStreamTable( 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; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropStreamTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropStreamTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropStreamTable.class, cz.proto.access.Ddl.DropStreamTable.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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 cz.proto.access.Ddl.DropStreamTable)) { return super.equals(obj); } cz.proto.access.Ddl.DropStreamTable other = (cz.proto.access.Ddl.DropStreamTable) obj; 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropStreamTable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropStreamTable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropStreamTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropStreamTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropStreamTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropStreamTable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropStreamTable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropStreamTable 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 cz.proto.access.Ddl.DropStreamTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropStreamTable 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 cz.proto.access.Ddl.DropStreamTable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropStreamTable 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(cz.proto.access.Ddl.DropStreamTable 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 cz.proto.access.DropStreamTable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropStreamTable) cz.proto.access.Ddl.DropStreamTableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropStreamTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropStreamTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropStreamTable.class, cz.proto.access.Ddl.DropStreamTable.Builder.class); } // Construct using cz.proto.access.Ddl.DropStreamTable.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(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropStreamTable_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropStreamTable getDefaultInstanceForType() { return cz.proto.access.Ddl.DropStreamTable.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropStreamTable build() { cz.proto.access.Ddl.DropStreamTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropStreamTable buildPartial() { cz.proto.access.Ddl.DropStreamTable result = new cz.proto.access.Ddl.DropStreamTable(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.access.Ddl.DropStreamTable) { return mergeFrom((cz.proto.access.Ddl.DropStreamTable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropStreamTable other) { if (other == cz.proto.access.Ddl.DropStreamTable.getDefaultInstance()) return this; 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 { cz.proto.access.Ddl.DropStreamTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropStreamTable) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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:cz.proto.access.DropStreamTable) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropStreamTable) private static final cz.proto.access.Ddl.DropStreamTable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropStreamTable(); } public static cz.proto.access.Ddl.DropStreamTable getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropStreamTable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropStreamTable(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 cz.proto.access.Ddl.DropStreamTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropSchema) com.google.protobuf.MessageOrBuilder { /** * bool cascade = 1; * @return The cascade. */ boolean getCascade(); } /** * Protobuf type {@code cz.proto.access.DropSchema} */ public static final class DropSchema extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropSchema) DropSchemaOrBuilder { private static final long serialVersionUID = 0L; // Use DropSchema.newBuilder() to construct. private DropSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropSchema() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropSchema(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropSchema( 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: { cascade_ = input.readBool(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropSchema.class, cz.proto.access.Ddl.DropSchema.Builder.class); } public static final int CASCADE_FIELD_NUMBER = 1; private boolean cascade_; /** * bool cascade = 1; * @return The cascade. */ @java.lang.Override public boolean getCascade() { return cascade_; } 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 (cascade_ != false) { output.writeBool(1, cascade_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (cascade_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, cascade_); } 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 cz.proto.access.Ddl.DropSchema)) { return super.equals(obj); } cz.proto.access.Ddl.DropSchema other = (cz.proto.access.Ddl.DropSchema) obj; if (getCascade() != other.getCascade()) 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) + CASCADE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCascade()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropSchema parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropSchema parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropSchema parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropSchema parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropSchema 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 cz.proto.access.Ddl.DropSchema parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropSchema 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 cz.proto.access.Ddl.DropSchema parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropSchema 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(cz.proto.access.Ddl.DropSchema 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 cz.proto.access.DropSchema} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropSchema) cz.proto.access.Ddl.DropSchemaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropSchema.class, cz.proto.access.Ddl.DropSchema.Builder.class); } // Construct using cz.proto.access.Ddl.DropSchema.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(); cascade_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropSchema_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropSchema getDefaultInstanceForType() { return cz.proto.access.Ddl.DropSchema.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropSchema build() { cz.proto.access.Ddl.DropSchema result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropSchema buildPartial() { cz.proto.access.Ddl.DropSchema result = new cz.proto.access.Ddl.DropSchema(this); result.cascade_ = cascade_; 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 cz.proto.access.Ddl.DropSchema) { return mergeFrom((cz.proto.access.Ddl.DropSchema)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropSchema other) { if (other == cz.proto.access.Ddl.DropSchema.getDefaultInstance()) return this; if (other.getCascade() != false) { setCascade(other.getCascade()); } 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 { cz.proto.access.Ddl.DropSchema parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropSchema) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean cascade_ ; /** * bool cascade = 1; * @return The cascade. */ @java.lang.Override public boolean getCascade() { return cascade_; } /** * bool cascade = 1; * @param value The cascade to set. * @return This builder for chaining. */ public Builder setCascade(boolean value) { cascade_ = value; onChanged(); return this; } /** * bool cascade = 1; * @return This builder for chaining. */ public Builder clearCascade() { cascade_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.DropSchema) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropSchema) private static final cz.proto.access.Ddl.DropSchema DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropSchema(); } public static cz.proto.access.Ddl.DropSchema getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropSchema parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropSchema(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 cz.proto.access.Ddl.DropSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropShareOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropShare) com.google.protobuf.MessageOrBuilder { /** * bool cascade = 1; * @return The cascade. */ boolean getCascade(); } /** * Protobuf type {@code cz.proto.access.DropShare} */ public static final class DropShare extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropShare) DropShareOrBuilder { private static final long serialVersionUID = 0L; // Use DropShare.newBuilder() to construct. private DropShare(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropShare() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropShare(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropShare( 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: { cascade_ = input.readBool(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropShare_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropShare_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropShare.class, cz.proto.access.Ddl.DropShare.Builder.class); } public static final int CASCADE_FIELD_NUMBER = 1; private boolean cascade_; /** * bool cascade = 1; * @return The cascade. */ @java.lang.Override public boolean getCascade() { return cascade_; } 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 (cascade_ != false) { output.writeBool(1, cascade_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (cascade_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, cascade_); } 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 cz.proto.access.Ddl.DropShare)) { return super.equals(obj); } cz.proto.access.Ddl.DropShare other = (cz.proto.access.Ddl.DropShare) obj; if (getCascade() != other.getCascade()) 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) + CASCADE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCascade()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropShare parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropShare parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropShare parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropShare parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropShare parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropShare parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropShare parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropShare 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 cz.proto.access.Ddl.DropShare parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropShare 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 cz.proto.access.Ddl.DropShare parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropShare 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(cz.proto.access.Ddl.DropShare 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 cz.proto.access.DropShare} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropShare) cz.proto.access.Ddl.DropShareOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropShare_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropShare_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropShare.class, cz.proto.access.Ddl.DropShare.Builder.class); } // Construct using cz.proto.access.Ddl.DropShare.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(); cascade_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropShare_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropShare getDefaultInstanceForType() { return cz.proto.access.Ddl.DropShare.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropShare build() { cz.proto.access.Ddl.DropShare result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropShare buildPartial() { cz.proto.access.Ddl.DropShare result = new cz.proto.access.Ddl.DropShare(this); result.cascade_ = cascade_; 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 cz.proto.access.Ddl.DropShare) { return mergeFrom((cz.proto.access.Ddl.DropShare)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropShare other) { if (other == cz.proto.access.Ddl.DropShare.getDefaultInstance()) return this; if (other.getCascade() != false) { setCascade(other.getCascade()); } 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 { cz.proto.access.Ddl.DropShare parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropShare) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean cascade_ ; /** * bool cascade = 1; * @return The cascade. */ @java.lang.Override public boolean getCascade() { return cascade_; } /** * bool cascade = 1; * @param value The cascade to set. * @return This builder for chaining. */ public Builder setCascade(boolean value) { cascade_ = value; onChanged(); return this; } /** * bool cascade = 1; * @return This builder for chaining. */ public Builder clearCascade() { cascade_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.DropShare) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropShare) private static final cz.proto.access.Ddl.DropShare DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropShare(); } public static cz.proto.access.Ddl.DropShare getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropShare parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropShare(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 cz.proto.access.Ddl.DropShare getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropCatalogOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropCatalog) com.google.protobuf.MessageOrBuilder { /** * bool cascade = 1; * @return The cascade. */ boolean getCascade(); } /** * Protobuf type {@code cz.proto.access.DropCatalog} */ public static final class DropCatalog extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropCatalog) DropCatalogOrBuilder { private static final long serialVersionUID = 0L; // Use DropCatalog.newBuilder() to construct. private DropCatalog(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropCatalog() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropCatalog(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropCatalog( 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: { cascade_ = input.readBool(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropCatalog_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropCatalog_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropCatalog.class, cz.proto.access.Ddl.DropCatalog.Builder.class); } public static final int CASCADE_FIELD_NUMBER = 1; private boolean cascade_; /** * bool cascade = 1; * @return The cascade. */ @java.lang.Override public boolean getCascade() { return cascade_; } 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 (cascade_ != false) { output.writeBool(1, cascade_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (cascade_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, cascade_); } 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 cz.proto.access.Ddl.DropCatalog)) { return super.equals(obj); } cz.proto.access.Ddl.DropCatalog other = (cz.proto.access.Ddl.DropCatalog) obj; if (getCascade() != other.getCascade()) 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) + CASCADE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCascade()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropCatalog parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropCatalog parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropCatalog parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropCatalog parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropCatalog parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropCatalog parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropCatalog parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropCatalog 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 cz.proto.access.Ddl.DropCatalog parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropCatalog 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 cz.proto.access.Ddl.DropCatalog parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropCatalog 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(cz.proto.access.Ddl.DropCatalog 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 cz.proto.access.DropCatalog} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropCatalog) cz.proto.access.Ddl.DropCatalogOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropCatalog_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropCatalog_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropCatalog.class, cz.proto.access.Ddl.DropCatalog.Builder.class); } // Construct using cz.proto.access.Ddl.DropCatalog.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(); cascade_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropCatalog_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropCatalog getDefaultInstanceForType() { return cz.proto.access.Ddl.DropCatalog.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropCatalog build() { cz.proto.access.Ddl.DropCatalog result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropCatalog buildPartial() { cz.proto.access.Ddl.DropCatalog result = new cz.proto.access.Ddl.DropCatalog(this); result.cascade_ = cascade_; 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 cz.proto.access.Ddl.DropCatalog) { return mergeFrom((cz.proto.access.Ddl.DropCatalog)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropCatalog other) { if (other == cz.proto.access.Ddl.DropCatalog.getDefaultInstance()) return this; if (other.getCascade() != false) { setCascade(other.getCascade()); } 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 { cz.proto.access.Ddl.DropCatalog parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropCatalog) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean cascade_ ; /** * bool cascade = 1; * @return The cascade. */ @java.lang.Override public boolean getCascade() { return cascade_; } /** * bool cascade = 1; * @param value The cascade to set. * @return This builder for chaining. */ public Builder setCascade(boolean value) { cascade_ = value; onChanged(); return this; } /** * bool cascade = 1; * @return This builder for chaining. */ public Builder clearCascade() { cascade_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.DropCatalog) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropCatalog) private static final cz.proto.access.Ddl.DropCatalog DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropCatalog(); } public static cz.proto.access.Ddl.DropCatalog getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropCatalog parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropCatalog(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 cz.proto.access.Ddl.DropCatalog getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropViewOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropView) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cz.proto.access.DropView} */ public static final class DropView extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropView) DropViewOrBuilder { private static final long serialVersionUID = 0L; // Use DropView.newBuilder() to construct. private DropView(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropView() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropView(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropView( 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; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropView_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropView.class, cz.proto.access.Ddl.DropView.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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 cz.proto.access.Ddl.DropView)) { return super.equals(obj); } cz.proto.access.Ddl.DropView other = (cz.proto.access.Ddl.DropView) obj; 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropView parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropView parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropView parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropView parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropView parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropView parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropView parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropView 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 cz.proto.access.Ddl.DropView parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropView 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 cz.proto.access.Ddl.DropView parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropView 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(cz.proto.access.Ddl.DropView 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 cz.proto.access.DropView} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropView) cz.proto.access.Ddl.DropViewOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropView_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropView.class, cz.proto.access.Ddl.DropView.Builder.class); } // Construct using cz.proto.access.Ddl.DropView.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(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropView_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropView getDefaultInstanceForType() { return cz.proto.access.Ddl.DropView.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropView build() { cz.proto.access.Ddl.DropView result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropView buildPartial() { cz.proto.access.Ddl.DropView result = new cz.proto.access.Ddl.DropView(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.access.Ddl.DropView) { return mergeFrom((cz.proto.access.Ddl.DropView)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropView other) { if (other == cz.proto.access.Ddl.DropView.getDefaultInstance()) return this; 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 { cz.proto.access.Ddl.DropView parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropView) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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:cz.proto.access.DropView) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropView) private static final cz.proto.access.Ddl.DropView DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropView(); } public static cz.proto.access.Ddl.DropView getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropView parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropView(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 cz.proto.access.Ddl.DropView getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropMaterializedViewOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropMaterializedView) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cz.proto.access.DropMaterializedView} */ public static final class DropMaterializedView extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropMaterializedView) DropMaterializedViewOrBuilder { private static final long serialVersionUID = 0L; // Use DropMaterializedView.newBuilder() to construct. private DropMaterializedView(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropMaterializedView() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropMaterializedView(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropMaterializedView( 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; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropMaterializedView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropMaterializedView_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropMaterializedView.class, cz.proto.access.Ddl.DropMaterializedView.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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 cz.proto.access.Ddl.DropMaterializedView)) { return super.equals(obj); } cz.proto.access.Ddl.DropMaterializedView other = (cz.proto.access.Ddl.DropMaterializedView) obj; 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropMaterializedView parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropMaterializedView parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropMaterializedView parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropMaterializedView parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropMaterializedView parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropMaterializedView parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropMaterializedView parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropMaterializedView 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 cz.proto.access.Ddl.DropMaterializedView parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropMaterializedView 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 cz.proto.access.Ddl.DropMaterializedView parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropMaterializedView 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(cz.proto.access.Ddl.DropMaterializedView 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 cz.proto.access.DropMaterializedView} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropMaterializedView) cz.proto.access.Ddl.DropMaterializedViewOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropMaterializedView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropMaterializedView_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropMaterializedView.class, cz.proto.access.Ddl.DropMaterializedView.Builder.class); } // Construct using cz.proto.access.Ddl.DropMaterializedView.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(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropMaterializedView_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropMaterializedView getDefaultInstanceForType() { return cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropMaterializedView build() { cz.proto.access.Ddl.DropMaterializedView result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropMaterializedView buildPartial() { cz.proto.access.Ddl.DropMaterializedView result = new cz.proto.access.Ddl.DropMaterializedView(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.access.Ddl.DropMaterializedView) { return mergeFrom((cz.proto.access.Ddl.DropMaterializedView)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropMaterializedView other) { if (other == cz.proto.access.Ddl.DropMaterializedView.getDefaultInstance()) return this; 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 { cz.proto.access.Ddl.DropMaterializedView parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropMaterializedView) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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:cz.proto.access.DropMaterializedView) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropMaterializedView) private static final cz.proto.access.Ddl.DropMaterializedView DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropMaterializedView(); } public static cz.proto.access.Ddl.DropMaterializedView getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropMaterializedView parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropMaterializedView(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 cz.proto.access.Ddl.DropMaterializedView getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropUserOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropUser) com.google.protobuf.MessageOrBuilder { /** * optional int64 user_id = 1; * @return Whether the userId field is set. */ boolean hasUserId(); /** * optional int64 user_id = 1; * @return The userId. */ long getUserId(); } /** * Protobuf type {@code cz.proto.access.DropUser} */ public static final class DropUser extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropUser) DropUserOrBuilder { private static final long serialVersionUID = 0L; // Use DropUser.newBuilder() to construct. private DropUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropUser() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropUser(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropUser( 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: { bitField0_ |= 0x00000001; userId_ = input.readInt64(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropUser_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropUser.class, cz.proto.access.Ddl.DropUser.Builder.class); } private int bitField0_; public static final int USER_ID_FIELD_NUMBER = 1; private long userId_; /** * optional int64 user_id = 1; * @return Whether the userId field is set. */ @java.lang.Override public boolean hasUserId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 user_id = 1; * @return The userId. */ @java.lang.Override public long getUserId() { return userId_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, userId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, userId_); } 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 cz.proto.access.Ddl.DropUser)) { return super.equals(obj); } cz.proto.access.Ddl.DropUser other = (cz.proto.access.Ddl.DropUser) obj; if (hasUserId() != other.hasUserId()) return false; if (hasUserId()) { if (getUserId() != other.getUserId()) 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 (hasUserId()) { hash = (37 * hash) + USER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUserId()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropUser parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropUser parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropUser parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropUser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropUser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropUser parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropUser parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropUser 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 cz.proto.access.Ddl.DropUser parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropUser 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 cz.proto.access.Ddl.DropUser parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropUser 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(cz.proto.access.Ddl.DropUser 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 cz.proto.access.DropUser} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropUser) cz.proto.access.Ddl.DropUserOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropUser_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropUser.class, cz.proto.access.Ddl.DropUser.Builder.class); } // Construct using cz.proto.access.Ddl.DropUser.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(); userId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropUser_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropUser getDefaultInstanceForType() { return cz.proto.access.Ddl.DropUser.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropUser build() { cz.proto.access.Ddl.DropUser result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropUser buildPartial() { cz.proto.access.Ddl.DropUser result = new cz.proto.access.Ddl.DropUser(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.userId_ = userId_; to_bitField0_ |= 0x00000001; } result.bitField0_ = to_bitField0_; 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 cz.proto.access.Ddl.DropUser) { return mergeFrom((cz.proto.access.Ddl.DropUser)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropUser other) { if (other == cz.proto.access.Ddl.DropUser.getDefaultInstance()) return this; if (other.hasUserId()) { setUserId(other.getUserId()); } 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 { cz.proto.access.Ddl.DropUser parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropUser) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long userId_ ; /** * optional int64 user_id = 1; * @return Whether the userId field is set. */ @java.lang.Override public boolean hasUserId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 user_id = 1; * @return The userId. */ @java.lang.Override public long getUserId() { return userId_; } /** * optional int64 user_id = 1; * @param value The userId to set. * @return This builder for chaining. */ public Builder setUserId(long value) { bitField0_ |= 0x00000001; userId_ = value; onChanged(); return this; } /** * optional int64 user_id = 1; * @return This builder for chaining. */ public Builder clearUserId() { bitField0_ = (bitField0_ & ~0x00000001); userId_ = 0L; 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:cz.proto.access.DropUser) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropUser) private static final cz.proto.access.Ddl.DropUser DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropUser(); } public static cz.proto.access.Ddl.DropUser getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropUser parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropUser(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 cz.proto.access.Ddl.DropUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropRoleOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropRole) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cz.proto.access.DropRole} */ public static final class DropRole extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropRole) DropRoleOrBuilder { private static final long serialVersionUID = 0L; // Use DropRole.newBuilder() to construct. private DropRole(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropRole() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropRole(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropRole( 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; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropRole_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropRole_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropRole.class, cz.proto.access.Ddl.DropRole.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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 cz.proto.access.Ddl.DropRole)) { return super.equals(obj); } cz.proto.access.Ddl.DropRole other = (cz.proto.access.Ddl.DropRole) obj; 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropRole parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropRole parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropRole parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropRole parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropRole parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropRole parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropRole parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropRole 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 cz.proto.access.Ddl.DropRole parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropRole 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 cz.proto.access.Ddl.DropRole parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropRole 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(cz.proto.access.Ddl.DropRole 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 cz.proto.access.DropRole} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropRole) cz.proto.access.Ddl.DropRoleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropRole_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropRole_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropRole.class, cz.proto.access.Ddl.DropRole.Builder.class); } // Construct using cz.proto.access.Ddl.DropRole.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(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropRole_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropRole getDefaultInstanceForType() { return cz.proto.access.Ddl.DropRole.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropRole build() { cz.proto.access.Ddl.DropRole result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropRole buildPartial() { cz.proto.access.Ddl.DropRole result = new cz.proto.access.Ddl.DropRole(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.access.Ddl.DropRole) { return mergeFrom((cz.proto.access.Ddl.DropRole)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropRole other) { if (other == cz.proto.access.Ddl.DropRole.getDefaultInstance()) return this; 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 { cz.proto.access.Ddl.DropRole parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropRole) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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:cz.proto.access.DropRole) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropRole) private static final cz.proto.access.Ddl.DropRole DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropRole(); } public static cz.proto.access.Ddl.DropRole getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropRole parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropRole(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 cz.proto.access.Ddl.DropRole getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropVClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropVCluster) com.google.protobuf.MessageOrBuilder { /** * int64 workspace_id = 1; * @return The workspaceId. */ long getWorkspaceId(); /** * int64 vc_id = 2; * @return The vcId. */ long getVcId(); /** * bool force = 3; * @return The force. */ boolean getForce(); } /** * Protobuf type {@code cz.proto.access.DropVCluster} */ public static final class DropVCluster extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropVCluster) DropVClusterOrBuilder { private static final long serialVersionUID = 0L; // Use DropVCluster.newBuilder() to construct. private DropVCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropVCluster() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropVCluster(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropVCluster( 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: { workspaceId_ = input.readInt64(); break; } case 16: { vcId_ = input.readInt64(); break; } case 24: { force_ = input.readBool(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropVCluster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropVCluster.class, cz.proto.access.Ddl.DropVCluster.Builder.class); } public static final int WORKSPACE_ID_FIELD_NUMBER = 1; private long workspaceId_; /** * int64 workspace_id = 1; * @return The workspaceId. */ @java.lang.Override public long getWorkspaceId() { return workspaceId_; } public static final int VC_ID_FIELD_NUMBER = 2; private long vcId_; /** * int64 vc_id = 2; * @return The vcId. */ @java.lang.Override public long getVcId() { return vcId_; } public static final int FORCE_FIELD_NUMBER = 3; private boolean force_; /** * bool force = 3; * @return The force. */ @java.lang.Override public boolean getForce() { return force_; } 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 (workspaceId_ != 0L) { output.writeInt64(1, workspaceId_); } if (vcId_ != 0L) { output.writeInt64(2, vcId_); } if (force_ != false) { output.writeBool(3, force_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workspaceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, workspaceId_); } if (vcId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, vcId_); } if (force_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, force_); } 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 cz.proto.access.Ddl.DropVCluster)) { return super.equals(obj); } cz.proto.access.Ddl.DropVCluster other = (cz.proto.access.Ddl.DropVCluster) obj; if (getWorkspaceId() != other.getWorkspaceId()) return false; if (getVcId() != other.getVcId()) return false; if (getForce() != other.getForce()) 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) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkspaceId()); hash = (37 * hash) + VC_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVcId()); hash = (37 * hash) + FORCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropVCluster parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropVCluster parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropVCluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropVCluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropVCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropVCluster parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropVCluster parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropVCluster 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 cz.proto.access.Ddl.DropVCluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropVCluster 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 cz.proto.access.Ddl.DropVCluster parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropVCluster 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(cz.proto.access.Ddl.DropVCluster 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 cz.proto.access.DropVCluster} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropVCluster) cz.proto.access.Ddl.DropVClusterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVCluster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropVCluster.class, cz.proto.access.Ddl.DropVCluster.Builder.class); } // Construct using cz.proto.access.Ddl.DropVCluster.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(); workspaceId_ = 0L; vcId_ = 0L; force_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVCluster_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropVCluster getDefaultInstanceForType() { return cz.proto.access.Ddl.DropVCluster.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropVCluster build() { cz.proto.access.Ddl.DropVCluster result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropVCluster buildPartial() { cz.proto.access.Ddl.DropVCluster result = new cz.proto.access.Ddl.DropVCluster(this); result.workspaceId_ = workspaceId_; result.vcId_ = vcId_; result.force_ = force_; 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 cz.proto.access.Ddl.DropVCluster) { return mergeFrom((cz.proto.access.Ddl.DropVCluster)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropVCluster other) { if (other == cz.proto.access.Ddl.DropVCluster.getDefaultInstance()) return this; if (other.getWorkspaceId() != 0L) { setWorkspaceId(other.getWorkspaceId()); } if (other.getVcId() != 0L) { setVcId(other.getVcId()); } if (other.getForce() != false) { setForce(other.getForce()); } 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 { cz.proto.access.Ddl.DropVCluster parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropVCluster) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long workspaceId_ ; /** * int64 workspace_id = 1; * @return The workspaceId. */ @java.lang.Override public long getWorkspaceId() { return workspaceId_; } /** * int64 workspace_id = 1; * @param value The workspaceId to set. * @return This builder for chaining. */ public Builder setWorkspaceId(long value) { workspaceId_ = value; onChanged(); return this; } /** * int64 workspace_id = 1; * @return This builder for chaining. */ public Builder clearWorkspaceId() { workspaceId_ = 0L; onChanged(); return this; } private long vcId_ ; /** * int64 vc_id = 2; * @return The vcId. */ @java.lang.Override public long getVcId() { return vcId_; } /** * int64 vc_id = 2; * @param value The vcId to set. * @return This builder for chaining. */ public Builder setVcId(long value) { vcId_ = value; onChanged(); return this; } /** * int64 vc_id = 2; * @return This builder for chaining. */ public Builder clearVcId() { vcId_ = 0L; onChanged(); return this; } private boolean force_ ; /** * bool force = 3; * @return The force. */ @java.lang.Override public boolean getForce() { return force_; } /** * bool force = 3; * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { force_ = value; onChanged(); return this; } /** * bool force = 3; * @return This builder for chaining. */ public Builder clearForce() { force_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.DropVCluster) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropVCluster) private static final cz.proto.access.Ddl.DropVCluster DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropVCluster(); } public static cz.proto.access.Ddl.DropVCluster getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropVCluster parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropVCluster(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 cz.proto.access.Ddl.DropVCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropFunctionOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropFunction) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cz.proto.access.DropFunction} */ public static final class DropFunction extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropFunction) DropFunctionOrBuilder { private static final long serialVersionUID = 0L; // Use DropFunction.newBuilder() to construct. private DropFunction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropFunction() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropFunction(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropFunction( 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; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropFunction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropFunction_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropFunction.class, cz.proto.access.Ddl.DropFunction.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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 cz.proto.access.Ddl.DropFunction)) { return super.equals(obj); } cz.proto.access.Ddl.DropFunction other = (cz.proto.access.Ddl.DropFunction) obj; 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropFunction parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropFunction parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropFunction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropFunction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropFunction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropFunction parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropFunction parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropFunction 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 cz.proto.access.Ddl.DropFunction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropFunction 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 cz.proto.access.Ddl.DropFunction parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropFunction 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(cz.proto.access.Ddl.DropFunction 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 cz.proto.access.DropFunction} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropFunction) cz.proto.access.Ddl.DropFunctionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropFunction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropFunction_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropFunction.class, cz.proto.access.Ddl.DropFunction.Builder.class); } // Construct using cz.proto.access.Ddl.DropFunction.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(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropFunction_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropFunction getDefaultInstanceForType() { return cz.proto.access.Ddl.DropFunction.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropFunction build() { cz.proto.access.Ddl.DropFunction result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropFunction buildPartial() { cz.proto.access.Ddl.DropFunction result = new cz.proto.access.Ddl.DropFunction(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.access.Ddl.DropFunction) { return mergeFrom((cz.proto.access.Ddl.DropFunction)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropFunction other) { if (other == cz.proto.access.Ddl.DropFunction.getDefaultInstance()) return this; 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 { cz.proto.access.Ddl.DropFunction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropFunction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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:cz.proto.access.DropFunction) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropFunction) private static final cz.proto.access.Ddl.DropFunction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropFunction(); } public static cz.proto.access.Ddl.DropFunction getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropFunction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropFunction(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 cz.proto.access.Ddl.DropFunction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropConnectionOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropConnection) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cz.proto.access.DropConnection} */ public static final class DropConnection extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropConnection) DropConnectionOrBuilder { private static final long serialVersionUID = 0L; // Use DropConnection.newBuilder() to construct. private DropConnection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropConnection() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropConnection(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropConnection( 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; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropConnection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropConnection_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropConnection.class, cz.proto.access.Ddl.DropConnection.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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 cz.proto.access.Ddl.DropConnection)) { return super.equals(obj); } cz.proto.access.Ddl.DropConnection other = (cz.proto.access.Ddl.DropConnection) obj; 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropConnection parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropConnection parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropConnection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropConnection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropConnection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropConnection parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropConnection parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropConnection 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 cz.proto.access.Ddl.DropConnection parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropConnection 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 cz.proto.access.Ddl.DropConnection parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropConnection 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(cz.proto.access.Ddl.DropConnection 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 cz.proto.access.DropConnection} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropConnection) cz.proto.access.Ddl.DropConnectionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropConnection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropConnection_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropConnection.class, cz.proto.access.Ddl.DropConnection.Builder.class); } // Construct using cz.proto.access.Ddl.DropConnection.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(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropConnection_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropConnection getDefaultInstanceForType() { return cz.proto.access.Ddl.DropConnection.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropConnection build() { cz.proto.access.Ddl.DropConnection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropConnection buildPartial() { cz.proto.access.Ddl.DropConnection result = new cz.proto.access.Ddl.DropConnection(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.access.Ddl.DropConnection) { return mergeFrom((cz.proto.access.Ddl.DropConnection)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropConnection other) { if (other == cz.proto.access.Ddl.DropConnection.getDefaultInstance()) return this; 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 { cz.proto.access.Ddl.DropConnection parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropConnection) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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:cz.proto.access.DropConnection) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropConnection) private static final cz.proto.access.Ddl.DropConnection DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropConnection(); } public static cz.proto.access.Ddl.DropConnection getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropConnection parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropConnection(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 cz.proto.access.Ddl.DropConnection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropLocation) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cz.proto.access.DropLocation} */ public static final class DropLocation extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropLocation) DropLocationOrBuilder { private static final long serialVersionUID = 0L; // Use DropLocation.newBuilder() to construct. private DropLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropLocation() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropLocation(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropLocation( 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; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropLocation.class, cz.proto.access.Ddl.DropLocation.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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 cz.proto.access.Ddl.DropLocation)) { return super.equals(obj); } cz.proto.access.Ddl.DropLocation other = (cz.proto.access.Ddl.DropLocation) obj; 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropLocation parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropLocation parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropLocation parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropLocation parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropLocation 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 cz.proto.access.Ddl.DropLocation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropLocation 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 cz.proto.access.Ddl.DropLocation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropLocation 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(cz.proto.access.Ddl.DropLocation 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 cz.proto.access.DropLocation} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropLocation) cz.proto.access.Ddl.DropLocationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropLocation.class, cz.proto.access.Ddl.DropLocation.Builder.class); } // Construct using cz.proto.access.Ddl.DropLocation.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(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropLocation_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropLocation getDefaultInstanceForType() { return cz.proto.access.Ddl.DropLocation.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropLocation build() { cz.proto.access.Ddl.DropLocation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropLocation buildPartial() { cz.proto.access.Ddl.DropLocation result = new cz.proto.access.Ddl.DropLocation(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.access.Ddl.DropLocation) { return mergeFrom((cz.proto.access.Ddl.DropLocation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropLocation other) { if (other == cz.proto.access.Ddl.DropLocation.getDefaultInstance()) return this; 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 { cz.proto.access.Ddl.DropLocation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropLocation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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:cz.proto.access.DropLocation) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropLocation) private static final cz.proto.access.Ddl.DropLocation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropLocation(); } public static cz.proto.access.Ddl.DropLocation getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropLocation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropLocation(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 cz.proto.access.Ddl.DropLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropIndexOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropIndex) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cz.proto.access.DropIndex} */ public static final class DropIndex extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropIndex) DropIndexOrBuilder { private static final long serialVersionUID = 0L; // Use DropIndex.newBuilder() to construct. private DropIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropIndex() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropIndex(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropIndex( 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; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropIndex.class, cz.proto.access.Ddl.DropIndex.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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 cz.proto.access.Ddl.DropIndex)) { return super.equals(obj); } cz.proto.access.Ddl.DropIndex other = (cz.proto.access.Ddl.DropIndex) obj; 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropIndex parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropIndex parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropIndex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropIndex parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropIndex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropIndex parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropIndex 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 cz.proto.access.Ddl.DropIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropIndex 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 cz.proto.access.Ddl.DropIndex parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropIndex 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(cz.proto.access.Ddl.DropIndex 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 cz.proto.access.DropIndex} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropIndex) cz.proto.access.Ddl.DropIndexOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropIndex.class, cz.proto.access.Ddl.DropIndex.Builder.class); } // Construct using cz.proto.access.Ddl.DropIndex.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(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropIndex_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropIndex getDefaultInstanceForType() { return cz.proto.access.Ddl.DropIndex.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropIndex build() { cz.proto.access.Ddl.DropIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropIndex buildPartial() { cz.proto.access.Ddl.DropIndex result = new cz.proto.access.Ddl.DropIndex(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.access.Ddl.DropIndex) { return mergeFrom((cz.proto.access.Ddl.DropIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropIndex other) { if (other == cz.proto.access.Ddl.DropIndex.getDefaultInstance()) return this; 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 { cz.proto.access.Ddl.DropIndex parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropIndex) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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:cz.proto.access.DropIndex) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropIndex) private static final cz.proto.access.Ddl.DropIndex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropIndex(); } public static cz.proto.access.Ddl.DropIndex getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropIndex parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropIndex(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 cz.proto.access.Ddl.DropIndex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropVolumeOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DropVolume) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cz.proto.access.DropVolume} */ public static final class DropVolume extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DropVolume) DropVolumeOrBuilder { private static final long serialVersionUID = 0L; // Use DropVolume.newBuilder() to construct. private DropVolume(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropVolume() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropVolume(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropVolume( 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; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DropVolume_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVolume_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropVolume.class, cz.proto.access.Ddl.DropVolume.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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 cz.proto.access.Ddl.DropVolume)) { return super.equals(obj); } cz.proto.access.Ddl.DropVolume other = (cz.proto.access.Ddl.DropVolume) obj; 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DropVolume parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropVolume parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropVolume parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropVolume parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropVolume parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DropVolume parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DropVolume parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropVolume 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 cz.proto.access.Ddl.DropVolume parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropVolume 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 cz.proto.access.Ddl.DropVolume parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DropVolume 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(cz.proto.access.Ddl.DropVolume 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 cz.proto.access.DropVolume} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DropVolume) cz.proto.access.Ddl.DropVolumeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVolume_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVolume_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DropVolume.class, cz.proto.access.Ddl.DropVolume.Builder.class); } // Construct using cz.proto.access.Ddl.DropVolume.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(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DropVolume_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DropVolume getDefaultInstanceForType() { return cz.proto.access.Ddl.DropVolume.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DropVolume build() { cz.proto.access.Ddl.DropVolume result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DropVolume buildPartial() { cz.proto.access.Ddl.DropVolume result = new cz.proto.access.Ddl.DropVolume(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.access.Ddl.DropVolume) { return mergeFrom((cz.proto.access.Ddl.DropVolume)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DropVolume other) { if (other == cz.proto.access.Ddl.DropVolume.getDefaultInstance()) return this; 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 { cz.proto.access.Ddl.DropVolume parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DropVolume) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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:cz.proto.access.DropVolume) } // @@protoc_insertion_point(class_scope:cz.proto.access.DropVolume) private static final cz.proto.access.Ddl.DropVolume DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DropVolume(); } public static cz.proto.access.Ddl.DropVolume getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropVolume parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropVolume(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 cz.proto.access.Ddl.DropVolume getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UndropEntityOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.UndropEntity) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ cz.proto.ObjectIdentifier getIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; */ cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder(); } /** * Protobuf type {@code cz.proto.access.UndropEntity} */ public static final class UndropEntity extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.UndropEntity) UndropEntityOrBuilder { private static final long serialVersionUID = 0L; // Use UndropEntity.newBuilder() to construct. private UndropEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UndropEntity() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UndropEntity(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UndropEntity( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_UndropEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_UndropEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.UndropEntity.class, cz.proto.access.Ddl.UndropEntity.Builder.class); } public static final int IDENTIFIER_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier identifier_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ @java.lang.Override public cz.proto.ObjectIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } 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 (identifier_ != null) { output.writeMessage(1, getIdentifier()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } 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 cz.proto.access.Ddl.UndropEntity)) { return super.equals(obj); } cz.proto.access.Ddl.UndropEntity other = (cz.proto.access.Ddl.UndropEntity) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) 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 (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.UndropEntity parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.UndropEntity parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.UndropEntity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.UndropEntity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.UndropEntity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.UndropEntity parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.UndropEntity parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.UndropEntity 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 cz.proto.access.Ddl.UndropEntity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.UndropEntity 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 cz.proto.access.Ddl.UndropEntity parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.UndropEntity 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(cz.proto.access.Ddl.UndropEntity 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 cz.proto.access.UndropEntity} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.UndropEntity) cz.proto.access.Ddl.UndropEntityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_UndropEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_UndropEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.UndropEntity.class, cz.proto.access.Ddl.UndropEntity.Builder.class); } // Construct using cz.proto.access.Ddl.UndropEntity.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 (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_UndropEntity_descriptor; } @java.lang.Override public cz.proto.access.Ddl.UndropEntity getDefaultInstanceForType() { return cz.proto.access.Ddl.UndropEntity.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.UndropEntity build() { cz.proto.access.Ddl.UndropEntity result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.UndropEntity buildPartial() { cz.proto.access.Ddl.UndropEntity result = new cz.proto.access.Ddl.UndropEntity(this); if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.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 cz.proto.access.Ddl.UndropEntity) { return mergeFrom((cz.proto.access.Ddl.UndropEntity)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.UndropEntity other) { if (other == cz.proto.access.Ddl.UndropEntity.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } 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 { cz.proto.access.Ddl.UndropEntity parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.UndropEntity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ public cz.proto.ObjectIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } @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:cz.proto.access.UndropEntity) } // @@protoc_insertion_point(class_scope:cz.proto.access.UndropEntity) private static final cz.proto.access.Ddl.UndropEntity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.UndropEntity(); } public static cz.proto.access.Ddl.UndropEntity getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UndropEntity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UndropEntity(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 cz.proto.access.Ddl.UndropEntity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlterRoleOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.AlterRole) com.google.protobuf.MessageOrBuilder { /** * optional string comment = 2; * @return Whether the comment field is set. */ boolean hasComment(); /** * optional string comment = 2; * @return The comment. */ java.lang.String getComment(); /** * optional string comment = 2; * @return The bytes for comment. */ com.google.protobuf.ByteString getCommentBytes(); /** * optional string alias = 3; * @return Whether the alias field is set. */ boolean hasAlias(); /** * optional string alias = 3; * @return The alias. */ java.lang.String getAlias(); /** * optional string alias = 3; * @return The bytes for alias. */ com.google.protobuf.ByteString getAliasBytes(); /** * optional string new_name = 4; * @return Whether the newName field is set. */ boolean hasNewName(); /** * optional string new_name = 4; * @return The newName. */ java.lang.String getNewName(); /** * optional string new_name = 4; * @return The bytes for newName. */ com.google.protobuf.ByteString getNewNameBytes(); /** * repeated .cz.proto.Property properties = 5; */ java.util.List getPropertiesList(); /** * repeated .cz.proto.Property properties = 5; */ cz.proto.PropertyOuterClass.Property getProperties(int index); /** * repeated .cz.proto.Property properties = 5; */ int getPropertiesCount(); /** * repeated .cz.proto.Property properties = 5; */ java.util.List getPropertiesOrBuilderList(); /** * repeated .cz.proto.Property properties = 5; */ cz.proto.PropertyOuterClass.PropertyOrBuilder getPropertiesOrBuilder( int index); } /** * Protobuf type {@code cz.proto.access.AlterRole} */ public static final class AlterRole extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AlterRole) AlterRoleOrBuilder { private static final long serialVersionUID = 0L; // Use AlterRole.newBuilder() to construct. private AlterRole(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlterRole() { comment_ = ""; alias_ = ""; newName_ = ""; properties_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterRole(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlterRole( 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 18: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; comment_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; alias_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; newName_ = s; break; } case 42: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { properties_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } properties_.add( input.readMessage(cz.proto.PropertyOuterClass.Property.parser(), extensionRegistry)); 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_ & 0x00000008) != 0)) { properties_ = java.util.Collections.unmodifiableList(properties_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterRole_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterRole_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterRole.class, cz.proto.access.Ddl.AlterRole.Builder.class); } private int bitField0_; public static final int COMMENT_FIELD_NUMBER = 2; private volatile java.lang.Object comment_; /** * optional string comment = 2; * @return Whether the comment field is set. */ @java.lang.Override public boolean hasComment() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string comment = 2; * @return The comment. */ @java.lang.Override public java.lang.String getComment() { java.lang.Object ref = comment_; 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(); comment_ = s; return s; } } /** * optional string comment = 2; * @return The bytes for comment. */ @java.lang.Override public com.google.protobuf.ByteString getCommentBytes() { java.lang.Object ref = comment_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); comment_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ALIAS_FIELD_NUMBER = 3; private volatile java.lang.Object alias_; /** * optional string alias = 3; * @return Whether the alias field is set. */ @java.lang.Override public boolean hasAlias() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string alias = 3; * @return The alias. */ @java.lang.Override public java.lang.String getAlias() { java.lang.Object ref = alias_; 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(); alias_ = s; return s; } } /** * optional string alias = 3; * @return The bytes for alias. */ @java.lang.Override public com.google.protobuf.ByteString getAliasBytes() { java.lang.Object ref = alias_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); alias_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEW_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object newName_; /** * optional string new_name = 4; * @return Whether the newName field is set. */ @java.lang.Override public boolean hasNewName() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string new_name = 4; * @return The newName. */ @java.lang.Override public java.lang.String getNewName() { java.lang.Object ref = newName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newName_ = s; return s; } } /** * optional string new_name = 4; * @return The bytes for newName. */ @java.lang.Override public com.google.protobuf.ByteString getNewNameBytes() { java.lang.Object ref = newName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROPERTIES_FIELD_NUMBER = 5; private java.util.List properties_; /** * repeated .cz.proto.Property properties = 5; */ @java.lang.Override public java.util.List getPropertiesList() { return properties_; } /** * repeated .cz.proto.Property properties = 5; */ @java.lang.Override public java.util.List getPropertiesOrBuilderList() { return properties_; } /** * repeated .cz.proto.Property properties = 5; */ @java.lang.Override public int getPropertiesCount() { return properties_.size(); } /** * repeated .cz.proto.Property properties = 5; */ @java.lang.Override public cz.proto.PropertyOuterClass.Property getProperties(int index) { return properties_.get(index); } /** * repeated .cz.proto.Property properties = 5; */ @java.lang.Override public cz.proto.PropertyOuterClass.PropertyOrBuilder getPropertiesOrBuilder( int index) { return properties_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, comment_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, alias_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, newName_); } for (int i = 0; i < properties_.size(); i++) { output.writeMessage(5, properties_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, comment_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, alias_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, newName_); } for (int i = 0; i < properties_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, properties_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cz.proto.access.Ddl.AlterRole)) { return super.equals(obj); } cz.proto.access.Ddl.AlterRole other = (cz.proto.access.Ddl.AlterRole) obj; if (hasComment() != other.hasComment()) return false; if (hasComment()) { if (!getComment() .equals(other.getComment())) return false; } if (hasAlias() != other.hasAlias()) return false; if (hasAlias()) { if (!getAlias() .equals(other.getAlias())) return false; } if (hasNewName() != other.hasNewName()) return false; if (hasNewName()) { if (!getNewName() .equals(other.getNewName())) return false; } if (!getPropertiesList() .equals(other.getPropertiesList())) 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 (hasComment()) { hash = (37 * hash) + COMMENT_FIELD_NUMBER; hash = (53 * hash) + getComment().hashCode(); } if (hasAlias()) { hash = (37 * hash) + ALIAS_FIELD_NUMBER; hash = (53 * hash) + getAlias().hashCode(); } if (hasNewName()) { hash = (37 * hash) + NEW_NAME_FIELD_NUMBER; hash = (53 * hash) + getNewName().hashCode(); } if (getPropertiesCount() > 0) { hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getPropertiesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AlterRole parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterRole parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterRole parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterRole parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterRole parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterRole parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterRole parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterRole 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 cz.proto.access.Ddl.AlterRole parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterRole 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 cz.proto.access.Ddl.AlterRole parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterRole 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(cz.proto.access.Ddl.AlterRole 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 cz.proto.access.AlterRole} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AlterRole) cz.proto.access.Ddl.AlterRoleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterRole_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterRole_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterRole.class, cz.proto.access.Ddl.AlterRole.Builder.class); } // Construct using cz.proto.access.Ddl.AlterRole.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPropertiesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); comment_ = ""; bitField0_ = (bitField0_ & ~0x00000001); alias_ = ""; bitField0_ = (bitField0_ & ~0x00000002); newName_ = ""; bitField0_ = (bitField0_ & ~0x00000004); if (propertiesBuilder_ == null) { properties_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { propertiesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterRole_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AlterRole getDefaultInstanceForType() { return cz.proto.access.Ddl.AlterRole.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AlterRole build() { cz.proto.access.Ddl.AlterRole result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AlterRole buildPartial() { cz.proto.access.Ddl.AlterRole result = new cz.proto.access.Ddl.AlterRole(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.comment_ = comment_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.alias_ = alias_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.newName_ = newName_; if (propertiesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { properties_ = java.util.Collections.unmodifiableList(properties_); bitField0_ = (bitField0_ & ~0x00000008); } result.properties_ = properties_; } else { result.properties_ = propertiesBuilder_.build(); } result.bitField0_ = to_bitField0_; 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 cz.proto.access.Ddl.AlterRole) { return mergeFrom((cz.proto.access.Ddl.AlterRole)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AlterRole other) { if (other == cz.proto.access.Ddl.AlterRole.getDefaultInstance()) return this; if (other.hasComment()) { bitField0_ |= 0x00000001; comment_ = other.comment_; onChanged(); } if (other.hasAlias()) { bitField0_ |= 0x00000002; alias_ = other.alias_; onChanged(); } if (other.hasNewName()) { bitField0_ |= 0x00000004; newName_ = other.newName_; onChanged(); } if (propertiesBuilder_ == null) { if (!other.properties_.isEmpty()) { if (properties_.isEmpty()) { properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensurePropertiesIsMutable(); properties_.addAll(other.properties_); } onChanged(); } } else { if (!other.properties_.isEmpty()) { if (propertiesBuilder_.isEmpty()) { propertiesBuilder_.dispose(); propertiesBuilder_ = null; properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000008); propertiesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPropertiesFieldBuilder() : null; } else { propertiesBuilder_.addAllMessages(other.properties_); } } } 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 { cz.proto.access.Ddl.AlterRole parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AlterRole) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object comment_ = ""; /** * optional string comment = 2; * @return Whether the comment field is set. */ public boolean hasComment() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string comment = 2; * @return The comment. */ public java.lang.String getComment() { java.lang.Object ref = comment_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); comment_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string comment = 2; * @return The bytes for comment. */ public com.google.protobuf.ByteString getCommentBytes() { java.lang.Object ref = comment_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); comment_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string comment = 2; * @param value The comment to set. * @return This builder for chaining. */ public Builder setComment( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; comment_ = value; onChanged(); return this; } /** * optional string comment = 2; * @return This builder for chaining. */ public Builder clearComment() { bitField0_ = (bitField0_ & ~0x00000001); comment_ = getDefaultInstance().getComment(); onChanged(); return this; } /** * optional string comment = 2; * @param value The bytes for comment to set. * @return This builder for chaining. */ public Builder setCommentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000001; comment_ = value; onChanged(); return this; } private java.lang.Object alias_ = ""; /** * optional string alias = 3; * @return Whether the alias field is set. */ public boolean hasAlias() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string alias = 3; * @return The alias. */ public java.lang.String getAlias() { java.lang.Object ref = alias_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alias_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string alias = 3; * @return The bytes for alias. */ public com.google.protobuf.ByteString getAliasBytes() { java.lang.Object ref = alias_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); alias_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string alias = 3; * @param value The alias to set. * @return This builder for chaining. */ public Builder setAlias( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; alias_ = value; onChanged(); return this; } /** * optional string alias = 3; * @return This builder for chaining. */ public Builder clearAlias() { bitField0_ = (bitField0_ & ~0x00000002); alias_ = getDefaultInstance().getAlias(); onChanged(); return this; } /** * optional string alias = 3; * @param value The bytes for alias to set. * @return This builder for chaining. */ public Builder setAliasBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000002; alias_ = value; onChanged(); return this; } private java.lang.Object newName_ = ""; /** * optional string new_name = 4; * @return Whether the newName field is set. */ public boolean hasNewName() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string new_name = 4; * @return The newName. */ public java.lang.String getNewName() { java.lang.Object ref = newName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string new_name = 4; * @return The bytes for newName. */ public com.google.protobuf.ByteString getNewNameBytes() { java.lang.Object ref = newName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string new_name = 4; * @param value The newName to set. * @return This builder for chaining. */ public Builder setNewName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; newName_ = value; onChanged(); return this; } /** * optional string new_name = 4; * @return This builder for chaining. */ public Builder clearNewName() { bitField0_ = (bitField0_ & ~0x00000004); newName_ = getDefaultInstance().getNewName(); onChanged(); return this; } /** * optional string new_name = 4; * @param value The bytes for newName to set. * @return This builder for chaining. */ public Builder setNewNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000004; newName_ = value; onChanged(); return this; } private java.util.List properties_ = java.util.Collections.emptyList(); private void ensurePropertiesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { properties_ = new java.util.ArrayList(properties_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.PropertyOuterClass.Property, cz.proto.PropertyOuterClass.Property.Builder, cz.proto.PropertyOuterClass.PropertyOrBuilder> propertiesBuilder_; /** * repeated .cz.proto.Property properties = 5; */ public java.util.List getPropertiesList() { if (propertiesBuilder_ == null) { return java.util.Collections.unmodifiableList(properties_); } else { return propertiesBuilder_.getMessageList(); } } /** * repeated .cz.proto.Property properties = 5; */ public int getPropertiesCount() { if (propertiesBuilder_ == null) { return properties_.size(); } else { return propertiesBuilder_.getCount(); } } /** * repeated .cz.proto.Property properties = 5; */ public cz.proto.PropertyOuterClass.Property getProperties(int index) { if (propertiesBuilder_ == null) { return properties_.get(index); } else { return propertiesBuilder_.getMessage(index); } } /** * repeated .cz.proto.Property properties = 5; */ public Builder setProperties( int index, cz.proto.PropertyOuterClass.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.set(index, value); onChanged(); } else { propertiesBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.Property properties = 5; */ public Builder setProperties( int index, cz.proto.PropertyOuterClass.Property.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.set(index, builderForValue.build()); onChanged(); } else { propertiesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.Property properties = 5; */ public Builder addProperties(cz.proto.PropertyOuterClass.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(value); onChanged(); } else { propertiesBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.Property properties = 5; */ public Builder addProperties( int index, cz.proto.PropertyOuterClass.Property value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(index, value); onChanged(); } else { propertiesBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.Property properties = 5; */ public Builder addProperties( cz.proto.PropertyOuterClass.Property.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.add(builderForValue.build()); onChanged(); } else { propertiesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.Property properties = 5; */ public Builder addProperties( int index, cz.proto.PropertyOuterClass.Property.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.add(index, builderForValue.build()); onChanged(); } else { propertiesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.Property properties = 5; */ public Builder addAllProperties( java.lang.Iterable values) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, properties_); onChanged(); } else { propertiesBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.Property properties = 5; */ public Builder clearProperties() { if (propertiesBuilder_ == null) { properties_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { propertiesBuilder_.clear(); } return this; } /** * repeated .cz.proto.Property properties = 5; */ public Builder removeProperties(int index) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.remove(index); onChanged(); } else { propertiesBuilder_.remove(index); } return this; } /** * repeated .cz.proto.Property properties = 5; */ public cz.proto.PropertyOuterClass.Property.Builder getPropertiesBuilder( int index) { return getPropertiesFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.Property properties = 5; */ public cz.proto.PropertyOuterClass.PropertyOrBuilder getPropertiesOrBuilder( int index) { if (propertiesBuilder_ == null) { return properties_.get(index); } else { return propertiesBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.Property properties = 5; */ public java.util.List getPropertiesOrBuilderList() { if (propertiesBuilder_ != null) { return propertiesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(properties_); } } /** * repeated .cz.proto.Property properties = 5; */ public cz.proto.PropertyOuterClass.Property.Builder addPropertiesBuilder() { return getPropertiesFieldBuilder().addBuilder( cz.proto.PropertyOuterClass.Property.getDefaultInstance()); } /** * repeated .cz.proto.Property properties = 5; */ public cz.proto.PropertyOuterClass.Property.Builder addPropertiesBuilder( int index) { return getPropertiesFieldBuilder().addBuilder( index, cz.proto.PropertyOuterClass.Property.getDefaultInstance()); } /** * repeated .cz.proto.Property properties = 5; */ public java.util.List getPropertiesBuilderList() { return getPropertiesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.PropertyOuterClass.Property, cz.proto.PropertyOuterClass.Property.Builder, cz.proto.PropertyOuterClass.PropertyOrBuilder> getPropertiesFieldBuilder() { if (propertiesBuilder_ == null) { propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.PropertyOuterClass.Property, cz.proto.PropertyOuterClass.Property.Builder, cz.proto.PropertyOuterClass.PropertyOrBuilder>( properties_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); properties_ = null; } return propertiesBuilder_; } @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:cz.proto.access.AlterRole) } // @@protoc_insertion_point(class_scope:cz.proto.access.AlterRole) private static final cz.proto.access.Ddl.AlterRole DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterRole(); } public static cz.proto.access.Ddl.AlterRole getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlterRole parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlterRole(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 cz.proto.access.Ddl.AlterRole getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlterJobOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.AlterJob) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.JobHistory history = 2; * @return Whether the history field is set. */ boolean hasHistory(); /** * .cz.proto.JobHistory history = 2; * @return The history. */ cz.proto.JobHistory getHistory(); /** * .cz.proto.JobHistory history = 2; */ cz.proto.JobHistoryOrBuilder getHistoryOrBuilder(); /** * optional .cz.proto.JobStatus status = 3; * @return Whether the status field is set. */ boolean hasStatus(); /** * optional .cz.proto.JobStatus status = 3; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** * optional .cz.proto.JobStatus status = 3; * @return The status. */ cz.proto.JobStatus getStatus(); /** * optional int64 end_time = 4; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** * optional int64 end_time = 4; * @return The endTime. */ long getEndTime(); /** * optional string result = 5; * @return Whether the result field is set. */ boolean hasResult(); /** * optional string result = 5; * @return The result. */ java.lang.String getResult(); /** * optional string result = 5; * @return The bytes for result. */ com.google.protobuf.ByteString getResultBytes(); /** * .cz.proto.JobSummaryLocation summary = 6; * @return Whether the summary field is set. */ boolean hasSummary(); /** * .cz.proto.JobSummaryLocation summary = 6; * @return The summary. */ cz.proto.JobSummaryLocation getSummary(); /** * .cz.proto.JobSummaryLocation summary = 6; */ cz.proto.JobSummaryLocationOrBuilder getSummaryOrBuilder(); /** * optional bool cancel = 7; * @return Whether the cancel field is set. */ boolean hasCancel(); /** * optional bool cancel = 7; * @return The cancel. */ boolean getCancel(); } /** * Protobuf type {@code cz.proto.access.AlterJob} */ public static final class AlterJob extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AlterJob) AlterJobOrBuilder { private static final long serialVersionUID = 0L; // Use AlterJob.newBuilder() to construct. private AlterJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlterJob() { status_ = 0; result_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterJob(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlterJob( 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 18: { cz.proto.JobHistory.Builder subBuilder = null; if (history_ != null) { subBuilder = history_.toBuilder(); } history_ = input.readMessage(cz.proto.JobHistory.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(history_); history_ = subBuilder.buildPartial(); } break; } case 24: { int rawValue = input.readEnum(); bitField0_ |= 0x00000001; status_ = rawValue; break; } case 32: { bitField0_ |= 0x00000002; endTime_ = input.readInt64(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; result_ = s; break; } case 50: { cz.proto.JobSummaryLocation.Builder subBuilder = null; if (summary_ != null) { subBuilder = summary_.toBuilder(); } summary_ = input.readMessage(cz.proto.JobSummaryLocation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(summary_); summary_ = subBuilder.buildPartial(); } break; } case 56: { bitField0_ |= 0x00000008; cancel_ = input.readBool(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_AlterJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterJob_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterJob.class, cz.proto.access.Ddl.AlterJob.Builder.class); } private int bitField0_; public static final int HISTORY_FIELD_NUMBER = 2; private cz.proto.JobHistory history_; /** * .cz.proto.JobHistory history = 2; * @return Whether the history field is set. */ @java.lang.Override public boolean hasHistory() { return history_ != null; } /** * .cz.proto.JobHistory history = 2; * @return The history. */ @java.lang.Override public cz.proto.JobHistory getHistory() { return history_ == null ? cz.proto.JobHistory.getDefaultInstance() : history_; } /** * .cz.proto.JobHistory history = 2; */ @java.lang.Override public cz.proto.JobHistoryOrBuilder getHistoryOrBuilder() { return getHistory(); } public static final int STATUS_FIELD_NUMBER = 3; private int status_; /** * optional .cz.proto.JobStatus status = 3; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .cz.proto.JobStatus status = 3; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** * optional .cz.proto.JobStatus status = 3; * @return The status. */ @java.lang.Override public cz.proto.JobStatus getStatus() { @SuppressWarnings("deprecation") cz.proto.JobStatus result = cz.proto.JobStatus.valueOf(status_); return result == null ? cz.proto.JobStatus.UNRECOGNIZED : result; } public static final int END_TIME_FIELD_NUMBER = 4; private long endTime_; /** * optional int64 end_time = 4; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 end_time = 4; * @return The endTime. */ @java.lang.Override public long getEndTime() { return endTime_; } public static final int RESULT_FIELD_NUMBER = 5; private volatile java.lang.Object result_; /** * optional string result = 5; * @return Whether the result field is set. */ @java.lang.Override public boolean hasResult() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string result = 5; * @return The result. */ @java.lang.Override public java.lang.String getResult() { java.lang.Object ref = result_; 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(); result_ = s; return s; } } /** * optional string result = 5; * @return The bytes for result. */ @java.lang.Override public com.google.protobuf.ByteString getResultBytes() { java.lang.Object ref = result_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); result_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SUMMARY_FIELD_NUMBER = 6; private cz.proto.JobSummaryLocation summary_; /** * .cz.proto.JobSummaryLocation summary = 6; * @return Whether the summary field is set. */ @java.lang.Override public boolean hasSummary() { return summary_ != null; } /** * .cz.proto.JobSummaryLocation summary = 6; * @return The summary. */ @java.lang.Override public cz.proto.JobSummaryLocation getSummary() { return summary_ == null ? cz.proto.JobSummaryLocation.getDefaultInstance() : summary_; } /** * .cz.proto.JobSummaryLocation summary = 6; */ @java.lang.Override public cz.proto.JobSummaryLocationOrBuilder getSummaryOrBuilder() { return getSummary(); } public static final int CANCEL_FIELD_NUMBER = 7; private boolean cancel_; /** * optional bool cancel = 7; * @return Whether the cancel field is set. */ @java.lang.Override public boolean hasCancel() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool cancel = 7; * @return The cancel. */ @java.lang.Override public boolean getCancel() { return cancel_; } 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 (history_ != null) { output.writeMessage(2, getHistory()); } if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(3, status_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(4, endTime_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, result_); } if (summary_ != null) { output.writeMessage(6, getSummary()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(7, cancel_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (history_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getHistory()); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, status_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, endTime_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, result_); } if (summary_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getSummary()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, cancel_); } 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 cz.proto.access.Ddl.AlterJob)) { return super.equals(obj); } cz.proto.access.Ddl.AlterJob other = (cz.proto.access.Ddl.AlterJob) obj; if (hasHistory() != other.hasHistory()) return false; if (hasHistory()) { if (!getHistory() .equals(other.getHistory())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (status_ != other.status_) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { if (getEndTime() != other.getEndTime()) return false; } if (hasResult() != other.hasResult()) return false; if (hasResult()) { if (!getResult() .equals(other.getResult())) return false; } if (hasSummary() != other.hasSummary()) return false; if (hasSummary()) { if (!getSummary() .equals(other.getSummary())) return false; } if (hasCancel() != other.hasCancel()) return false; if (hasCancel()) { if (getCancel() != other.getCancel()) 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 (hasHistory()) { hash = (37 * hash) + HISTORY_FIELD_NUMBER; hash = (53 * hash) + getHistory().hashCode(); } if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; } if (hasEndTime()) { hash = (37 * hash) + END_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEndTime()); } if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + getResult().hashCode(); } if (hasSummary()) { hash = (37 * hash) + SUMMARY_FIELD_NUMBER; hash = (53 * hash) + getSummary().hashCode(); } if (hasCancel()) { hash = (37 * hash) + CANCEL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCancel()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AlterJob parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterJob parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterJob parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterJob parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterJob 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 cz.proto.access.Ddl.AlterJob parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterJob 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 cz.proto.access.Ddl.AlterJob parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterJob 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(cz.proto.access.Ddl.AlterJob 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 cz.proto.access.AlterJob} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AlterJob) cz.proto.access.Ddl.AlterJobOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterJob_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterJob.class, cz.proto.access.Ddl.AlterJob.Builder.class); } // Construct using cz.proto.access.Ddl.AlterJob.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 (historyBuilder_ == null) { history_ = null; } else { history_ = null; historyBuilder_ = null; } status_ = 0; bitField0_ = (bitField0_ & ~0x00000001); endTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); result_ = ""; bitField0_ = (bitField0_ & ~0x00000004); if (summaryBuilder_ == null) { summary_ = null; } else { summary_ = null; summaryBuilder_ = null; } cancel_ = false; bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterJob_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AlterJob getDefaultInstanceForType() { return cz.proto.access.Ddl.AlterJob.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AlterJob build() { cz.proto.access.Ddl.AlterJob result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AlterJob buildPartial() { cz.proto.access.Ddl.AlterJob result = new cz.proto.access.Ddl.AlterJob(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (historyBuilder_ == null) { result.history_ = history_; } else { result.history_ = historyBuilder_.build(); } if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.status_ = status_; if (((from_bitField0_ & 0x00000002) != 0)) { result.endTime_ = endTime_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.result_ = result_; if (summaryBuilder_ == null) { result.summary_ = summary_; } else { result.summary_ = summaryBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.cancel_ = cancel_; to_bitField0_ |= 0x00000008; } result.bitField0_ = to_bitField0_; 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 cz.proto.access.Ddl.AlterJob) { return mergeFrom((cz.proto.access.Ddl.AlterJob)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AlterJob other) { if (other == cz.proto.access.Ddl.AlterJob.getDefaultInstance()) return this; if (other.hasHistory()) { mergeHistory(other.getHistory()); } if (other.hasStatus()) { setStatus(other.getStatus()); } if (other.hasEndTime()) { setEndTime(other.getEndTime()); } if (other.hasResult()) { bitField0_ |= 0x00000004; result_ = other.result_; onChanged(); } if (other.hasSummary()) { mergeSummary(other.getSummary()); } if (other.hasCancel()) { setCancel(other.getCancel()); } 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 { cz.proto.access.Ddl.AlterJob parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AlterJob) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.JobHistory history_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder> historyBuilder_; /** * .cz.proto.JobHistory history = 2; * @return Whether the history field is set. */ public boolean hasHistory() { return historyBuilder_ != null || history_ != null; } /** * .cz.proto.JobHistory history = 2; * @return The history. */ public cz.proto.JobHistory getHistory() { if (historyBuilder_ == null) { return history_ == null ? cz.proto.JobHistory.getDefaultInstance() : history_; } else { return historyBuilder_.getMessage(); } } /** * .cz.proto.JobHistory history = 2; */ public Builder setHistory(cz.proto.JobHistory value) { if (historyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } history_ = value; onChanged(); } else { historyBuilder_.setMessage(value); } return this; } /** * .cz.proto.JobHistory history = 2; */ public Builder setHistory( cz.proto.JobHistory.Builder builderForValue) { if (historyBuilder_ == null) { history_ = builderForValue.build(); onChanged(); } else { historyBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.JobHistory history = 2; */ public Builder mergeHistory(cz.proto.JobHistory value) { if (historyBuilder_ == null) { if (history_ != null) { history_ = cz.proto.JobHistory.newBuilder(history_).mergeFrom(value).buildPartial(); } else { history_ = value; } onChanged(); } else { historyBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.JobHistory history = 2; */ public Builder clearHistory() { if (historyBuilder_ == null) { history_ = null; onChanged(); } else { history_ = null; historyBuilder_ = null; } return this; } /** * .cz.proto.JobHistory history = 2; */ public cz.proto.JobHistory.Builder getHistoryBuilder() { onChanged(); return getHistoryFieldBuilder().getBuilder(); } /** * .cz.proto.JobHistory history = 2; */ public cz.proto.JobHistoryOrBuilder getHistoryOrBuilder() { if (historyBuilder_ != null) { return historyBuilder_.getMessageOrBuilder(); } else { return history_ == null ? cz.proto.JobHistory.getDefaultInstance() : history_; } } /** * .cz.proto.JobHistory history = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder> getHistoryFieldBuilder() { if (historyBuilder_ == null) { historyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder>( getHistory(), getParentForChildren(), isClean()); history_ = null; } return historyBuilder_; } private int status_ = 0; /** * optional .cz.proto.JobStatus status = 3; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .cz.proto.JobStatus status = 3; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** * optional .cz.proto.JobStatus status = 3; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { bitField0_ |= 0x00000001; status_ = value; onChanged(); return this; } /** * optional .cz.proto.JobStatus status = 3; * @return The status. */ @java.lang.Override public cz.proto.JobStatus getStatus() { @SuppressWarnings("deprecation") cz.proto.JobStatus result = cz.proto.JobStatus.valueOf(status_); return result == null ? cz.proto.JobStatus.UNRECOGNIZED : result; } /** * optional .cz.proto.JobStatus status = 3; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(cz.proto.JobStatus value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; status_ = value.getNumber(); onChanged(); return this; } /** * optional .cz.proto.JobStatus status = 3; * @return This builder for chaining. */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000001); status_ = 0; onChanged(); return this; } private long endTime_ ; /** * optional int64 end_time = 4; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 end_time = 4; * @return The endTime. */ @java.lang.Override public long getEndTime() { return endTime_; } /** * optional int64 end_time = 4; * @param value The endTime to set. * @return This builder for chaining. */ public Builder setEndTime(long value) { bitField0_ |= 0x00000002; endTime_ = value; onChanged(); return this; } /** * optional int64 end_time = 4; * @return This builder for chaining. */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); endTime_ = 0L; onChanged(); return this; } private java.lang.Object result_ = ""; /** * optional string result = 5; * @return Whether the result field is set. */ public boolean hasResult() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string result = 5; * @return The result. */ public java.lang.String getResult() { java.lang.Object ref = result_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); result_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string result = 5; * @return The bytes for result. */ public com.google.protobuf.ByteString getResultBytes() { java.lang.Object ref = result_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); result_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string result = 5; * @param value The result to set. * @return This builder for chaining. */ public Builder setResult( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; result_ = value; onChanged(); return this; } /** * optional string result = 5; * @return This builder for chaining. */ public Builder clearResult() { bitField0_ = (bitField0_ & ~0x00000004); result_ = getDefaultInstance().getResult(); onChanged(); return this; } /** * optional string result = 5; * @param value The bytes for result to set. * @return This builder for chaining. */ public Builder setResultBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000004; result_ = value; onChanged(); return this; } private cz.proto.JobSummaryLocation summary_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobSummaryLocation, cz.proto.JobSummaryLocation.Builder, cz.proto.JobSummaryLocationOrBuilder> summaryBuilder_; /** * .cz.proto.JobSummaryLocation summary = 6; * @return Whether the summary field is set. */ public boolean hasSummary() { return summaryBuilder_ != null || summary_ != null; } /** * .cz.proto.JobSummaryLocation summary = 6; * @return The summary. */ public cz.proto.JobSummaryLocation getSummary() { if (summaryBuilder_ == null) { return summary_ == null ? cz.proto.JobSummaryLocation.getDefaultInstance() : summary_; } else { return summaryBuilder_.getMessage(); } } /** * .cz.proto.JobSummaryLocation summary = 6; */ public Builder setSummary(cz.proto.JobSummaryLocation value) { if (summaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } summary_ = value; onChanged(); } else { summaryBuilder_.setMessage(value); } return this; } /** * .cz.proto.JobSummaryLocation summary = 6; */ public Builder setSummary( cz.proto.JobSummaryLocation.Builder builderForValue) { if (summaryBuilder_ == null) { summary_ = builderForValue.build(); onChanged(); } else { summaryBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.JobSummaryLocation summary = 6; */ public Builder mergeSummary(cz.proto.JobSummaryLocation value) { if (summaryBuilder_ == null) { if (summary_ != null) { summary_ = cz.proto.JobSummaryLocation.newBuilder(summary_).mergeFrom(value).buildPartial(); } else { summary_ = value; } onChanged(); } else { summaryBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.JobSummaryLocation summary = 6; */ public Builder clearSummary() { if (summaryBuilder_ == null) { summary_ = null; onChanged(); } else { summary_ = null; summaryBuilder_ = null; } return this; } /** * .cz.proto.JobSummaryLocation summary = 6; */ public cz.proto.JobSummaryLocation.Builder getSummaryBuilder() { onChanged(); return getSummaryFieldBuilder().getBuilder(); } /** * .cz.proto.JobSummaryLocation summary = 6; */ public cz.proto.JobSummaryLocationOrBuilder getSummaryOrBuilder() { if (summaryBuilder_ != null) { return summaryBuilder_.getMessageOrBuilder(); } else { return summary_ == null ? cz.proto.JobSummaryLocation.getDefaultInstance() : summary_; } } /** * .cz.proto.JobSummaryLocation summary = 6; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobSummaryLocation, cz.proto.JobSummaryLocation.Builder, cz.proto.JobSummaryLocationOrBuilder> getSummaryFieldBuilder() { if (summaryBuilder_ == null) { summaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobSummaryLocation, cz.proto.JobSummaryLocation.Builder, cz.proto.JobSummaryLocationOrBuilder>( getSummary(), getParentForChildren(), isClean()); summary_ = null; } return summaryBuilder_; } private boolean cancel_ ; /** * optional bool cancel = 7; * @return Whether the cancel field is set. */ @java.lang.Override public boolean hasCancel() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool cancel = 7; * @return The cancel. */ @java.lang.Override public boolean getCancel() { return cancel_; } /** * optional bool cancel = 7; * @param value The cancel to set. * @return This builder for chaining. */ public Builder setCancel(boolean value) { bitField0_ |= 0x00000008; cancel_ = value; onChanged(); return this; } /** * optional bool cancel = 7; * @return This builder for chaining. */ public Builder clearCancel() { bitField0_ = (bitField0_ & ~0x00000008); cancel_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.AlterJob) } // @@protoc_insertion_point(class_scope:cz.proto.access.AlterJob) private static final cz.proto.access.Ddl.AlterJob DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterJob(); } public static cz.proto.access.Ddl.AlterJob getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlterJob parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlterJob(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 cz.proto.access.Ddl.AlterJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlterVClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.AlterVCluster) com.google.protobuf.MessageOrBuilder { /** * optional int64 vc_id = 1; * @return Whether the vcId field is set. */ boolean hasVcId(); /** * optional int64 vc_id = 1; * @return The vcId. */ long getVcId(); /** * optional int64 workspace_id = 2; * @return Whether the workspaceId field is set. */ boolean hasWorkspaceId(); /** * optional int64 workspace_id = 2; * @return The workspaceId. */ long getWorkspaceId(); /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; * @return Whether the properties field is set. */ boolean hasProperties(); /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; * @return The properties. */ com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties getProperties(); /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; */ com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterPropertiesOrBuilder getPropertiesOrBuilder(); /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; * @return Whether the state field is set. */ boolean hasState(); /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; * @return The state. */ com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo getState(); /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; */ com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfoOrBuilder getStateOrBuilder(); /** * repeated string unset_tags = 5; * @return A list containing the unsetTags. */ java.util.List getUnsetTagsList(); /** * repeated string unset_tags = 5; * @return The count of unsetTags. */ int getUnsetTagsCount(); /** * repeated string unset_tags = 5; * @param index The index of the element to return. * @return The unsetTags at the given index. */ java.lang.String getUnsetTags(int index); /** * repeated string unset_tags = 5; * @param index The index of the value to return. * @return The bytes of the unsetTags at the given index. */ com.google.protobuf.ByteString getUnsetTagsBytes(int index); } /** * Protobuf type {@code cz.proto.access.AlterVCluster} */ public static final class AlterVCluster extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AlterVCluster) AlterVClusterOrBuilder { private static final long serialVersionUID = 0L; // Use AlterVCluster.newBuilder() to construct. private AlterVCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlterVCluster() { unsetTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterVCluster(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlterVCluster( 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: { bitField0_ |= 0x00000001; vcId_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; workspaceId_ = input.readInt64(); break; } case 26: { com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.Builder subBuilder = null; if (((bitField0_ & 0x00000004) != 0)) { subBuilder = properties_.toBuilder(); } properties_ = input.readMessage(com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(properties_); properties_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000008) != 0)) { subBuilder = state_.toBuilder(); } state_ = input.readMessage(com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(state_); state_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000010) != 0)) { unsetTags_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000010; } unsetTags_.add(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 { if (((mutable_bitField0_ & 0x00000010) != 0)) { unsetTags_ = unsetTags_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVCluster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterVCluster.class, cz.proto.access.Ddl.AlterVCluster.Builder.class); } private int bitField0_; public static final int VC_ID_FIELD_NUMBER = 1; private long vcId_; /** * optional int64 vc_id = 1; * @return Whether the vcId field is set. */ @java.lang.Override public boolean hasVcId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 vc_id = 1; * @return The vcId. */ @java.lang.Override public long getVcId() { return vcId_; } public static final int WORKSPACE_ID_FIELD_NUMBER = 2; private long workspaceId_; /** * optional int64 workspace_id = 2; * @return Whether the workspaceId field is set. */ @java.lang.Override public boolean hasWorkspaceId() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 workspace_id = 2; * @return The workspaceId. */ @java.lang.Override public long getWorkspaceId() { return workspaceId_; } public static final int PROPERTIES_FIELD_NUMBER = 3; private com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties properties_; /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; * @return Whether the properties field is set. */ @java.lang.Override public boolean hasProperties() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; * @return The properties. */ @java.lang.Override public com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties getProperties() { return properties_ == null ? com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.getDefaultInstance() : properties_; } /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; */ @java.lang.Override public com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterPropertiesOrBuilder getPropertiesOrBuilder() { return properties_ == null ? com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.getDefaultInstance() : properties_; } public static final int STATE_FIELD_NUMBER = 4; private com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo state_; /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; * @return Whether the state field is set. */ @java.lang.Override public boolean hasState() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; * @return The state. */ @java.lang.Override public com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo getState() { return state_ == null ? com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.getDefaultInstance() : state_; } /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; */ @java.lang.Override public com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfoOrBuilder getStateOrBuilder() { return state_ == null ? com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.getDefaultInstance() : state_; } public static final int UNSET_TAGS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList unsetTags_; /** * repeated string unset_tags = 5; * @return A list containing the unsetTags. */ public com.google.protobuf.ProtocolStringList getUnsetTagsList() { return unsetTags_; } /** * repeated string unset_tags = 5; * @return The count of unsetTags. */ public int getUnsetTagsCount() { return unsetTags_.size(); } /** * repeated string unset_tags = 5; * @param index The index of the element to return. * @return The unsetTags at the given index. */ public java.lang.String getUnsetTags(int index) { return unsetTags_.get(index); } /** * repeated string unset_tags = 5; * @param index The index of the value to return. * @return The bytes of the unsetTags at the given index. */ public com.google.protobuf.ByteString getUnsetTagsBytes(int index) { return unsetTags_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, vcId_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, workspaceId_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getProperties()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getState()); } for (int i = 0; i < unsetTags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, unsetTags_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, vcId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, workspaceId_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getProperties()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getState()); } { int dataSize = 0; for (int i = 0; i < unsetTags_.size(); i++) { dataSize += computeStringSizeNoTag(unsetTags_.getRaw(i)); } size += dataSize; size += 1 * getUnsetTagsList().size(); } 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 cz.proto.access.Ddl.AlterVCluster)) { return super.equals(obj); } cz.proto.access.Ddl.AlterVCluster other = (cz.proto.access.Ddl.AlterVCluster) obj; if (hasVcId() != other.hasVcId()) return false; if (hasVcId()) { if (getVcId() != other.getVcId()) return false; } if (hasWorkspaceId() != other.hasWorkspaceId()) return false; if (hasWorkspaceId()) { if (getWorkspaceId() != other.getWorkspaceId()) return false; } if (hasProperties() != other.hasProperties()) return false; if (hasProperties()) { if (!getProperties() .equals(other.getProperties())) return false; } if (hasState() != other.hasState()) return false; if (hasState()) { if (!getState() .equals(other.getState())) return false; } if (!getUnsetTagsList() .equals(other.getUnsetTagsList())) 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 (hasVcId()) { hash = (37 * hash) + VC_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVcId()); } if (hasWorkspaceId()) { hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkspaceId()); } if (hasProperties()) { hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getProperties().hashCode(); } if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + getState().hashCode(); } if (getUnsetTagsCount() > 0) { hash = (37 * hash) + UNSET_TAGS_FIELD_NUMBER; hash = (53 * hash) + getUnsetTagsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AlterVCluster parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterVCluster parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterVCluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterVCluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterVCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterVCluster parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterVCluster parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterVCluster 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 cz.proto.access.Ddl.AlterVCluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterVCluster 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 cz.proto.access.Ddl.AlterVCluster parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterVCluster 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(cz.proto.access.Ddl.AlterVCluster 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 cz.proto.access.AlterVCluster} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AlterVCluster) cz.proto.access.Ddl.AlterVClusterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVCluster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterVCluster.class, cz.proto.access.Ddl.AlterVCluster.Builder.class); } // Construct using cz.proto.access.Ddl.AlterVCluster.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPropertiesFieldBuilder(); getStateFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); vcId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); workspaceId_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); if (propertiesBuilder_ == null) { properties_ = null; } else { propertiesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (stateBuilder_ == null) { state_ = null; } else { stateBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); unsetTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterVCluster_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AlterVCluster getDefaultInstanceForType() { return cz.proto.access.Ddl.AlterVCluster.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AlterVCluster build() { cz.proto.access.Ddl.AlterVCluster result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AlterVCluster buildPartial() { cz.proto.access.Ddl.AlterVCluster result = new cz.proto.access.Ddl.AlterVCluster(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.vcId_ = vcId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.workspaceId_ = workspaceId_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (propertiesBuilder_ == null) { result.properties_ = properties_; } else { result.properties_ = propertiesBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (stateBuilder_ == null) { result.state_ = state_; } else { result.state_ = stateBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (((bitField0_ & 0x00000010) != 0)) { unsetTags_ = unsetTags_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000010); } result.unsetTags_ = unsetTags_; result.bitField0_ = to_bitField0_; 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 cz.proto.access.Ddl.AlterVCluster) { return mergeFrom((cz.proto.access.Ddl.AlterVCluster)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AlterVCluster other) { if (other == cz.proto.access.Ddl.AlterVCluster.getDefaultInstance()) return this; if (other.hasVcId()) { setVcId(other.getVcId()); } if (other.hasWorkspaceId()) { setWorkspaceId(other.getWorkspaceId()); } if (other.hasProperties()) { mergeProperties(other.getProperties()); } if (other.hasState()) { mergeState(other.getState()); } if (!other.unsetTags_.isEmpty()) { if (unsetTags_.isEmpty()) { unsetTags_ = other.unsetTags_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureUnsetTagsIsMutable(); unsetTags_.addAll(other.unsetTags_); } 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 { cz.proto.access.Ddl.AlterVCluster parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AlterVCluster) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long vcId_ ; /** * optional int64 vc_id = 1; * @return Whether the vcId field is set. */ @java.lang.Override public boolean hasVcId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 vc_id = 1; * @return The vcId. */ @java.lang.Override public long getVcId() { return vcId_; } /** * optional int64 vc_id = 1; * @param value The vcId to set. * @return This builder for chaining. */ public Builder setVcId(long value) { bitField0_ |= 0x00000001; vcId_ = value; onChanged(); return this; } /** * optional int64 vc_id = 1; * @return This builder for chaining. */ public Builder clearVcId() { bitField0_ = (bitField0_ & ~0x00000001); vcId_ = 0L; onChanged(); return this; } private long workspaceId_ ; /** * optional int64 workspace_id = 2; * @return Whether the workspaceId field is set. */ @java.lang.Override public boolean hasWorkspaceId() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int64 workspace_id = 2; * @return The workspaceId. */ @java.lang.Override public long getWorkspaceId() { return workspaceId_; } /** * optional int64 workspace_id = 2; * @param value The workspaceId to set. * @return This builder for chaining. */ public Builder setWorkspaceId(long value) { bitField0_ |= 0x00000002; workspaceId_ = value; onChanged(); return this; } /** * optional int64 workspace_id = 2; * @return This builder for chaining. */ public Builder clearWorkspaceId() { bitField0_ = (bitField0_ & ~0x00000002); workspaceId_ = 0L; onChanged(); return this; } private com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties properties_; private com.google.protobuf.SingleFieldBuilderV3< com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties, com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.Builder, com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterPropertiesOrBuilder> propertiesBuilder_; /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; * @return Whether the properties field is set. */ public boolean hasProperties() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; * @return The properties. */ public com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties getProperties() { if (propertiesBuilder_ == null) { return properties_ == null ? com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.getDefaultInstance() : properties_; } else { return propertiesBuilder_.getMessage(); } } /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; */ public Builder setProperties(com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } properties_ = value; onChanged(); } else { propertiesBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; */ public Builder setProperties( com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.Builder builderForValue) { if (propertiesBuilder_ == null) { properties_ = builderForValue.build(); onChanged(); } else { propertiesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; */ public Builder mergeProperties(com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties value) { if (propertiesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && properties_ != null && properties_ != com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.getDefaultInstance()) { properties_ = com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.newBuilder(properties_).mergeFrom(value).buildPartial(); } else { properties_ = value; } onChanged(); } else { propertiesBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; */ public Builder clearProperties() { if (propertiesBuilder_ == null) { properties_ = null; onChanged(); } else { propertiesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; */ public com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.Builder getPropertiesBuilder() { bitField0_ |= 0x00000004; onChanged(); return getPropertiesFieldBuilder().getBuilder(); } /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; */ public com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterPropertiesOrBuilder getPropertiesOrBuilder() { if (propertiesBuilder_ != null) { return propertiesBuilder_.getMessageOrBuilder(); } else { return properties_ == null ? com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.getDefaultInstance() : properties_; } } /** * optional .com.clickzetta.rm.VirtualClusterProperties properties = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties, com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.Builder, com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterPropertiesOrBuilder> getPropertiesFieldBuilder() { if (propertiesBuilder_ == null) { propertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties, com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterProperties.Builder, com.clickzetta.rm.proto.VirtualClusterProtos.VirtualClusterPropertiesOrBuilder>( getProperties(), getParentForChildren(), isClean()); properties_ = null; } return propertiesBuilder_; } private com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo state_; private com.google.protobuf.SingleFieldBuilderV3< com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo, com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.Builder, com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfoOrBuilder> stateBuilder_; /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; * @return Whether the state field is set. */ public boolean hasState() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; * @return The state. */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo getState() { if (stateBuilder_ == null) { return state_ == null ? com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.getDefaultInstance() : state_; } else { return stateBuilder_.getMessage(); } } /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; */ public Builder setState(com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo value) { if (stateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } state_ = value; onChanged(); } else { stateBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; */ public Builder setState( com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.Builder builderForValue) { if (stateBuilder_ == null) { state_ = builderForValue.build(); onChanged(); } else { stateBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; */ public Builder mergeState(com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo value) { if (stateBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && state_ != null && state_ != com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.getDefaultInstance()) { state_ = com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.newBuilder(state_).mergeFrom(value).buildPartial(); } else { state_ = value; } onChanged(); } else { stateBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; */ public Builder clearState() { if (stateBuilder_ == null) { state_ = null; onChanged(); } else { stateBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.Builder getStateBuilder() { bitField0_ |= 0x00000008; onChanged(); return getStateFieldBuilder().getBuilder(); } /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfoOrBuilder getStateOrBuilder() { if (stateBuilder_ != null) { return stateBuilder_.getMessageOrBuilder(); } else { return state_ == null ? com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.getDefaultInstance() : state_; } } /** * optional .com.clickzetta.rm.VirtualClusterStateInfo state = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo, com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.Builder, com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfoOrBuilder> getStateFieldBuilder() { if (stateBuilder_ == null) { stateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo, com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfo.Builder, com.clickzetta.rm.proto.VirtualClusterManagementProtos.VirtualClusterStateInfoOrBuilder>( getState(), getParentForChildren(), isClean()); state_ = null; } return stateBuilder_; } private com.google.protobuf.LazyStringList unsetTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnsetTagsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { unsetTags_ = new com.google.protobuf.LazyStringArrayList(unsetTags_); bitField0_ |= 0x00000010; } } /** * repeated string unset_tags = 5; * @return A list containing the unsetTags. */ public com.google.protobuf.ProtocolStringList getUnsetTagsList() { return unsetTags_.getUnmodifiableView(); } /** * repeated string unset_tags = 5; * @return The count of unsetTags. */ public int getUnsetTagsCount() { return unsetTags_.size(); } /** * repeated string unset_tags = 5; * @param index The index of the element to return. * @return The unsetTags at the given index. */ public java.lang.String getUnsetTags(int index) { return unsetTags_.get(index); } /** * repeated string unset_tags = 5; * @param index The index of the value to return. * @return The bytes of the unsetTags at the given index. */ public com.google.protobuf.ByteString getUnsetTagsBytes(int index) { return unsetTags_.getByteString(index); } /** * repeated string unset_tags = 5; * @param index The index to set the value at. * @param value The unsetTags to set. * @return This builder for chaining. */ public Builder setUnsetTags( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureUnsetTagsIsMutable(); unsetTags_.set(index, value); onChanged(); return this; } /** * repeated string unset_tags = 5; * @param value The unsetTags to add. * @return This builder for chaining. */ public Builder addUnsetTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureUnsetTagsIsMutable(); unsetTags_.add(value); onChanged(); return this; } /** * repeated string unset_tags = 5; * @param values The unsetTags to add. * @return This builder for chaining. */ public Builder addAllUnsetTags( java.lang.Iterable values) { ensureUnsetTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, unsetTags_); onChanged(); return this; } /** * repeated string unset_tags = 5; * @return This builder for chaining. */ public Builder clearUnsetTags() { unsetTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** * repeated string unset_tags = 5; * @param value The bytes of the unsetTags to add. * @return This builder for chaining. */ public Builder addUnsetTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnsetTagsIsMutable(); unsetTags_.add(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:cz.proto.access.AlterVCluster) } // @@protoc_insertion_point(class_scope:cz.proto.access.AlterVCluster) private static final cz.proto.access.Ddl.AlterVCluster DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterVCluster(); } public static cz.proto.access.Ddl.AlterVCluster getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlterVCluster parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlterVCluster(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 cz.proto.access.Ddl.AlterVCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlterUserOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.AlterUser) com.google.protobuf.MessageOrBuilder { /** * optional int64 user_id = 1; * @return Whether the userId field is set. */ boolean hasUserId(); /** * optional int64 user_id = 1; * @return The userId. */ long getUserId(); /** * optional string default_vc = 2; * @return Whether the defaultVc field is set. */ boolean hasDefaultVc(); /** * optional string default_vc = 2; * @return The defaultVc. */ java.lang.String getDefaultVc(); /** * optional string default_vc = 2; * @return The bytes for defaultVc. */ com.google.protobuf.ByteString getDefaultVcBytes(); /** * optional string default_schema = 3; * @return Whether the defaultSchema field is set. */ boolean hasDefaultSchema(); /** * optional string default_schema = 3; * @return The defaultSchema. */ java.lang.String getDefaultSchema(); /** * optional string default_schema = 3; * @return The bytes for defaultSchema. */ com.google.protobuf.ByteString getDefaultSchemaBytes(); } /** * Protobuf type {@code cz.proto.access.AlterUser} */ public static final class AlterUser extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AlterUser) AlterUserOrBuilder { private static final long serialVersionUID = 0L; // Use AlterUser.newBuilder() to construct. private AlterUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AlterUser() { defaultVc_ = ""; defaultSchema_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AlterUser(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AlterUser( 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: { bitField0_ |= 0x00000001; userId_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; defaultVc_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; defaultSchema_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_AlterUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterUser_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterUser.class, cz.proto.access.Ddl.AlterUser.Builder.class); } private int bitField0_; public static final int USER_ID_FIELD_NUMBER = 1; private long userId_; /** * optional int64 user_id = 1; * @return Whether the userId field is set. */ @java.lang.Override public boolean hasUserId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 user_id = 1; * @return The userId. */ @java.lang.Override public long getUserId() { return userId_; } public static final int DEFAULT_VC_FIELD_NUMBER = 2; private volatile java.lang.Object defaultVc_; /** * optional string default_vc = 2; * @return Whether the defaultVc field is set. */ @java.lang.Override public boolean hasDefaultVc() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string default_vc = 2; * @return The defaultVc. */ @java.lang.Override public java.lang.String getDefaultVc() { java.lang.Object ref = defaultVc_; 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(); defaultVc_ = s; return s; } } /** * optional string default_vc = 2; * @return The bytes for defaultVc. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultVcBytes() { java.lang.Object ref = defaultVc_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultVc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULT_SCHEMA_FIELD_NUMBER = 3; private volatile java.lang.Object defaultSchema_; /** * optional string default_schema = 3; * @return Whether the defaultSchema field is set. */ @java.lang.Override public boolean hasDefaultSchema() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string default_schema = 3; * @return The defaultSchema. */ @java.lang.Override public java.lang.String getDefaultSchema() { java.lang.Object ref = defaultSchema_; 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(); defaultSchema_ = s; return s; } } /** * optional string default_schema = 3; * @return The bytes for defaultSchema. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultSchemaBytes() { java.lang.Object ref = defaultSchema_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultSchema_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, userId_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, defaultVc_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, defaultSchema_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, userId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, defaultVc_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, defaultSchema_); } 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 cz.proto.access.Ddl.AlterUser)) { return super.equals(obj); } cz.proto.access.Ddl.AlterUser other = (cz.proto.access.Ddl.AlterUser) obj; if (hasUserId() != other.hasUserId()) return false; if (hasUserId()) { if (getUserId() != other.getUserId()) return false; } if (hasDefaultVc() != other.hasDefaultVc()) return false; if (hasDefaultVc()) { if (!getDefaultVc() .equals(other.getDefaultVc())) return false; } if (hasDefaultSchema() != other.hasDefaultSchema()) return false; if (hasDefaultSchema()) { if (!getDefaultSchema() .equals(other.getDefaultSchema())) 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 (hasUserId()) { hash = (37 * hash) + USER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUserId()); } if (hasDefaultVc()) { hash = (37 * hash) + DEFAULT_VC_FIELD_NUMBER; hash = (53 * hash) + getDefaultVc().hashCode(); } if (hasDefaultSchema()) { hash = (37 * hash) + DEFAULT_SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getDefaultSchema().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AlterUser parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterUser parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterUser parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterUser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterUser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AlterUser parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AlterUser parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterUser 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 cz.proto.access.Ddl.AlterUser parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterUser 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 cz.proto.access.Ddl.AlterUser parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AlterUser 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(cz.proto.access.Ddl.AlterUser 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 cz.proto.access.AlterUser} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AlterUser) cz.proto.access.Ddl.AlterUserOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterUser_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AlterUser.class, cz.proto.access.Ddl.AlterUser.Builder.class); } // Construct using cz.proto.access.Ddl.AlterUser.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(); userId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); defaultVc_ = ""; bitField0_ = (bitField0_ & ~0x00000002); defaultSchema_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AlterUser_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AlterUser getDefaultInstanceForType() { return cz.proto.access.Ddl.AlterUser.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AlterUser build() { cz.proto.access.Ddl.AlterUser result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AlterUser buildPartial() { cz.proto.access.Ddl.AlterUser result = new cz.proto.access.Ddl.AlterUser(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.userId_ = userId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.defaultVc_ = defaultVc_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.defaultSchema_ = defaultSchema_; result.bitField0_ = to_bitField0_; 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 cz.proto.access.Ddl.AlterUser) { return mergeFrom((cz.proto.access.Ddl.AlterUser)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AlterUser other) { if (other == cz.proto.access.Ddl.AlterUser.getDefaultInstance()) return this; if (other.hasUserId()) { setUserId(other.getUserId()); } if (other.hasDefaultVc()) { bitField0_ |= 0x00000002; defaultVc_ = other.defaultVc_; onChanged(); } if (other.hasDefaultSchema()) { bitField0_ |= 0x00000004; defaultSchema_ = other.defaultSchema_; 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 { cz.proto.access.Ddl.AlterUser parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AlterUser) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long userId_ ; /** * optional int64 user_id = 1; * @return Whether the userId field is set. */ @java.lang.Override public boolean hasUserId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 user_id = 1; * @return The userId. */ @java.lang.Override public long getUserId() { return userId_; } /** * optional int64 user_id = 1; * @param value The userId to set. * @return This builder for chaining. */ public Builder setUserId(long value) { bitField0_ |= 0x00000001; userId_ = value; onChanged(); return this; } /** * optional int64 user_id = 1; * @return This builder for chaining. */ public Builder clearUserId() { bitField0_ = (bitField0_ & ~0x00000001); userId_ = 0L; onChanged(); return this; } private java.lang.Object defaultVc_ = ""; /** * optional string default_vc = 2; * @return Whether the defaultVc field is set. */ public boolean hasDefaultVc() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string default_vc = 2; * @return The defaultVc. */ public java.lang.String getDefaultVc() { java.lang.Object ref = defaultVc_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultVc_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string default_vc = 2; * @return The bytes for defaultVc. */ public com.google.protobuf.ByteString getDefaultVcBytes() { java.lang.Object ref = defaultVc_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultVc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string default_vc = 2; * @param value The defaultVc to set. * @return This builder for chaining. */ public Builder setDefaultVc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; defaultVc_ = value; onChanged(); return this; } /** * optional string default_vc = 2; * @return This builder for chaining. */ public Builder clearDefaultVc() { bitField0_ = (bitField0_ & ~0x00000002); defaultVc_ = getDefaultInstance().getDefaultVc(); onChanged(); return this; } /** * optional string default_vc = 2; * @param value The bytes for defaultVc to set. * @return This builder for chaining. */ public Builder setDefaultVcBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000002; defaultVc_ = value; onChanged(); return this; } private java.lang.Object defaultSchema_ = ""; /** * optional string default_schema = 3; * @return Whether the defaultSchema field is set. */ public boolean hasDefaultSchema() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string default_schema = 3; * @return The defaultSchema. */ public java.lang.String getDefaultSchema() { java.lang.Object ref = defaultSchema_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchema_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string default_schema = 3; * @return The bytes for defaultSchema. */ public com.google.protobuf.ByteString getDefaultSchemaBytes() { java.lang.Object ref = defaultSchema_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultSchema_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string default_schema = 3; * @param value The defaultSchema to set. * @return This builder for chaining. */ public Builder setDefaultSchema( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; defaultSchema_ = value; onChanged(); return this; } /** * optional string default_schema = 3; * @return This builder for chaining. */ public Builder clearDefaultSchema() { bitField0_ = (bitField0_ & ~0x00000004); defaultSchema_ = getDefaultInstance().getDefaultSchema(); onChanged(); return this; } /** * optional string default_schema = 3; * @param value The bytes for defaultSchema to set. * @return This builder for chaining. */ public Builder setDefaultSchemaBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000004; defaultSchema_ = 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:cz.proto.access.AlterUser) } // @@protoc_insertion_point(class_scope:cz.proto.access.AlterUser) private static final cz.proto.access.Ddl.AlterUser DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AlterUser(); } public static cz.proto.access.Ddl.AlterUser getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AlterUser parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AlterUser(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 cz.proto.access.Ddl.AlterUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TruncateEntityOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.TruncateEntity) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.access.TruncateTable table = 10; * @return Whether the table field is set. */ boolean hasTable(); /** * .cz.proto.access.TruncateTable table = 10; * @return The table. */ cz.proto.access.Ddl.TruncateTable getTable(); /** * .cz.proto.access.TruncateTable table = 10; */ cz.proto.access.Ddl.TruncateTableOrBuilder getTableOrBuilder(); public cz.proto.access.Ddl.TruncateEntity.DerivedCase getDerivedCase(); } /** * Protobuf type {@code cz.proto.access.TruncateEntity} */ public static final class TruncateEntity extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.TruncateEntity) TruncateEntityOrBuilder { private static final long serialVersionUID = 0L; // Use TruncateEntity.newBuilder() to construct. private TruncateEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TruncateEntity() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TruncateEntity(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TruncateEntity( 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 82: { cz.proto.access.Ddl.TruncateTable.Builder subBuilder = null; if (derivedCase_ == 10) { subBuilder = ((cz.proto.access.Ddl.TruncateTable) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.TruncateTable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.TruncateTable) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 10; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_TruncateEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TruncateEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.TruncateEntity.class, cz.proto.access.Ddl.TruncateEntity.Builder.class); } private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TABLE(10), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 10: return TABLE; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public static final int TABLE_FIELD_NUMBER = 10; /** * .cz.proto.access.TruncateTable table = 10; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return derivedCase_ == 10; } /** * .cz.proto.access.TruncateTable table = 10; * @return The table. */ @java.lang.Override public cz.proto.access.Ddl.TruncateTable getTable() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.TruncateTable) derived_; } return cz.proto.access.Ddl.TruncateTable.getDefaultInstance(); } /** * .cz.proto.access.TruncateTable table = 10; */ @java.lang.Override public cz.proto.access.Ddl.TruncateTableOrBuilder getTableOrBuilder() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.TruncateTable) derived_; } return cz.proto.access.Ddl.TruncateTable.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (derivedCase_ == 10) { output.writeMessage(10, (cz.proto.access.Ddl.TruncateTable) derived_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (derivedCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.Ddl.TruncateTable) derived_); } 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 cz.proto.access.Ddl.TruncateEntity)) { return super.equals(obj); } cz.proto.access.Ddl.TruncateEntity other = (cz.proto.access.Ddl.TruncateEntity) obj; if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 10: if (!getTable() .equals(other.getTable())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (derivedCase_) { case 10: hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.TruncateEntity parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.TruncateEntity parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.TruncateEntity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.TruncateEntity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.TruncateEntity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.TruncateEntity parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.TruncateEntity parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.TruncateEntity 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 cz.proto.access.Ddl.TruncateEntity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.TruncateEntity 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 cz.proto.access.Ddl.TruncateEntity parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.TruncateEntity 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(cz.proto.access.Ddl.TruncateEntity 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 cz.proto.access.TruncateEntity} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.TruncateEntity) cz.proto.access.Ddl.TruncateEntityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TruncateEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TruncateEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.TruncateEntity.class, cz.proto.access.Ddl.TruncateEntity.Builder.class); } // Construct using cz.proto.access.Ddl.TruncateEntity.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(); derivedCase_ = 0; derived_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TruncateEntity_descriptor; } @java.lang.Override public cz.proto.access.Ddl.TruncateEntity getDefaultInstanceForType() { return cz.proto.access.Ddl.TruncateEntity.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.TruncateEntity build() { cz.proto.access.Ddl.TruncateEntity result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.TruncateEntity buildPartial() { cz.proto.access.Ddl.TruncateEntity result = new cz.proto.access.Ddl.TruncateEntity(this); if (derivedCase_ == 10) { if (tableBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = tableBuilder_.build(); } } result.derivedCase_ = derivedCase_; 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 cz.proto.access.Ddl.TruncateEntity) { return mergeFrom((cz.proto.access.Ddl.TruncateEntity)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.TruncateEntity other) { if (other == cz.proto.access.Ddl.TruncateEntity.getDefaultInstance()) return this; switch (other.getDerivedCase()) { case TABLE: { mergeTable(other.getTable()); break; } case DERIVED_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.TruncateEntity parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.TruncateEntity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.TruncateTable, cz.proto.access.Ddl.TruncateTable.Builder, cz.proto.access.Ddl.TruncateTableOrBuilder> tableBuilder_; /** * .cz.proto.access.TruncateTable table = 10; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return derivedCase_ == 10; } /** * .cz.proto.access.TruncateTable table = 10; * @return The table. */ @java.lang.Override public cz.proto.access.Ddl.TruncateTable getTable() { if (tableBuilder_ == null) { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.TruncateTable) derived_; } return cz.proto.access.Ddl.TruncateTable.getDefaultInstance(); } else { if (derivedCase_ == 10) { return tableBuilder_.getMessage(); } return cz.proto.access.Ddl.TruncateTable.getDefaultInstance(); } } /** * .cz.proto.access.TruncateTable table = 10; */ public Builder setTable(cz.proto.access.Ddl.TruncateTable value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { tableBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.TruncateTable table = 10; */ public Builder setTable( cz.proto.access.Ddl.TruncateTable.Builder builderForValue) { if (tableBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { tableBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 10; return this; } /** * .cz.proto.access.TruncateTable table = 10; */ public Builder mergeTable(cz.proto.access.Ddl.TruncateTable value) { if (tableBuilder_ == null) { if (derivedCase_ == 10 && derived_ != cz.proto.access.Ddl.TruncateTable.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.TruncateTable.newBuilder((cz.proto.access.Ddl.TruncateTable) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 10) { tableBuilder_.mergeFrom(value); } tableBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.TruncateTable table = 10; */ public Builder clearTable() { if (tableBuilder_ == null) { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; } tableBuilder_.clear(); } return this; } /** * .cz.proto.access.TruncateTable table = 10; */ public cz.proto.access.Ddl.TruncateTable.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** * .cz.proto.access.TruncateTable table = 10; */ @java.lang.Override public cz.proto.access.Ddl.TruncateTableOrBuilder getTableOrBuilder() { if ((derivedCase_ == 10) && (tableBuilder_ != null)) { return tableBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.TruncateTable) derived_; } return cz.proto.access.Ddl.TruncateTable.getDefaultInstance(); } } /** * .cz.proto.access.TruncateTable table = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.TruncateTable, cz.proto.access.Ddl.TruncateTable.Builder, cz.proto.access.Ddl.TruncateTableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { if (!(derivedCase_ == 10)) { derived_ = cz.proto.access.Ddl.TruncateTable.getDefaultInstance(); } tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.TruncateTable, cz.proto.access.Ddl.TruncateTable.Builder, cz.proto.access.Ddl.TruncateTableOrBuilder>( (cz.proto.access.Ddl.TruncateTable) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 10; onChanged();; return tableBuilder_; } @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:cz.proto.access.TruncateEntity) } // @@protoc_insertion_point(class_scope:cz.proto.access.TruncateEntity) private static final cz.proto.access.Ddl.TruncateEntity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.TruncateEntity(); } public static cz.proto.access.Ddl.TruncateEntity getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TruncateEntity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TruncateEntity(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 cz.proto.access.Ddl.TruncateEntity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TruncateTableOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.TruncateTable) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ cz.proto.ObjectIdentifier getIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; */ cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder(); /** * .cz.proto.Manifest manifest = 2; * @return Whether the manifest field is set. */ boolean hasManifest(); /** * .cz.proto.Manifest manifest = 2; * @return The manifest. */ cz.proto.Manifest getManifest(); /** * .cz.proto.Manifest manifest = 2; */ cz.proto.ManifestOrBuilder getManifestOrBuilder(); } /** * Protobuf type {@code cz.proto.access.TruncateTable} */ public static final class TruncateTable extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.TruncateTable) TruncateTableOrBuilder { private static final long serialVersionUID = 0L; // Use TruncateTable.newBuilder() to construct. private TruncateTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TruncateTable() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TruncateTable(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TruncateTable( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.Manifest.Builder subBuilder = null; if (manifest_ != null) { subBuilder = manifest_.toBuilder(); } manifest_ = input.readMessage(cz.proto.Manifest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(manifest_); manifest_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_TruncateTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TruncateTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.TruncateTable.class, cz.proto.access.Ddl.TruncateTable.Builder.class); } public static final int IDENTIFIER_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier identifier_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ @java.lang.Override public cz.proto.ObjectIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int MANIFEST_FIELD_NUMBER = 2; private cz.proto.Manifest manifest_; /** * .cz.proto.Manifest manifest = 2; * @return Whether the manifest field is set. */ @java.lang.Override public boolean hasManifest() { return manifest_ != null; } /** * .cz.proto.Manifest manifest = 2; * @return The manifest. */ @java.lang.Override public cz.proto.Manifest getManifest() { return manifest_ == null ? cz.proto.Manifest.getDefaultInstance() : manifest_; } /** * .cz.proto.Manifest manifest = 2; */ @java.lang.Override public cz.proto.ManifestOrBuilder getManifestOrBuilder() { return getManifest(); } 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 (identifier_ != null) { output.writeMessage(1, getIdentifier()); } if (manifest_ != null) { output.writeMessage(2, getManifest()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } if (manifest_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getManifest()); } 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 cz.proto.access.Ddl.TruncateTable)) { return super.equals(obj); } cz.proto.access.Ddl.TruncateTable other = (cz.proto.access.Ddl.TruncateTable) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (hasManifest() != other.hasManifest()) return false; if (hasManifest()) { if (!getManifest() .equals(other.getManifest())) 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 (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } if (hasManifest()) { hash = (37 * hash) + MANIFEST_FIELD_NUMBER; hash = (53 * hash) + getManifest().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.TruncateTable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.TruncateTable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.TruncateTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.TruncateTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.TruncateTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.TruncateTable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.TruncateTable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.TruncateTable 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 cz.proto.access.Ddl.TruncateTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.TruncateTable 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 cz.proto.access.Ddl.TruncateTable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.TruncateTable 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(cz.proto.access.Ddl.TruncateTable 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 cz.proto.access.TruncateTable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.TruncateTable) cz.proto.access.Ddl.TruncateTableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TruncateTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TruncateTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.TruncateTable.class, cz.proto.access.Ddl.TruncateTable.Builder.class); } // Construct using cz.proto.access.Ddl.TruncateTable.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 (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } if (manifestBuilder_ == null) { manifest_ = null; } else { manifest_ = null; manifestBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TruncateTable_descriptor; } @java.lang.Override public cz.proto.access.Ddl.TruncateTable getDefaultInstanceForType() { return cz.proto.access.Ddl.TruncateTable.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.TruncateTable build() { cz.proto.access.Ddl.TruncateTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.TruncateTable buildPartial() { cz.proto.access.Ddl.TruncateTable result = new cz.proto.access.Ddl.TruncateTable(this); if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } if (manifestBuilder_ == null) { result.manifest_ = manifest_; } else { result.manifest_ = manifestBuilder_.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 cz.proto.access.Ddl.TruncateTable) { return mergeFrom((cz.proto.access.Ddl.TruncateTable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.TruncateTable other) { if (other == cz.proto.access.Ddl.TruncateTable.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (other.hasManifest()) { mergeManifest(other.getManifest()); } 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 { cz.proto.access.Ddl.TruncateTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.TruncateTable) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ public cz.proto.ObjectIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private cz.proto.Manifest manifest_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.Manifest, cz.proto.Manifest.Builder, cz.proto.ManifestOrBuilder> manifestBuilder_; /** * .cz.proto.Manifest manifest = 2; * @return Whether the manifest field is set. */ public boolean hasManifest() { return manifestBuilder_ != null || manifest_ != null; } /** * .cz.proto.Manifest manifest = 2; * @return The manifest. */ public cz.proto.Manifest getManifest() { if (manifestBuilder_ == null) { return manifest_ == null ? cz.proto.Manifest.getDefaultInstance() : manifest_; } else { return manifestBuilder_.getMessage(); } } /** * .cz.proto.Manifest manifest = 2; */ public Builder setManifest(cz.proto.Manifest value) { if (manifestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } manifest_ = value; onChanged(); } else { manifestBuilder_.setMessage(value); } return this; } /** * .cz.proto.Manifest manifest = 2; */ public Builder setManifest( cz.proto.Manifest.Builder builderForValue) { if (manifestBuilder_ == null) { manifest_ = builderForValue.build(); onChanged(); } else { manifestBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Manifest manifest = 2; */ public Builder mergeManifest(cz.proto.Manifest value) { if (manifestBuilder_ == null) { if (manifest_ != null) { manifest_ = cz.proto.Manifest.newBuilder(manifest_).mergeFrom(value).buildPartial(); } else { manifest_ = value; } onChanged(); } else { manifestBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Manifest manifest = 2; */ public Builder clearManifest() { if (manifestBuilder_ == null) { manifest_ = null; onChanged(); } else { manifest_ = null; manifestBuilder_ = null; } return this; } /** * .cz.proto.Manifest manifest = 2; */ public cz.proto.Manifest.Builder getManifestBuilder() { onChanged(); return getManifestFieldBuilder().getBuilder(); } /** * .cz.proto.Manifest manifest = 2; */ public cz.proto.ManifestOrBuilder getManifestOrBuilder() { if (manifestBuilder_ != null) { return manifestBuilder_.getMessageOrBuilder(); } else { return manifest_ == null ? cz.proto.Manifest.getDefaultInstance() : manifest_; } } /** * .cz.proto.Manifest manifest = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.Manifest, cz.proto.Manifest.Builder, cz.proto.ManifestOrBuilder> getManifestFieldBuilder() { if (manifestBuilder_ == null) { manifestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.Manifest, cz.proto.Manifest.Builder, cz.proto.ManifestOrBuilder>( getManifest(), getParentForChildren(), isClean()); manifest_ = null; } return manifestBuilder_; } @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:cz.proto.access.TruncateTable) } // @@protoc_insertion_point(class_scope:cz.proto.access.TruncateTable) private static final cz.proto.access.Ddl.TruncateTable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.TruncateTable(); } public static cz.proto.access.Ddl.TruncateTable getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TruncateTable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TruncateTable(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 cz.proto.access.Ddl.TruncateTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowEntityOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowEntity) com.google.protobuf.MessageOrBuilder { /** * optional int64 offset = 1; * @return Whether the offset field is set. */ boolean hasOffset(); /** * optional int64 offset = 1; * @return The offset. */ long getOffset(); /** * optional int32 limit = 2; * @return Whether the limit field is set. */ boolean hasLimit(); /** * optional int32 limit = 2; * @return The limit. */ int getLimit(); /** * .cz.proto.access.ShowEntityType type = 3; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** * .cz.proto.access.ShowEntityType type = 3; * @return The type. */ cz.proto.access.Ddl.ShowEntityType getType(); /** * .cz.proto.access.ShowUser user = 10; * @return Whether the user field is set. */ boolean hasUser(); /** * .cz.proto.access.ShowUser user = 10; * @return The user. */ cz.proto.access.Ddl.ShowUser getUser(); /** * .cz.proto.access.ShowUser user = 10; */ cz.proto.access.Ddl.ShowUserOrBuilder getUserOrBuilder(); /** * .cz.proto.access.ShowRole role = 11; * @return Whether the role field is set. */ boolean hasRole(); /** * .cz.proto.access.ShowRole role = 11; * @return The role. */ cz.proto.access.Ddl.ShowRole getRole(); /** * .cz.proto.access.ShowRole role = 11; */ cz.proto.access.Ddl.ShowRoleOrBuilder getRoleOrBuilder(); /** * .cz.proto.access.ShowPrivilege privilege = 12; * @return Whether the privilege field is set. */ boolean hasPrivilege(); /** * .cz.proto.access.ShowPrivilege privilege = 12; * @return The privilege. */ cz.proto.access.Ddl.ShowPrivilege getPrivilege(); /** * .cz.proto.access.ShowPrivilege privilege = 12; */ cz.proto.access.Ddl.ShowPrivilegeOrBuilder getPrivilegeOrBuilder(); /** * .cz.proto.access.ShowTable table = 13; * @return Whether the table field is set. */ boolean hasTable(); /** * .cz.proto.access.ShowTable table = 13; * @return The table. */ cz.proto.access.Ddl.ShowTable getTable(); /** * .cz.proto.access.ShowTable table = 13; */ cz.proto.access.Ddl.ShowTableOrBuilder getTableOrBuilder(); /** * .cz.proto.access.ShowSchema schema = 14; * @return Whether the schema field is set. */ boolean hasSchema(); /** * .cz.proto.access.ShowSchema schema = 14; * @return The schema. */ cz.proto.access.Ddl.ShowSchema getSchema(); /** * .cz.proto.access.ShowSchema schema = 14; */ cz.proto.access.Ddl.ShowSchemaOrBuilder getSchemaOrBuilder(); /** * .cz.proto.access.ShowJob job = 15; * @return Whether the job field is set. */ boolean hasJob(); /** * .cz.proto.access.ShowJob job = 15; * @return The job. */ cz.proto.access.Ddl.ShowJob getJob(); /** * .cz.proto.access.ShowJob job = 15; */ cz.proto.access.Ddl.ShowJobOrBuilder getJobOrBuilder(); /** * .cz.proto.access.ShowVCluster vcluster = 16; * @return Whether the vcluster field is set. */ boolean hasVcluster(); /** * .cz.proto.access.ShowVCluster vcluster = 16; * @return The vcluster. */ cz.proto.access.Ddl.ShowVCluster getVcluster(); /** * .cz.proto.access.ShowVCluster vcluster = 16; */ cz.proto.access.Ddl.ShowVClusterOrBuilder getVclusterOrBuilder(); /** * .cz.proto.access.ShowWorkspace workspace = 17; * @return Whether the workspace field is set. */ boolean hasWorkspace(); /** * .cz.proto.access.ShowWorkspace workspace = 17; * @return The workspace. */ cz.proto.access.Ddl.ShowWorkspace getWorkspace(); /** * .cz.proto.access.ShowWorkspace workspace = 17; */ cz.proto.access.Ddl.ShowWorkspaceOrBuilder getWorkspaceOrBuilder(); /** * .cz.proto.access.ShowFile file = 18; * @return Whether the file field is set. */ boolean hasFile(); /** * .cz.proto.access.ShowFile file = 18; * @return The file. */ cz.proto.access.Ddl.ShowFile getFile(); /** * .cz.proto.access.ShowFile file = 18; */ cz.proto.access.Ddl.ShowFileOrBuilder getFileOrBuilder(); /** * .cz.proto.access.ShowMV mv = 19; * @return Whether the mv field is set. */ boolean hasMv(); /** * .cz.proto.access.ShowMV mv = 19; * @return The mv. */ cz.proto.access.Ddl.ShowMV getMv(); /** * .cz.proto.access.ShowMV mv = 19; */ cz.proto.access.Ddl.ShowMVOrBuilder getMvOrBuilder(); /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; * @return Whether the vclusterSpec field is set. */ boolean hasVclusterSpec(); /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; * @return The vclusterSpec. */ cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs getVclusterSpec(); /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; */ cz.proto.access.Ddl.ShowVirtualClusterSizeSpecsOrBuilder getVclusterSpecOrBuilder(); /** * .cz.proto.access.ShowShare share = 21; * @return Whether the share field is set. */ boolean hasShare(); /** * .cz.proto.access.ShowShare share = 21; * @return The share. */ cz.proto.access.Ddl.ShowShare getShare(); /** * .cz.proto.access.ShowShare share = 21; */ cz.proto.access.Ddl.ShowShareOrBuilder getShareOrBuilder(); /** * .cz.proto.access.ShowFunction function = 22; * @return Whether the function field is set. */ boolean hasFunction(); /** * .cz.proto.access.ShowFunction function = 22; * @return The function. */ cz.proto.access.Ddl.ShowFunction getFunction(); /** * .cz.proto.access.ShowFunction function = 22; */ cz.proto.access.Ddl.ShowFunctionOrBuilder getFunctionOrBuilder(); /** * .cz.proto.access.ShowConnection connection = 23; * @return Whether the connection field is set. */ boolean hasConnection(); /** * .cz.proto.access.ShowConnection connection = 23; * @return The connection. */ cz.proto.access.Ddl.ShowConnection getConnection(); /** * .cz.proto.access.ShowConnection connection = 23; */ cz.proto.access.Ddl.ShowConnectionOrBuilder getConnectionOrBuilder(); /** * .cz.proto.access.ShowUserRole user_role = 24; * @return Whether the userRole field is set. */ boolean hasUserRole(); /** * .cz.proto.access.ShowUserRole user_role = 24; * @return The userRole. */ cz.proto.access.Ddl.ShowUserRole getUserRole(); /** * .cz.proto.access.ShowUserRole user_role = 24; */ cz.proto.access.Ddl.ShowUserRoleOrBuilder getUserRoleOrBuilder(); /** * .cz.proto.access.ShowAccessType access_type = 25; * @return Whether the accessType field is set. */ boolean hasAccessType(); /** * .cz.proto.access.ShowAccessType access_type = 25; * @return The accessType. */ cz.proto.access.Ddl.ShowAccessType getAccessType(); /** * .cz.proto.access.ShowAccessType access_type = 25; */ cz.proto.access.Ddl.ShowAccessTypeOrBuilder getAccessTypeOrBuilder(); /** * .cz.proto.access.ShowStorageLocation storage_location = 26; * @return Whether the storageLocation field is set. */ boolean hasStorageLocation(); /** * .cz.proto.access.ShowStorageLocation storage_location = 26; * @return The storageLocation. */ cz.proto.access.Ddl.ShowStorageLocation getStorageLocation(); /** * .cz.proto.access.ShowStorageLocation storage_location = 26; */ cz.proto.access.Ddl.ShowStorageLocationOrBuilder getStorageLocationOrBuilder(); /** * .cz.proto.access.ShowIndex index = 27; * @return Whether the index field is set. */ boolean hasIndex(); /** * .cz.proto.access.ShowIndex index = 27; * @return The index. */ cz.proto.access.Ddl.ShowIndex getIndex(); /** * .cz.proto.access.ShowIndex index = 27; */ cz.proto.access.Ddl.ShowIndexOrBuilder getIndexOrBuilder(); /** * .cz.proto.access.ShowVolume volume = 28; * @return Whether the volume field is set. */ boolean hasVolume(); /** * .cz.proto.access.ShowVolume volume = 28; * @return The volume. */ cz.proto.access.Ddl.ShowVolume getVolume(); /** * .cz.proto.access.ShowVolume volume = 28; */ cz.proto.access.Ddl.ShowVolumeOrBuilder getVolumeOrBuilder(); public cz.proto.access.Ddl.ShowEntity.DerivedCase getDerivedCase(); } /** * Protobuf type {@code cz.proto.access.ShowEntity} */ public static final class ShowEntity extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowEntity) ShowEntityOrBuilder { private static final long serialVersionUID = 0L; // Use ShowEntity.newBuilder() to construct. private ShowEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowEntity() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowEntity(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowEntity( 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: { bitField0_ |= 0x00000001; offset_ = input.readInt64(); break; } case 16: { bitField0_ |= 0x00000002; limit_ = input.readInt32(); break; } case 24: { int rawValue = input.readEnum(); type_ = rawValue; break; } case 82: { cz.proto.access.Ddl.ShowUser.Builder subBuilder = null; if (derivedCase_ == 10) { subBuilder = ((cz.proto.access.Ddl.ShowUser) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowUser.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowUser) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 10; break; } case 90: { cz.proto.access.Ddl.ShowRole.Builder subBuilder = null; if (derivedCase_ == 11) { subBuilder = ((cz.proto.access.Ddl.ShowRole) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowRole.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowRole) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 11; break; } case 98: { cz.proto.access.Ddl.ShowPrivilege.Builder subBuilder = null; if (derivedCase_ == 12) { subBuilder = ((cz.proto.access.Ddl.ShowPrivilege) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowPrivilege.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowPrivilege) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 12; break; } case 106: { cz.proto.access.Ddl.ShowTable.Builder subBuilder = null; if (derivedCase_ == 13) { subBuilder = ((cz.proto.access.Ddl.ShowTable) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowTable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowTable) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 13; break; } case 114: { cz.proto.access.Ddl.ShowSchema.Builder subBuilder = null; if (derivedCase_ == 14) { subBuilder = ((cz.proto.access.Ddl.ShowSchema) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowSchema.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowSchema) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 14; break; } case 122: { cz.proto.access.Ddl.ShowJob.Builder subBuilder = null; if (derivedCase_ == 15) { subBuilder = ((cz.proto.access.Ddl.ShowJob) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowJob.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowJob) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 15; break; } case 130: { cz.proto.access.Ddl.ShowVCluster.Builder subBuilder = null; if (derivedCase_ == 16) { subBuilder = ((cz.proto.access.Ddl.ShowVCluster) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowVCluster.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowVCluster) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 16; break; } case 138: { cz.proto.access.Ddl.ShowWorkspace.Builder subBuilder = null; if (derivedCase_ == 17) { subBuilder = ((cz.proto.access.Ddl.ShowWorkspace) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowWorkspace.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowWorkspace) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 17; break; } case 146: { cz.proto.access.Ddl.ShowFile.Builder subBuilder = null; if (derivedCase_ == 18) { subBuilder = ((cz.proto.access.Ddl.ShowFile) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowFile.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowFile) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 18; break; } case 154: { cz.proto.access.Ddl.ShowMV.Builder subBuilder = null; if (derivedCase_ == 19) { subBuilder = ((cz.proto.access.Ddl.ShowMV) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowMV.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowMV) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 19; break; } case 162: { cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.Builder subBuilder = null; if (derivedCase_ == 20) { subBuilder = ((cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 20; break; } case 170: { cz.proto.access.Ddl.ShowShare.Builder subBuilder = null; if (derivedCase_ == 21) { subBuilder = ((cz.proto.access.Ddl.ShowShare) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowShare.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowShare) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 21; break; } case 178: { cz.proto.access.Ddl.ShowFunction.Builder subBuilder = null; if (derivedCase_ == 22) { subBuilder = ((cz.proto.access.Ddl.ShowFunction) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowFunction.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowFunction) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 22; break; } case 186: { cz.proto.access.Ddl.ShowConnection.Builder subBuilder = null; if (derivedCase_ == 23) { subBuilder = ((cz.proto.access.Ddl.ShowConnection) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowConnection.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowConnection) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 23; break; } case 194: { cz.proto.access.Ddl.ShowUserRole.Builder subBuilder = null; if (derivedCase_ == 24) { subBuilder = ((cz.proto.access.Ddl.ShowUserRole) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowUserRole.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowUserRole) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 24; break; } case 202: { cz.proto.access.Ddl.ShowAccessType.Builder subBuilder = null; if (derivedCase_ == 25) { subBuilder = ((cz.proto.access.Ddl.ShowAccessType) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowAccessType.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowAccessType) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 25; break; } case 210: { cz.proto.access.Ddl.ShowStorageLocation.Builder subBuilder = null; if (derivedCase_ == 26) { subBuilder = ((cz.proto.access.Ddl.ShowStorageLocation) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowStorageLocation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowStorageLocation) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 26; break; } case 218: { cz.proto.access.Ddl.ShowIndex.Builder subBuilder = null; if (derivedCase_ == 27) { subBuilder = ((cz.proto.access.Ddl.ShowIndex) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowIndex.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowIndex) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 27; break; } case 226: { cz.proto.access.Ddl.ShowVolume.Builder subBuilder = null; if (derivedCase_ == 28) { subBuilder = ((cz.proto.access.Ddl.ShowVolume) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowVolume.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowVolume) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 28; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowEntity.class, cz.proto.access.Ddl.ShowEntity.Builder.class); } private int bitField0_; private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { USER(10), ROLE(11), PRIVILEGE(12), TABLE(13), SCHEMA(14), JOB(15), VCLUSTER(16), WORKSPACE(17), FILE(18), MV(19), VCLUSTER_SPEC(20), SHARE(21), FUNCTION(22), CONNECTION(23), USER_ROLE(24), ACCESS_TYPE(25), STORAGE_LOCATION(26), INDEX(27), VOLUME(28), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 10: return USER; case 11: return ROLE; case 12: return PRIVILEGE; case 13: return TABLE; case 14: return SCHEMA; case 15: return JOB; case 16: return VCLUSTER; case 17: return WORKSPACE; case 18: return FILE; case 19: return MV; case 20: return VCLUSTER_SPEC; case 21: return SHARE; case 22: return FUNCTION; case 23: return CONNECTION; case 24: return USER_ROLE; case 25: return ACCESS_TYPE; case 26: return STORAGE_LOCATION; case 27: return INDEX; case 28: return VOLUME; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public static final int OFFSET_FIELD_NUMBER = 1; private long offset_; /** * optional int64 offset = 1; * @return Whether the offset field is set. */ @java.lang.Override public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 offset = 1; * @return The offset. */ @java.lang.Override public long getOffset() { return offset_; } public static final int LIMIT_FIELD_NUMBER = 2; private int limit_; /** * optional int32 limit = 2; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 limit = 2; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } public static final int TYPE_FIELD_NUMBER = 3; private int type_; /** * .cz.proto.access.ShowEntityType type = 3; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .cz.proto.access.ShowEntityType type = 3; * @return The type. */ @java.lang.Override public cz.proto.access.Ddl.ShowEntityType getType() { @SuppressWarnings("deprecation") cz.proto.access.Ddl.ShowEntityType result = cz.proto.access.Ddl.ShowEntityType.valueOf(type_); return result == null ? cz.proto.access.Ddl.ShowEntityType.UNRECOGNIZED : result; } public static final int USER_FIELD_NUMBER = 10; /** * .cz.proto.access.ShowUser user = 10; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return derivedCase_ == 10; } /** * .cz.proto.access.ShowUser user = 10; * @return The user. */ @java.lang.Override public cz.proto.access.Ddl.ShowUser getUser() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.ShowUser) derived_; } return cz.proto.access.Ddl.ShowUser.getDefaultInstance(); } /** * .cz.proto.access.ShowUser user = 10; */ @java.lang.Override public cz.proto.access.Ddl.ShowUserOrBuilder getUserOrBuilder() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.ShowUser) derived_; } return cz.proto.access.Ddl.ShowUser.getDefaultInstance(); } public static final int ROLE_FIELD_NUMBER = 11; /** * .cz.proto.access.ShowRole role = 11; * @return Whether the role field is set. */ @java.lang.Override public boolean hasRole() { return derivedCase_ == 11; } /** * .cz.proto.access.ShowRole role = 11; * @return The role. */ @java.lang.Override public cz.proto.access.Ddl.ShowRole getRole() { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.ShowRole) derived_; } return cz.proto.access.Ddl.ShowRole.getDefaultInstance(); } /** * .cz.proto.access.ShowRole role = 11; */ @java.lang.Override public cz.proto.access.Ddl.ShowRoleOrBuilder getRoleOrBuilder() { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.ShowRole) derived_; } return cz.proto.access.Ddl.ShowRole.getDefaultInstance(); } public static final int PRIVILEGE_FIELD_NUMBER = 12; /** * .cz.proto.access.ShowPrivilege privilege = 12; * @return Whether the privilege field is set. */ @java.lang.Override public boolean hasPrivilege() { return derivedCase_ == 12; } /** * .cz.proto.access.ShowPrivilege privilege = 12; * @return The privilege. */ @java.lang.Override public cz.proto.access.Ddl.ShowPrivilege getPrivilege() { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.ShowPrivilege) derived_; } return cz.proto.access.Ddl.ShowPrivilege.getDefaultInstance(); } /** * .cz.proto.access.ShowPrivilege privilege = 12; */ @java.lang.Override public cz.proto.access.Ddl.ShowPrivilegeOrBuilder getPrivilegeOrBuilder() { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.ShowPrivilege) derived_; } return cz.proto.access.Ddl.ShowPrivilege.getDefaultInstance(); } public static final int TABLE_FIELD_NUMBER = 13; /** * .cz.proto.access.ShowTable table = 13; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return derivedCase_ == 13; } /** * .cz.proto.access.ShowTable table = 13; * @return The table. */ @java.lang.Override public cz.proto.access.Ddl.ShowTable getTable() { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.ShowTable) derived_; } return cz.proto.access.Ddl.ShowTable.getDefaultInstance(); } /** * .cz.proto.access.ShowTable table = 13; */ @java.lang.Override public cz.proto.access.Ddl.ShowTableOrBuilder getTableOrBuilder() { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.ShowTable) derived_; } return cz.proto.access.Ddl.ShowTable.getDefaultInstance(); } public static final int SCHEMA_FIELD_NUMBER = 14; /** * .cz.proto.access.ShowSchema schema = 14; * @return Whether the schema field is set. */ @java.lang.Override public boolean hasSchema() { return derivedCase_ == 14; } /** * .cz.proto.access.ShowSchema schema = 14; * @return The schema. */ @java.lang.Override public cz.proto.access.Ddl.ShowSchema getSchema() { if (derivedCase_ == 14) { return (cz.proto.access.Ddl.ShowSchema) derived_; } return cz.proto.access.Ddl.ShowSchema.getDefaultInstance(); } /** * .cz.proto.access.ShowSchema schema = 14; */ @java.lang.Override public cz.proto.access.Ddl.ShowSchemaOrBuilder getSchemaOrBuilder() { if (derivedCase_ == 14) { return (cz.proto.access.Ddl.ShowSchema) derived_; } return cz.proto.access.Ddl.ShowSchema.getDefaultInstance(); } public static final int JOB_FIELD_NUMBER = 15; /** * .cz.proto.access.ShowJob job = 15; * @return Whether the job field is set. */ @java.lang.Override public boolean hasJob() { return derivedCase_ == 15; } /** * .cz.proto.access.ShowJob job = 15; * @return The job. */ @java.lang.Override public cz.proto.access.Ddl.ShowJob getJob() { if (derivedCase_ == 15) { return (cz.proto.access.Ddl.ShowJob) derived_; } return cz.proto.access.Ddl.ShowJob.getDefaultInstance(); } /** * .cz.proto.access.ShowJob job = 15; */ @java.lang.Override public cz.proto.access.Ddl.ShowJobOrBuilder getJobOrBuilder() { if (derivedCase_ == 15) { return (cz.proto.access.Ddl.ShowJob) derived_; } return cz.proto.access.Ddl.ShowJob.getDefaultInstance(); } public static final int VCLUSTER_FIELD_NUMBER = 16; /** * .cz.proto.access.ShowVCluster vcluster = 16; * @return Whether the vcluster field is set. */ @java.lang.Override public boolean hasVcluster() { return derivedCase_ == 16; } /** * .cz.proto.access.ShowVCluster vcluster = 16; * @return The vcluster. */ @java.lang.Override public cz.proto.access.Ddl.ShowVCluster getVcluster() { if (derivedCase_ == 16) { return (cz.proto.access.Ddl.ShowVCluster) derived_; } return cz.proto.access.Ddl.ShowVCluster.getDefaultInstance(); } /** * .cz.proto.access.ShowVCluster vcluster = 16; */ @java.lang.Override public cz.proto.access.Ddl.ShowVClusterOrBuilder getVclusterOrBuilder() { if (derivedCase_ == 16) { return (cz.proto.access.Ddl.ShowVCluster) derived_; } return cz.proto.access.Ddl.ShowVCluster.getDefaultInstance(); } public static final int WORKSPACE_FIELD_NUMBER = 17; /** * .cz.proto.access.ShowWorkspace workspace = 17; * @return Whether the workspace field is set. */ @java.lang.Override public boolean hasWorkspace() { return derivedCase_ == 17; } /** * .cz.proto.access.ShowWorkspace workspace = 17; * @return The workspace. */ @java.lang.Override public cz.proto.access.Ddl.ShowWorkspace getWorkspace() { if (derivedCase_ == 17) { return (cz.proto.access.Ddl.ShowWorkspace) derived_; } return cz.proto.access.Ddl.ShowWorkspace.getDefaultInstance(); } /** * .cz.proto.access.ShowWorkspace workspace = 17; */ @java.lang.Override public cz.proto.access.Ddl.ShowWorkspaceOrBuilder getWorkspaceOrBuilder() { if (derivedCase_ == 17) { return (cz.proto.access.Ddl.ShowWorkspace) derived_; } return cz.proto.access.Ddl.ShowWorkspace.getDefaultInstance(); } public static final int FILE_FIELD_NUMBER = 18; /** * .cz.proto.access.ShowFile file = 18; * @return Whether the file field is set. */ @java.lang.Override public boolean hasFile() { return derivedCase_ == 18; } /** * .cz.proto.access.ShowFile file = 18; * @return The file. */ @java.lang.Override public cz.proto.access.Ddl.ShowFile getFile() { if (derivedCase_ == 18) { return (cz.proto.access.Ddl.ShowFile) derived_; } return cz.proto.access.Ddl.ShowFile.getDefaultInstance(); } /** * .cz.proto.access.ShowFile file = 18; */ @java.lang.Override public cz.proto.access.Ddl.ShowFileOrBuilder getFileOrBuilder() { if (derivedCase_ == 18) { return (cz.proto.access.Ddl.ShowFile) derived_; } return cz.proto.access.Ddl.ShowFile.getDefaultInstance(); } public static final int MV_FIELD_NUMBER = 19; /** * .cz.proto.access.ShowMV mv = 19; * @return Whether the mv field is set. */ @java.lang.Override public boolean hasMv() { return derivedCase_ == 19; } /** * .cz.proto.access.ShowMV mv = 19; * @return The mv. */ @java.lang.Override public cz.proto.access.Ddl.ShowMV getMv() { if (derivedCase_ == 19) { return (cz.proto.access.Ddl.ShowMV) derived_; } return cz.proto.access.Ddl.ShowMV.getDefaultInstance(); } /** * .cz.proto.access.ShowMV mv = 19; */ @java.lang.Override public cz.proto.access.Ddl.ShowMVOrBuilder getMvOrBuilder() { if (derivedCase_ == 19) { return (cz.proto.access.Ddl.ShowMV) derived_; } return cz.proto.access.Ddl.ShowMV.getDefaultInstance(); } public static final int VCLUSTER_SPEC_FIELD_NUMBER = 20; /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; * @return Whether the vclusterSpec field is set. */ @java.lang.Override public boolean hasVclusterSpec() { return derivedCase_ == 20; } /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; * @return The vclusterSpec. */ @java.lang.Override public cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs getVclusterSpec() { if (derivedCase_ == 20) { return (cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs) derived_; } return cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.getDefaultInstance(); } /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; */ @java.lang.Override public cz.proto.access.Ddl.ShowVirtualClusterSizeSpecsOrBuilder getVclusterSpecOrBuilder() { if (derivedCase_ == 20) { return (cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs) derived_; } return cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.getDefaultInstance(); } public static final int SHARE_FIELD_NUMBER = 21; /** * .cz.proto.access.ShowShare share = 21; * @return Whether the share field is set. */ @java.lang.Override public boolean hasShare() { return derivedCase_ == 21; } /** * .cz.proto.access.ShowShare share = 21; * @return The share. */ @java.lang.Override public cz.proto.access.Ddl.ShowShare getShare() { if (derivedCase_ == 21) { return (cz.proto.access.Ddl.ShowShare) derived_; } return cz.proto.access.Ddl.ShowShare.getDefaultInstance(); } /** * .cz.proto.access.ShowShare share = 21; */ @java.lang.Override public cz.proto.access.Ddl.ShowShareOrBuilder getShareOrBuilder() { if (derivedCase_ == 21) { return (cz.proto.access.Ddl.ShowShare) derived_; } return cz.proto.access.Ddl.ShowShare.getDefaultInstance(); } public static final int FUNCTION_FIELD_NUMBER = 22; /** * .cz.proto.access.ShowFunction function = 22; * @return Whether the function field is set. */ @java.lang.Override public boolean hasFunction() { return derivedCase_ == 22; } /** * .cz.proto.access.ShowFunction function = 22; * @return The function. */ @java.lang.Override public cz.proto.access.Ddl.ShowFunction getFunction() { if (derivedCase_ == 22) { return (cz.proto.access.Ddl.ShowFunction) derived_; } return cz.proto.access.Ddl.ShowFunction.getDefaultInstance(); } /** * .cz.proto.access.ShowFunction function = 22; */ @java.lang.Override public cz.proto.access.Ddl.ShowFunctionOrBuilder getFunctionOrBuilder() { if (derivedCase_ == 22) { return (cz.proto.access.Ddl.ShowFunction) derived_; } return cz.proto.access.Ddl.ShowFunction.getDefaultInstance(); } public static final int CONNECTION_FIELD_NUMBER = 23; /** * .cz.proto.access.ShowConnection connection = 23; * @return Whether the connection field is set. */ @java.lang.Override public boolean hasConnection() { return derivedCase_ == 23; } /** * .cz.proto.access.ShowConnection connection = 23; * @return The connection. */ @java.lang.Override public cz.proto.access.Ddl.ShowConnection getConnection() { if (derivedCase_ == 23) { return (cz.proto.access.Ddl.ShowConnection) derived_; } return cz.proto.access.Ddl.ShowConnection.getDefaultInstance(); } /** * .cz.proto.access.ShowConnection connection = 23; */ @java.lang.Override public cz.proto.access.Ddl.ShowConnectionOrBuilder getConnectionOrBuilder() { if (derivedCase_ == 23) { return (cz.proto.access.Ddl.ShowConnection) derived_; } return cz.proto.access.Ddl.ShowConnection.getDefaultInstance(); } public static final int USER_ROLE_FIELD_NUMBER = 24; /** * .cz.proto.access.ShowUserRole user_role = 24; * @return Whether the userRole field is set. */ @java.lang.Override public boolean hasUserRole() { return derivedCase_ == 24; } /** * .cz.proto.access.ShowUserRole user_role = 24; * @return The userRole. */ @java.lang.Override public cz.proto.access.Ddl.ShowUserRole getUserRole() { if (derivedCase_ == 24) { return (cz.proto.access.Ddl.ShowUserRole) derived_; } return cz.proto.access.Ddl.ShowUserRole.getDefaultInstance(); } /** * .cz.proto.access.ShowUserRole user_role = 24; */ @java.lang.Override public cz.proto.access.Ddl.ShowUserRoleOrBuilder getUserRoleOrBuilder() { if (derivedCase_ == 24) { return (cz.proto.access.Ddl.ShowUserRole) derived_; } return cz.proto.access.Ddl.ShowUserRole.getDefaultInstance(); } public static final int ACCESS_TYPE_FIELD_NUMBER = 25; /** * .cz.proto.access.ShowAccessType access_type = 25; * @return Whether the accessType field is set. */ @java.lang.Override public boolean hasAccessType() { return derivedCase_ == 25; } /** * .cz.proto.access.ShowAccessType access_type = 25; * @return The accessType. */ @java.lang.Override public cz.proto.access.Ddl.ShowAccessType getAccessType() { if (derivedCase_ == 25) { return (cz.proto.access.Ddl.ShowAccessType) derived_; } return cz.proto.access.Ddl.ShowAccessType.getDefaultInstance(); } /** * .cz.proto.access.ShowAccessType access_type = 25; */ @java.lang.Override public cz.proto.access.Ddl.ShowAccessTypeOrBuilder getAccessTypeOrBuilder() { if (derivedCase_ == 25) { return (cz.proto.access.Ddl.ShowAccessType) derived_; } return cz.proto.access.Ddl.ShowAccessType.getDefaultInstance(); } public static final int STORAGE_LOCATION_FIELD_NUMBER = 26; /** * .cz.proto.access.ShowStorageLocation storage_location = 26; * @return Whether the storageLocation field is set. */ @java.lang.Override public boolean hasStorageLocation() { return derivedCase_ == 26; } /** * .cz.proto.access.ShowStorageLocation storage_location = 26; * @return The storageLocation. */ @java.lang.Override public cz.proto.access.Ddl.ShowStorageLocation getStorageLocation() { if (derivedCase_ == 26) { return (cz.proto.access.Ddl.ShowStorageLocation) derived_; } return cz.proto.access.Ddl.ShowStorageLocation.getDefaultInstance(); } /** * .cz.proto.access.ShowStorageLocation storage_location = 26; */ @java.lang.Override public cz.proto.access.Ddl.ShowStorageLocationOrBuilder getStorageLocationOrBuilder() { if (derivedCase_ == 26) { return (cz.proto.access.Ddl.ShowStorageLocation) derived_; } return cz.proto.access.Ddl.ShowStorageLocation.getDefaultInstance(); } public static final int INDEX_FIELD_NUMBER = 27; /** * .cz.proto.access.ShowIndex index = 27; * @return Whether the index field is set. */ @java.lang.Override public boolean hasIndex() { return derivedCase_ == 27; } /** * .cz.proto.access.ShowIndex index = 27; * @return The index. */ @java.lang.Override public cz.proto.access.Ddl.ShowIndex getIndex() { if (derivedCase_ == 27) { return (cz.proto.access.Ddl.ShowIndex) derived_; } return cz.proto.access.Ddl.ShowIndex.getDefaultInstance(); } /** * .cz.proto.access.ShowIndex index = 27; */ @java.lang.Override public cz.proto.access.Ddl.ShowIndexOrBuilder getIndexOrBuilder() { if (derivedCase_ == 27) { return (cz.proto.access.Ddl.ShowIndex) derived_; } return cz.proto.access.Ddl.ShowIndex.getDefaultInstance(); } public static final int VOLUME_FIELD_NUMBER = 28; /** * .cz.proto.access.ShowVolume volume = 28; * @return Whether the volume field is set. */ @java.lang.Override public boolean hasVolume() { return derivedCase_ == 28; } /** * .cz.proto.access.ShowVolume volume = 28; * @return The volume. */ @java.lang.Override public cz.proto.access.Ddl.ShowVolume getVolume() { if (derivedCase_ == 28) { return (cz.proto.access.Ddl.ShowVolume) derived_; } return cz.proto.access.Ddl.ShowVolume.getDefaultInstance(); } /** * .cz.proto.access.ShowVolume volume = 28; */ @java.lang.Override public cz.proto.access.Ddl.ShowVolumeOrBuilder getVolumeOrBuilder() { if (derivedCase_ == 28) { return (cz.proto.access.Ddl.ShowVolume) derived_; } return cz.proto.access.Ddl.ShowVolume.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, offset_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(2, limit_); } if (type_ != cz.proto.access.Ddl.ShowEntityType.SHOW_ENTITY.getNumber()) { output.writeEnum(3, type_); } if (derivedCase_ == 10) { output.writeMessage(10, (cz.proto.access.Ddl.ShowUser) derived_); } if (derivedCase_ == 11) { output.writeMessage(11, (cz.proto.access.Ddl.ShowRole) derived_); } if (derivedCase_ == 12) { output.writeMessage(12, (cz.proto.access.Ddl.ShowPrivilege) derived_); } if (derivedCase_ == 13) { output.writeMessage(13, (cz.proto.access.Ddl.ShowTable) derived_); } if (derivedCase_ == 14) { output.writeMessage(14, (cz.proto.access.Ddl.ShowSchema) derived_); } if (derivedCase_ == 15) { output.writeMessage(15, (cz.proto.access.Ddl.ShowJob) derived_); } if (derivedCase_ == 16) { output.writeMessage(16, (cz.proto.access.Ddl.ShowVCluster) derived_); } if (derivedCase_ == 17) { output.writeMessage(17, (cz.proto.access.Ddl.ShowWorkspace) derived_); } if (derivedCase_ == 18) { output.writeMessage(18, (cz.proto.access.Ddl.ShowFile) derived_); } if (derivedCase_ == 19) { output.writeMessage(19, (cz.proto.access.Ddl.ShowMV) derived_); } if (derivedCase_ == 20) { output.writeMessage(20, (cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs) derived_); } if (derivedCase_ == 21) { output.writeMessage(21, (cz.proto.access.Ddl.ShowShare) derived_); } if (derivedCase_ == 22) { output.writeMessage(22, (cz.proto.access.Ddl.ShowFunction) derived_); } if (derivedCase_ == 23) { output.writeMessage(23, (cz.proto.access.Ddl.ShowConnection) derived_); } if (derivedCase_ == 24) { output.writeMessage(24, (cz.proto.access.Ddl.ShowUserRole) derived_); } if (derivedCase_ == 25) { output.writeMessage(25, (cz.proto.access.Ddl.ShowAccessType) derived_); } if (derivedCase_ == 26) { output.writeMessage(26, (cz.proto.access.Ddl.ShowStorageLocation) derived_); } if (derivedCase_ == 27) { output.writeMessage(27, (cz.proto.access.Ddl.ShowIndex) derived_); } if (derivedCase_ == 28) { output.writeMessage(28, (cz.proto.access.Ddl.ShowVolume) derived_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, offset_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, limit_); } if (type_ != cz.proto.access.Ddl.ShowEntityType.SHOW_ENTITY.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, type_); } if (derivedCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.Ddl.ShowUser) derived_); } if (derivedCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (cz.proto.access.Ddl.ShowRole) derived_); } if (derivedCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (cz.proto.access.Ddl.ShowPrivilege) derived_); } if (derivedCase_ == 13) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, (cz.proto.access.Ddl.ShowTable) derived_); } if (derivedCase_ == 14) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, (cz.proto.access.Ddl.ShowSchema) derived_); } if (derivedCase_ == 15) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, (cz.proto.access.Ddl.ShowJob) derived_); } if (derivedCase_ == 16) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, (cz.proto.access.Ddl.ShowVCluster) derived_); } if (derivedCase_ == 17) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, (cz.proto.access.Ddl.ShowWorkspace) derived_); } if (derivedCase_ == 18) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, (cz.proto.access.Ddl.ShowFile) derived_); } if (derivedCase_ == 19) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, (cz.proto.access.Ddl.ShowMV) derived_); } if (derivedCase_ == 20) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, (cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs) derived_); } if (derivedCase_ == 21) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, (cz.proto.access.Ddl.ShowShare) derived_); } if (derivedCase_ == 22) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, (cz.proto.access.Ddl.ShowFunction) derived_); } if (derivedCase_ == 23) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, (cz.proto.access.Ddl.ShowConnection) derived_); } if (derivedCase_ == 24) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(24, (cz.proto.access.Ddl.ShowUserRole) derived_); } if (derivedCase_ == 25) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(25, (cz.proto.access.Ddl.ShowAccessType) derived_); } if (derivedCase_ == 26) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(26, (cz.proto.access.Ddl.ShowStorageLocation) derived_); } if (derivedCase_ == 27) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(27, (cz.proto.access.Ddl.ShowIndex) derived_); } if (derivedCase_ == 28) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(28, (cz.proto.access.Ddl.ShowVolume) derived_); } 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 cz.proto.access.Ddl.ShowEntity)) { return super.equals(obj); } cz.proto.access.Ddl.ShowEntity other = (cz.proto.access.Ddl.ShowEntity) obj; if (hasOffset() != other.hasOffset()) return false; if (hasOffset()) { if (getOffset() != other.getOffset()) return false; } if (hasLimit() != other.hasLimit()) return false; if (hasLimit()) { if (getLimit() != other.getLimit()) return false; } if (type_ != other.type_) return false; if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 10: if (!getUser() .equals(other.getUser())) return false; break; case 11: if (!getRole() .equals(other.getRole())) return false; break; case 12: if (!getPrivilege() .equals(other.getPrivilege())) return false; break; case 13: if (!getTable() .equals(other.getTable())) return false; break; case 14: if (!getSchema() .equals(other.getSchema())) return false; break; case 15: if (!getJob() .equals(other.getJob())) return false; break; case 16: if (!getVcluster() .equals(other.getVcluster())) return false; break; case 17: if (!getWorkspace() .equals(other.getWorkspace())) return false; break; case 18: if (!getFile() .equals(other.getFile())) return false; break; case 19: if (!getMv() .equals(other.getMv())) return false; break; case 20: if (!getVclusterSpec() .equals(other.getVclusterSpec())) return false; break; case 21: if (!getShare() .equals(other.getShare())) return false; break; case 22: if (!getFunction() .equals(other.getFunction())) return false; break; case 23: if (!getConnection() .equals(other.getConnection())) return false; break; case 24: if (!getUserRole() .equals(other.getUserRole())) return false; break; case 25: if (!getAccessType() .equals(other.getAccessType())) return false; break; case 26: if (!getStorageLocation() .equals(other.getStorageLocation())) return false; break; case 27: if (!getIndex() .equals(other.getIndex())) return false; break; case 28: if (!getVolume() .equals(other.getVolume())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOffset()) { hash = (37 * hash) + OFFSET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getOffset()); } if (hasLimit()) { hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + getLimit(); } hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; switch (derivedCase_) { case 10: hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); break; case 11: hash = (37 * hash) + ROLE_FIELD_NUMBER; hash = (53 * hash) + getRole().hashCode(); break; case 12: hash = (37 * hash) + PRIVILEGE_FIELD_NUMBER; hash = (53 * hash) + getPrivilege().hashCode(); break; case 13: hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); break; case 14: hash = (37 * hash) + SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getSchema().hashCode(); break; case 15: hash = (37 * hash) + JOB_FIELD_NUMBER; hash = (53 * hash) + getJob().hashCode(); break; case 16: hash = (37 * hash) + VCLUSTER_FIELD_NUMBER; hash = (53 * hash) + getVcluster().hashCode(); break; case 17: hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; hash = (53 * hash) + getWorkspace().hashCode(); break; case 18: hash = (37 * hash) + FILE_FIELD_NUMBER; hash = (53 * hash) + getFile().hashCode(); break; case 19: hash = (37 * hash) + MV_FIELD_NUMBER; hash = (53 * hash) + getMv().hashCode(); break; case 20: hash = (37 * hash) + VCLUSTER_SPEC_FIELD_NUMBER; hash = (53 * hash) + getVclusterSpec().hashCode(); break; case 21: hash = (37 * hash) + SHARE_FIELD_NUMBER; hash = (53 * hash) + getShare().hashCode(); break; case 22: hash = (37 * hash) + FUNCTION_FIELD_NUMBER; hash = (53 * hash) + getFunction().hashCode(); break; case 23: hash = (37 * hash) + CONNECTION_FIELD_NUMBER; hash = (53 * hash) + getConnection().hashCode(); break; case 24: hash = (37 * hash) + USER_ROLE_FIELD_NUMBER; hash = (53 * hash) + getUserRole().hashCode(); break; case 25: hash = (37 * hash) + ACCESS_TYPE_FIELD_NUMBER; hash = (53 * hash) + getAccessType().hashCode(); break; case 26: hash = (37 * hash) + STORAGE_LOCATION_FIELD_NUMBER; hash = (53 * hash) + getStorageLocation().hashCode(); break; case 27: hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex().hashCode(); break; case 28: hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + getVolume().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowEntity parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowEntity parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowEntity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowEntity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowEntity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowEntity parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowEntity parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowEntity 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 cz.proto.access.Ddl.ShowEntity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowEntity 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 cz.proto.access.Ddl.ShowEntity parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowEntity 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(cz.proto.access.Ddl.ShowEntity 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 cz.proto.access.ShowEntity} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowEntity) cz.proto.access.Ddl.ShowEntityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowEntity.class, cz.proto.access.Ddl.ShowEntity.Builder.class); } // Construct using cz.proto.access.Ddl.ShowEntity.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(); offset_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); limit_ = 0; bitField0_ = (bitField0_ & ~0x00000002); type_ = 0; derivedCase_ = 0; derived_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowEntity_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowEntity getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowEntity.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowEntity build() { cz.proto.access.Ddl.ShowEntity result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowEntity buildPartial() { cz.proto.access.Ddl.ShowEntity result = new cz.proto.access.Ddl.ShowEntity(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.offset_ = offset_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.limit_ = limit_; to_bitField0_ |= 0x00000002; } result.type_ = type_; if (derivedCase_ == 10) { if (userBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = userBuilder_.build(); } } if (derivedCase_ == 11) { if (roleBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = roleBuilder_.build(); } } if (derivedCase_ == 12) { if (privilegeBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = privilegeBuilder_.build(); } } if (derivedCase_ == 13) { if (tableBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = tableBuilder_.build(); } } if (derivedCase_ == 14) { if (schemaBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = schemaBuilder_.build(); } } if (derivedCase_ == 15) { if (jobBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = jobBuilder_.build(); } } if (derivedCase_ == 16) { if (vclusterBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = vclusterBuilder_.build(); } } if (derivedCase_ == 17) { if (workspaceBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = workspaceBuilder_.build(); } } if (derivedCase_ == 18) { if (fileBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = fileBuilder_.build(); } } if (derivedCase_ == 19) { if (mvBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = mvBuilder_.build(); } } if (derivedCase_ == 20) { if (vclusterSpecBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = vclusterSpecBuilder_.build(); } } if (derivedCase_ == 21) { if (shareBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = shareBuilder_.build(); } } if (derivedCase_ == 22) { if (functionBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = functionBuilder_.build(); } } if (derivedCase_ == 23) { if (connectionBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = connectionBuilder_.build(); } } if (derivedCase_ == 24) { if (userRoleBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = userRoleBuilder_.build(); } } if (derivedCase_ == 25) { if (accessTypeBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = accessTypeBuilder_.build(); } } if (derivedCase_ == 26) { if (storageLocationBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = storageLocationBuilder_.build(); } } if (derivedCase_ == 27) { if (indexBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = indexBuilder_.build(); } } if (derivedCase_ == 28) { if (volumeBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = volumeBuilder_.build(); } } result.bitField0_ = to_bitField0_; result.derivedCase_ = derivedCase_; 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 cz.proto.access.Ddl.ShowEntity) { return mergeFrom((cz.proto.access.Ddl.ShowEntity)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowEntity other) { if (other == cz.proto.access.Ddl.ShowEntity.getDefaultInstance()) return this; if (other.hasOffset()) { setOffset(other.getOffset()); } if (other.hasLimit()) { setLimit(other.getLimit()); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } switch (other.getDerivedCase()) { case USER: { mergeUser(other.getUser()); break; } case ROLE: { mergeRole(other.getRole()); break; } case PRIVILEGE: { mergePrivilege(other.getPrivilege()); break; } case TABLE: { mergeTable(other.getTable()); break; } case SCHEMA: { mergeSchema(other.getSchema()); break; } case JOB: { mergeJob(other.getJob()); break; } case VCLUSTER: { mergeVcluster(other.getVcluster()); break; } case WORKSPACE: { mergeWorkspace(other.getWorkspace()); break; } case FILE: { mergeFile(other.getFile()); break; } case MV: { mergeMv(other.getMv()); break; } case VCLUSTER_SPEC: { mergeVclusterSpec(other.getVclusterSpec()); break; } case SHARE: { mergeShare(other.getShare()); break; } case FUNCTION: { mergeFunction(other.getFunction()); break; } case CONNECTION: { mergeConnection(other.getConnection()); break; } case USER_ROLE: { mergeUserRole(other.getUserRole()); break; } case ACCESS_TYPE: { mergeAccessType(other.getAccessType()); break; } case STORAGE_LOCATION: { mergeStorageLocation(other.getStorageLocation()); break; } case INDEX: { mergeIndex(other.getIndex()); break; } case VOLUME: { mergeVolume(other.getVolume()); break; } case DERIVED_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.ShowEntity parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowEntity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } private int bitField0_; private long offset_ ; /** * optional int64 offset = 1; * @return Whether the offset field is set. */ @java.lang.Override public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 offset = 1; * @return The offset. */ @java.lang.Override public long getOffset() { return offset_; } /** * optional int64 offset = 1; * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(long value) { bitField0_ |= 0x00000001; offset_ = value; onChanged(); return this; } /** * optional int64 offset = 1; * @return This builder for chaining. */ public Builder clearOffset() { bitField0_ = (bitField0_ & ~0x00000001); offset_ = 0L; onChanged(); return this; } private int limit_ ; /** * optional int32 limit = 2; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 limit = 2; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } /** * optional int32 limit = 2; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(int value) { bitField0_ |= 0x00000002; limit_ = value; onChanged(); return this; } /** * optional int32 limit = 2; * @return This builder for chaining. */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000002); limit_ = 0; onChanged(); return this; } private int type_ = 0; /** * .cz.proto.access.ShowEntityType type = 3; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .cz.proto.access.ShowEntityType type = 3; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /** * .cz.proto.access.ShowEntityType type = 3; * @return The type. */ @java.lang.Override public cz.proto.access.Ddl.ShowEntityType getType() { @SuppressWarnings("deprecation") cz.proto.access.Ddl.ShowEntityType result = cz.proto.access.Ddl.ShowEntityType.valueOf(type_); return result == null ? cz.proto.access.Ddl.ShowEntityType.UNRECOGNIZED : result; } /** * .cz.proto.access.ShowEntityType type = 3; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(cz.proto.access.Ddl.ShowEntityType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.access.ShowEntityType type = 3; * @return This builder for chaining. */ public Builder clearType() { type_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowUser, cz.proto.access.Ddl.ShowUser.Builder, cz.proto.access.Ddl.ShowUserOrBuilder> userBuilder_; /** * .cz.proto.access.ShowUser user = 10; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return derivedCase_ == 10; } /** * .cz.proto.access.ShowUser user = 10; * @return The user. */ @java.lang.Override public cz.proto.access.Ddl.ShowUser getUser() { if (userBuilder_ == null) { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.ShowUser) derived_; } return cz.proto.access.Ddl.ShowUser.getDefaultInstance(); } else { if (derivedCase_ == 10) { return userBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowUser.getDefaultInstance(); } } /** * .cz.proto.access.ShowUser user = 10; */ public Builder setUser(cz.proto.access.Ddl.ShowUser value) { if (userBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { userBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.ShowUser user = 10; */ public Builder setUser( cz.proto.access.Ddl.ShowUser.Builder builderForValue) { if (userBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { userBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 10; return this; } /** * .cz.proto.access.ShowUser user = 10; */ public Builder mergeUser(cz.proto.access.Ddl.ShowUser value) { if (userBuilder_ == null) { if (derivedCase_ == 10 && derived_ != cz.proto.access.Ddl.ShowUser.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowUser.newBuilder((cz.proto.access.Ddl.ShowUser) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 10) { userBuilder_.mergeFrom(value); } userBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.ShowUser user = 10; */ public Builder clearUser() { if (userBuilder_ == null) { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; } userBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowUser user = 10; */ public cz.proto.access.Ddl.ShowUser.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowUser user = 10; */ @java.lang.Override public cz.proto.access.Ddl.ShowUserOrBuilder getUserOrBuilder() { if ((derivedCase_ == 10) && (userBuilder_ != null)) { return userBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.ShowUser) derived_; } return cz.proto.access.Ddl.ShowUser.getDefaultInstance(); } } /** * .cz.proto.access.ShowUser user = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowUser, cz.proto.access.Ddl.ShowUser.Builder, cz.proto.access.Ddl.ShowUserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { if (!(derivedCase_ == 10)) { derived_ = cz.proto.access.Ddl.ShowUser.getDefaultInstance(); } userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowUser, cz.proto.access.Ddl.ShowUser.Builder, cz.proto.access.Ddl.ShowUserOrBuilder>( (cz.proto.access.Ddl.ShowUser) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 10; onChanged();; return userBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowRole, cz.proto.access.Ddl.ShowRole.Builder, cz.proto.access.Ddl.ShowRoleOrBuilder> roleBuilder_; /** * .cz.proto.access.ShowRole role = 11; * @return Whether the role field is set. */ @java.lang.Override public boolean hasRole() { return derivedCase_ == 11; } /** * .cz.proto.access.ShowRole role = 11; * @return The role. */ @java.lang.Override public cz.proto.access.Ddl.ShowRole getRole() { if (roleBuilder_ == null) { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.ShowRole) derived_; } return cz.proto.access.Ddl.ShowRole.getDefaultInstance(); } else { if (derivedCase_ == 11) { return roleBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowRole.getDefaultInstance(); } } /** * .cz.proto.access.ShowRole role = 11; */ public Builder setRole(cz.proto.access.Ddl.ShowRole value) { if (roleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { roleBuilder_.setMessage(value); } derivedCase_ = 11; return this; } /** * .cz.proto.access.ShowRole role = 11; */ public Builder setRole( cz.proto.access.Ddl.ShowRole.Builder builderForValue) { if (roleBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { roleBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 11; return this; } /** * .cz.proto.access.ShowRole role = 11; */ public Builder mergeRole(cz.proto.access.Ddl.ShowRole value) { if (roleBuilder_ == null) { if (derivedCase_ == 11 && derived_ != cz.proto.access.Ddl.ShowRole.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowRole.newBuilder((cz.proto.access.Ddl.ShowRole) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 11) { roleBuilder_.mergeFrom(value); } roleBuilder_.setMessage(value); } derivedCase_ = 11; return this; } /** * .cz.proto.access.ShowRole role = 11; */ public Builder clearRole() { if (roleBuilder_ == null) { if (derivedCase_ == 11) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 11) { derivedCase_ = 0; derived_ = null; } roleBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowRole role = 11; */ public cz.proto.access.Ddl.ShowRole.Builder getRoleBuilder() { return getRoleFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowRole role = 11; */ @java.lang.Override public cz.proto.access.Ddl.ShowRoleOrBuilder getRoleOrBuilder() { if ((derivedCase_ == 11) && (roleBuilder_ != null)) { return roleBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.ShowRole) derived_; } return cz.proto.access.Ddl.ShowRole.getDefaultInstance(); } } /** * .cz.proto.access.ShowRole role = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowRole, cz.proto.access.Ddl.ShowRole.Builder, cz.proto.access.Ddl.ShowRoleOrBuilder> getRoleFieldBuilder() { if (roleBuilder_ == null) { if (!(derivedCase_ == 11)) { derived_ = cz.proto.access.Ddl.ShowRole.getDefaultInstance(); } roleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowRole, cz.proto.access.Ddl.ShowRole.Builder, cz.proto.access.Ddl.ShowRoleOrBuilder>( (cz.proto.access.Ddl.ShowRole) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 11; onChanged();; return roleBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowPrivilege, cz.proto.access.Ddl.ShowPrivilege.Builder, cz.proto.access.Ddl.ShowPrivilegeOrBuilder> privilegeBuilder_; /** * .cz.proto.access.ShowPrivilege privilege = 12; * @return Whether the privilege field is set. */ @java.lang.Override public boolean hasPrivilege() { return derivedCase_ == 12; } /** * .cz.proto.access.ShowPrivilege privilege = 12; * @return The privilege. */ @java.lang.Override public cz.proto.access.Ddl.ShowPrivilege getPrivilege() { if (privilegeBuilder_ == null) { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.ShowPrivilege) derived_; } return cz.proto.access.Ddl.ShowPrivilege.getDefaultInstance(); } else { if (derivedCase_ == 12) { return privilegeBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowPrivilege.getDefaultInstance(); } } /** * .cz.proto.access.ShowPrivilege privilege = 12; */ public Builder setPrivilege(cz.proto.access.Ddl.ShowPrivilege value) { if (privilegeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { privilegeBuilder_.setMessage(value); } derivedCase_ = 12; return this; } /** * .cz.proto.access.ShowPrivilege privilege = 12; */ public Builder setPrivilege( cz.proto.access.Ddl.ShowPrivilege.Builder builderForValue) { if (privilegeBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { privilegeBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 12; return this; } /** * .cz.proto.access.ShowPrivilege privilege = 12; */ public Builder mergePrivilege(cz.proto.access.Ddl.ShowPrivilege value) { if (privilegeBuilder_ == null) { if (derivedCase_ == 12 && derived_ != cz.proto.access.Ddl.ShowPrivilege.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowPrivilege.newBuilder((cz.proto.access.Ddl.ShowPrivilege) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 12) { privilegeBuilder_.mergeFrom(value); } privilegeBuilder_.setMessage(value); } derivedCase_ = 12; return this; } /** * .cz.proto.access.ShowPrivilege privilege = 12; */ public Builder clearPrivilege() { if (privilegeBuilder_ == null) { if (derivedCase_ == 12) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 12) { derivedCase_ = 0; derived_ = null; } privilegeBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowPrivilege privilege = 12; */ public cz.proto.access.Ddl.ShowPrivilege.Builder getPrivilegeBuilder() { return getPrivilegeFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowPrivilege privilege = 12; */ @java.lang.Override public cz.proto.access.Ddl.ShowPrivilegeOrBuilder getPrivilegeOrBuilder() { if ((derivedCase_ == 12) && (privilegeBuilder_ != null)) { return privilegeBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.ShowPrivilege) derived_; } return cz.proto.access.Ddl.ShowPrivilege.getDefaultInstance(); } } /** * .cz.proto.access.ShowPrivilege privilege = 12; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowPrivilege, cz.proto.access.Ddl.ShowPrivilege.Builder, cz.proto.access.Ddl.ShowPrivilegeOrBuilder> getPrivilegeFieldBuilder() { if (privilegeBuilder_ == null) { if (!(derivedCase_ == 12)) { derived_ = cz.proto.access.Ddl.ShowPrivilege.getDefaultInstance(); } privilegeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowPrivilege, cz.proto.access.Ddl.ShowPrivilege.Builder, cz.proto.access.Ddl.ShowPrivilegeOrBuilder>( (cz.proto.access.Ddl.ShowPrivilege) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 12; onChanged();; return privilegeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowTable, cz.proto.access.Ddl.ShowTable.Builder, cz.proto.access.Ddl.ShowTableOrBuilder> tableBuilder_; /** * .cz.proto.access.ShowTable table = 13; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return derivedCase_ == 13; } /** * .cz.proto.access.ShowTable table = 13; * @return The table. */ @java.lang.Override public cz.proto.access.Ddl.ShowTable getTable() { if (tableBuilder_ == null) { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.ShowTable) derived_; } return cz.proto.access.Ddl.ShowTable.getDefaultInstance(); } else { if (derivedCase_ == 13) { return tableBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowTable.getDefaultInstance(); } } /** * .cz.proto.access.ShowTable table = 13; */ public Builder setTable(cz.proto.access.Ddl.ShowTable value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { tableBuilder_.setMessage(value); } derivedCase_ = 13; return this; } /** * .cz.proto.access.ShowTable table = 13; */ public Builder setTable( cz.proto.access.Ddl.ShowTable.Builder builderForValue) { if (tableBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { tableBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 13; return this; } /** * .cz.proto.access.ShowTable table = 13; */ public Builder mergeTable(cz.proto.access.Ddl.ShowTable value) { if (tableBuilder_ == null) { if (derivedCase_ == 13 && derived_ != cz.proto.access.Ddl.ShowTable.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowTable.newBuilder((cz.proto.access.Ddl.ShowTable) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 13) { tableBuilder_.mergeFrom(value); } tableBuilder_.setMessage(value); } derivedCase_ = 13; return this; } /** * .cz.proto.access.ShowTable table = 13; */ public Builder clearTable() { if (tableBuilder_ == null) { if (derivedCase_ == 13) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 13) { derivedCase_ = 0; derived_ = null; } tableBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowTable table = 13; */ public cz.proto.access.Ddl.ShowTable.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowTable table = 13; */ @java.lang.Override public cz.proto.access.Ddl.ShowTableOrBuilder getTableOrBuilder() { if ((derivedCase_ == 13) && (tableBuilder_ != null)) { return tableBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.ShowTable) derived_; } return cz.proto.access.Ddl.ShowTable.getDefaultInstance(); } } /** * .cz.proto.access.ShowTable table = 13; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowTable, cz.proto.access.Ddl.ShowTable.Builder, cz.proto.access.Ddl.ShowTableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { if (!(derivedCase_ == 13)) { derived_ = cz.proto.access.Ddl.ShowTable.getDefaultInstance(); } tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowTable, cz.proto.access.Ddl.ShowTable.Builder, cz.proto.access.Ddl.ShowTableOrBuilder>( (cz.proto.access.Ddl.ShowTable) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 13; onChanged();; return tableBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowSchema, cz.proto.access.Ddl.ShowSchema.Builder, cz.proto.access.Ddl.ShowSchemaOrBuilder> schemaBuilder_; /** * .cz.proto.access.ShowSchema schema = 14; * @return Whether the schema field is set. */ @java.lang.Override public boolean hasSchema() { return derivedCase_ == 14; } /** * .cz.proto.access.ShowSchema schema = 14; * @return The schema. */ @java.lang.Override public cz.proto.access.Ddl.ShowSchema getSchema() { if (schemaBuilder_ == null) { if (derivedCase_ == 14) { return (cz.proto.access.Ddl.ShowSchema) derived_; } return cz.proto.access.Ddl.ShowSchema.getDefaultInstance(); } else { if (derivedCase_ == 14) { return schemaBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowSchema.getDefaultInstance(); } } /** * .cz.proto.access.ShowSchema schema = 14; */ public Builder setSchema(cz.proto.access.Ddl.ShowSchema value) { if (schemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { schemaBuilder_.setMessage(value); } derivedCase_ = 14; return this; } /** * .cz.proto.access.ShowSchema schema = 14; */ public Builder setSchema( cz.proto.access.Ddl.ShowSchema.Builder builderForValue) { if (schemaBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { schemaBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 14; return this; } /** * .cz.proto.access.ShowSchema schema = 14; */ public Builder mergeSchema(cz.proto.access.Ddl.ShowSchema value) { if (schemaBuilder_ == null) { if (derivedCase_ == 14 && derived_ != cz.proto.access.Ddl.ShowSchema.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowSchema.newBuilder((cz.proto.access.Ddl.ShowSchema) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 14) { schemaBuilder_.mergeFrom(value); } schemaBuilder_.setMessage(value); } derivedCase_ = 14; return this; } /** * .cz.proto.access.ShowSchema schema = 14; */ public Builder clearSchema() { if (schemaBuilder_ == null) { if (derivedCase_ == 14) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 14) { derivedCase_ = 0; derived_ = null; } schemaBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowSchema schema = 14; */ public cz.proto.access.Ddl.ShowSchema.Builder getSchemaBuilder() { return getSchemaFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowSchema schema = 14; */ @java.lang.Override public cz.proto.access.Ddl.ShowSchemaOrBuilder getSchemaOrBuilder() { if ((derivedCase_ == 14) && (schemaBuilder_ != null)) { return schemaBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 14) { return (cz.proto.access.Ddl.ShowSchema) derived_; } return cz.proto.access.Ddl.ShowSchema.getDefaultInstance(); } } /** * .cz.proto.access.ShowSchema schema = 14; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowSchema, cz.proto.access.Ddl.ShowSchema.Builder, cz.proto.access.Ddl.ShowSchemaOrBuilder> getSchemaFieldBuilder() { if (schemaBuilder_ == null) { if (!(derivedCase_ == 14)) { derived_ = cz.proto.access.Ddl.ShowSchema.getDefaultInstance(); } schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowSchema, cz.proto.access.Ddl.ShowSchema.Builder, cz.proto.access.Ddl.ShowSchemaOrBuilder>( (cz.proto.access.Ddl.ShowSchema) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 14; onChanged();; return schemaBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowJob, cz.proto.access.Ddl.ShowJob.Builder, cz.proto.access.Ddl.ShowJobOrBuilder> jobBuilder_; /** * .cz.proto.access.ShowJob job = 15; * @return Whether the job field is set. */ @java.lang.Override public boolean hasJob() { return derivedCase_ == 15; } /** * .cz.proto.access.ShowJob job = 15; * @return The job. */ @java.lang.Override public cz.proto.access.Ddl.ShowJob getJob() { if (jobBuilder_ == null) { if (derivedCase_ == 15) { return (cz.proto.access.Ddl.ShowJob) derived_; } return cz.proto.access.Ddl.ShowJob.getDefaultInstance(); } else { if (derivedCase_ == 15) { return jobBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowJob.getDefaultInstance(); } } /** * .cz.proto.access.ShowJob job = 15; */ public Builder setJob(cz.proto.access.Ddl.ShowJob value) { if (jobBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { jobBuilder_.setMessage(value); } derivedCase_ = 15; return this; } /** * .cz.proto.access.ShowJob job = 15; */ public Builder setJob( cz.proto.access.Ddl.ShowJob.Builder builderForValue) { if (jobBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { jobBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 15; return this; } /** * .cz.proto.access.ShowJob job = 15; */ public Builder mergeJob(cz.proto.access.Ddl.ShowJob value) { if (jobBuilder_ == null) { if (derivedCase_ == 15 && derived_ != cz.proto.access.Ddl.ShowJob.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowJob.newBuilder((cz.proto.access.Ddl.ShowJob) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 15) { jobBuilder_.mergeFrom(value); } jobBuilder_.setMessage(value); } derivedCase_ = 15; return this; } /** * .cz.proto.access.ShowJob job = 15; */ public Builder clearJob() { if (jobBuilder_ == null) { if (derivedCase_ == 15) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 15) { derivedCase_ = 0; derived_ = null; } jobBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowJob job = 15; */ public cz.proto.access.Ddl.ShowJob.Builder getJobBuilder() { return getJobFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowJob job = 15; */ @java.lang.Override public cz.proto.access.Ddl.ShowJobOrBuilder getJobOrBuilder() { if ((derivedCase_ == 15) && (jobBuilder_ != null)) { return jobBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 15) { return (cz.proto.access.Ddl.ShowJob) derived_; } return cz.proto.access.Ddl.ShowJob.getDefaultInstance(); } } /** * .cz.proto.access.ShowJob job = 15; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowJob, cz.proto.access.Ddl.ShowJob.Builder, cz.proto.access.Ddl.ShowJobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { if (!(derivedCase_ == 15)) { derived_ = cz.proto.access.Ddl.ShowJob.getDefaultInstance(); } jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowJob, cz.proto.access.Ddl.ShowJob.Builder, cz.proto.access.Ddl.ShowJobOrBuilder>( (cz.proto.access.Ddl.ShowJob) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 15; onChanged();; return jobBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowVCluster, cz.proto.access.Ddl.ShowVCluster.Builder, cz.proto.access.Ddl.ShowVClusterOrBuilder> vclusterBuilder_; /** * .cz.proto.access.ShowVCluster vcluster = 16; * @return Whether the vcluster field is set. */ @java.lang.Override public boolean hasVcluster() { return derivedCase_ == 16; } /** * .cz.proto.access.ShowVCluster vcluster = 16; * @return The vcluster. */ @java.lang.Override public cz.proto.access.Ddl.ShowVCluster getVcluster() { if (vclusterBuilder_ == null) { if (derivedCase_ == 16) { return (cz.proto.access.Ddl.ShowVCluster) derived_; } return cz.proto.access.Ddl.ShowVCluster.getDefaultInstance(); } else { if (derivedCase_ == 16) { return vclusterBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowVCluster.getDefaultInstance(); } } /** * .cz.proto.access.ShowVCluster vcluster = 16; */ public Builder setVcluster(cz.proto.access.Ddl.ShowVCluster value) { if (vclusterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { vclusterBuilder_.setMessage(value); } derivedCase_ = 16; return this; } /** * .cz.proto.access.ShowVCluster vcluster = 16; */ public Builder setVcluster( cz.proto.access.Ddl.ShowVCluster.Builder builderForValue) { if (vclusterBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { vclusterBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 16; return this; } /** * .cz.proto.access.ShowVCluster vcluster = 16; */ public Builder mergeVcluster(cz.proto.access.Ddl.ShowVCluster value) { if (vclusterBuilder_ == null) { if (derivedCase_ == 16 && derived_ != cz.proto.access.Ddl.ShowVCluster.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowVCluster.newBuilder((cz.proto.access.Ddl.ShowVCluster) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 16) { vclusterBuilder_.mergeFrom(value); } vclusterBuilder_.setMessage(value); } derivedCase_ = 16; return this; } /** * .cz.proto.access.ShowVCluster vcluster = 16; */ public Builder clearVcluster() { if (vclusterBuilder_ == null) { if (derivedCase_ == 16) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 16) { derivedCase_ = 0; derived_ = null; } vclusterBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowVCluster vcluster = 16; */ public cz.proto.access.Ddl.ShowVCluster.Builder getVclusterBuilder() { return getVclusterFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowVCluster vcluster = 16; */ @java.lang.Override public cz.proto.access.Ddl.ShowVClusterOrBuilder getVclusterOrBuilder() { if ((derivedCase_ == 16) && (vclusterBuilder_ != null)) { return vclusterBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 16) { return (cz.proto.access.Ddl.ShowVCluster) derived_; } return cz.proto.access.Ddl.ShowVCluster.getDefaultInstance(); } } /** * .cz.proto.access.ShowVCluster vcluster = 16; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowVCluster, cz.proto.access.Ddl.ShowVCluster.Builder, cz.proto.access.Ddl.ShowVClusterOrBuilder> getVclusterFieldBuilder() { if (vclusterBuilder_ == null) { if (!(derivedCase_ == 16)) { derived_ = cz.proto.access.Ddl.ShowVCluster.getDefaultInstance(); } vclusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowVCluster, cz.proto.access.Ddl.ShowVCluster.Builder, cz.proto.access.Ddl.ShowVClusterOrBuilder>( (cz.proto.access.Ddl.ShowVCluster) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 16; onChanged();; return vclusterBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowWorkspace, cz.proto.access.Ddl.ShowWorkspace.Builder, cz.proto.access.Ddl.ShowWorkspaceOrBuilder> workspaceBuilder_; /** * .cz.proto.access.ShowWorkspace workspace = 17; * @return Whether the workspace field is set. */ @java.lang.Override public boolean hasWorkspace() { return derivedCase_ == 17; } /** * .cz.proto.access.ShowWorkspace workspace = 17; * @return The workspace. */ @java.lang.Override public cz.proto.access.Ddl.ShowWorkspace getWorkspace() { if (workspaceBuilder_ == null) { if (derivedCase_ == 17) { return (cz.proto.access.Ddl.ShowWorkspace) derived_; } return cz.proto.access.Ddl.ShowWorkspace.getDefaultInstance(); } else { if (derivedCase_ == 17) { return workspaceBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowWorkspace.getDefaultInstance(); } } /** * .cz.proto.access.ShowWorkspace workspace = 17; */ public Builder setWorkspace(cz.proto.access.Ddl.ShowWorkspace value) { if (workspaceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { workspaceBuilder_.setMessage(value); } derivedCase_ = 17; return this; } /** * .cz.proto.access.ShowWorkspace workspace = 17; */ public Builder setWorkspace( cz.proto.access.Ddl.ShowWorkspace.Builder builderForValue) { if (workspaceBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { workspaceBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 17; return this; } /** * .cz.proto.access.ShowWorkspace workspace = 17; */ public Builder mergeWorkspace(cz.proto.access.Ddl.ShowWorkspace value) { if (workspaceBuilder_ == null) { if (derivedCase_ == 17 && derived_ != cz.proto.access.Ddl.ShowWorkspace.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowWorkspace.newBuilder((cz.proto.access.Ddl.ShowWorkspace) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 17) { workspaceBuilder_.mergeFrom(value); } workspaceBuilder_.setMessage(value); } derivedCase_ = 17; return this; } /** * .cz.proto.access.ShowWorkspace workspace = 17; */ public Builder clearWorkspace() { if (workspaceBuilder_ == null) { if (derivedCase_ == 17) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 17) { derivedCase_ = 0; derived_ = null; } workspaceBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowWorkspace workspace = 17; */ public cz.proto.access.Ddl.ShowWorkspace.Builder getWorkspaceBuilder() { return getWorkspaceFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowWorkspace workspace = 17; */ @java.lang.Override public cz.proto.access.Ddl.ShowWorkspaceOrBuilder getWorkspaceOrBuilder() { if ((derivedCase_ == 17) && (workspaceBuilder_ != null)) { return workspaceBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 17) { return (cz.proto.access.Ddl.ShowWorkspace) derived_; } return cz.proto.access.Ddl.ShowWorkspace.getDefaultInstance(); } } /** * .cz.proto.access.ShowWorkspace workspace = 17; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowWorkspace, cz.proto.access.Ddl.ShowWorkspace.Builder, cz.proto.access.Ddl.ShowWorkspaceOrBuilder> getWorkspaceFieldBuilder() { if (workspaceBuilder_ == null) { if (!(derivedCase_ == 17)) { derived_ = cz.proto.access.Ddl.ShowWorkspace.getDefaultInstance(); } workspaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowWorkspace, cz.proto.access.Ddl.ShowWorkspace.Builder, cz.proto.access.Ddl.ShowWorkspaceOrBuilder>( (cz.proto.access.Ddl.ShowWorkspace) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 17; onChanged();; return workspaceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowFile, cz.proto.access.Ddl.ShowFile.Builder, cz.proto.access.Ddl.ShowFileOrBuilder> fileBuilder_; /** * .cz.proto.access.ShowFile file = 18; * @return Whether the file field is set. */ @java.lang.Override public boolean hasFile() { return derivedCase_ == 18; } /** * .cz.proto.access.ShowFile file = 18; * @return The file. */ @java.lang.Override public cz.proto.access.Ddl.ShowFile getFile() { if (fileBuilder_ == null) { if (derivedCase_ == 18) { return (cz.proto.access.Ddl.ShowFile) derived_; } return cz.proto.access.Ddl.ShowFile.getDefaultInstance(); } else { if (derivedCase_ == 18) { return fileBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowFile.getDefaultInstance(); } } /** * .cz.proto.access.ShowFile file = 18; */ public Builder setFile(cz.proto.access.Ddl.ShowFile value) { if (fileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { fileBuilder_.setMessage(value); } derivedCase_ = 18; return this; } /** * .cz.proto.access.ShowFile file = 18; */ public Builder setFile( cz.proto.access.Ddl.ShowFile.Builder builderForValue) { if (fileBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { fileBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 18; return this; } /** * .cz.proto.access.ShowFile file = 18; */ public Builder mergeFile(cz.proto.access.Ddl.ShowFile value) { if (fileBuilder_ == null) { if (derivedCase_ == 18 && derived_ != cz.proto.access.Ddl.ShowFile.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowFile.newBuilder((cz.proto.access.Ddl.ShowFile) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 18) { fileBuilder_.mergeFrom(value); } fileBuilder_.setMessage(value); } derivedCase_ = 18; return this; } /** * .cz.proto.access.ShowFile file = 18; */ public Builder clearFile() { if (fileBuilder_ == null) { if (derivedCase_ == 18) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 18) { derivedCase_ = 0; derived_ = null; } fileBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowFile file = 18; */ public cz.proto.access.Ddl.ShowFile.Builder getFileBuilder() { return getFileFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowFile file = 18; */ @java.lang.Override public cz.proto.access.Ddl.ShowFileOrBuilder getFileOrBuilder() { if ((derivedCase_ == 18) && (fileBuilder_ != null)) { return fileBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 18) { return (cz.proto.access.Ddl.ShowFile) derived_; } return cz.proto.access.Ddl.ShowFile.getDefaultInstance(); } } /** * .cz.proto.access.ShowFile file = 18; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowFile, cz.proto.access.Ddl.ShowFile.Builder, cz.proto.access.Ddl.ShowFileOrBuilder> getFileFieldBuilder() { if (fileBuilder_ == null) { if (!(derivedCase_ == 18)) { derived_ = cz.proto.access.Ddl.ShowFile.getDefaultInstance(); } fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowFile, cz.proto.access.Ddl.ShowFile.Builder, cz.proto.access.Ddl.ShowFileOrBuilder>( (cz.proto.access.Ddl.ShowFile) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 18; onChanged();; return fileBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowMV, cz.proto.access.Ddl.ShowMV.Builder, cz.proto.access.Ddl.ShowMVOrBuilder> mvBuilder_; /** * .cz.proto.access.ShowMV mv = 19; * @return Whether the mv field is set. */ @java.lang.Override public boolean hasMv() { return derivedCase_ == 19; } /** * .cz.proto.access.ShowMV mv = 19; * @return The mv. */ @java.lang.Override public cz.proto.access.Ddl.ShowMV getMv() { if (mvBuilder_ == null) { if (derivedCase_ == 19) { return (cz.proto.access.Ddl.ShowMV) derived_; } return cz.proto.access.Ddl.ShowMV.getDefaultInstance(); } else { if (derivedCase_ == 19) { return mvBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowMV.getDefaultInstance(); } } /** * .cz.proto.access.ShowMV mv = 19; */ public Builder setMv(cz.proto.access.Ddl.ShowMV value) { if (mvBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { mvBuilder_.setMessage(value); } derivedCase_ = 19; return this; } /** * .cz.proto.access.ShowMV mv = 19; */ public Builder setMv( cz.proto.access.Ddl.ShowMV.Builder builderForValue) { if (mvBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { mvBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 19; return this; } /** * .cz.proto.access.ShowMV mv = 19; */ public Builder mergeMv(cz.proto.access.Ddl.ShowMV value) { if (mvBuilder_ == null) { if (derivedCase_ == 19 && derived_ != cz.proto.access.Ddl.ShowMV.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowMV.newBuilder((cz.proto.access.Ddl.ShowMV) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 19) { mvBuilder_.mergeFrom(value); } mvBuilder_.setMessage(value); } derivedCase_ = 19; return this; } /** * .cz.proto.access.ShowMV mv = 19; */ public Builder clearMv() { if (mvBuilder_ == null) { if (derivedCase_ == 19) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 19) { derivedCase_ = 0; derived_ = null; } mvBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowMV mv = 19; */ public cz.proto.access.Ddl.ShowMV.Builder getMvBuilder() { return getMvFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowMV mv = 19; */ @java.lang.Override public cz.proto.access.Ddl.ShowMVOrBuilder getMvOrBuilder() { if ((derivedCase_ == 19) && (mvBuilder_ != null)) { return mvBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 19) { return (cz.proto.access.Ddl.ShowMV) derived_; } return cz.proto.access.Ddl.ShowMV.getDefaultInstance(); } } /** * .cz.proto.access.ShowMV mv = 19; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowMV, cz.proto.access.Ddl.ShowMV.Builder, cz.proto.access.Ddl.ShowMVOrBuilder> getMvFieldBuilder() { if (mvBuilder_ == null) { if (!(derivedCase_ == 19)) { derived_ = cz.proto.access.Ddl.ShowMV.getDefaultInstance(); } mvBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowMV, cz.proto.access.Ddl.ShowMV.Builder, cz.proto.access.Ddl.ShowMVOrBuilder>( (cz.proto.access.Ddl.ShowMV) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 19; onChanged();; return mvBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs, cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.Builder, cz.proto.access.Ddl.ShowVirtualClusterSizeSpecsOrBuilder> vclusterSpecBuilder_; /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; * @return Whether the vclusterSpec field is set. */ @java.lang.Override public boolean hasVclusterSpec() { return derivedCase_ == 20; } /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; * @return The vclusterSpec. */ @java.lang.Override public cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs getVclusterSpec() { if (vclusterSpecBuilder_ == null) { if (derivedCase_ == 20) { return (cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs) derived_; } return cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.getDefaultInstance(); } else { if (derivedCase_ == 20) { return vclusterSpecBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.getDefaultInstance(); } } /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; */ public Builder setVclusterSpec(cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs value) { if (vclusterSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { vclusterSpecBuilder_.setMessage(value); } derivedCase_ = 20; return this; } /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; */ public Builder setVclusterSpec( cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.Builder builderForValue) { if (vclusterSpecBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { vclusterSpecBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 20; return this; } /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; */ public Builder mergeVclusterSpec(cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs value) { if (vclusterSpecBuilder_ == null) { if (derivedCase_ == 20 && derived_ != cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.newBuilder((cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 20) { vclusterSpecBuilder_.mergeFrom(value); } vclusterSpecBuilder_.setMessage(value); } derivedCase_ = 20; return this; } /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; */ public Builder clearVclusterSpec() { if (vclusterSpecBuilder_ == null) { if (derivedCase_ == 20) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 20) { derivedCase_ = 0; derived_ = null; } vclusterSpecBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; */ public cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.Builder getVclusterSpecBuilder() { return getVclusterSpecFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; */ @java.lang.Override public cz.proto.access.Ddl.ShowVirtualClusterSizeSpecsOrBuilder getVclusterSpecOrBuilder() { if ((derivedCase_ == 20) && (vclusterSpecBuilder_ != null)) { return vclusterSpecBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 20) { return (cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs) derived_; } return cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.getDefaultInstance(); } } /** * .cz.proto.access.ShowVirtualClusterSizeSpecs vcluster_spec = 20; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs, cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.Builder, cz.proto.access.Ddl.ShowVirtualClusterSizeSpecsOrBuilder> getVclusterSpecFieldBuilder() { if (vclusterSpecBuilder_ == null) { if (!(derivedCase_ == 20)) { derived_ = cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.getDefaultInstance(); } vclusterSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs, cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.Builder, cz.proto.access.Ddl.ShowVirtualClusterSizeSpecsOrBuilder>( (cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 20; onChanged();; return vclusterSpecBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowShare, cz.proto.access.Ddl.ShowShare.Builder, cz.proto.access.Ddl.ShowShareOrBuilder> shareBuilder_; /** * .cz.proto.access.ShowShare share = 21; * @return Whether the share field is set. */ @java.lang.Override public boolean hasShare() { return derivedCase_ == 21; } /** * .cz.proto.access.ShowShare share = 21; * @return The share. */ @java.lang.Override public cz.proto.access.Ddl.ShowShare getShare() { if (shareBuilder_ == null) { if (derivedCase_ == 21) { return (cz.proto.access.Ddl.ShowShare) derived_; } return cz.proto.access.Ddl.ShowShare.getDefaultInstance(); } else { if (derivedCase_ == 21) { return shareBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowShare.getDefaultInstance(); } } /** * .cz.proto.access.ShowShare share = 21; */ public Builder setShare(cz.proto.access.Ddl.ShowShare value) { if (shareBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { shareBuilder_.setMessage(value); } derivedCase_ = 21; return this; } /** * .cz.proto.access.ShowShare share = 21; */ public Builder setShare( cz.proto.access.Ddl.ShowShare.Builder builderForValue) { if (shareBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { shareBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 21; return this; } /** * .cz.proto.access.ShowShare share = 21; */ public Builder mergeShare(cz.proto.access.Ddl.ShowShare value) { if (shareBuilder_ == null) { if (derivedCase_ == 21 && derived_ != cz.proto.access.Ddl.ShowShare.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowShare.newBuilder((cz.proto.access.Ddl.ShowShare) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 21) { shareBuilder_.mergeFrom(value); } shareBuilder_.setMessage(value); } derivedCase_ = 21; return this; } /** * .cz.proto.access.ShowShare share = 21; */ public Builder clearShare() { if (shareBuilder_ == null) { if (derivedCase_ == 21) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 21) { derivedCase_ = 0; derived_ = null; } shareBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowShare share = 21; */ public cz.proto.access.Ddl.ShowShare.Builder getShareBuilder() { return getShareFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowShare share = 21; */ @java.lang.Override public cz.proto.access.Ddl.ShowShareOrBuilder getShareOrBuilder() { if ((derivedCase_ == 21) && (shareBuilder_ != null)) { return shareBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 21) { return (cz.proto.access.Ddl.ShowShare) derived_; } return cz.proto.access.Ddl.ShowShare.getDefaultInstance(); } } /** * .cz.proto.access.ShowShare share = 21; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowShare, cz.proto.access.Ddl.ShowShare.Builder, cz.proto.access.Ddl.ShowShareOrBuilder> getShareFieldBuilder() { if (shareBuilder_ == null) { if (!(derivedCase_ == 21)) { derived_ = cz.proto.access.Ddl.ShowShare.getDefaultInstance(); } shareBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowShare, cz.proto.access.Ddl.ShowShare.Builder, cz.proto.access.Ddl.ShowShareOrBuilder>( (cz.proto.access.Ddl.ShowShare) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 21; onChanged();; return shareBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowFunction, cz.proto.access.Ddl.ShowFunction.Builder, cz.proto.access.Ddl.ShowFunctionOrBuilder> functionBuilder_; /** * .cz.proto.access.ShowFunction function = 22; * @return Whether the function field is set. */ @java.lang.Override public boolean hasFunction() { return derivedCase_ == 22; } /** * .cz.proto.access.ShowFunction function = 22; * @return The function. */ @java.lang.Override public cz.proto.access.Ddl.ShowFunction getFunction() { if (functionBuilder_ == null) { if (derivedCase_ == 22) { return (cz.proto.access.Ddl.ShowFunction) derived_; } return cz.proto.access.Ddl.ShowFunction.getDefaultInstance(); } else { if (derivedCase_ == 22) { return functionBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowFunction.getDefaultInstance(); } } /** * .cz.proto.access.ShowFunction function = 22; */ public Builder setFunction(cz.proto.access.Ddl.ShowFunction value) { if (functionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { functionBuilder_.setMessage(value); } derivedCase_ = 22; return this; } /** * .cz.proto.access.ShowFunction function = 22; */ public Builder setFunction( cz.proto.access.Ddl.ShowFunction.Builder builderForValue) { if (functionBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { functionBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 22; return this; } /** * .cz.proto.access.ShowFunction function = 22; */ public Builder mergeFunction(cz.proto.access.Ddl.ShowFunction value) { if (functionBuilder_ == null) { if (derivedCase_ == 22 && derived_ != cz.proto.access.Ddl.ShowFunction.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowFunction.newBuilder((cz.proto.access.Ddl.ShowFunction) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 22) { functionBuilder_.mergeFrom(value); } functionBuilder_.setMessage(value); } derivedCase_ = 22; return this; } /** * .cz.proto.access.ShowFunction function = 22; */ public Builder clearFunction() { if (functionBuilder_ == null) { if (derivedCase_ == 22) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 22) { derivedCase_ = 0; derived_ = null; } functionBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowFunction function = 22; */ public cz.proto.access.Ddl.ShowFunction.Builder getFunctionBuilder() { return getFunctionFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowFunction function = 22; */ @java.lang.Override public cz.proto.access.Ddl.ShowFunctionOrBuilder getFunctionOrBuilder() { if ((derivedCase_ == 22) && (functionBuilder_ != null)) { return functionBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 22) { return (cz.proto.access.Ddl.ShowFunction) derived_; } return cz.proto.access.Ddl.ShowFunction.getDefaultInstance(); } } /** * .cz.proto.access.ShowFunction function = 22; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowFunction, cz.proto.access.Ddl.ShowFunction.Builder, cz.proto.access.Ddl.ShowFunctionOrBuilder> getFunctionFieldBuilder() { if (functionBuilder_ == null) { if (!(derivedCase_ == 22)) { derived_ = cz.proto.access.Ddl.ShowFunction.getDefaultInstance(); } functionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowFunction, cz.proto.access.Ddl.ShowFunction.Builder, cz.proto.access.Ddl.ShowFunctionOrBuilder>( (cz.proto.access.Ddl.ShowFunction) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 22; onChanged();; return functionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowConnection, cz.proto.access.Ddl.ShowConnection.Builder, cz.proto.access.Ddl.ShowConnectionOrBuilder> connectionBuilder_; /** * .cz.proto.access.ShowConnection connection = 23; * @return Whether the connection field is set. */ @java.lang.Override public boolean hasConnection() { return derivedCase_ == 23; } /** * .cz.proto.access.ShowConnection connection = 23; * @return The connection. */ @java.lang.Override public cz.proto.access.Ddl.ShowConnection getConnection() { if (connectionBuilder_ == null) { if (derivedCase_ == 23) { return (cz.proto.access.Ddl.ShowConnection) derived_; } return cz.proto.access.Ddl.ShowConnection.getDefaultInstance(); } else { if (derivedCase_ == 23) { return connectionBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowConnection.getDefaultInstance(); } } /** * .cz.proto.access.ShowConnection connection = 23; */ public Builder setConnection(cz.proto.access.Ddl.ShowConnection value) { if (connectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { connectionBuilder_.setMessage(value); } derivedCase_ = 23; return this; } /** * .cz.proto.access.ShowConnection connection = 23; */ public Builder setConnection( cz.proto.access.Ddl.ShowConnection.Builder builderForValue) { if (connectionBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { connectionBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 23; return this; } /** * .cz.proto.access.ShowConnection connection = 23; */ public Builder mergeConnection(cz.proto.access.Ddl.ShowConnection value) { if (connectionBuilder_ == null) { if (derivedCase_ == 23 && derived_ != cz.proto.access.Ddl.ShowConnection.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowConnection.newBuilder((cz.proto.access.Ddl.ShowConnection) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 23) { connectionBuilder_.mergeFrom(value); } connectionBuilder_.setMessage(value); } derivedCase_ = 23; return this; } /** * .cz.proto.access.ShowConnection connection = 23; */ public Builder clearConnection() { if (connectionBuilder_ == null) { if (derivedCase_ == 23) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 23) { derivedCase_ = 0; derived_ = null; } connectionBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowConnection connection = 23; */ public cz.proto.access.Ddl.ShowConnection.Builder getConnectionBuilder() { return getConnectionFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowConnection connection = 23; */ @java.lang.Override public cz.proto.access.Ddl.ShowConnectionOrBuilder getConnectionOrBuilder() { if ((derivedCase_ == 23) && (connectionBuilder_ != null)) { return connectionBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 23) { return (cz.proto.access.Ddl.ShowConnection) derived_; } return cz.proto.access.Ddl.ShowConnection.getDefaultInstance(); } } /** * .cz.proto.access.ShowConnection connection = 23; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowConnection, cz.proto.access.Ddl.ShowConnection.Builder, cz.proto.access.Ddl.ShowConnectionOrBuilder> getConnectionFieldBuilder() { if (connectionBuilder_ == null) { if (!(derivedCase_ == 23)) { derived_ = cz.proto.access.Ddl.ShowConnection.getDefaultInstance(); } connectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowConnection, cz.proto.access.Ddl.ShowConnection.Builder, cz.proto.access.Ddl.ShowConnectionOrBuilder>( (cz.proto.access.Ddl.ShowConnection) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 23; onChanged();; return connectionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowUserRole, cz.proto.access.Ddl.ShowUserRole.Builder, cz.proto.access.Ddl.ShowUserRoleOrBuilder> userRoleBuilder_; /** * .cz.proto.access.ShowUserRole user_role = 24; * @return Whether the userRole field is set. */ @java.lang.Override public boolean hasUserRole() { return derivedCase_ == 24; } /** * .cz.proto.access.ShowUserRole user_role = 24; * @return The userRole. */ @java.lang.Override public cz.proto.access.Ddl.ShowUserRole getUserRole() { if (userRoleBuilder_ == null) { if (derivedCase_ == 24) { return (cz.proto.access.Ddl.ShowUserRole) derived_; } return cz.proto.access.Ddl.ShowUserRole.getDefaultInstance(); } else { if (derivedCase_ == 24) { return userRoleBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowUserRole.getDefaultInstance(); } } /** * .cz.proto.access.ShowUserRole user_role = 24; */ public Builder setUserRole(cz.proto.access.Ddl.ShowUserRole value) { if (userRoleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { userRoleBuilder_.setMessage(value); } derivedCase_ = 24; return this; } /** * .cz.proto.access.ShowUserRole user_role = 24; */ public Builder setUserRole( cz.proto.access.Ddl.ShowUserRole.Builder builderForValue) { if (userRoleBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { userRoleBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 24; return this; } /** * .cz.proto.access.ShowUserRole user_role = 24; */ public Builder mergeUserRole(cz.proto.access.Ddl.ShowUserRole value) { if (userRoleBuilder_ == null) { if (derivedCase_ == 24 && derived_ != cz.proto.access.Ddl.ShowUserRole.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowUserRole.newBuilder((cz.proto.access.Ddl.ShowUserRole) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 24) { userRoleBuilder_.mergeFrom(value); } userRoleBuilder_.setMessage(value); } derivedCase_ = 24; return this; } /** * .cz.proto.access.ShowUserRole user_role = 24; */ public Builder clearUserRole() { if (userRoleBuilder_ == null) { if (derivedCase_ == 24) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 24) { derivedCase_ = 0; derived_ = null; } userRoleBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowUserRole user_role = 24; */ public cz.proto.access.Ddl.ShowUserRole.Builder getUserRoleBuilder() { return getUserRoleFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowUserRole user_role = 24; */ @java.lang.Override public cz.proto.access.Ddl.ShowUserRoleOrBuilder getUserRoleOrBuilder() { if ((derivedCase_ == 24) && (userRoleBuilder_ != null)) { return userRoleBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 24) { return (cz.proto.access.Ddl.ShowUserRole) derived_; } return cz.proto.access.Ddl.ShowUserRole.getDefaultInstance(); } } /** * .cz.proto.access.ShowUserRole user_role = 24; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowUserRole, cz.proto.access.Ddl.ShowUserRole.Builder, cz.proto.access.Ddl.ShowUserRoleOrBuilder> getUserRoleFieldBuilder() { if (userRoleBuilder_ == null) { if (!(derivedCase_ == 24)) { derived_ = cz.proto.access.Ddl.ShowUserRole.getDefaultInstance(); } userRoleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowUserRole, cz.proto.access.Ddl.ShowUserRole.Builder, cz.proto.access.Ddl.ShowUserRoleOrBuilder>( (cz.proto.access.Ddl.ShowUserRole) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 24; onChanged();; return userRoleBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowAccessType, cz.proto.access.Ddl.ShowAccessType.Builder, cz.proto.access.Ddl.ShowAccessTypeOrBuilder> accessTypeBuilder_; /** * .cz.proto.access.ShowAccessType access_type = 25; * @return Whether the accessType field is set. */ @java.lang.Override public boolean hasAccessType() { return derivedCase_ == 25; } /** * .cz.proto.access.ShowAccessType access_type = 25; * @return The accessType. */ @java.lang.Override public cz.proto.access.Ddl.ShowAccessType getAccessType() { if (accessTypeBuilder_ == null) { if (derivedCase_ == 25) { return (cz.proto.access.Ddl.ShowAccessType) derived_; } return cz.proto.access.Ddl.ShowAccessType.getDefaultInstance(); } else { if (derivedCase_ == 25) { return accessTypeBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowAccessType.getDefaultInstance(); } } /** * .cz.proto.access.ShowAccessType access_type = 25; */ public Builder setAccessType(cz.proto.access.Ddl.ShowAccessType value) { if (accessTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { accessTypeBuilder_.setMessage(value); } derivedCase_ = 25; return this; } /** * .cz.proto.access.ShowAccessType access_type = 25; */ public Builder setAccessType( cz.proto.access.Ddl.ShowAccessType.Builder builderForValue) { if (accessTypeBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { accessTypeBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 25; return this; } /** * .cz.proto.access.ShowAccessType access_type = 25; */ public Builder mergeAccessType(cz.proto.access.Ddl.ShowAccessType value) { if (accessTypeBuilder_ == null) { if (derivedCase_ == 25 && derived_ != cz.proto.access.Ddl.ShowAccessType.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowAccessType.newBuilder((cz.proto.access.Ddl.ShowAccessType) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 25) { accessTypeBuilder_.mergeFrom(value); } accessTypeBuilder_.setMessage(value); } derivedCase_ = 25; return this; } /** * .cz.proto.access.ShowAccessType access_type = 25; */ public Builder clearAccessType() { if (accessTypeBuilder_ == null) { if (derivedCase_ == 25) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 25) { derivedCase_ = 0; derived_ = null; } accessTypeBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowAccessType access_type = 25; */ public cz.proto.access.Ddl.ShowAccessType.Builder getAccessTypeBuilder() { return getAccessTypeFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowAccessType access_type = 25; */ @java.lang.Override public cz.proto.access.Ddl.ShowAccessTypeOrBuilder getAccessTypeOrBuilder() { if ((derivedCase_ == 25) && (accessTypeBuilder_ != null)) { return accessTypeBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 25) { return (cz.proto.access.Ddl.ShowAccessType) derived_; } return cz.proto.access.Ddl.ShowAccessType.getDefaultInstance(); } } /** * .cz.proto.access.ShowAccessType access_type = 25; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowAccessType, cz.proto.access.Ddl.ShowAccessType.Builder, cz.proto.access.Ddl.ShowAccessTypeOrBuilder> getAccessTypeFieldBuilder() { if (accessTypeBuilder_ == null) { if (!(derivedCase_ == 25)) { derived_ = cz.proto.access.Ddl.ShowAccessType.getDefaultInstance(); } accessTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowAccessType, cz.proto.access.Ddl.ShowAccessType.Builder, cz.proto.access.Ddl.ShowAccessTypeOrBuilder>( (cz.proto.access.Ddl.ShowAccessType) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 25; onChanged();; return accessTypeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowStorageLocation, cz.proto.access.Ddl.ShowStorageLocation.Builder, cz.proto.access.Ddl.ShowStorageLocationOrBuilder> storageLocationBuilder_; /** * .cz.proto.access.ShowStorageLocation storage_location = 26; * @return Whether the storageLocation field is set. */ @java.lang.Override public boolean hasStorageLocation() { return derivedCase_ == 26; } /** * .cz.proto.access.ShowStorageLocation storage_location = 26; * @return The storageLocation. */ @java.lang.Override public cz.proto.access.Ddl.ShowStorageLocation getStorageLocation() { if (storageLocationBuilder_ == null) { if (derivedCase_ == 26) { return (cz.proto.access.Ddl.ShowStorageLocation) derived_; } return cz.proto.access.Ddl.ShowStorageLocation.getDefaultInstance(); } else { if (derivedCase_ == 26) { return storageLocationBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowStorageLocation.getDefaultInstance(); } } /** * .cz.proto.access.ShowStorageLocation storage_location = 26; */ public Builder setStorageLocation(cz.proto.access.Ddl.ShowStorageLocation value) { if (storageLocationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { storageLocationBuilder_.setMessage(value); } derivedCase_ = 26; return this; } /** * .cz.proto.access.ShowStorageLocation storage_location = 26; */ public Builder setStorageLocation( cz.proto.access.Ddl.ShowStorageLocation.Builder builderForValue) { if (storageLocationBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { storageLocationBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 26; return this; } /** * .cz.proto.access.ShowStorageLocation storage_location = 26; */ public Builder mergeStorageLocation(cz.proto.access.Ddl.ShowStorageLocation value) { if (storageLocationBuilder_ == null) { if (derivedCase_ == 26 && derived_ != cz.proto.access.Ddl.ShowStorageLocation.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowStorageLocation.newBuilder((cz.proto.access.Ddl.ShowStorageLocation) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 26) { storageLocationBuilder_.mergeFrom(value); } storageLocationBuilder_.setMessage(value); } derivedCase_ = 26; return this; } /** * .cz.proto.access.ShowStorageLocation storage_location = 26; */ public Builder clearStorageLocation() { if (storageLocationBuilder_ == null) { if (derivedCase_ == 26) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 26) { derivedCase_ = 0; derived_ = null; } storageLocationBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowStorageLocation storage_location = 26; */ public cz.proto.access.Ddl.ShowStorageLocation.Builder getStorageLocationBuilder() { return getStorageLocationFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowStorageLocation storage_location = 26; */ @java.lang.Override public cz.proto.access.Ddl.ShowStorageLocationOrBuilder getStorageLocationOrBuilder() { if ((derivedCase_ == 26) && (storageLocationBuilder_ != null)) { return storageLocationBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 26) { return (cz.proto.access.Ddl.ShowStorageLocation) derived_; } return cz.proto.access.Ddl.ShowStorageLocation.getDefaultInstance(); } } /** * .cz.proto.access.ShowStorageLocation storage_location = 26; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowStorageLocation, cz.proto.access.Ddl.ShowStorageLocation.Builder, cz.proto.access.Ddl.ShowStorageLocationOrBuilder> getStorageLocationFieldBuilder() { if (storageLocationBuilder_ == null) { if (!(derivedCase_ == 26)) { derived_ = cz.proto.access.Ddl.ShowStorageLocation.getDefaultInstance(); } storageLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowStorageLocation, cz.proto.access.Ddl.ShowStorageLocation.Builder, cz.proto.access.Ddl.ShowStorageLocationOrBuilder>( (cz.proto.access.Ddl.ShowStorageLocation) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 26; onChanged();; return storageLocationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowIndex, cz.proto.access.Ddl.ShowIndex.Builder, cz.proto.access.Ddl.ShowIndexOrBuilder> indexBuilder_; /** * .cz.proto.access.ShowIndex index = 27; * @return Whether the index field is set. */ @java.lang.Override public boolean hasIndex() { return derivedCase_ == 27; } /** * .cz.proto.access.ShowIndex index = 27; * @return The index. */ @java.lang.Override public cz.proto.access.Ddl.ShowIndex getIndex() { if (indexBuilder_ == null) { if (derivedCase_ == 27) { return (cz.proto.access.Ddl.ShowIndex) derived_; } return cz.proto.access.Ddl.ShowIndex.getDefaultInstance(); } else { if (derivedCase_ == 27) { return indexBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowIndex.getDefaultInstance(); } } /** * .cz.proto.access.ShowIndex index = 27; */ public Builder setIndex(cz.proto.access.Ddl.ShowIndex value) { if (indexBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { indexBuilder_.setMessage(value); } derivedCase_ = 27; return this; } /** * .cz.proto.access.ShowIndex index = 27; */ public Builder setIndex( cz.proto.access.Ddl.ShowIndex.Builder builderForValue) { if (indexBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { indexBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 27; return this; } /** * .cz.proto.access.ShowIndex index = 27; */ public Builder mergeIndex(cz.proto.access.Ddl.ShowIndex value) { if (indexBuilder_ == null) { if (derivedCase_ == 27 && derived_ != cz.proto.access.Ddl.ShowIndex.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowIndex.newBuilder((cz.proto.access.Ddl.ShowIndex) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 27) { indexBuilder_.mergeFrom(value); } indexBuilder_.setMessage(value); } derivedCase_ = 27; return this; } /** * .cz.proto.access.ShowIndex index = 27; */ public Builder clearIndex() { if (indexBuilder_ == null) { if (derivedCase_ == 27) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 27) { derivedCase_ = 0; derived_ = null; } indexBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowIndex index = 27; */ public cz.proto.access.Ddl.ShowIndex.Builder getIndexBuilder() { return getIndexFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowIndex index = 27; */ @java.lang.Override public cz.proto.access.Ddl.ShowIndexOrBuilder getIndexOrBuilder() { if ((derivedCase_ == 27) && (indexBuilder_ != null)) { return indexBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 27) { return (cz.proto.access.Ddl.ShowIndex) derived_; } return cz.proto.access.Ddl.ShowIndex.getDefaultInstance(); } } /** * .cz.proto.access.ShowIndex index = 27; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowIndex, cz.proto.access.Ddl.ShowIndex.Builder, cz.proto.access.Ddl.ShowIndexOrBuilder> getIndexFieldBuilder() { if (indexBuilder_ == null) { if (!(derivedCase_ == 27)) { derived_ = cz.proto.access.Ddl.ShowIndex.getDefaultInstance(); } indexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowIndex, cz.proto.access.Ddl.ShowIndex.Builder, cz.proto.access.Ddl.ShowIndexOrBuilder>( (cz.proto.access.Ddl.ShowIndex) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 27; onChanged();; return indexBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowVolume, cz.proto.access.Ddl.ShowVolume.Builder, cz.proto.access.Ddl.ShowVolumeOrBuilder> volumeBuilder_; /** * .cz.proto.access.ShowVolume volume = 28; * @return Whether the volume field is set. */ @java.lang.Override public boolean hasVolume() { return derivedCase_ == 28; } /** * .cz.proto.access.ShowVolume volume = 28; * @return The volume. */ @java.lang.Override public cz.proto.access.Ddl.ShowVolume getVolume() { if (volumeBuilder_ == null) { if (derivedCase_ == 28) { return (cz.proto.access.Ddl.ShowVolume) derived_; } return cz.proto.access.Ddl.ShowVolume.getDefaultInstance(); } else { if (derivedCase_ == 28) { return volumeBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowVolume.getDefaultInstance(); } } /** * .cz.proto.access.ShowVolume volume = 28; */ public Builder setVolume(cz.proto.access.Ddl.ShowVolume value) { if (volumeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { volumeBuilder_.setMessage(value); } derivedCase_ = 28; return this; } /** * .cz.proto.access.ShowVolume volume = 28; */ public Builder setVolume( cz.proto.access.Ddl.ShowVolume.Builder builderForValue) { if (volumeBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { volumeBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 28; return this; } /** * .cz.proto.access.ShowVolume volume = 28; */ public Builder mergeVolume(cz.proto.access.Ddl.ShowVolume value) { if (volumeBuilder_ == null) { if (derivedCase_ == 28 && derived_ != cz.proto.access.Ddl.ShowVolume.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowVolume.newBuilder((cz.proto.access.Ddl.ShowVolume) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 28) { volumeBuilder_.mergeFrom(value); } volumeBuilder_.setMessage(value); } derivedCase_ = 28; return this; } /** * .cz.proto.access.ShowVolume volume = 28; */ public Builder clearVolume() { if (volumeBuilder_ == null) { if (derivedCase_ == 28) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 28) { derivedCase_ = 0; derived_ = null; } volumeBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowVolume volume = 28; */ public cz.proto.access.Ddl.ShowVolume.Builder getVolumeBuilder() { return getVolumeFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowVolume volume = 28; */ @java.lang.Override public cz.proto.access.Ddl.ShowVolumeOrBuilder getVolumeOrBuilder() { if ((derivedCase_ == 28) && (volumeBuilder_ != null)) { return volumeBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 28) { return (cz.proto.access.Ddl.ShowVolume) derived_; } return cz.proto.access.Ddl.ShowVolume.getDefaultInstance(); } } /** * .cz.proto.access.ShowVolume volume = 28; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowVolume, cz.proto.access.Ddl.ShowVolume.Builder, cz.proto.access.Ddl.ShowVolumeOrBuilder> getVolumeFieldBuilder() { if (volumeBuilder_ == null) { if (!(derivedCase_ == 28)) { derived_ = cz.proto.access.Ddl.ShowVolume.getDefaultInstance(); } volumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowVolume, cz.proto.access.Ddl.ShowVolume.Builder, cz.proto.access.Ddl.ShowVolumeOrBuilder>( (cz.proto.access.Ddl.ShowVolume) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 28; onChanged();; return volumeBuilder_; } @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:cz.proto.access.ShowEntity) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowEntity) private static final cz.proto.access.Ddl.ShowEntity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowEntity(); } public static cz.proto.access.Ddl.ShowEntity getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowEntity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowEntity(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 cz.proto.access.Ddl.ShowEntity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowVirtualClusterSizeSpecsOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowVirtualClusterSizeSpecs) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cz.proto.access.ShowVirtualClusterSizeSpecs} */ public static final class ShowVirtualClusterSizeSpecs extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowVirtualClusterSizeSpecs) ShowVirtualClusterSizeSpecsOrBuilder { private static final long serialVersionUID = 0L; // Use ShowVirtualClusterSizeSpecs.newBuilder() to construct. private ShowVirtualClusterSizeSpecs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowVirtualClusterSizeSpecs() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowVirtualClusterSizeSpecs(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowVirtualClusterSizeSpecs( 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; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVirtualClusterSizeSpecs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVirtualClusterSizeSpecs_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.class, cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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 cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs)) { return super.equals(obj); } cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs other = (cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs) obj; 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs 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 cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs 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 cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs 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(cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs 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 cz.proto.access.ShowVirtualClusterSizeSpecs} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowVirtualClusterSizeSpecs) cz.proto.access.Ddl.ShowVirtualClusterSizeSpecsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVirtualClusterSizeSpecs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVirtualClusterSizeSpecs_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.class, cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.Builder.class); } // Construct using cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.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(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVirtualClusterSizeSpecs_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs build() { cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs buildPartial() { cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs result = new cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs) { return mergeFrom((cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs other) { if (other == cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs.getDefaultInstance()) return this; 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 { cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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:cz.proto.access.ShowVirtualClusterSizeSpecs) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowVirtualClusterSizeSpecs) private static final cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs(); } public static cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowVirtualClusterSizeSpecs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowVirtualClusterSizeSpecs(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 cz.proto.access.Ddl.ShowVirtualClusterSizeSpecs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowWorkspaceOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowWorkspace) com.google.protobuf.MessageOrBuilder { /** * int64 instance_id = 1; * @return The instanceId. */ long getInstanceId(); } /** * Protobuf type {@code cz.proto.access.ShowWorkspace} */ public static final class ShowWorkspace extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowWorkspace) ShowWorkspaceOrBuilder { private static final long serialVersionUID = 0L; // Use ShowWorkspace.newBuilder() to construct. private ShowWorkspace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowWorkspace() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowWorkspace(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowWorkspace( 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: { instanceId_ = input.readInt64(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowWorkspace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowWorkspace_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowWorkspace.class, cz.proto.access.Ddl.ShowWorkspace.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; private long instanceId_; /** * int64 instance_id = 1; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } 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 (instanceId_ != 0L) { output.writeInt64(1, instanceId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, instanceId_); } 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 cz.proto.access.Ddl.ShowWorkspace)) { return super.equals(obj); } cz.proto.access.Ddl.ShowWorkspace other = (cz.proto.access.Ddl.ShowWorkspace) obj; if (getInstanceId() != other.getInstanceId()) 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) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInstanceId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowWorkspace parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowWorkspace parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowWorkspace parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowWorkspace parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowWorkspace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowWorkspace parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowWorkspace parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowWorkspace 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 cz.proto.access.Ddl.ShowWorkspace parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowWorkspace 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 cz.proto.access.Ddl.ShowWorkspace parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowWorkspace 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(cz.proto.access.Ddl.ShowWorkspace 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 cz.proto.access.ShowWorkspace} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowWorkspace) cz.proto.access.Ddl.ShowWorkspaceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowWorkspace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowWorkspace_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowWorkspace.class, cz.proto.access.Ddl.ShowWorkspace.Builder.class); } // Construct using cz.proto.access.Ddl.ShowWorkspace.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(); instanceId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowWorkspace_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowWorkspace getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowWorkspace.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowWorkspace build() { cz.proto.access.Ddl.ShowWorkspace result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowWorkspace buildPartial() { cz.proto.access.Ddl.ShowWorkspace result = new cz.proto.access.Ddl.ShowWorkspace(this); result.instanceId_ = instanceId_; 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 cz.proto.access.Ddl.ShowWorkspace) { return mergeFrom((cz.proto.access.Ddl.ShowWorkspace)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowWorkspace other) { if (other == cz.proto.access.Ddl.ShowWorkspace.getDefaultInstance()) return this; if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } 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 { cz.proto.access.Ddl.ShowWorkspace parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowWorkspace) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long instanceId_ ; /** * int64 instance_id = 1; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 1; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 1; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; 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:cz.proto.access.ShowWorkspace) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowWorkspace) private static final cz.proto.access.Ddl.ShowWorkspace DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowWorkspace(); } public static cz.proto.access.Ddl.ShowWorkspace getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowWorkspace parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowWorkspace(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 cz.proto.access.Ddl.ShowWorkspace getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowUserOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowUser) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ boolean hasWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ cz.proto.ObjectIdentifier getWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder(); } /** * Protobuf type {@code cz.proto.access.ShowUser} */ public static final class ShowUser extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowUser) ShowUserOrBuilder { private static final long serialVersionUID = 0L; // Use ShowUser.newBuilder() to construct. private ShowUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowUser() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowUser(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowUser( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (workspaceId_ != null) { subBuilder = workspaceId_.toBuilder(); } workspaceId_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(workspaceId_); workspaceId_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUser_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowUser.class, cz.proto.access.Ddl.ShowUser.Builder.class); } public static final int WORKSPACE_ID_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier workspaceId_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ @java.lang.Override public boolean hasWorkspaceId() { return workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ @java.lang.Override public cz.proto.ObjectIdentifier getWorkspaceId() { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { return getWorkspaceId(); } 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 (workspaceId_ != null) { output.writeMessage(1, getWorkspaceId()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workspaceId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getWorkspaceId()); } 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 cz.proto.access.Ddl.ShowUser)) { return super.equals(obj); } cz.proto.access.Ddl.ShowUser other = (cz.proto.access.Ddl.ShowUser) obj; if (hasWorkspaceId() != other.hasWorkspaceId()) return false; if (hasWorkspaceId()) { if (!getWorkspaceId() .equals(other.getWorkspaceId())) 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 (hasWorkspaceId()) { hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + getWorkspaceId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowUser parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowUser parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowUser parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowUser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowUser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowUser parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowUser parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowUser 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 cz.proto.access.Ddl.ShowUser parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowUser 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 cz.proto.access.Ddl.ShowUser parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowUser 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(cz.proto.access.Ddl.ShowUser 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 cz.proto.access.ShowUser} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowUser) cz.proto.access.Ddl.ShowUserOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUser_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowUser.class, cz.proto.access.Ddl.ShowUser.Builder.class); } // Construct using cz.proto.access.Ddl.ShowUser.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 (workspaceIdBuilder_ == null) { workspaceId_ = null; } else { workspaceId_ = null; workspaceIdBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUser_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowUser getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowUser.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowUser build() { cz.proto.access.Ddl.ShowUser result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowUser buildPartial() { cz.proto.access.Ddl.ShowUser result = new cz.proto.access.Ddl.ShowUser(this); if (workspaceIdBuilder_ == null) { result.workspaceId_ = workspaceId_; } else { result.workspaceId_ = workspaceIdBuilder_.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 cz.proto.access.Ddl.ShowUser) { return mergeFrom((cz.proto.access.Ddl.ShowUser)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowUser other) { if (other == cz.proto.access.Ddl.ShowUser.getDefaultInstance()) return this; if (other.hasWorkspaceId()) { mergeWorkspaceId(other.getWorkspaceId()); } 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 { cz.proto.access.Ddl.ShowUser parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowUser) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier workspaceId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> workspaceIdBuilder_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ public boolean hasWorkspaceId() { return workspaceIdBuilder_ != null || workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ public cz.proto.ObjectIdentifier getWorkspaceId() { if (workspaceIdBuilder_ == null) { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } else { return workspaceIdBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } workspaceId_ = value; onChanged(); } else { workspaceIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId( cz.proto.ObjectIdentifier.Builder builderForValue) { if (workspaceIdBuilder_ == null) { workspaceId_ = builderForValue.build(); onChanged(); } else { workspaceIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder mergeWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (workspaceId_ != null) { workspaceId_ = cz.proto.ObjectIdentifier.newBuilder(workspaceId_).mergeFrom(value).buildPartial(); } else { workspaceId_ = value; } onChanged(); } else { workspaceIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder clearWorkspaceId() { if (workspaceIdBuilder_ == null) { workspaceId_ = null; onChanged(); } else { workspaceId_ = null; workspaceIdBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifier.Builder getWorkspaceIdBuilder() { onChanged(); return getWorkspaceIdFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { if (workspaceIdBuilder_ != null) { return workspaceIdBuilder_.getMessageOrBuilder(); } else { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getWorkspaceIdFieldBuilder() { if (workspaceIdBuilder_ == null) { workspaceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getWorkspaceId(), getParentForChildren(), isClean()); workspaceId_ = null; } return workspaceIdBuilder_; } @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:cz.proto.access.ShowUser) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowUser) private static final cz.proto.access.Ddl.ShowUser DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowUser(); } public static cz.proto.access.Ddl.ShowUser getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowUser parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowUser(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 cz.proto.access.Ddl.ShowUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowRoleOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowRole) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ boolean hasWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ cz.proto.ObjectIdentifier getWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder(); } /** * Protobuf type {@code cz.proto.access.ShowRole} */ public static final class ShowRole extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowRole) ShowRoleOrBuilder { private static final long serialVersionUID = 0L; // Use ShowRole.newBuilder() to construct. private ShowRole(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowRole() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowRole(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowRole( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (workspaceId_ != null) { subBuilder = workspaceId_.toBuilder(); } workspaceId_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(workspaceId_); workspaceId_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowRole_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowRole_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowRole.class, cz.proto.access.Ddl.ShowRole.Builder.class); } public static final int WORKSPACE_ID_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier workspaceId_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ @java.lang.Override public boolean hasWorkspaceId() { return workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ @java.lang.Override public cz.proto.ObjectIdentifier getWorkspaceId() { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { return getWorkspaceId(); } 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 (workspaceId_ != null) { output.writeMessage(1, getWorkspaceId()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workspaceId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getWorkspaceId()); } 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 cz.proto.access.Ddl.ShowRole)) { return super.equals(obj); } cz.proto.access.Ddl.ShowRole other = (cz.proto.access.Ddl.ShowRole) obj; if (hasWorkspaceId() != other.hasWorkspaceId()) return false; if (hasWorkspaceId()) { if (!getWorkspaceId() .equals(other.getWorkspaceId())) 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 (hasWorkspaceId()) { hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + getWorkspaceId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowRole parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowRole parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowRole parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowRole parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowRole parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowRole parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowRole parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowRole 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 cz.proto.access.Ddl.ShowRole parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowRole 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 cz.proto.access.Ddl.ShowRole parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowRole 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(cz.proto.access.Ddl.ShowRole 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 cz.proto.access.ShowRole} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowRole) cz.proto.access.Ddl.ShowRoleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowRole_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowRole_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowRole.class, cz.proto.access.Ddl.ShowRole.Builder.class); } // Construct using cz.proto.access.Ddl.ShowRole.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 (workspaceIdBuilder_ == null) { workspaceId_ = null; } else { workspaceId_ = null; workspaceIdBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowRole_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowRole getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowRole.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowRole build() { cz.proto.access.Ddl.ShowRole result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowRole buildPartial() { cz.proto.access.Ddl.ShowRole result = new cz.proto.access.Ddl.ShowRole(this); if (workspaceIdBuilder_ == null) { result.workspaceId_ = workspaceId_; } else { result.workspaceId_ = workspaceIdBuilder_.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 cz.proto.access.Ddl.ShowRole) { return mergeFrom((cz.proto.access.Ddl.ShowRole)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowRole other) { if (other == cz.proto.access.Ddl.ShowRole.getDefaultInstance()) return this; if (other.hasWorkspaceId()) { mergeWorkspaceId(other.getWorkspaceId()); } 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 { cz.proto.access.Ddl.ShowRole parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowRole) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier workspaceId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> workspaceIdBuilder_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ public boolean hasWorkspaceId() { return workspaceIdBuilder_ != null || workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ public cz.proto.ObjectIdentifier getWorkspaceId() { if (workspaceIdBuilder_ == null) { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } else { return workspaceIdBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } workspaceId_ = value; onChanged(); } else { workspaceIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId( cz.proto.ObjectIdentifier.Builder builderForValue) { if (workspaceIdBuilder_ == null) { workspaceId_ = builderForValue.build(); onChanged(); } else { workspaceIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder mergeWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (workspaceId_ != null) { workspaceId_ = cz.proto.ObjectIdentifier.newBuilder(workspaceId_).mergeFrom(value).buildPartial(); } else { workspaceId_ = value; } onChanged(); } else { workspaceIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder clearWorkspaceId() { if (workspaceIdBuilder_ == null) { workspaceId_ = null; onChanged(); } else { workspaceId_ = null; workspaceIdBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifier.Builder getWorkspaceIdBuilder() { onChanged(); return getWorkspaceIdFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { if (workspaceIdBuilder_ != null) { return workspaceIdBuilder_.getMessageOrBuilder(); } else { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getWorkspaceIdFieldBuilder() { if (workspaceIdBuilder_ == null) { workspaceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getWorkspaceId(), getParentForChildren(), isClean()); workspaceId_ = null; } return workspaceIdBuilder_; } @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:cz.proto.access.ShowRole) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowRole) private static final cz.proto.access.Ddl.ShowRole DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowRole(); } public static cz.proto.access.Ddl.ShowRole getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowRole parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowRole(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 cz.proto.access.Ddl.ShowRole getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowGroupPrivilegeOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowGroupPrivilege) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ cz.proto.ObjectIdentifier getIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; */ cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder(); } /** * Protobuf type {@code cz.proto.access.ShowGroupPrivilege} */ public static final class ShowGroupPrivilege extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowGroupPrivilege) ShowGroupPrivilegeOrBuilder { private static final long serialVersionUID = 0L; // Use ShowGroupPrivilege.newBuilder() to construct. private ShowGroupPrivilege(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowGroupPrivilege() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowGroupPrivilege(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowGroupPrivilege( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowGroupPrivilege_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowGroupPrivilege_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowGroupPrivilege.class, cz.proto.access.Ddl.ShowGroupPrivilege.Builder.class); } public static final int IDENTIFIER_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier identifier_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ @java.lang.Override public cz.proto.ObjectIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } 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 (identifier_ != null) { output.writeMessage(1, getIdentifier()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } 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 cz.proto.access.Ddl.ShowGroupPrivilege)) { return super.equals(obj); } cz.proto.access.Ddl.ShowGroupPrivilege other = (cz.proto.access.Ddl.ShowGroupPrivilege) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) 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 (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowGroupPrivilege parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowGroupPrivilege parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowGroupPrivilege parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowGroupPrivilege parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowGroupPrivilege parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowGroupPrivilege parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowGroupPrivilege parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowGroupPrivilege 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 cz.proto.access.Ddl.ShowGroupPrivilege parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowGroupPrivilege 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 cz.proto.access.Ddl.ShowGroupPrivilege parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowGroupPrivilege 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(cz.proto.access.Ddl.ShowGroupPrivilege 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 cz.proto.access.ShowGroupPrivilege} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowGroupPrivilege) cz.proto.access.Ddl.ShowGroupPrivilegeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowGroupPrivilege_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowGroupPrivilege_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowGroupPrivilege.class, cz.proto.access.Ddl.ShowGroupPrivilege.Builder.class); } // Construct using cz.proto.access.Ddl.ShowGroupPrivilege.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 (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowGroupPrivilege_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowGroupPrivilege getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowGroupPrivilege.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowGroupPrivilege build() { cz.proto.access.Ddl.ShowGroupPrivilege result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowGroupPrivilege buildPartial() { cz.proto.access.Ddl.ShowGroupPrivilege result = new cz.proto.access.Ddl.ShowGroupPrivilege(this); if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.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 cz.proto.access.Ddl.ShowGroupPrivilege) { return mergeFrom((cz.proto.access.Ddl.ShowGroupPrivilege)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowGroupPrivilege other) { if (other == cz.proto.access.Ddl.ShowGroupPrivilege.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } 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 { cz.proto.access.Ddl.ShowGroupPrivilege parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowGroupPrivilege) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ public cz.proto.ObjectIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } @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:cz.proto.access.ShowGroupPrivilege) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowGroupPrivilege) private static final cz.proto.access.Ddl.ShowGroupPrivilege DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowGroupPrivilege(); } public static cz.proto.access.Ddl.ShowGroupPrivilege getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowGroupPrivilege parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowGroupPrivilege(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 cz.proto.access.Ddl.ShowGroupPrivilege getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowUserPrivilegeOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowUserPrivilege) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.UserIdentifier identifier = 1; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.UserIdentifier identifier = 1; * @return The identifier. */ cz.proto.AccountOuterClass.UserIdentifier getIdentifier(); /** * .cz.proto.UserIdentifier identifier = 1; */ cz.proto.AccountOuterClass.UserIdentifierOrBuilder getIdentifierOrBuilder(); } /** * Protobuf type {@code cz.proto.access.ShowUserPrivilege} */ public static final class ShowUserPrivilege extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowUserPrivilege) ShowUserPrivilegeOrBuilder { private static final long serialVersionUID = 0L; // Use ShowUserPrivilege.newBuilder() to construct. private ShowUserPrivilege(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowUserPrivilege() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowUserPrivilege(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowUserPrivilege( 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: { cz.proto.AccountOuterClass.UserIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.AccountOuterClass.UserIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUserPrivilege_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUserPrivilege_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowUserPrivilege.class, cz.proto.access.Ddl.ShowUserPrivilege.Builder.class); } public static final int IDENTIFIER_FIELD_NUMBER = 1; private cz.proto.AccountOuterClass.UserIdentifier identifier_; /** * .cz.proto.UserIdentifier identifier = 1; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.UserIdentifier identifier = 1; * @return The identifier. */ @java.lang.Override public cz.proto.AccountOuterClass.UserIdentifier getIdentifier() { return identifier_ == null ? cz.proto.AccountOuterClass.UserIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.UserIdentifier identifier = 1; */ @java.lang.Override public cz.proto.AccountOuterClass.UserIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } 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 (identifier_ != null) { output.writeMessage(1, getIdentifier()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } 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 cz.proto.access.Ddl.ShowUserPrivilege)) { return super.equals(obj); } cz.proto.access.Ddl.ShowUserPrivilege other = (cz.proto.access.Ddl.ShowUserPrivilege) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) 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 (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowUserPrivilege parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowUserPrivilege parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowUserPrivilege parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowUserPrivilege parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowUserPrivilege parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowUserPrivilege parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowUserPrivilege parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowUserPrivilege 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 cz.proto.access.Ddl.ShowUserPrivilege parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowUserPrivilege 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 cz.proto.access.Ddl.ShowUserPrivilege parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowUserPrivilege 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(cz.proto.access.Ddl.ShowUserPrivilege 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 cz.proto.access.ShowUserPrivilege} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowUserPrivilege) cz.proto.access.Ddl.ShowUserPrivilegeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUserPrivilege_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUserPrivilege_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowUserPrivilege.class, cz.proto.access.Ddl.ShowUserPrivilege.Builder.class); } // Construct using cz.proto.access.Ddl.ShowUserPrivilege.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 (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUserPrivilege_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowUserPrivilege getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowUserPrivilege.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowUserPrivilege build() { cz.proto.access.Ddl.ShowUserPrivilege result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowUserPrivilege buildPartial() { cz.proto.access.Ddl.ShowUserPrivilege result = new cz.proto.access.Ddl.ShowUserPrivilege(this); if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.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 cz.proto.access.Ddl.ShowUserPrivilege) { return mergeFrom((cz.proto.access.Ddl.ShowUserPrivilege)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowUserPrivilege other) { if (other == cz.proto.access.Ddl.ShowUserPrivilege.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } 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 { cz.proto.access.Ddl.ShowUserPrivilege parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowUserPrivilege) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.AccountOuterClass.UserIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.AccountOuterClass.UserIdentifier, cz.proto.AccountOuterClass.UserIdentifier.Builder, cz.proto.AccountOuterClass.UserIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.UserIdentifier identifier = 1; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.UserIdentifier identifier = 1; * @return The identifier. */ public cz.proto.AccountOuterClass.UserIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.AccountOuterClass.UserIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.UserIdentifier identifier = 1; */ public Builder setIdentifier(cz.proto.AccountOuterClass.UserIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.UserIdentifier identifier = 1; */ public Builder setIdentifier( cz.proto.AccountOuterClass.UserIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.UserIdentifier identifier = 1; */ public Builder mergeIdentifier(cz.proto.AccountOuterClass.UserIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.AccountOuterClass.UserIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.UserIdentifier identifier = 1; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.UserIdentifier identifier = 1; */ public cz.proto.AccountOuterClass.UserIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.UserIdentifier identifier = 1; */ public cz.proto.AccountOuterClass.UserIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.AccountOuterClass.UserIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.UserIdentifier identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.AccountOuterClass.UserIdentifier, cz.proto.AccountOuterClass.UserIdentifier.Builder, cz.proto.AccountOuterClass.UserIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.AccountOuterClass.UserIdentifier, cz.proto.AccountOuterClass.UserIdentifier.Builder, cz.proto.AccountOuterClass.UserIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } @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:cz.proto.access.ShowUserPrivilege) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowUserPrivilege) private static final cz.proto.access.Ddl.ShowUserPrivilege DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowUserPrivilege(); } public static cz.proto.access.Ddl.ShowUserPrivilege getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowUserPrivilege parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowUserPrivilege(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 cz.proto.access.Ddl.ShowUserPrivilege getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowObjectPrivilegeOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowObjectPrivilege) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ cz.proto.ObjectIdentifier getIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; */ cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder(); /** * .cz.proto.access.Subject subject = 2; * @return Whether the subject field is set. */ boolean hasSubject(); /** * .cz.proto.access.Subject subject = 2; * @return The subject. */ cz.proto.access.Subject getSubject(); /** * .cz.proto.access.Subject subject = 2; */ cz.proto.access.SubjectOrBuilder getSubjectOrBuilder(); } /** * Protobuf type {@code cz.proto.access.ShowObjectPrivilege} */ public static final class ShowObjectPrivilege extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowObjectPrivilege) ShowObjectPrivilegeOrBuilder { private static final long serialVersionUID = 0L; // Use ShowObjectPrivilege.newBuilder() to construct. private ShowObjectPrivilege(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowObjectPrivilege() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowObjectPrivilege(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowObjectPrivilege( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.access.Subject.Builder subBuilder = null; if (subject_ != null) { subBuilder = subject_.toBuilder(); } subject_ = input.readMessage(cz.proto.access.Subject.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(subject_); subject_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowObjectPrivilege_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowObjectPrivilege_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowObjectPrivilege.class, cz.proto.access.Ddl.ShowObjectPrivilege.Builder.class); } public static final int IDENTIFIER_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier identifier_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ @java.lang.Override public cz.proto.ObjectIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int SUBJECT_FIELD_NUMBER = 2; private cz.proto.access.Subject subject_; /** * .cz.proto.access.Subject subject = 2; * @return Whether the subject field is set. */ @java.lang.Override public boolean hasSubject() { return subject_ != null; } /** * .cz.proto.access.Subject subject = 2; * @return The subject. */ @java.lang.Override public cz.proto.access.Subject getSubject() { return subject_ == null ? cz.proto.access.Subject.getDefaultInstance() : subject_; } /** * .cz.proto.access.Subject subject = 2; */ @java.lang.Override public cz.proto.access.SubjectOrBuilder getSubjectOrBuilder() { return getSubject(); } 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 (identifier_ != null) { output.writeMessage(1, getIdentifier()); } if (subject_ != null) { output.writeMessage(2, getSubject()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } if (subject_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSubject()); } 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 cz.proto.access.Ddl.ShowObjectPrivilege)) { return super.equals(obj); } cz.proto.access.Ddl.ShowObjectPrivilege other = (cz.proto.access.Ddl.ShowObjectPrivilege) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (hasSubject() != other.hasSubject()) return false; if (hasSubject()) { if (!getSubject() .equals(other.getSubject())) 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 (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } if (hasSubject()) { hash = (37 * hash) + SUBJECT_FIELD_NUMBER; hash = (53 * hash) + getSubject().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowObjectPrivilege parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowObjectPrivilege parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowObjectPrivilege parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowObjectPrivilege parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowObjectPrivilege parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowObjectPrivilege parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowObjectPrivilege parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowObjectPrivilege 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 cz.proto.access.Ddl.ShowObjectPrivilege parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowObjectPrivilege 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 cz.proto.access.Ddl.ShowObjectPrivilege parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowObjectPrivilege 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(cz.proto.access.Ddl.ShowObjectPrivilege 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 cz.proto.access.ShowObjectPrivilege} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowObjectPrivilege) cz.proto.access.Ddl.ShowObjectPrivilegeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowObjectPrivilege_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowObjectPrivilege_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowObjectPrivilege.class, cz.proto.access.Ddl.ShowObjectPrivilege.Builder.class); } // Construct using cz.proto.access.Ddl.ShowObjectPrivilege.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 (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } if (subjectBuilder_ == null) { subject_ = null; } else { subject_ = null; subjectBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowObjectPrivilege_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowObjectPrivilege getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowObjectPrivilege.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowObjectPrivilege build() { cz.proto.access.Ddl.ShowObjectPrivilege result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowObjectPrivilege buildPartial() { cz.proto.access.Ddl.ShowObjectPrivilege result = new cz.proto.access.Ddl.ShowObjectPrivilege(this); if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } if (subjectBuilder_ == null) { result.subject_ = subject_; } else { result.subject_ = subjectBuilder_.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 cz.proto.access.Ddl.ShowObjectPrivilege) { return mergeFrom((cz.proto.access.Ddl.ShowObjectPrivilege)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowObjectPrivilege other) { if (other == cz.proto.access.Ddl.ShowObjectPrivilege.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (other.hasSubject()) { mergeSubject(other.getSubject()); } 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 { cz.proto.access.Ddl.ShowObjectPrivilege parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowObjectPrivilege) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ public cz.proto.ObjectIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private cz.proto.access.Subject subject_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Subject, cz.proto.access.Subject.Builder, cz.proto.access.SubjectOrBuilder> subjectBuilder_; /** * .cz.proto.access.Subject subject = 2; * @return Whether the subject field is set. */ public boolean hasSubject() { return subjectBuilder_ != null || subject_ != null; } /** * .cz.proto.access.Subject subject = 2; * @return The subject. */ public cz.proto.access.Subject getSubject() { if (subjectBuilder_ == null) { return subject_ == null ? cz.proto.access.Subject.getDefaultInstance() : subject_; } else { return subjectBuilder_.getMessage(); } } /** * .cz.proto.access.Subject subject = 2; */ public Builder setSubject(cz.proto.access.Subject value) { if (subjectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } subject_ = value; onChanged(); } else { subjectBuilder_.setMessage(value); } return this; } /** * .cz.proto.access.Subject subject = 2; */ public Builder setSubject( cz.proto.access.Subject.Builder builderForValue) { if (subjectBuilder_ == null) { subject_ = builderForValue.build(); onChanged(); } else { subjectBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.access.Subject subject = 2; */ public Builder mergeSubject(cz.proto.access.Subject value) { if (subjectBuilder_ == null) { if (subject_ != null) { subject_ = cz.proto.access.Subject.newBuilder(subject_).mergeFrom(value).buildPartial(); } else { subject_ = value; } onChanged(); } else { subjectBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.access.Subject subject = 2; */ public Builder clearSubject() { if (subjectBuilder_ == null) { subject_ = null; onChanged(); } else { subject_ = null; subjectBuilder_ = null; } return this; } /** * .cz.proto.access.Subject subject = 2; */ public cz.proto.access.Subject.Builder getSubjectBuilder() { onChanged(); return getSubjectFieldBuilder().getBuilder(); } /** * .cz.proto.access.Subject subject = 2; */ public cz.proto.access.SubjectOrBuilder getSubjectOrBuilder() { if (subjectBuilder_ != null) { return subjectBuilder_.getMessageOrBuilder(); } else { return subject_ == null ? cz.proto.access.Subject.getDefaultInstance() : subject_; } } /** * .cz.proto.access.Subject subject = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Subject, cz.proto.access.Subject.Builder, cz.proto.access.SubjectOrBuilder> getSubjectFieldBuilder() { if (subjectBuilder_ == null) { subjectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Subject, cz.proto.access.Subject.Builder, cz.proto.access.SubjectOrBuilder>( getSubject(), getParentForChildren(), isClean()); subject_ = null; } return subjectBuilder_; } @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:cz.proto.access.ShowObjectPrivilege) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowObjectPrivilege) private static final cz.proto.access.Ddl.ShowObjectPrivilege DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowObjectPrivilege(); } public static cz.proto.access.Ddl.ShowObjectPrivilege getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowObjectPrivilege parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowObjectPrivilege(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 cz.proto.access.Ddl.ShowObjectPrivilege getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowPrivilegeOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowPrivilege) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.access.ShowUserPrivilege user = 10; * @return Whether the user field is set. */ boolean hasUser(); /** * .cz.proto.access.ShowUserPrivilege user = 10; * @return The user. */ cz.proto.access.Ddl.ShowUserPrivilege getUser(); /** * .cz.proto.access.ShowUserPrivilege user = 10; */ cz.proto.access.Ddl.ShowUserPrivilegeOrBuilder getUserOrBuilder(); /** * .cz.proto.access.ShowGroupPrivilege group = 11; * @return Whether the group field is set. */ boolean hasGroup(); /** * .cz.proto.access.ShowGroupPrivilege group = 11; * @return The group. */ cz.proto.access.Ddl.ShowGroupPrivilege getGroup(); /** * .cz.proto.access.ShowGroupPrivilege group = 11; */ cz.proto.access.Ddl.ShowGroupPrivilegeOrBuilder getGroupOrBuilder(); /** * .cz.proto.access.ShowObjectPrivilege object = 12; * @return Whether the object field is set. */ boolean hasObject(); /** * .cz.proto.access.ShowObjectPrivilege object = 12; * @return The object. */ cz.proto.access.Ddl.ShowObjectPrivilege getObject(); /** * .cz.proto.access.ShowObjectPrivilege object = 12; */ cz.proto.access.Ddl.ShowObjectPrivilegeOrBuilder getObjectOrBuilder(); public cz.proto.access.Ddl.ShowPrivilege.DerivedCase getDerivedCase(); } /** * Protobuf type {@code cz.proto.access.ShowPrivilege} */ public static final class ShowPrivilege extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowPrivilege) ShowPrivilegeOrBuilder { private static final long serialVersionUID = 0L; // Use ShowPrivilege.newBuilder() to construct. private ShowPrivilege(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowPrivilege() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowPrivilege(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowPrivilege( 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 82: { cz.proto.access.Ddl.ShowUserPrivilege.Builder subBuilder = null; if (derivedCase_ == 10) { subBuilder = ((cz.proto.access.Ddl.ShowUserPrivilege) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowUserPrivilege.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowUserPrivilege) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 10; break; } case 90: { cz.proto.access.Ddl.ShowGroupPrivilege.Builder subBuilder = null; if (derivedCase_ == 11) { subBuilder = ((cz.proto.access.Ddl.ShowGroupPrivilege) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowGroupPrivilege.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowGroupPrivilege) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 11; break; } case 98: { cz.proto.access.Ddl.ShowObjectPrivilege.Builder subBuilder = null; if (derivedCase_ == 12) { subBuilder = ((cz.proto.access.Ddl.ShowObjectPrivilege) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.ShowObjectPrivilege.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowObjectPrivilege) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 12; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowPrivilege_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowPrivilege_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowPrivilege.class, cz.proto.access.Ddl.ShowPrivilege.Builder.class); } private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { USER(10), GROUP(11), OBJECT(12), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 10: return USER; case 11: return GROUP; case 12: return OBJECT; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public static final int USER_FIELD_NUMBER = 10; /** * .cz.proto.access.ShowUserPrivilege user = 10; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return derivedCase_ == 10; } /** * .cz.proto.access.ShowUserPrivilege user = 10; * @return The user. */ @java.lang.Override public cz.proto.access.Ddl.ShowUserPrivilege getUser() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.ShowUserPrivilege) derived_; } return cz.proto.access.Ddl.ShowUserPrivilege.getDefaultInstance(); } /** * .cz.proto.access.ShowUserPrivilege user = 10; */ @java.lang.Override public cz.proto.access.Ddl.ShowUserPrivilegeOrBuilder getUserOrBuilder() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.ShowUserPrivilege) derived_; } return cz.proto.access.Ddl.ShowUserPrivilege.getDefaultInstance(); } public static final int GROUP_FIELD_NUMBER = 11; /** * .cz.proto.access.ShowGroupPrivilege group = 11; * @return Whether the group field is set. */ @java.lang.Override public boolean hasGroup() { return derivedCase_ == 11; } /** * .cz.proto.access.ShowGroupPrivilege group = 11; * @return The group. */ @java.lang.Override public cz.proto.access.Ddl.ShowGroupPrivilege getGroup() { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.ShowGroupPrivilege) derived_; } return cz.proto.access.Ddl.ShowGroupPrivilege.getDefaultInstance(); } /** * .cz.proto.access.ShowGroupPrivilege group = 11; */ @java.lang.Override public cz.proto.access.Ddl.ShowGroupPrivilegeOrBuilder getGroupOrBuilder() { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.ShowGroupPrivilege) derived_; } return cz.proto.access.Ddl.ShowGroupPrivilege.getDefaultInstance(); } public static final int OBJECT_FIELD_NUMBER = 12; /** * .cz.proto.access.ShowObjectPrivilege object = 12; * @return Whether the object field is set. */ @java.lang.Override public boolean hasObject() { return derivedCase_ == 12; } /** * .cz.proto.access.ShowObjectPrivilege object = 12; * @return The object. */ @java.lang.Override public cz.proto.access.Ddl.ShowObjectPrivilege getObject() { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.ShowObjectPrivilege) derived_; } return cz.proto.access.Ddl.ShowObjectPrivilege.getDefaultInstance(); } /** * .cz.proto.access.ShowObjectPrivilege object = 12; */ @java.lang.Override public cz.proto.access.Ddl.ShowObjectPrivilegeOrBuilder getObjectOrBuilder() { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.ShowObjectPrivilege) derived_; } return cz.proto.access.Ddl.ShowObjectPrivilege.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (derivedCase_ == 10) { output.writeMessage(10, (cz.proto.access.Ddl.ShowUserPrivilege) derived_); } if (derivedCase_ == 11) { output.writeMessage(11, (cz.proto.access.Ddl.ShowGroupPrivilege) derived_); } if (derivedCase_ == 12) { output.writeMessage(12, (cz.proto.access.Ddl.ShowObjectPrivilege) derived_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (derivedCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.Ddl.ShowUserPrivilege) derived_); } if (derivedCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (cz.proto.access.Ddl.ShowGroupPrivilege) derived_); } if (derivedCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (cz.proto.access.Ddl.ShowObjectPrivilege) derived_); } 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 cz.proto.access.Ddl.ShowPrivilege)) { return super.equals(obj); } cz.proto.access.Ddl.ShowPrivilege other = (cz.proto.access.Ddl.ShowPrivilege) obj; if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 10: if (!getUser() .equals(other.getUser())) return false; break; case 11: if (!getGroup() .equals(other.getGroup())) return false; break; case 12: if (!getObject() .equals(other.getObject())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (derivedCase_) { case 10: hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); break; case 11: hash = (37 * hash) + GROUP_FIELD_NUMBER; hash = (53 * hash) + getGroup().hashCode(); break; case 12: hash = (37 * hash) + OBJECT_FIELD_NUMBER; hash = (53 * hash) + getObject().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowPrivilege parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowPrivilege parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowPrivilege parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowPrivilege parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowPrivilege parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowPrivilege parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowPrivilege parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowPrivilege 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 cz.proto.access.Ddl.ShowPrivilege parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowPrivilege 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 cz.proto.access.Ddl.ShowPrivilege parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowPrivilege 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(cz.proto.access.Ddl.ShowPrivilege 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 cz.proto.access.ShowPrivilege} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowPrivilege) cz.proto.access.Ddl.ShowPrivilegeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowPrivilege_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowPrivilege_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowPrivilege.class, cz.proto.access.Ddl.ShowPrivilege.Builder.class); } // Construct using cz.proto.access.Ddl.ShowPrivilege.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(); derivedCase_ = 0; derived_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowPrivilege_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowPrivilege getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowPrivilege.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowPrivilege build() { cz.proto.access.Ddl.ShowPrivilege result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowPrivilege buildPartial() { cz.proto.access.Ddl.ShowPrivilege result = new cz.proto.access.Ddl.ShowPrivilege(this); if (derivedCase_ == 10) { if (userBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = userBuilder_.build(); } } if (derivedCase_ == 11) { if (groupBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = groupBuilder_.build(); } } if (derivedCase_ == 12) { if (objectBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = objectBuilder_.build(); } } result.derivedCase_ = derivedCase_; 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 cz.proto.access.Ddl.ShowPrivilege) { return mergeFrom((cz.proto.access.Ddl.ShowPrivilege)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowPrivilege other) { if (other == cz.proto.access.Ddl.ShowPrivilege.getDefaultInstance()) return this; switch (other.getDerivedCase()) { case USER: { mergeUser(other.getUser()); break; } case GROUP: { mergeGroup(other.getGroup()); break; } case OBJECT: { mergeObject(other.getObject()); break; } case DERIVED_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.ShowPrivilege parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowPrivilege) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowUserPrivilege, cz.proto.access.Ddl.ShowUserPrivilege.Builder, cz.proto.access.Ddl.ShowUserPrivilegeOrBuilder> userBuilder_; /** * .cz.proto.access.ShowUserPrivilege user = 10; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return derivedCase_ == 10; } /** * .cz.proto.access.ShowUserPrivilege user = 10; * @return The user. */ @java.lang.Override public cz.proto.access.Ddl.ShowUserPrivilege getUser() { if (userBuilder_ == null) { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.ShowUserPrivilege) derived_; } return cz.proto.access.Ddl.ShowUserPrivilege.getDefaultInstance(); } else { if (derivedCase_ == 10) { return userBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowUserPrivilege.getDefaultInstance(); } } /** * .cz.proto.access.ShowUserPrivilege user = 10; */ public Builder setUser(cz.proto.access.Ddl.ShowUserPrivilege value) { if (userBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { userBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.ShowUserPrivilege user = 10; */ public Builder setUser( cz.proto.access.Ddl.ShowUserPrivilege.Builder builderForValue) { if (userBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { userBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 10; return this; } /** * .cz.proto.access.ShowUserPrivilege user = 10; */ public Builder mergeUser(cz.proto.access.Ddl.ShowUserPrivilege value) { if (userBuilder_ == null) { if (derivedCase_ == 10 && derived_ != cz.proto.access.Ddl.ShowUserPrivilege.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowUserPrivilege.newBuilder((cz.proto.access.Ddl.ShowUserPrivilege) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 10) { userBuilder_.mergeFrom(value); } userBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.ShowUserPrivilege user = 10; */ public Builder clearUser() { if (userBuilder_ == null) { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; } userBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowUserPrivilege user = 10; */ public cz.proto.access.Ddl.ShowUserPrivilege.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowUserPrivilege user = 10; */ @java.lang.Override public cz.proto.access.Ddl.ShowUserPrivilegeOrBuilder getUserOrBuilder() { if ((derivedCase_ == 10) && (userBuilder_ != null)) { return userBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.ShowUserPrivilege) derived_; } return cz.proto.access.Ddl.ShowUserPrivilege.getDefaultInstance(); } } /** * .cz.proto.access.ShowUserPrivilege user = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowUserPrivilege, cz.proto.access.Ddl.ShowUserPrivilege.Builder, cz.proto.access.Ddl.ShowUserPrivilegeOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { if (!(derivedCase_ == 10)) { derived_ = cz.proto.access.Ddl.ShowUserPrivilege.getDefaultInstance(); } userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowUserPrivilege, cz.proto.access.Ddl.ShowUserPrivilege.Builder, cz.proto.access.Ddl.ShowUserPrivilegeOrBuilder>( (cz.proto.access.Ddl.ShowUserPrivilege) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 10; onChanged();; return userBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowGroupPrivilege, cz.proto.access.Ddl.ShowGroupPrivilege.Builder, cz.proto.access.Ddl.ShowGroupPrivilegeOrBuilder> groupBuilder_; /** * .cz.proto.access.ShowGroupPrivilege group = 11; * @return Whether the group field is set. */ @java.lang.Override public boolean hasGroup() { return derivedCase_ == 11; } /** * .cz.proto.access.ShowGroupPrivilege group = 11; * @return The group. */ @java.lang.Override public cz.proto.access.Ddl.ShowGroupPrivilege getGroup() { if (groupBuilder_ == null) { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.ShowGroupPrivilege) derived_; } return cz.proto.access.Ddl.ShowGroupPrivilege.getDefaultInstance(); } else { if (derivedCase_ == 11) { return groupBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowGroupPrivilege.getDefaultInstance(); } } /** * .cz.proto.access.ShowGroupPrivilege group = 11; */ public Builder setGroup(cz.proto.access.Ddl.ShowGroupPrivilege value) { if (groupBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { groupBuilder_.setMessage(value); } derivedCase_ = 11; return this; } /** * .cz.proto.access.ShowGroupPrivilege group = 11; */ public Builder setGroup( cz.proto.access.Ddl.ShowGroupPrivilege.Builder builderForValue) { if (groupBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { groupBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 11; return this; } /** * .cz.proto.access.ShowGroupPrivilege group = 11; */ public Builder mergeGroup(cz.proto.access.Ddl.ShowGroupPrivilege value) { if (groupBuilder_ == null) { if (derivedCase_ == 11 && derived_ != cz.proto.access.Ddl.ShowGroupPrivilege.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowGroupPrivilege.newBuilder((cz.proto.access.Ddl.ShowGroupPrivilege) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 11) { groupBuilder_.mergeFrom(value); } groupBuilder_.setMessage(value); } derivedCase_ = 11; return this; } /** * .cz.proto.access.ShowGroupPrivilege group = 11; */ public Builder clearGroup() { if (groupBuilder_ == null) { if (derivedCase_ == 11) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 11) { derivedCase_ = 0; derived_ = null; } groupBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowGroupPrivilege group = 11; */ public cz.proto.access.Ddl.ShowGroupPrivilege.Builder getGroupBuilder() { return getGroupFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowGroupPrivilege group = 11; */ @java.lang.Override public cz.proto.access.Ddl.ShowGroupPrivilegeOrBuilder getGroupOrBuilder() { if ((derivedCase_ == 11) && (groupBuilder_ != null)) { return groupBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.ShowGroupPrivilege) derived_; } return cz.proto.access.Ddl.ShowGroupPrivilege.getDefaultInstance(); } } /** * .cz.proto.access.ShowGroupPrivilege group = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowGroupPrivilege, cz.proto.access.Ddl.ShowGroupPrivilege.Builder, cz.proto.access.Ddl.ShowGroupPrivilegeOrBuilder> getGroupFieldBuilder() { if (groupBuilder_ == null) { if (!(derivedCase_ == 11)) { derived_ = cz.proto.access.Ddl.ShowGroupPrivilege.getDefaultInstance(); } groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowGroupPrivilege, cz.proto.access.Ddl.ShowGroupPrivilege.Builder, cz.proto.access.Ddl.ShowGroupPrivilegeOrBuilder>( (cz.proto.access.Ddl.ShowGroupPrivilege) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 11; onChanged();; return groupBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowObjectPrivilege, cz.proto.access.Ddl.ShowObjectPrivilege.Builder, cz.proto.access.Ddl.ShowObjectPrivilegeOrBuilder> objectBuilder_; /** * .cz.proto.access.ShowObjectPrivilege object = 12; * @return Whether the object field is set. */ @java.lang.Override public boolean hasObject() { return derivedCase_ == 12; } /** * .cz.proto.access.ShowObjectPrivilege object = 12; * @return The object. */ @java.lang.Override public cz.proto.access.Ddl.ShowObjectPrivilege getObject() { if (objectBuilder_ == null) { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.ShowObjectPrivilege) derived_; } return cz.proto.access.Ddl.ShowObjectPrivilege.getDefaultInstance(); } else { if (derivedCase_ == 12) { return objectBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowObjectPrivilege.getDefaultInstance(); } } /** * .cz.proto.access.ShowObjectPrivilege object = 12; */ public Builder setObject(cz.proto.access.Ddl.ShowObjectPrivilege value) { if (objectBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { objectBuilder_.setMessage(value); } derivedCase_ = 12; return this; } /** * .cz.proto.access.ShowObjectPrivilege object = 12; */ public Builder setObject( cz.proto.access.Ddl.ShowObjectPrivilege.Builder builderForValue) { if (objectBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { objectBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 12; return this; } /** * .cz.proto.access.ShowObjectPrivilege object = 12; */ public Builder mergeObject(cz.proto.access.Ddl.ShowObjectPrivilege value) { if (objectBuilder_ == null) { if (derivedCase_ == 12 && derived_ != cz.proto.access.Ddl.ShowObjectPrivilege.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.ShowObjectPrivilege.newBuilder((cz.proto.access.Ddl.ShowObjectPrivilege) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 12) { objectBuilder_.mergeFrom(value); } objectBuilder_.setMessage(value); } derivedCase_ = 12; return this; } /** * .cz.proto.access.ShowObjectPrivilege object = 12; */ public Builder clearObject() { if (objectBuilder_ == null) { if (derivedCase_ == 12) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 12) { derivedCase_ = 0; derived_ = null; } objectBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowObjectPrivilege object = 12; */ public cz.proto.access.Ddl.ShowObjectPrivilege.Builder getObjectBuilder() { return getObjectFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowObjectPrivilege object = 12; */ @java.lang.Override public cz.proto.access.Ddl.ShowObjectPrivilegeOrBuilder getObjectOrBuilder() { if ((derivedCase_ == 12) && (objectBuilder_ != null)) { return objectBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.ShowObjectPrivilege) derived_; } return cz.proto.access.Ddl.ShowObjectPrivilege.getDefaultInstance(); } } /** * .cz.proto.access.ShowObjectPrivilege object = 12; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowObjectPrivilege, cz.proto.access.Ddl.ShowObjectPrivilege.Builder, cz.proto.access.Ddl.ShowObjectPrivilegeOrBuilder> getObjectFieldBuilder() { if (objectBuilder_ == null) { if (!(derivedCase_ == 12)) { derived_ = cz.proto.access.Ddl.ShowObjectPrivilege.getDefaultInstance(); } objectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowObjectPrivilege, cz.proto.access.Ddl.ShowObjectPrivilege.Builder, cz.proto.access.Ddl.ShowObjectPrivilegeOrBuilder>( (cz.proto.access.Ddl.ShowObjectPrivilege) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 12; onChanged();; return objectBuilder_; } @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:cz.proto.access.ShowPrivilege) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowPrivilege) private static final cz.proto.access.Ddl.ShowPrivilege DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowPrivilege(); } public static cz.proto.access.Ddl.ShowPrivilege getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowPrivilege parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowPrivilege(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 cz.proto.access.Ddl.ShowPrivilege getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowTableOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowTable) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return Whether the schemaId field is set. */ boolean hasSchemaId(); /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return The schemaId. */ cz.proto.ObjectIdentifier getSchemaId(); /** * .cz.proto.ObjectIdentifier schema_id = 1; */ cz.proto.ObjectIdentifierOrBuilder getSchemaIdOrBuilder(); /** * optional int64 timestamp = 2; * @return Whether the timestamp field is set. */ boolean hasTimestamp(); /** * optional int64 timestamp = 2; * @return The timestamp. */ long getTimestamp(); /** * optional .cz.proto.TableType table_type = 3; * @return Whether the tableType field is set. */ boolean hasTableType(); /** * optional .cz.proto.TableType table_type = 3; * @return The enum numeric value on the wire for tableType. */ int getTableTypeValue(); /** * optional .cz.proto.TableType table_type = 3; * @return The tableType. */ cz.proto.TableType getTableType(); /** * optional .cz.proto.access.ShowTable.ListOrderby list_order_by = 4; * @return Whether the listOrderBy field is set. */ boolean hasListOrderBy(); /** * optional .cz.proto.access.ShowTable.ListOrderby list_order_by = 4; * @return The enum numeric value on the wire for listOrderBy. */ int getListOrderByValue(); /** * optional .cz.proto.access.ShowTable.ListOrderby list_order_by = 4; * @return The listOrderBy. */ cz.proto.access.Ddl.ShowTable.ListOrderby getListOrderBy(); /** * optional bool ascending = 5; * @return Whether the ascending field is set. */ boolean hasAscending(); /** * optional bool ascending = 5; * @return The ascending. */ boolean getAscending(); /** * optional bool with_schema = 6; * @return Whether the withSchema field is set. */ boolean hasWithSchema(); /** * optional bool with_schema = 6; * @return The withSchema. */ boolean getWithSchema(); } /** * Protobuf type {@code cz.proto.access.ShowTable} */ public static final class ShowTable extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowTable) ShowTableOrBuilder { private static final long serialVersionUID = 0L; // Use ShowTable.newBuilder() to construct. private ShowTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowTable() { tableType_ = 0; listOrderBy_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowTable(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowTable( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (schemaId_ != null) { subBuilder = schemaId_.toBuilder(); } schemaId_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(schemaId_); schemaId_ = subBuilder.buildPartial(); } break; } case 16: { bitField0_ |= 0x00000001; timestamp_ = input.readInt64(); break; } case 24: { int rawValue = input.readEnum(); bitField0_ |= 0x00000002; tableType_ = rawValue; break; } case 32: { int rawValue = input.readEnum(); bitField0_ |= 0x00000004; listOrderBy_ = rawValue; break; } case 40: { bitField0_ |= 0x00000008; ascending_ = input.readBool(); break; } case 48: { bitField0_ |= 0x00000010; withSchema_ = input.readBool(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowTable.class, cz.proto.access.Ddl.ShowTable.Builder.class); } /** * Protobuf enum {@code cz.proto.access.ShowTable.ListOrderby} */ public enum ListOrderby implements com.google.protobuf.ProtocolMessageEnum { /** * ORDER_BY_TABLE_NAME = 0; */ ORDER_BY_TABLE_NAME(0), UNRECOGNIZED(-1), ; /** * ORDER_BY_TABLE_NAME = 0; */ public static final int ORDER_BY_TABLE_NAME_VALUE = 0; 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 ListOrderby 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 ListOrderby forNumber(int value) { switch (value) { case 0: return ORDER_BY_TABLE_NAME; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ListOrderby> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ListOrderby findValueByNumber(int number) { return ListOrderby.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 cz.proto.access.Ddl.ShowTable.getDescriptor().getEnumTypes().get(0); } private static final ListOrderby[] VALUES = values(); public static ListOrderby 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 ListOrderby(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:cz.proto.access.ShowTable.ListOrderby) } private int bitField0_; public static final int SCHEMA_ID_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier schemaId_; /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return Whether the schemaId field is set. */ @java.lang.Override public boolean hasSchemaId() { return schemaId_ != null; } /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return The schemaId. */ @java.lang.Override public cz.proto.ObjectIdentifier getSchemaId() { return schemaId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : schemaId_; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getSchemaIdOrBuilder() { return getSchemaId(); } public static final int TIMESTAMP_FIELD_NUMBER = 2; private long timestamp_; /** * optional int64 timestamp = 2; * @return Whether the timestamp field is set. */ @java.lang.Override public boolean hasTimestamp() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 timestamp = 2; * @return The timestamp. */ @java.lang.Override public long getTimestamp() { return timestamp_; } public static final int TABLE_TYPE_FIELD_NUMBER = 3; private int tableType_; /** * optional .cz.proto.TableType table_type = 3; * @return Whether the tableType field is set. */ @java.lang.Override public boolean hasTableType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .cz.proto.TableType table_type = 3; * @return The enum numeric value on the wire for tableType. */ @java.lang.Override public int getTableTypeValue() { return tableType_; } /** * optional .cz.proto.TableType table_type = 3; * @return The tableType. */ @java.lang.Override public cz.proto.TableType getTableType() { @SuppressWarnings("deprecation") cz.proto.TableType result = cz.proto.TableType.valueOf(tableType_); return result == null ? cz.proto.TableType.UNRECOGNIZED : result; } public static final int LIST_ORDER_BY_FIELD_NUMBER = 4; private int listOrderBy_; /** * optional .cz.proto.access.ShowTable.ListOrderby list_order_by = 4; * @return Whether the listOrderBy field is set. */ @java.lang.Override public boolean hasListOrderBy() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .cz.proto.access.ShowTable.ListOrderby list_order_by = 4; * @return The enum numeric value on the wire for listOrderBy. */ @java.lang.Override public int getListOrderByValue() { return listOrderBy_; } /** * optional .cz.proto.access.ShowTable.ListOrderby list_order_by = 4; * @return The listOrderBy. */ @java.lang.Override public cz.proto.access.Ddl.ShowTable.ListOrderby getListOrderBy() { @SuppressWarnings("deprecation") cz.proto.access.Ddl.ShowTable.ListOrderby result = cz.proto.access.Ddl.ShowTable.ListOrderby.valueOf(listOrderBy_); return result == null ? cz.proto.access.Ddl.ShowTable.ListOrderby.UNRECOGNIZED : result; } public static final int ASCENDING_FIELD_NUMBER = 5; private boolean ascending_; /** * optional bool ascending = 5; * @return Whether the ascending field is set. */ @java.lang.Override public boolean hasAscending() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool ascending = 5; * @return The ascending. */ @java.lang.Override public boolean getAscending() { return ascending_; } public static final int WITH_SCHEMA_FIELD_NUMBER = 6; private boolean withSchema_; /** * optional bool with_schema = 6; * @return Whether the withSchema field is set. */ @java.lang.Override public boolean hasWithSchema() { return ((bitField0_ & 0x00000010) != 0); } /** * optional bool with_schema = 6; * @return The withSchema. */ @java.lang.Override public boolean getWithSchema() { return withSchema_; } 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 (schemaId_ != null) { output.writeMessage(1, getSchemaId()); } if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(2, timestamp_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeEnum(3, tableType_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeEnum(4, listOrderBy_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(5, ascending_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeBool(6, withSchema_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (schemaId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getSchemaId()); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, timestamp_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, tableType_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, listOrderBy_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, ascending_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, withSchema_); } 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 cz.proto.access.Ddl.ShowTable)) { return super.equals(obj); } cz.proto.access.Ddl.ShowTable other = (cz.proto.access.Ddl.ShowTable) obj; if (hasSchemaId() != other.hasSchemaId()) return false; if (hasSchemaId()) { if (!getSchemaId() .equals(other.getSchemaId())) return false; } if (hasTimestamp() != other.hasTimestamp()) return false; if (hasTimestamp()) { if (getTimestamp() != other.getTimestamp()) return false; } if (hasTableType() != other.hasTableType()) return false; if (hasTableType()) { if (tableType_ != other.tableType_) return false; } if (hasListOrderBy() != other.hasListOrderBy()) return false; if (hasListOrderBy()) { if (listOrderBy_ != other.listOrderBy_) return false; } if (hasAscending() != other.hasAscending()) return false; if (hasAscending()) { if (getAscending() != other.getAscending()) return false; } if (hasWithSchema() != other.hasWithSchema()) return false; if (hasWithSchema()) { if (getWithSchema() != other.getWithSchema()) 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 (hasSchemaId()) { hash = (37 * hash) + SCHEMA_ID_FIELD_NUMBER; hash = (53 * hash) + getSchemaId().hashCode(); } if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimestamp()); } if (hasTableType()) { hash = (37 * hash) + TABLE_TYPE_FIELD_NUMBER; hash = (53 * hash) + tableType_; } if (hasListOrderBy()) { hash = (37 * hash) + LIST_ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + listOrderBy_; } if (hasAscending()) { hash = (37 * hash) + ASCENDING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAscending()); } if (hasWithSchema()) { hash = (37 * hash) + WITH_SCHEMA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getWithSchema()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowTable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowTable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowTable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowTable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowTable 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 cz.proto.access.Ddl.ShowTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowTable 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 cz.proto.access.Ddl.ShowTable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowTable 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(cz.proto.access.Ddl.ShowTable 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 cz.proto.access.ShowTable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowTable) cz.proto.access.Ddl.ShowTableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowTable.class, cz.proto.access.Ddl.ShowTable.Builder.class); } // Construct using cz.proto.access.Ddl.ShowTable.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 (schemaIdBuilder_ == null) { schemaId_ = null; } else { schemaId_ = null; schemaIdBuilder_ = null; } timestamp_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); tableType_ = 0; bitField0_ = (bitField0_ & ~0x00000002); listOrderBy_ = 0; bitField0_ = (bitField0_ & ~0x00000004); ascending_ = false; bitField0_ = (bitField0_ & ~0x00000008); withSchema_ = false; bitField0_ = (bitField0_ & ~0x00000010); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowTable_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowTable getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowTable.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowTable build() { cz.proto.access.Ddl.ShowTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowTable buildPartial() { cz.proto.access.Ddl.ShowTable result = new cz.proto.access.Ddl.ShowTable(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (schemaIdBuilder_ == null) { result.schemaId_ = schemaId_; } else { result.schemaId_ = schemaIdBuilder_.build(); } if (((from_bitField0_ & 0x00000001) != 0)) { result.timestamp_ = timestamp_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.tableType_ = tableType_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.listOrderBy_ = listOrderBy_; if (((from_bitField0_ & 0x00000008) != 0)) { result.ascending_ = ascending_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.withSchema_ = withSchema_; to_bitField0_ |= 0x00000010; } result.bitField0_ = to_bitField0_; 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 cz.proto.access.Ddl.ShowTable) { return mergeFrom((cz.proto.access.Ddl.ShowTable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowTable other) { if (other == cz.proto.access.Ddl.ShowTable.getDefaultInstance()) return this; if (other.hasSchemaId()) { mergeSchemaId(other.getSchemaId()); } if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } if (other.hasTableType()) { setTableType(other.getTableType()); } if (other.hasListOrderBy()) { setListOrderBy(other.getListOrderBy()); } if (other.hasAscending()) { setAscending(other.getAscending()); } if (other.hasWithSchema()) { setWithSchema(other.getWithSchema()); } 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 { cz.proto.access.Ddl.ShowTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowTable) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ObjectIdentifier schemaId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> schemaIdBuilder_; /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return Whether the schemaId field is set. */ public boolean hasSchemaId() { return schemaIdBuilder_ != null || schemaId_ != null; } /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return The schemaId. */ public cz.proto.ObjectIdentifier getSchemaId() { if (schemaIdBuilder_ == null) { return schemaId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : schemaId_; } else { return schemaIdBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public Builder setSchemaId(cz.proto.ObjectIdentifier value) { if (schemaIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } schemaId_ = value; onChanged(); } else { schemaIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public Builder setSchemaId( cz.proto.ObjectIdentifier.Builder builderForValue) { if (schemaIdBuilder_ == null) { schemaId_ = builderForValue.build(); onChanged(); } else { schemaIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public Builder mergeSchemaId(cz.proto.ObjectIdentifier value) { if (schemaIdBuilder_ == null) { if (schemaId_ != null) { schemaId_ = cz.proto.ObjectIdentifier.newBuilder(schemaId_).mergeFrom(value).buildPartial(); } else { schemaId_ = value; } onChanged(); } else { schemaIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public Builder clearSchemaId() { if (schemaIdBuilder_ == null) { schemaId_ = null; onChanged(); } else { schemaId_ = null; schemaIdBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public cz.proto.ObjectIdentifier.Builder getSchemaIdBuilder() { onChanged(); return getSchemaIdFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public cz.proto.ObjectIdentifierOrBuilder getSchemaIdOrBuilder() { if (schemaIdBuilder_ != null) { return schemaIdBuilder_.getMessageOrBuilder(); } else { return schemaId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : schemaId_; } } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getSchemaIdFieldBuilder() { if (schemaIdBuilder_ == null) { schemaIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getSchemaId(), getParentForChildren(), isClean()); schemaId_ = null; } return schemaIdBuilder_; } private long timestamp_ ; /** * optional int64 timestamp = 2; * @return Whether the timestamp field is set. */ @java.lang.Override public boolean hasTimestamp() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 timestamp = 2; * @return The timestamp. */ @java.lang.Override public long getTimestamp() { return timestamp_; } /** * optional int64 timestamp = 2; * @param value The timestamp to set. * @return This builder for chaining. */ public Builder setTimestamp(long value) { bitField0_ |= 0x00000001; timestamp_ = value; onChanged(); return this; } /** * optional int64 timestamp = 2; * @return This builder for chaining. */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000001); timestamp_ = 0L; onChanged(); return this; } private int tableType_ = 0; /** * optional .cz.proto.TableType table_type = 3; * @return Whether the tableType field is set. */ @java.lang.Override public boolean hasTableType() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .cz.proto.TableType table_type = 3; * @return The enum numeric value on the wire for tableType. */ @java.lang.Override public int getTableTypeValue() { return tableType_; } /** * optional .cz.proto.TableType table_type = 3; * @param value The enum numeric value on the wire for tableType to set. * @return This builder for chaining. */ public Builder setTableTypeValue(int value) { bitField0_ |= 0x00000002; tableType_ = value; onChanged(); return this; } /** * optional .cz.proto.TableType table_type = 3; * @return The tableType. */ @java.lang.Override public cz.proto.TableType getTableType() { @SuppressWarnings("deprecation") cz.proto.TableType result = cz.proto.TableType.valueOf(tableType_); return result == null ? cz.proto.TableType.UNRECOGNIZED : result; } /** * optional .cz.proto.TableType table_type = 3; * @param value The tableType to set. * @return This builder for chaining. */ public Builder setTableType(cz.proto.TableType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; tableType_ = value.getNumber(); onChanged(); return this; } /** * optional .cz.proto.TableType table_type = 3; * @return This builder for chaining. */ public Builder clearTableType() { bitField0_ = (bitField0_ & ~0x00000002); tableType_ = 0; onChanged(); return this; } private int listOrderBy_ = 0; /** * optional .cz.proto.access.ShowTable.ListOrderby list_order_by = 4; * @return Whether the listOrderBy field is set. */ @java.lang.Override public boolean hasListOrderBy() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .cz.proto.access.ShowTable.ListOrderby list_order_by = 4; * @return The enum numeric value on the wire for listOrderBy. */ @java.lang.Override public int getListOrderByValue() { return listOrderBy_; } /** * optional .cz.proto.access.ShowTable.ListOrderby list_order_by = 4; * @param value The enum numeric value on the wire for listOrderBy to set. * @return This builder for chaining. */ public Builder setListOrderByValue(int value) { bitField0_ |= 0x00000004; listOrderBy_ = value; onChanged(); return this; } /** * optional .cz.proto.access.ShowTable.ListOrderby list_order_by = 4; * @return The listOrderBy. */ @java.lang.Override public cz.proto.access.Ddl.ShowTable.ListOrderby getListOrderBy() { @SuppressWarnings("deprecation") cz.proto.access.Ddl.ShowTable.ListOrderby result = cz.proto.access.Ddl.ShowTable.ListOrderby.valueOf(listOrderBy_); return result == null ? cz.proto.access.Ddl.ShowTable.ListOrderby.UNRECOGNIZED : result; } /** * optional .cz.proto.access.ShowTable.ListOrderby list_order_by = 4; * @param value The listOrderBy to set. * @return This builder for chaining. */ public Builder setListOrderBy(cz.proto.access.Ddl.ShowTable.ListOrderby value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; listOrderBy_ = value.getNumber(); onChanged(); return this; } /** * optional .cz.proto.access.ShowTable.ListOrderby list_order_by = 4; * @return This builder for chaining. */ public Builder clearListOrderBy() { bitField0_ = (bitField0_ & ~0x00000004); listOrderBy_ = 0; onChanged(); return this; } private boolean ascending_ ; /** * optional bool ascending = 5; * @return Whether the ascending field is set. */ @java.lang.Override public boolean hasAscending() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool ascending = 5; * @return The ascending. */ @java.lang.Override public boolean getAscending() { return ascending_; } /** * optional bool ascending = 5; * @param value The ascending to set. * @return This builder for chaining. */ public Builder setAscending(boolean value) { bitField0_ |= 0x00000008; ascending_ = value; onChanged(); return this; } /** * optional bool ascending = 5; * @return This builder for chaining. */ public Builder clearAscending() { bitField0_ = (bitField0_ & ~0x00000008); ascending_ = false; onChanged(); return this; } private boolean withSchema_ ; /** * optional bool with_schema = 6; * @return Whether the withSchema field is set. */ @java.lang.Override public boolean hasWithSchema() { return ((bitField0_ & 0x00000010) != 0); } /** * optional bool with_schema = 6; * @return The withSchema. */ @java.lang.Override public boolean getWithSchema() { return withSchema_; } /** * optional bool with_schema = 6; * @param value The withSchema to set. * @return This builder for chaining. */ public Builder setWithSchema(boolean value) { bitField0_ |= 0x00000010; withSchema_ = value; onChanged(); return this; } /** * optional bool with_schema = 6; * @return This builder for chaining. */ public Builder clearWithSchema() { bitField0_ = (bitField0_ & ~0x00000010); withSchema_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.ShowTable) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowTable) private static final cz.proto.access.Ddl.ShowTable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowTable(); } public static cz.proto.access.Ddl.ShowTable getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowTable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowTable(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 cz.proto.access.Ddl.ShowTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowMVOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowMV) com.google.protobuf.MessageOrBuilder { /** * optional string mv_type = 1; * @return Whether the mvType field is set. */ boolean hasMvType(); /** * optional string mv_type = 1; * @return The mvType. */ java.lang.String getMvType(); /** * optional string mv_type = 1; * @return The bytes for mvType. */ com.google.protobuf.ByteString getMvTypeBytes(); /** *
     * associated mvs of the table
     * 
* * .cz.proto.ObjectIdentifier table = 10; * @return Whether the table field is set. */ boolean hasTable(); /** *
     * associated mvs of the table
     * 
* * .cz.proto.ObjectIdentifier table = 10; * @return The table. */ cz.proto.ObjectIdentifier getTable(); /** *
     * associated mvs of the table
     * 
* * .cz.proto.ObjectIdentifier table = 10; */ cz.proto.ObjectIdentifierOrBuilder getTableOrBuilder(); /** *
     * associated mvs of batch tables
     * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; * @return Whether the batchTables field is set. */ boolean hasBatchTables(); /** *
     * associated mvs of batch tables
     * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; * @return The batchTables. */ cz.proto.ObjectIdentifierList getBatchTables(); /** *
     * associated mvs of batch tables
     * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; */ cz.proto.ObjectIdentifierListOrBuilder getBatchTablesOrBuilder(); public cz.proto.access.Ddl.ShowMV.DerivedCase getDerivedCase(); } /** * Protobuf type {@code cz.proto.access.ShowMV} */ public static final class ShowMV extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowMV) ShowMVOrBuilder { private static final long serialVersionUID = 0L; // Use ShowMV.newBuilder() to construct. private ShowMV(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowMV() { mvType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowMV(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowMV( 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: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; mvType_ = s; break; } case 82: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (derivedCase_ == 10) { subBuilder = ((cz.proto.ObjectIdentifier) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.ObjectIdentifier) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 10; break; } case 90: { cz.proto.ObjectIdentifierList.Builder subBuilder = null; if (derivedCase_ == 11) { subBuilder = ((cz.proto.ObjectIdentifierList) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.ObjectIdentifierList.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.ObjectIdentifierList) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 11; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowMV_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowMV_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowMV.class, cz.proto.access.Ddl.ShowMV.Builder.class); } private int bitField0_; private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TABLE(10), BATCH_TABLES(11), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 10: return TABLE; case 11: return BATCH_TABLES; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public static final int MV_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object mvType_; /** * optional string mv_type = 1; * @return Whether the mvType field is set. */ @java.lang.Override public boolean hasMvType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string mv_type = 1; * @return The mvType. */ @java.lang.Override public java.lang.String getMvType() { java.lang.Object ref = mvType_; 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(); mvType_ = s; return s; } } /** * optional string mv_type = 1; * @return The bytes for mvType. */ @java.lang.Override public com.google.protobuf.ByteString getMvTypeBytes() { java.lang.Object ref = mvType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mvType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TABLE_FIELD_NUMBER = 10; /** *
     * associated mvs of the table
     * 
* * .cz.proto.ObjectIdentifier table = 10; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return derivedCase_ == 10; } /** *
     * associated mvs of the table
     * 
* * .cz.proto.ObjectIdentifier table = 10; * @return The table. */ @java.lang.Override public cz.proto.ObjectIdentifier getTable() { if (derivedCase_ == 10) { return (cz.proto.ObjectIdentifier) derived_; } return cz.proto.ObjectIdentifier.getDefaultInstance(); } /** *
     * associated mvs of the table
     * 
* * .cz.proto.ObjectIdentifier table = 10; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getTableOrBuilder() { if (derivedCase_ == 10) { return (cz.proto.ObjectIdentifier) derived_; } return cz.proto.ObjectIdentifier.getDefaultInstance(); } public static final int BATCH_TABLES_FIELD_NUMBER = 11; /** *
     * associated mvs of batch tables
     * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; * @return Whether the batchTables field is set. */ @java.lang.Override public boolean hasBatchTables() { return derivedCase_ == 11; } /** *
     * associated mvs of batch tables
     * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; * @return The batchTables. */ @java.lang.Override public cz.proto.ObjectIdentifierList getBatchTables() { if (derivedCase_ == 11) { return (cz.proto.ObjectIdentifierList) derived_; } return cz.proto.ObjectIdentifierList.getDefaultInstance(); } /** *
     * associated mvs of batch tables
     * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; */ @java.lang.Override public cz.proto.ObjectIdentifierListOrBuilder getBatchTablesOrBuilder() { if (derivedCase_ == 11) { return (cz.proto.ObjectIdentifierList) derived_; } return cz.proto.ObjectIdentifierList.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, mvType_); } if (derivedCase_ == 10) { output.writeMessage(10, (cz.proto.ObjectIdentifier) derived_); } if (derivedCase_ == 11) { output.writeMessage(11, (cz.proto.ObjectIdentifierList) derived_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, mvType_); } if (derivedCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.ObjectIdentifier) derived_); } if (derivedCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (cz.proto.ObjectIdentifierList) derived_); } 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 cz.proto.access.Ddl.ShowMV)) { return super.equals(obj); } cz.proto.access.Ddl.ShowMV other = (cz.proto.access.Ddl.ShowMV) obj; if (hasMvType() != other.hasMvType()) return false; if (hasMvType()) { if (!getMvType() .equals(other.getMvType())) return false; } if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 10: if (!getTable() .equals(other.getTable())) return false; break; case 11: if (!getBatchTables() .equals(other.getBatchTables())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMvType()) { hash = (37 * hash) + MV_TYPE_FIELD_NUMBER; hash = (53 * hash) + getMvType().hashCode(); } switch (derivedCase_) { case 10: hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); break; case 11: hash = (37 * hash) + BATCH_TABLES_FIELD_NUMBER; hash = (53 * hash) + getBatchTables().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowMV parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowMV parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowMV parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowMV parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowMV parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowMV parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowMV parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowMV 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 cz.proto.access.Ddl.ShowMV parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowMV 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 cz.proto.access.Ddl.ShowMV parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowMV 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(cz.proto.access.Ddl.ShowMV 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 cz.proto.access.ShowMV} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowMV) cz.proto.access.Ddl.ShowMVOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowMV_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowMV_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowMV.class, cz.proto.access.Ddl.ShowMV.Builder.class); } // Construct using cz.proto.access.Ddl.ShowMV.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(); mvType_ = ""; bitField0_ = (bitField0_ & ~0x00000001); derivedCase_ = 0; derived_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowMV_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowMV getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowMV.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowMV build() { cz.proto.access.Ddl.ShowMV result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowMV buildPartial() { cz.proto.access.Ddl.ShowMV result = new cz.proto.access.Ddl.ShowMV(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.mvType_ = mvType_; if (derivedCase_ == 10) { if (tableBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = tableBuilder_.build(); } } if (derivedCase_ == 11) { if (batchTablesBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = batchTablesBuilder_.build(); } } result.bitField0_ = to_bitField0_; result.derivedCase_ = derivedCase_; 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 cz.proto.access.Ddl.ShowMV) { return mergeFrom((cz.proto.access.Ddl.ShowMV)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowMV other) { if (other == cz.proto.access.Ddl.ShowMV.getDefaultInstance()) return this; if (other.hasMvType()) { bitField0_ |= 0x00000001; mvType_ = other.mvType_; onChanged(); } switch (other.getDerivedCase()) { case TABLE: { mergeTable(other.getTable()); break; } case BATCH_TABLES: { mergeBatchTables(other.getBatchTables()); break; } case DERIVED_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.ShowMV parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowMV) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object mvType_ = ""; /** * optional string mv_type = 1; * @return Whether the mvType field is set. */ public boolean hasMvType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string mv_type = 1; * @return The mvType. */ public java.lang.String getMvType() { java.lang.Object ref = mvType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mvType_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string mv_type = 1; * @return The bytes for mvType. */ public com.google.protobuf.ByteString getMvTypeBytes() { java.lang.Object ref = mvType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mvType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string mv_type = 1; * @param value The mvType to set. * @return This builder for chaining. */ public Builder setMvType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; mvType_ = value; onChanged(); return this; } /** * optional string mv_type = 1; * @return This builder for chaining. */ public Builder clearMvType() { bitField0_ = (bitField0_ & ~0x00000001); mvType_ = getDefaultInstance().getMvType(); onChanged(); return this; } /** * optional string mv_type = 1; * @param value The bytes for mvType to set. * @return This builder for chaining. */ public Builder setMvTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000001; mvType_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> tableBuilder_; /** *
       * associated mvs of the table
       * 
* * .cz.proto.ObjectIdentifier table = 10; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return derivedCase_ == 10; } /** *
       * associated mvs of the table
       * 
* * .cz.proto.ObjectIdentifier table = 10; * @return The table. */ @java.lang.Override public cz.proto.ObjectIdentifier getTable() { if (tableBuilder_ == null) { if (derivedCase_ == 10) { return (cz.proto.ObjectIdentifier) derived_; } return cz.proto.ObjectIdentifier.getDefaultInstance(); } else { if (derivedCase_ == 10) { return tableBuilder_.getMessage(); } return cz.proto.ObjectIdentifier.getDefaultInstance(); } } /** *
       * associated mvs of the table
       * 
* * .cz.proto.ObjectIdentifier table = 10; */ public Builder setTable(cz.proto.ObjectIdentifier value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { tableBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** *
       * associated mvs of the table
       * 
* * .cz.proto.ObjectIdentifier table = 10; */ public Builder setTable( cz.proto.ObjectIdentifier.Builder builderForValue) { if (tableBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { tableBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 10; return this; } /** *
       * associated mvs of the table
       * 
* * .cz.proto.ObjectIdentifier table = 10; */ public Builder mergeTable(cz.proto.ObjectIdentifier value) { if (tableBuilder_ == null) { if (derivedCase_ == 10 && derived_ != cz.proto.ObjectIdentifier.getDefaultInstance()) { derived_ = cz.proto.ObjectIdentifier.newBuilder((cz.proto.ObjectIdentifier) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 10) { tableBuilder_.mergeFrom(value); } tableBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** *
       * associated mvs of the table
       * 
* * .cz.proto.ObjectIdentifier table = 10; */ public Builder clearTable() { if (tableBuilder_ == null) { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; } tableBuilder_.clear(); } return this; } /** *
       * associated mvs of the table
       * 
* * .cz.proto.ObjectIdentifier table = 10; */ public cz.proto.ObjectIdentifier.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** *
       * associated mvs of the table
       * 
* * .cz.proto.ObjectIdentifier table = 10; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getTableOrBuilder() { if ((derivedCase_ == 10) && (tableBuilder_ != null)) { return tableBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 10) { return (cz.proto.ObjectIdentifier) derived_; } return cz.proto.ObjectIdentifier.getDefaultInstance(); } } /** *
       * associated mvs of the table
       * 
* * .cz.proto.ObjectIdentifier table = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { if (!(derivedCase_ == 10)) { derived_ = cz.proto.ObjectIdentifier.getDefaultInstance(); } tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( (cz.proto.ObjectIdentifier) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 10; onChanged();; return tableBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifierList, cz.proto.ObjectIdentifierList.Builder, cz.proto.ObjectIdentifierListOrBuilder> batchTablesBuilder_; /** *
       * associated mvs of batch tables
       * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; * @return Whether the batchTables field is set. */ @java.lang.Override public boolean hasBatchTables() { return derivedCase_ == 11; } /** *
       * associated mvs of batch tables
       * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; * @return The batchTables. */ @java.lang.Override public cz.proto.ObjectIdentifierList getBatchTables() { if (batchTablesBuilder_ == null) { if (derivedCase_ == 11) { return (cz.proto.ObjectIdentifierList) derived_; } return cz.proto.ObjectIdentifierList.getDefaultInstance(); } else { if (derivedCase_ == 11) { return batchTablesBuilder_.getMessage(); } return cz.proto.ObjectIdentifierList.getDefaultInstance(); } } /** *
       * associated mvs of batch tables
       * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; */ public Builder setBatchTables(cz.proto.ObjectIdentifierList value) { if (batchTablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { batchTablesBuilder_.setMessage(value); } derivedCase_ = 11; return this; } /** *
       * associated mvs of batch tables
       * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; */ public Builder setBatchTables( cz.proto.ObjectIdentifierList.Builder builderForValue) { if (batchTablesBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { batchTablesBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 11; return this; } /** *
       * associated mvs of batch tables
       * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; */ public Builder mergeBatchTables(cz.proto.ObjectIdentifierList value) { if (batchTablesBuilder_ == null) { if (derivedCase_ == 11 && derived_ != cz.proto.ObjectIdentifierList.getDefaultInstance()) { derived_ = cz.proto.ObjectIdentifierList.newBuilder((cz.proto.ObjectIdentifierList) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 11) { batchTablesBuilder_.mergeFrom(value); } batchTablesBuilder_.setMessage(value); } derivedCase_ = 11; return this; } /** *
       * associated mvs of batch tables
       * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; */ public Builder clearBatchTables() { if (batchTablesBuilder_ == null) { if (derivedCase_ == 11) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 11) { derivedCase_ = 0; derived_ = null; } batchTablesBuilder_.clear(); } return this; } /** *
       * associated mvs of batch tables
       * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; */ public cz.proto.ObjectIdentifierList.Builder getBatchTablesBuilder() { return getBatchTablesFieldBuilder().getBuilder(); } /** *
       * associated mvs of batch tables
       * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; */ @java.lang.Override public cz.proto.ObjectIdentifierListOrBuilder getBatchTablesOrBuilder() { if ((derivedCase_ == 11) && (batchTablesBuilder_ != null)) { return batchTablesBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 11) { return (cz.proto.ObjectIdentifierList) derived_; } return cz.proto.ObjectIdentifierList.getDefaultInstance(); } } /** *
       * associated mvs of batch tables
       * 
* * .cz.proto.ObjectIdentifierList batch_tables = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifierList, cz.proto.ObjectIdentifierList.Builder, cz.proto.ObjectIdentifierListOrBuilder> getBatchTablesFieldBuilder() { if (batchTablesBuilder_ == null) { if (!(derivedCase_ == 11)) { derived_ = cz.proto.ObjectIdentifierList.getDefaultInstance(); } batchTablesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifierList, cz.proto.ObjectIdentifierList.Builder, cz.proto.ObjectIdentifierListOrBuilder>( (cz.proto.ObjectIdentifierList) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 11; onChanged();; return batchTablesBuilder_; } @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:cz.proto.access.ShowMV) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowMV) private static final cz.proto.access.Ddl.ShowMV DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowMV(); } public static cz.proto.access.Ddl.ShowMV getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowMV parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowMV(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 cz.proto.access.Ddl.ShowMV getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowSchema) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ boolean hasWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ cz.proto.ObjectIdentifier getWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder(); } /** * Protobuf type {@code cz.proto.access.ShowSchema} */ public static final class ShowSchema extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowSchema) ShowSchemaOrBuilder { private static final long serialVersionUID = 0L; // Use ShowSchema.newBuilder() to construct. private ShowSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowSchema() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowSchema(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowSchema( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (workspaceId_ != null) { subBuilder = workspaceId_.toBuilder(); } workspaceId_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(workspaceId_); workspaceId_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowSchema.class, cz.proto.access.Ddl.ShowSchema.Builder.class); } public static final int WORKSPACE_ID_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier workspaceId_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ @java.lang.Override public boolean hasWorkspaceId() { return workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ @java.lang.Override public cz.proto.ObjectIdentifier getWorkspaceId() { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { return getWorkspaceId(); } 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 (workspaceId_ != null) { output.writeMessage(1, getWorkspaceId()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workspaceId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getWorkspaceId()); } 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 cz.proto.access.Ddl.ShowSchema)) { return super.equals(obj); } cz.proto.access.Ddl.ShowSchema other = (cz.proto.access.Ddl.ShowSchema) obj; if (hasWorkspaceId() != other.hasWorkspaceId()) return false; if (hasWorkspaceId()) { if (!getWorkspaceId() .equals(other.getWorkspaceId())) 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 (hasWorkspaceId()) { hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + getWorkspaceId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowSchema parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowSchema parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowSchema parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowSchema parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowSchema 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 cz.proto.access.Ddl.ShowSchema parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowSchema 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 cz.proto.access.Ddl.ShowSchema parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowSchema 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(cz.proto.access.Ddl.ShowSchema 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 cz.proto.access.ShowSchema} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowSchema) cz.proto.access.Ddl.ShowSchemaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowSchema.class, cz.proto.access.Ddl.ShowSchema.Builder.class); } // Construct using cz.proto.access.Ddl.ShowSchema.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 (workspaceIdBuilder_ == null) { workspaceId_ = null; } else { workspaceId_ = null; workspaceIdBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowSchema_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowSchema getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowSchema.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowSchema build() { cz.proto.access.Ddl.ShowSchema result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowSchema buildPartial() { cz.proto.access.Ddl.ShowSchema result = new cz.proto.access.Ddl.ShowSchema(this); if (workspaceIdBuilder_ == null) { result.workspaceId_ = workspaceId_; } else { result.workspaceId_ = workspaceIdBuilder_.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 cz.proto.access.Ddl.ShowSchema) { return mergeFrom((cz.proto.access.Ddl.ShowSchema)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowSchema other) { if (other == cz.proto.access.Ddl.ShowSchema.getDefaultInstance()) return this; if (other.hasWorkspaceId()) { mergeWorkspaceId(other.getWorkspaceId()); } 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 { cz.proto.access.Ddl.ShowSchema parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowSchema) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier workspaceId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> workspaceIdBuilder_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ public boolean hasWorkspaceId() { return workspaceIdBuilder_ != null || workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ public cz.proto.ObjectIdentifier getWorkspaceId() { if (workspaceIdBuilder_ == null) { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } else { return workspaceIdBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } workspaceId_ = value; onChanged(); } else { workspaceIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId( cz.proto.ObjectIdentifier.Builder builderForValue) { if (workspaceIdBuilder_ == null) { workspaceId_ = builderForValue.build(); onChanged(); } else { workspaceIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder mergeWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (workspaceId_ != null) { workspaceId_ = cz.proto.ObjectIdentifier.newBuilder(workspaceId_).mergeFrom(value).buildPartial(); } else { workspaceId_ = value; } onChanged(); } else { workspaceIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder clearWorkspaceId() { if (workspaceIdBuilder_ == null) { workspaceId_ = null; onChanged(); } else { workspaceId_ = null; workspaceIdBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifier.Builder getWorkspaceIdBuilder() { onChanged(); return getWorkspaceIdFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { if (workspaceIdBuilder_ != null) { return workspaceIdBuilder_.getMessageOrBuilder(); } else { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getWorkspaceIdFieldBuilder() { if (workspaceIdBuilder_ == null) { workspaceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getWorkspaceId(), getParentForChildren(), isClean()); workspaceId_ = null; } return workspaceIdBuilder_; } @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:cz.proto.access.ShowSchema) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowSchema) private static final cz.proto.access.Ddl.ShowSchema DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowSchema(); } public static cz.proto.access.Ddl.ShowSchema getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowSchema parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowSchema(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 cz.proto.access.Ddl.ShowSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowJobOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowJob) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ boolean hasWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ cz.proto.ObjectIdentifier getWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder(); } /** * Protobuf type {@code cz.proto.access.ShowJob} */ public static final class ShowJob extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowJob) ShowJobOrBuilder { private static final long serialVersionUID = 0L; // Use ShowJob.newBuilder() to construct. private ShowJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowJob() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowJob(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowJob( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (workspaceId_ != null) { subBuilder = workspaceId_.toBuilder(); } workspaceId_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(workspaceId_); workspaceId_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowJob_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowJob.class, cz.proto.access.Ddl.ShowJob.Builder.class); } public static final int WORKSPACE_ID_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier workspaceId_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ @java.lang.Override public boolean hasWorkspaceId() { return workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ @java.lang.Override public cz.proto.ObjectIdentifier getWorkspaceId() { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { return getWorkspaceId(); } 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 (workspaceId_ != null) { output.writeMessage(1, getWorkspaceId()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workspaceId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getWorkspaceId()); } 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 cz.proto.access.Ddl.ShowJob)) { return super.equals(obj); } cz.proto.access.Ddl.ShowJob other = (cz.proto.access.Ddl.ShowJob) obj; if (hasWorkspaceId() != other.hasWorkspaceId()) return false; if (hasWorkspaceId()) { if (!getWorkspaceId() .equals(other.getWorkspaceId())) 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 (hasWorkspaceId()) { hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + getWorkspaceId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowJob parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowJob parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowJob parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowJob parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowJob 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 cz.proto.access.Ddl.ShowJob parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowJob 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 cz.proto.access.Ddl.ShowJob parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowJob 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(cz.proto.access.Ddl.ShowJob 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 cz.proto.access.ShowJob} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowJob) cz.proto.access.Ddl.ShowJobOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowJob_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowJob.class, cz.proto.access.Ddl.ShowJob.Builder.class); } // Construct using cz.proto.access.Ddl.ShowJob.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 (workspaceIdBuilder_ == null) { workspaceId_ = null; } else { workspaceId_ = null; workspaceIdBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowJob_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowJob getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowJob.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowJob build() { cz.proto.access.Ddl.ShowJob result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowJob buildPartial() { cz.proto.access.Ddl.ShowJob result = new cz.proto.access.Ddl.ShowJob(this); if (workspaceIdBuilder_ == null) { result.workspaceId_ = workspaceId_; } else { result.workspaceId_ = workspaceIdBuilder_.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 cz.proto.access.Ddl.ShowJob) { return mergeFrom((cz.proto.access.Ddl.ShowJob)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowJob other) { if (other == cz.proto.access.Ddl.ShowJob.getDefaultInstance()) return this; if (other.hasWorkspaceId()) { mergeWorkspaceId(other.getWorkspaceId()); } 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 { cz.proto.access.Ddl.ShowJob parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowJob) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier workspaceId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> workspaceIdBuilder_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ public boolean hasWorkspaceId() { return workspaceIdBuilder_ != null || workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ public cz.proto.ObjectIdentifier getWorkspaceId() { if (workspaceIdBuilder_ == null) { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } else { return workspaceIdBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } workspaceId_ = value; onChanged(); } else { workspaceIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId( cz.proto.ObjectIdentifier.Builder builderForValue) { if (workspaceIdBuilder_ == null) { workspaceId_ = builderForValue.build(); onChanged(); } else { workspaceIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder mergeWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (workspaceId_ != null) { workspaceId_ = cz.proto.ObjectIdentifier.newBuilder(workspaceId_).mergeFrom(value).buildPartial(); } else { workspaceId_ = value; } onChanged(); } else { workspaceIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder clearWorkspaceId() { if (workspaceIdBuilder_ == null) { workspaceId_ = null; onChanged(); } else { workspaceId_ = null; workspaceIdBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifier.Builder getWorkspaceIdBuilder() { onChanged(); return getWorkspaceIdFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { if (workspaceIdBuilder_ != null) { return workspaceIdBuilder_.getMessageOrBuilder(); } else { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getWorkspaceIdFieldBuilder() { if (workspaceIdBuilder_ == null) { workspaceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getWorkspaceId(), getParentForChildren(), isClean()); workspaceId_ = null; } return workspaceIdBuilder_; } @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:cz.proto.access.ShowJob) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowJob) private static final cz.proto.access.Ddl.ShowJob DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowJob(); } public static cz.proto.access.Ddl.ShowJob getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowJob parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowJob(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 cz.proto.access.Ddl.ShowJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowVClusterFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowVClusterFilter) com.google.protobuf.MessageOrBuilder { /** * string pattern = 1; * @return Whether the pattern field is set. */ boolean hasPattern(); /** * string pattern = 1; * @return The pattern. */ java.lang.String getPattern(); /** * string pattern = 1; * @return The bytes for pattern. */ com.google.protobuf.ByteString getPatternBytes(); /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; * @return Whether the where field is set. */ boolean hasWhere(); /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; * @return The where. */ com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter getWhere(); /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; */ com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilterOrBuilder getWhereOrBuilder(); public cz.proto.access.Ddl.ShowVClusterFilter.FilterCase getFilterCase(); } /** * Protobuf type {@code cz.proto.access.ShowVClusterFilter} */ public static final class ShowVClusterFilter extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowVClusterFilter) ShowVClusterFilterOrBuilder { private static final long serialVersionUID = 0L; // Use ShowVClusterFilter.newBuilder() to construct. private ShowVClusterFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowVClusterFilter() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowVClusterFilter(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowVClusterFilter( 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: { java.lang.String s = input.readStringRequireUtf8(); filterCase_ = 1; filter_ = s; break; } case 18: { com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.Builder subBuilder = null; if (filterCase_ == 2) { subBuilder = ((com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter) filter_).toBuilder(); } filter_ = input.readMessage(com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter) filter_); filter_ = subBuilder.buildPartial(); } filterCase_ = 2; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVClusterFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVClusterFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowVClusterFilter.class, cz.proto.access.Ddl.ShowVClusterFilter.Builder.class); } private int filterCase_ = 0; private java.lang.Object filter_; public enum FilterCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PATTERN(1), WHERE(2), FILTER_NOT_SET(0); private final int value; private FilterCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static FilterCase valueOf(int value) { return forNumber(value); } public static FilterCase forNumber(int value) { switch (value) { case 1: return PATTERN; case 2: return WHERE; case 0: return FILTER_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public FilterCase getFilterCase() { return FilterCase.forNumber( filterCase_); } public static final int PATTERN_FIELD_NUMBER = 1; /** * string pattern = 1; * @return Whether the pattern field is set. */ public boolean hasPattern() { return filterCase_ == 1; } /** * string pattern = 1; * @return The pattern. */ public java.lang.String getPattern() { java.lang.Object ref = ""; if (filterCase_ == 1) { ref = filter_; } 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(); if (filterCase_ == 1) { filter_ = s; } return s; } } /** * string pattern = 1; * @return The bytes for pattern. */ public com.google.protobuf.ByteString getPatternBytes() { java.lang.Object ref = ""; if (filterCase_ == 1) { ref = filter_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (filterCase_ == 1) { filter_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WHERE_FIELD_NUMBER = 2; /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; * @return Whether the where field is set. */ @java.lang.Override public boolean hasWhere() { return filterCase_ == 2; } /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; * @return The where. */ @java.lang.Override public com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter getWhere() { if (filterCase_ == 2) { return (com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter) filter_; } return com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.getDefaultInstance(); } /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; */ @java.lang.Override public com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilterOrBuilder getWhereOrBuilder() { if (filterCase_ == 2) { return (com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter) filter_; } return com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (filterCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_); } if (filterCase_ == 2) { output.writeMessage(2, (com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter) filter_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (filterCase_ == 1) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_); } if (filterCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter) filter_); } 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 cz.proto.access.Ddl.ShowVClusterFilter)) { return super.equals(obj); } cz.proto.access.Ddl.ShowVClusterFilter other = (cz.proto.access.Ddl.ShowVClusterFilter) obj; if (!getFilterCase().equals(other.getFilterCase())) return false; switch (filterCase_) { case 1: if (!getPattern() .equals(other.getPattern())) return false; break; case 2: if (!getWhere() .equals(other.getWhere())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (filterCase_) { case 1: hash = (37 * hash) + PATTERN_FIELD_NUMBER; hash = (53 * hash) + getPattern().hashCode(); break; case 2: hash = (37 * hash) + WHERE_FIELD_NUMBER; hash = (53 * hash) + getWhere().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowVClusterFilter parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowVClusterFilter parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowVClusterFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowVClusterFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowVClusterFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowVClusterFilter parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowVClusterFilter parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowVClusterFilter 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 cz.proto.access.Ddl.ShowVClusterFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowVClusterFilter 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 cz.proto.access.Ddl.ShowVClusterFilter parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowVClusterFilter 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(cz.proto.access.Ddl.ShowVClusterFilter 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 cz.proto.access.ShowVClusterFilter} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowVClusterFilter) cz.proto.access.Ddl.ShowVClusterFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVClusterFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVClusterFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowVClusterFilter.class, cz.proto.access.Ddl.ShowVClusterFilter.Builder.class); } // Construct using cz.proto.access.Ddl.ShowVClusterFilter.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(); filterCase_ = 0; filter_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVClusterFilter_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowVClusterFilter getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowVClusterFilter.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowVClusterFilter build() { cz.proto.access.Ddl.ShowVClusterFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowVClusterFilter buildPartial() { cz.proto.access.Ddl.ShowVClusterFilter result = new cz.proto.access.Ddl.ShowVClusterFilter(this); if (filterCase_ == 1) { result.filter_ = filter_; } if (filterCase_ == 2) { if (whereBuilder_ == null) { result.filter_ = filter_; } else { result.filter_ = whereBuilder_.build(); } } result.filterCase_ = filterCase_; 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 cz.proto.access.Ddl.ShowVClusterFilter) { return mergeFrom((cz.proto.access.Ddl.ShowVClusterFilter)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowVClusterFilter other) { if (other == cz.proto.access.Ddl.ShowVClusterFilter.getDefaultInstance()) return this; switch (other.getFilterCase()) { case PATTERN: { filterCase_ = 1; filter_ = other.filter_; onChanged(); break; } case WHERE: { mergeWhere(other.getWhere()); break; } case FILTER_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.ShowVClusterFilter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowVClusterFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int filterCase_ = 0; private java.lang.Object filter_; public FilterCase getFilterCase() { return FilterCase.forNumber( filterCase_); } public Builder clearFilter() { filterCase_ = 0; filter_ = null; onChanged(); return this; } /** * string pattern = 1; * @return Whether the pattern field is set. */ @java.lang.Override public boolean hasPattern() { return filterCase_ == 1; } /** * string pattern = 1; * @return The pattern. */ @java.lang.Override public java.lang.String getPattern() { java.lang.Object ref = ""; if (filterCase_ == 1) { ref = filter_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 1) { filter_ = s; } return s; } else { return (java.lang.String) ref; } } /** * string pattern = 1; * @return The bytes for pattern. */ @java.lang.Override public com.google.protobuf.ByteString getPatternBytes() { java.lang.Object ref = ""; if (filterCase_ == 1) { ref = filter_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (filterCase_ == 1) { filter_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string pattern = 1; * @param value The pattern to set. * @return This builder for chaining. */ public Builder setPattern( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filterCase_ = 1; filter_ = value; onChanged(); return this; } /** * string pattern = 1; * @return This builder for chaining. */ public Builder clearPattern() { if (filterCase_ == 1) { filterCase_ = 0; filter_ = null; onChanged(); } return this; } /** * string pattern = 1; * @param value The bytes for pattern to set. * @return This builder for chaining. */ public Builder setPatternBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filterCase_ = 1; filter_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter, com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.Builder, com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilterOrBuilder> whereBuilder_; /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; * @return Whether the where field is set. */ @java.lang.Override public boolean hasWhere() { return filterCase_ == 2; } /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; * @return The where. */ @java.lang.Override public com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter getWhere() { if (whereBuilder_ == null) { if (filterCase_ == 2) { return (com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter) filter_; } return com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.getDefaultInstance(); } else { if (filterCase_ == 2) { return whereBuilder_.getMessage(); } return com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.getDefaultInstance(); } } /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; */ public Builder setWhere(com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter value) { if (whereBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); } else { whereBuilder_.setMessage(value); } filterCase_ = 2; return this; } /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; */ public Builder setWhere( com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.Builder builderForValue) { if (whereBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); } else { whereBuilder_.setMessage(builderForValue.build()); } filterCase_ = 2; return this; } /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; */ public Builder mergeWhere(com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter value) { if (whereBuilder_ == null) { if (filterCase_ == 2 && filter_ != com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.getDefaultInstance()) { filter_ = com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.newBuilder((com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter) filter_) .mergeFrom(value).buildPartial(); } else { filter_ = value; } onChanged(); } else { if (filterCase_ == 2) { whereBuilder_.mergeFrom(value); } whereBuilder_.setMessage(value); } filterCase_ = 2; return this; } /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; */ public Builder clearWhere() { if (whereBuilder_ == null) { if (filterCase_ == 2) { filterCase_ = 0; filter_ = null; onChanged(); } } else { if (filterCase_ == 2) { filterCase_ = 0; filter_ = null; } whereBuilder_.clear(); } return this; } /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.Builder getWhereBuilder() { return getWhereFieldBuilder().getBuilder(); } /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; */ @java.lang.Override public com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilterOrBuilder getWhereOrBuilder() { if ((filterCase_ == 2) && (whereBuilder_ != null)) { return whereBuilder_.getMessageOrBuilder(); } else { if (filterCase_ == 2) { return (com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter) filter_; } return com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.getDefaultInstance(); } } /** * .com.clickzetta.rm.ListVirtualClusterFilter where = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter, com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.Builder, com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilterOrBuilder> getWhereFieldBuilder() { if (whereBuilder_ == null) { if (!(filterCase_ == 2)) { filter_ = com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.getDefaultInstance(); } whereBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter, com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter.Builder, com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilterOrBuilder>( (com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterFilter) filter_, getParentForChildren(), isClean()); filter_ = null; } filterCase_ = 2; onChanged();; return whereBuilder_; } @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:cz.proto.access.ShowVClusterFilter) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowVClusterFilter) private static final cz.proto.access.Ddl.ShowVClusterFilter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowVClusterFilter(); } public static cz.proto.access.Ddl.ShowVClusterFilter getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowVClusterFilter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowVClusterFilter(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 cz.proto.access.Ddl.ShowVClusterFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowVClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowVCluster) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ boolean hasWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ cz.proto.ObjectIdentifier getWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder(); /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; * @return Whether the filter field is set. */ boolean hasFilter(); /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; * @return The filter. */ cz.proto.access.Ddl.ShowVClusterFilter getFilter(); /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; */ cz.proto.access.Ddl.ShowVClusterFilterOrBuilder getFilterOrBuilder(); } /** * Protobuf type {@code cz.proto.access.ShowVCluster} */ public static final class ShowVCluster extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowVCluster) ShowVClusterOrBuilder { private static final long serialVersionUID = 0L; // Use ShowVCluster.newBuilder() to construct. private ShowVCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowVCluster() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowVCluster(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowVCluster( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (workspaceId_ != null) { subBuilder = workspaceId_.toBuilder(); } workspaceId_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(workspaceId_); workspaceId_ = subBuilder.buildPartial(); } break; } case 26: { cz.proto.access.Ddl.ShowVClusterFilter.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = filter_.toBuilder(); } filter_ = input.readMessage(cz.proto.access.Ddl.ShowVClusterFilter.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(filter_); filter_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVCluster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowVCluster.class, cz.proto.access.Ddl.ShowVCluster.Builder.class); } private int bitField0_; public static final int WORKSPACE_ID_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier workspaceId_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ @java.lang.Override public boolean hasWorkspaceId() { return workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ @java.lang.Override public cz.proto.ObjectIdentifier getWorkspaceId() { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { return getWorkspaceId(); } public static final int FILTER_FIELD_NUMBER = 3; private cz.proto.access.Ddl.ShowVClusterFilter filter_; /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; * @return Whether the filter field is set. */ @java.lang.Override public boolean hasFilter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; * @return The filter. */ @java.lang.Override public cz.proto.access.Ddl.ShowVClusterFilter getFilter() { return filter_ == null ? cz.proto.access.Ddl.ShowVClusterFilter.getDefaultInstance() : filter_; } /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; */ @java.lang.Override public cz.proto.access.Ddl.ShowVClusterFilterOrBuilder getFilterOrBuilder() { return filter_ == null ? cz.proto.access.Ddl.ShowVClusterFilter.getDefaultInstance() : filter_; } 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 (workspaceId_ != null) { output.writeMessage(1, getWorkspaceId()); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getFilter()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workspaceId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getWorkspaceId()); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getFilter()); } 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 cz.proto.access.Ddl.ShowVCluster)) { return super.equals(obj); } cz.proto.access.Ddl.ShowVCluster other = (cz.proto.access.Ddl.ShowVCluster) obj; if (hasWorkspaceId() != other.hasWorkspaceId()) return false; if (hasWorkspaceId()) { if (!getWorkspaceId() .equals(other.getWorkspaceId())) return false; } if (hasFilter() != other.hasFilter()) return false; if (hasFilter()) { if (!getFilter() .equals(other.getFilter())) 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 (hasWorkspaceId()) { hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + getWorkspaceId().hashCode(); } if (hasFilter()) { hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowVCluster parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowVCluster parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowVCluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowVCluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowVCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowVCluster parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowVCluster parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowVCluster 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 cz.proto.access.Ddl.ShowVCluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowVCluster 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 cz.proto.access.Ddl.ShowVCluster parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowVCluster 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(cz.proto.access.Ddl.ShowVCluster 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 cz.proto.access.ShowVCluster} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowVCluster) cz.proto.access.Ddl.ShowVClusterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVCluster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowVCluster.class, cz.proto.access.Ddl.ShowVCluster.Builder.class); } // Construct using cz.proto.access.Ddl.ShowVCluster.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFilterFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (workspaceIdBuilder_ == null) { workspaceId_ = null; } else { workspaceId_ = null; workspaceIdBuilder_ = null; } if (filterBuilder_ == null) { filter_ = null; } else { filterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVCluster_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowVCluster getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowVCluster.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowVCluster build() { cz.proto.access.Ddl.ShowVCluster result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowVCluster buildPartial() { cz.proto.access.Ddl.ShowVCluster result = new cz.proto.access.Ddl.ShowVCluster(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (workspaceIdBuilder_ == null) { result.workspaceId_ = workspaceId_; } else { result.workspaceId_ = workspaceIdBuilder_.build(); } if (((from_bitField0_ & 0x00000001) != 0)) { if (filterBuilder_ == null) { result.filter_ = filter_; } else { result.filter_ = filterBuilder_.build(); } to_bitField0_ |= 0x00000001; } result.bitField0_ = to_bitField0_; 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 cz.proto.access.Ddl.ShowVCluster) { return mergeFrom((cz.proto.access.Ddl.ShowVCluster)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowVCluster other) { if (other == cz.proto.access.Ddl.ShowVCluster.getDefaultInstance()) return this; if (other.hasWorkspaceId()) { mergeWorkspaceId(other.getWorkspaceId()); } if (other.hasFilter()) { mergeFilter(other.getFilter()); } 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 { cz.proto.access.Ddl.ShowVCluster parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowVCluster) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ObjectIdentifier workspaceId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> workspaceIdBuilder_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ public boolean hasWorkspaceId() { return workspaceIdBuilder_ != null || workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ public cz.proto.ObjectIdentifier getWorkspaceId() { if (workspaceIdBuilder_ == null) { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } else { return workspaceIdBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } workspaceId_ = value; onChanged(); } else { workspaceIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId( cz.proto.ObjectIdentifier.Builder builderForValue) { if (workspaceIdBuilder_ == null) { workspaceId_ = builderForValue.build(); onChanged(); } else { workspaceIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder mergeWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (workspaceId_ != null) { workspaceId_ = cz.proto.ObjectIdentifier.newBuilder(workspaceId_).mergeFrom(value).buildPartial(); } else { workspaceId_ = value; } onChanged(); } else { workspaceIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder clearWorkspaceId() { if (workspaceIdBuilder_ == null) { workspaceId_ = null; onChanged(); } else { workspaceId_ = null; workspaceIdBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifier.Builder getWorkspaceIdBuilder() { onChanged(); return getWorkspaceIdFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { if (workspaceIdBuilder_ != null) { return workspaceIdBuilder_.getMessageOrBuilder(); } else { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getWorkspaceIdFieldBuilder() { if (workspaceIdBuilder_ == null) { workspaceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getWorkspaceId(), getParentForChildren(), isClean()); workspaceId_ = null; } return workspaceIdBuilder_; } private cz.proto.access.Ddl.ShowVClusterFilter filter_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowVClusterFilter, cz.proto.access.Ddl.ShowVClusterFilter.Builder, cz.proto.access.Ddl.ShowVClusterFilterOrBuilder> filterBuilder_; /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; * @return Whether the filter field is set. */ public boolean hasFilter() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; * @return The filter. */ public cz.proto.access.Ddl.ShowVClusterFilter getFilter() { if (filterBuilder_ == null) { return filter_ == null ? cz.proto.access.Ddl.ShowVClusterFilter.getDefaultInstance() : filter_; } else { return filterBuilder_.getMessage(); } } /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; */ public Builder setFilter(cz.proto.access.Ddl.ShowVClusterFilter value) { if (filterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); } else { filterBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; */ public Builder setFilter( cz.proto.access.Ddl.ShowVClusterFilter.Builder builderForValue) { if (filterBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); } else { filterBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; */ public Builder mergeFilter(cz.proto.access.Ddl.ShowVClusterFilter value) { if (filterBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && filter_ != null && filter_ != cz.proto.access.Ddl.ShowVClusterFilter.getDefaultInstance()) { filter_ = cz.proto.access.Ddl.ShowVClusterFilter.newBuilder(filter_).mergeFrom(value).buildPartial(); } else { filter_ = value; } onChanged(); } else { filterBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; */ public Builder clearFilter() { if (filterBuilder_ == null) { filter_ = null; onChanged(); } else { filterBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; */ public cz.proto.access.Ddl.ShowVClusterFilter.Builder getFilterBuilder() { bitField0_ |= 0x00000001; onChanged(); return getFilterFieldBuilder().getBuilder(); } /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; */ public cz.proto.access.Ddl.ShowVClusterFilterOrBuilder getFilterOrBuilder() { if (filterBuilder_ != null) { return filterBuilder_.getMessageOrBuilder(); } else { return filter_ == null ? cz.proto.access.Ddl.ShowVClusterFilter.getDefaultInstance() : filter_; } } /** * optional .cz.proto.access.ShowVClusterFilter filter = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowVClusterFilter, cz.proto.access.Ddl.ShowVClusterFilter.Builder, cz.proto.access.Ddl.ShowVClusterFilterOrBuilder> getFilterFieldBuilder() { if (filterBuilder_ == null) { filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowVClusterFilter, cz.proto.access.Ddl.ShowVClusterFilter.Builder, cz.proto.access.Ddl.ShowVClusterFilterOrBuilder>( getFilter(), getParentForChildren(), isClean()); filter_ = null; } return filterBuilder_; } @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:cz.proto.access.ShowVCluster) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowVCluster) private static final cz.proto.access.Ddl.ShowVCluster DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowVCluster(); } public static cz.proto.access.Ddl.ShowVCluster getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowVCluster parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowVCluster(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 cz.proto.access.Ddl.ShowVCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowFileOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowFile) com.google.protobuf.MessageOrBuilder { /** *
     * list all files for a table
     * 
* * .cz.proto.ObjectIdentifier table = 10; * @return Whether the table field is set. */ boolean hasTable(); /** *
     * list all files for a table
     * 
* * .cz.proto.ObjectIdentifier table = 10; * @return The table. */ cz.proto.ObjectIdentifier getTable(); /** *
     * list all files for a table
     * 
* * .cz.proto.ObjectIdentifier table = 10; */ cz.proto.ObjectIdentifierOrBuilder getTableOrBuilder(); /** * .cz.proto.access.TablePartitions table_partitions = 11; * @return Whether the tablePartitions field is set. */ boolean hasTablePartitions(); /** * .cz.proto.access.TablePartitions table_partitions = 11; * @return The tablePartitions. */ cz.proto.access.Ddl.TablePartitions getTablePartitions(); /** * .cz.proto.access.TablePartitions table_partitions = 11; */ cz.proto.access.Ddl.TablePartitionsOrBuilder getTablePartitionsOrBuilder(); public cz.proto.access.Ddl.ShowFile.DerivedCase getDerivedCase(); } /** * Protobuf type {@code cz.proto.access.ShowFile} */ public static final class ShowFile extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowFile) ShowFileOrBuilder { private static final long serialVersionUID = 0L; // Use ShowFile.newBuilder() to construct. private ShowFile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowFile() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowFile(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowFile( 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 82: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (derivedCase_ == 10) { subBuilder = ((cz.proto.ObjectIdentifier) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.ObjectIdentifier) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 10; break; } case 90: { cz.proto.access.Ddl.TablePartitions.Builder subBuilder = null; if (derivedCase_ == 11) { subBuilder = ((cz.proto.access.Ddl.TablePartitions) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.TablePartitions.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.TablePartitions) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 11; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowFile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowFile_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowFile.class, cz.proto.access.Ddl.ShowFile.Builder.class); } private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TABLE(10), TABLE_PARTITIONS(11), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 10: return TABLE; case 11: return TABLE_PARTITIONS; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public static final int TABLE_FIELD_NUMBER = 10; /** *
     * list all files for a table
     * 
* * .cz.proto.ObjectIdentifier table = 10; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return derivedCase_ == 10; } /** *
     * list all files for a table
     * 
* * .cz.proto.ObjectIdentifier table = 10; * @return The table. */ @java.lang.Override public cz.proto.ObjectIdentifier getTable() { if (derivedCase_ == 10) { return (cz.proto.ObjectIdentifier) derived_; } return cz.proto.ObjectIdentifier.getDefaultInstance(); } /** *
     * list all files for a table
     * 
* * .cz.proto.ObjectIdentifier table = 10; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getTableOrBuilder() { if (derivedCase_ == 10) { return (cz.proto.ObjectIdentifier) derived_; } return cz.proto.ObjectIdentifier.getDefaultInstance(); } public static final int TABLE_PARTITIONS_FIELD_NUMBER = 11; /** * .cz.proto.access.TablePartitions table_partitions = 11; * @return Whether the tablePartitions field is set. */ @java.lang.Override public boolean hasTablePartitions() { return derivedCase_ == 11; } /** * .cz.proto.access.TablePartitions table_partitions = 11; * @return The tablePartitions. */ @java.lang.Override public cz.proto.access.Ddl.TablePartitions getTablePartitions() { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.TablePartitions) derived_; } return cz.proto.access.Ddl.TablePartitions.getDefaultInstance(); } /** * .cz.proto.access.TablePartitions table_partitions = 11; */ @java.lang.Override public cz.proto.access.Ddl.TablePartitionsOrBuilder getTablePartitionsOrBuilder() { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.TablePartitions) derived_; } return cz.proto.access.Ddl.TablePartitions.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (derivedCase_ == 10) { output.writeMessage(10, (cz.proto.ObjectIdentifier) derived_); } if (derivedCase_ == 11) { output.writeMessage(11, (cz.proto.access.Ddl.TablePartitions) derived_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (derivedCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.ObjectIdentifier) derived_); } if (derivedCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (cz.proto.access.Ddl.TablePartitions) derived_); } 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 cz.proto.access.Ddl.ShowFile)) { return super.equals(obj); } cz.proto.access.Ddl.ShowFile other = (cz.proto.access.Ddl.ShowFile) obj; if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 10: if (!getTable() .equals(other.getTable())) return false; break; case 11: if (!getTablePartitions() .equals(other.getTablePartitions())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (derivedCase_) { case 10: hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); break; case 11: hash = (37 * hash) + TABLE_PARTITIONS_FIELD_NUMBER; hash = (53 * hash) + getTablePartitions().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowFile parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowFile parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowFile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowFile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowFile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowFile parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowFile parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowFile 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 cz.proto.access.Ddl.ShowFile parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowFile 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 cz.proto.access.Ddl.ShowFile parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowFile 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(cz.proto.access.Ddl.ShowFile 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 cz.proto.access.ShowFile} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowFile) cz.proto.access.Ddl.ShowFileOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowFile_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowFile_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowFile.class, cz.proto.access.Ddl.ShowFile.Builder.class); } // Construct using cz.proto.access.Ddl.ShowFile.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(); derivedCase_ = 0; derived_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowFile_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowFile getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowFile.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowFile build() { cz.proto.access.Ddl.ShowFile result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowFile buildPartial() { cz.proto.access.Ddl.ShowFile result = new cz.proto.access.Ddl.ShowFile(this); if (derivedCase_ == 10) { if (tableBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = tableBuilder_.build(); } } if (derivedCase_ == 11) { if (tablePartitionsBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = tablePartitionsBuilder_.build(); } } result.derivedCase_ = derivedCase_; 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 cz.proto.access.Ddl.ShowFile) { return mergeFrom((cz.proto.access.Ddl.ShowFile)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowFile other) { if (other == cz.proto.access.Ddl.ShowFile.getDefaultInstance()) return this; switch (other.getDerivedCase()) { case TABLE: { mergeTable(other.getTable()); break; } case TABLE_PARTITIONS: { mergeTablePartitions(other.getTablePartitions()); break; } case DERIVED_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.ShowFile parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowFile) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> tableBuilder_; /** *
       * list all files for a table
       * 
* * .cz.proto.ObjectIdentifier table = 10; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return derivedCase_ == 10; } /** *
       * list all files for a table
       * 
* * .cz.proto.ObjectIdentifier table = 10; * @return The table. */ @java.lang.Override public cz.proto.ObjectIdentifier getTable() { if (tableBuilder_ == null) { if (derivedCase_ == 10) { return (cz.proto.ObjectIdentifier) derived_; } return cz.proto.ObjectIdentifier.getDefaultInstance(); } else { if (derivedCase_ == 10) { return tableBuilder_.getMessage(); } return cz.proto.ObjectIdentifier.getDefaultInstance(); } } /** *
       * list all files for a table
       * 
* * .cz.proto.ObjectIdentifier table = 10; */ public Builder setTable(cz.proto.ObjectIdentifier value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { tableBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** *
       * list all files for a table
       * 
* * .cz.proto.ObjectIdentifier table = 10; */ public Builder setTable( cz.proto.ObjectIdentifier.Builder builderForValue) { if (tableBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { tableBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 10; return this; } /** *
       * list all files for a table
       * 
* * .cz.proto.ObjectIdentifier table = 10; */ public Builder mergeTable(cz.proto.ObjectIdentifier value) { if (tableBuilder_ == null) { if (derivedCase_ == 10 && derived_ != cz.proto.ObjectIdentifier.getDefaultInstance()) { derived_ = cz.proto.ObjectIdentifier.newBuilder((cz.proto.ObjectIdentifier) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 10) { tableBuilder_.mergeFrom(value); } tableBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** *
       * list all files for a table
       * 
* * .cz.proto.ObjectIdentifier table = 10; */ public Builder clearTable() { if (tableBuilder_ == null) { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; } tableBuilder_.clear(); } return this; } /** *
       * list all files for a table
       * 
* * .cz.proto.ObjectIdentifier table = 10; */ public cz.proto.ObjectIdentifier.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** *
       * list all files for a table
       * 
* * .cz.proto.ObjectIdentifier table = 10; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getTableOrBuilder() { if ((derivedCase_ == 10) && (tableBuilder_ != null)) { return tableBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 10) { return (cz.proto.ObjectIdentifier) derived_; } return cz.proto.ObjectIdentifier.getDefaultInstance(); } } /** *
       * list all files for a table
       * 
* * .cz.proto.ObjectIdentifier table = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { if (!(derivedCase_ == 10)) { derived_ = cz.proto.ObjectIdentifier.getDefaultInstance(); } tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( (cz.proto.ObjectIdentifier) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 10; onChanged();; return tableBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.TablePartitions, cz.proto.access.Ddl.TablePartitions.Builder, cz.proto.access.Ddl.TablePartitionsOrBuilder> tablePartitionsBuilder_; /** * .cz.proto.access.TablePartitions table_partitions = 11; * @return Whether the tablePartitions field is set. */ @java.lang.Override public boolean hasTablePartitions() { return derivedCase_ == 11; } /** * .cz.proto.access.TablePartitions table_partitions = 11; * @return The tablePartitions. */ @java.lang.Override public cz.proto.access.Ddl.TablePartitions getTablePartitions() { if (tablePartitionsBuilder_ == null) { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.TablePartitions) derived_; } return cz.proto.access.Ddl.TablePartitions.getDefaultInstance(); } else { if (derivedCase_ == 11) { return tablePartitionsBuilder_.getMessage(); } return cz.proto.access.Ddl.TablePartitions.getDefaultInstance(); } } /** * .cz.proto.access.TablePartitions table_partitions = 11; */ public Builder setTablePartitions(cz.proto.access.Ddl.TablePartitions value) { if (tablePartitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { tablePartitionsBuilder_.setMessage(value); } derivedCase_ = 11; return this; } /** * .cz.proto.access.TablePartitions table_partitions = 11; */ public Builder setTablePartitions( cz.proto.access.Ddl.TablePartitions.Builder builderForValue) { if (tablePartitionsBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { tablePartitionsBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 11; return this; } /** * .cz.proto.access.TablePartitions table_partitions = 11; */ public Builder mergeTablePartitions(cz.proto.access.Ddl.TablePartitions value) { if (tablePartitionsBuilder_ == null) { if (derivedCase_ == 11 && derived_ != cz.proto.access.Ddl.TablePartitions.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.TablePartitions.newBuilder((cz.proto.access.Ddl.TablePartitions) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 11) { tablePartitionsBuilder_.mergeFrom(value); } tablePartitionsBuilder_.setMessage(value); } derivedCase_ = 11; return this; } /** * .cz.proto.access.TablePartitions table_partitions = 11; */ public Builder clearTablePartitions() { if (tablePartitionsBuilder_ == null) { if (derivedCase_ == 11) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 11) { derivedCase_ = 0; derived_ = null; } tablePartitionsBuilder_.clear(); } return this; } /** * .cz.proto.access.TablePartitions table_partitions = 11; */ public cz.proto.access.Ddl.TablePartitions.Builder getTablePartitionsBuilder() { return getTablePartitionsFieldBuilder().getBuilder(); } /** * .cz.proto.access.TablePartitions table_partitions = 11; */ @java.lang.Override public cz.proto.access.Ddl.TablePartitionsOrBuilder getTablePartitionsOrBuilder() { if ((derivedCase_ == 11) && (tablePartitionsBuilder_ != null)) { return tablePartitionsBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.TablePartitions) derived_; } return cz.proto.access.Ddl.TablePartitions.getDefaultInstance(); } } /** * .cz.proto.access.TablePartitions table_partitions = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.TablePartitions, cz.proto.access.Ddl.TablePartitions.Builder, cz.proto.access.Ddl.TablePartitionsOrBuilder> getTablePartitionsFieldBuilder() { if (tablePartitionsBuilder_ == null) { if (!(derivedCase_ == 11)) { derived_ = cz.proto.access.Ddl.TablePartitions.getDefaultInstance(); } tablePartitionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.TablePartitions, cz.proto.access.Ddl.TablePartitions.Builder, cz.proto.access.Ddl.TablePartitionsOrBuilder>( (cz.proto.access.Ddl.TablePartitions) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 11; onChanged();; return tablePartitionsBuilder_; } @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:cz.proto.access.ShowFile) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowFile) private static final cz.proto.access.Ddl.ShowFile DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowFile(); } public static cz.proto.access.Ddl.ShowFile getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowFile parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowFile(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 cz.proto.access.Ddl.ShowFile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowStorageLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowStorageLocation) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ boolean hasWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ cz.proto.ObjectIdentifier getWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder(); } /** * Protobuf type {@code cz.proto.access.ShowStorageLocation} */ public static final class ShowStorageLocation extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowStorageLocation) ShowStorageLocationOrBuilder { private static final long serialVersionUID = 0L; // Use ShowStorageLocation.newBuilder() to construct. private ShowStorageLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowStorageLocation() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowStorageLocation(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowStorageLocation( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (workspaceId_ != null) { subBuilder = workspaceId_.toBuilder(); } workspaceId_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(workspaceId_); workspaceId_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowStorageLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowStorageLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowStorageLocation.class, cz.proto.access.Ddl.ShowStorageLocation.Builder.class); } public static final int WORKSPACE_ID_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier workspaceId_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ @java.lang.Override public boolean hasWorkspaceId() { return workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ @java.lang.Override public cz.proto.ObjectIdentifier getWorkspaceId() { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { return getWorkspaceId(); } 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 (workspaceId_ != null) { output.writeMessage(1, getWorkspaceId()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workspaceId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getWorkspaceId()); } 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 cz.proto.access.Ddl.ShowStorageLocation)) { return super.equals(obj); } cz.proto.access.Ddl.ShowStorageLocation other = (cz.proto.access.Ddl.ShowStorageLocation) obj; if (hasWorkspaceId() != other.hasWorkspaceId()) return false; if (hasWorkspaceId()) { if (!getWorkspaceId() .equals(other.getWorkspaceId())) 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 (hasWorkspaceId()) { hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + getWorkspaceId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowStorageLocation parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowStorageLocation parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowStorageLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowStorageLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowStorageLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowStorageLocation parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowStorageLocation parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowStorageLocation 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 cz.proto.access.Ddl.ShowStorageLocation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowStorageLocation 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 cz.proto.access.Ddl.ShowStorageLocation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowStorageLocation 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(cz.proto.access.Ddl.ShowStorageLocation 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 cz.proto.access.ShowStorageLocation} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowStorageLocation) cz.proto.access.Ddl.ShowStorageLocationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowStorageLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowStorageLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowStorageLocation.class, cz.proto.access.Ddl.ShowStorageLocation.Builder.class); } // Construct using cz.proto.access.Ddl.ShowStorageLocation.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 (workspaceIdBuilder_ == null) { workspaceId_ = null; } else { workspaceId_ = null; workspaceIdBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowStorageLocation_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowStorageLocation getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowStorageLocation.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowStorageLocation build() { cz.proto.access.Ddl.ShowStorageLocation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowStorageLocation buildPartial() { cz.proto.access.Ddl.ShowStorageLocation result = new cz.proto.access.Ddl.ShowStorageLocation(this); if (workspaceIdBuilder_ == null) { result.workspaceId_ = workspaceId_; } else { result.workspaceId_ = workspaceIdBuilder_.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 cz.proto.access.Ddl.ShowStorageLocation) { return mergeFrom((cz.proto.access.Ddl.ShowStorageLocation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowStorageLocation other) { if (other == cz.proto.access.Ddl.ShowStorageLocation.getDefaultInstance()) return this; if (other.hasWorkspaceId()) { mergeWorkspaceId(other.getWorkspaceId()); } 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 { cz.proto.access.Ddl.ShowStorageLocation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowStorageLocation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier workspaceId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> workspaceIdBuilder_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ public boolean hasWorkspaceId() { return workspaceIdBuilder_ != null || workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ public cz.proto.ObjectIdentifier getWorkspaceId() { if (workspaceIdBuilder_ == null) { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } else { return workspaceIdBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } workspaceId_ = value; onChanged(); } else { workspaceIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId( cz.proto.ObjectIdentifier.Builder builderForValue) { if (workspaceIdBuilder_ == null) { workspaceId_ = builderForValue.build(); onChanged(); } else { workspaceIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder mergeWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (workspaceId_ != null) { workspaceId_ = cz.proto.ObjectIdentifier.newBuilder(workspaceId_).mergeFrom(value).buildPartial(); } else { workspaceId_ = value; } onChanged(); } else { workspaceIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder clearWorkspaceId() { if (workspaceIdBuilder_ == null) { workspaceId_ = null; onChanged(); } else { workspaceId_ = null; workspaceIdBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifier.Builder getWorkspaceIdBuilder() { onChanged(); return getWorkspaceIdFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { if (workspaceIdBuilder_ != null) { return workspaceIdBuilder_.getMessageOrBuilder(); } else { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getWorkspaceIdFieldBuilder() { if (workspaceIdBuilder_ == null) { workspaceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getWorkspaceId(), getParentForChildren(), isClean()); workspaceId_ = null; } return workspaceIdBuilder_; } @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:cz.proto.access.ShowStorageLocation) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowStorageLocation) private static final cz.proto.access.Ddl.ShowStorageLocation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowStorageLocation(); } public static cz.proto.access.Ddl.ShowStorageLocation getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowStorageLocation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowStorageLocation(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 cz.proto.access.Ddl.ShowStorageLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowVolumeOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowVolume) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return Whether the schemaId field is set. */ boolean hasSchemaId(); /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return The schemaId. */ cz.proto.ObjectIdentifier getSchemaId(); /** * .cz.proto.ObjectIdentifier schema_id = 1; */ cz.proto.ObjectIdentifierOrBuilder getSchemaIdOrBuilder(); } /** * Protobuf type {@code cz.proto.access.ShowVolume} */ public static final class ShowVolume extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowVolume) ShowVolumeOrBuilder { private static final long serialVersionUID = 0L; // Use ShowVolume.newBuilder() to construct. private ShowVolume(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowVolume() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowVolume(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowVolume( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (schemaId_ != null) { subBuilder = schemaId_.toBuilder(); } schemaId_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(schemaId_); schemaId_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVolume_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVolume_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowVolume.class, cz.proto.access.Ddl.ShowVolume.Builder.class); } public static final int SCHEMA_ID_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier schemaId_; /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return Whether the schemaId field is set. */ @java.lang.Override public boolean hasSchemaId() { return schemaId_ != null; } /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return The schemaId. */ @java.lang.Override public cz.proto.ObjectIdentifier getSchemaId() { return schemaId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : schemaId_; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getSchemaIdOrBuilder() { return getSchemaId(); } 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 (schemaId_ != null) { output.writeMessage(1, getSchemaId()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (schemaId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getSchemaId()); } 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 cz.proto.access.Ddl.ShowVolume)) { return super.equals(obj); } cz.proto.access.Ddl.ShowVolume other = (cz.proto.access.Ddl.ShowVolume) obj; if (hasSchemaId() != other.hasSchemaId()) return false; if (hasSchemaId()) { if (!getSchemaId() .equals(other.getSchemaId())) 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 (hasSchemaId()) { hash = (37 * hash) + SCHEMA_ID_FIELD_NUMBER; hash = (53 * hash) + getSchemaId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowVolume parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowVolume parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowVolume parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowVolume parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowVolume parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowVolume parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowVolume parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowVolume 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 cz.proto.access.Ddl.ShowVolume parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowVolume 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 cz.proto.access.Ddl.ShowVolume parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowVolume 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(cz.proto.access.Ddl.ShowVolume 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 cz.proto.access.ShowVolume} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowVolume) cz.proto.access.Ddl.ShowVolumeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVolume_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVolume_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowVolume.class, cz.proto.access.Ddl.ShowVolume.Builder.class); } // Construct using cz.proto.access.Ddl.ShowVolume.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 (schemaIdBuilder_ == null) { schemaId_ = null; } else { schemaId_ = null; schemaIdBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowVolume_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowVolume getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowVolume.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowVolume build() { cz.proto.access.Ddl.ShowVolume result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowVolume buildPartial() { cz.proto.access.Ddl.ShowVolume result = new cz.proto.access.Ddl.ShowVolume(this); if (schemaIdBuilder_ == null) { result.schemaId_ = schemaId_; } else { result.schemaId_ = schemaIdBuilder_.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 cz.proto.access.Ddl.ShowVolume) { return mergeFrom((cz.proto.access.Ddl.ShowVolume)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowVolume other) { if (other == cz.proto.access.Ddl.ShowVolume.getDefaultInstance()) return this; if (other.hasSchemaId()) { mergeSchemaId(other.getSchemaId()); } 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 { cz.proto.access.Ddl.ShowVolume parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowVolume) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier schemaId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> schemaIdBuilder_; /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return Whether the schemaId field is set. */ public boolean hasSchemaId() { return schemaIdBuilder_ != null || schemaId_ != null; } /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return The schemaId. */ public cz.proto.ObjectIdentifier getSchemaId() { if (schemaIdBuilder_ == null) { return schemaId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : schemaId_; } else { return schemaIdBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public Builder setSchemaId(cz.proto.ObjectIdentifier value) { if (schemaIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } schemaId_ = value; onChanged(); } else { schemaIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public Builder setSchemaId( cz.proto.ObjectIdentifier.Builder builderForValue) { if (schemaIdBuilder_ == null) { schemaId_ = builderForValue.build(); onChanged(); } else { schemaIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public Builder mergeSchemaId(cz.proto.ObjectIdentifier value) { if (schemaIdBuilder_ == null) { if (schemaId_ != null) { schemaId_ = cz.proto.ObjectIdentifier.newBuilder(schemaId_).mergeFrom(value).buildPartial(); } else { schemaId_ = value; } onChanged(); } else { schemaIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public Builder clearSchemaId() { if (schemaIdBuilder_ == null) { schemaId_ = null; onChanged(); } else { schemaId_ = null; schemaIdBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public cz.proto.ObjectIdentifier.Builder getSchemaIdBuilder() { onChanged(); return getSchemaIdFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public cz.proto.ObjectIdentifierOrBuilder getSchemaIdOrBuilder() { if (schemaIdBuilder_ != null) { return schemaIdBuilder_.getMessageOrBuilder(); } else { return schemaId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : schemaId_; } } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getSchemaIdFieldBuilder() { if (schemaIdBuilder_ == null) { schemaIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getSchemaId(), getParentForChildren(), isClean()); schemaId_ = null; } return schemaIdBuilder_; } @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:cz.proto.access.ShowVolume) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowVolume) private static final cz.proto.access.Ddl.ShowVolume DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowVolume(); } public static cz.proto.access.Ddl.ShowVolume getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowVolume parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowVolume(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 cz.proto.access.Ddl.ShowVolume getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TablePartitionsOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.TablePartitions) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier table = 1; * @return Whether the table field is set. */ boolean hasTable(); /** * .cz.proto.ObjectIdentifier table = 1; * @return The table. */ cz.proto.ObjectIdentifier getTable(); /** * .cz.proto.ObjectIdentifier table = 1; */ cz.proto.ObjectIdentifierOrBuilder getTableOrBuilder(); /** *
     * multiple partitions in a single table
     * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ java.util.List getPartitionsList(); /** *
     * multiple partitions in a single table
     * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ cz.proto.access.Ddl.PartitionConstant getPartitions(int index); /** *
     * multiple partitions in a single table
     * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ int getPartitionsCount(); /** *
     * multiple partitions in a single table
     * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ java.util.List getPartitionsOrBuilderList(); /** *
     * multiple partitions in a single table
     * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ cz.proto.access.Ddl.PartitionConstantOrBuilder getPartitionsOrBuilder( int index); } /** * Protobuf type {@code cz.proto.access.TablePartitions} */ public static final class TablePartitions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.TablePartitions) TablePartitionsOrBuilder { private static final long serialVersionUID = 0L; // Use TablePartitions.newBuilder() to construct. private TablePartitions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TablePartitions() { partitions_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TablePartitions(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TablePartitions( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (table_ != null) { subBuilder = table_.toBuilder(); } table_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(table_); table_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { partitions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } partitions_.add( input.readMessage(cz.proto.access.Ddl.PartitionConstant.parser(), extensionRegistry)); 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)) { partitions_ = java.util.Collections.unmodifiableList(partitions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TablePartitions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TablePartitions_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.TablePartitions.class, cz.proto.access.Ddl.TablePartitions.Builder.class); } public static final int TABLE_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier table_; /** * .cz.proto.ObjectIdentifier table = 1; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return table_ != null; } /** * .cz.proto.ObjectIdentifier table = 1; * @return The table. */ @java.lang.Override public cz.proto.ObjectIdentifier getTable() { return table_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : table_; } /** * .cz.proto.ObjectIdentifier table = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getTableOrBuilder() { return getTable(); } public static final int PARTITIONS_FIELD_NUMBER = 2; private java.util.List partitions_; /** *
     * multiple partitions in a single table
     * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ @java.lang.Override public java.util.List getPartitionsList() { return partitions_; } /** *
     * multiple partitions in a single table
     * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ @java.lang.Override public java.util.List getPartitionsOrBuilderList() { return partitions_; } /** *
     * multiple partitions in a single table
     * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ @java.lang.Override public int getPartitionsCount() { return partitions_.size(); } /** *
     * multiple partitions in a single table
     * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ @java.lang.Override public cz.proto.access.Ddl.PartitionConstant getPartitions(int index) { return partitions_.get(index); } /** *
     * multiple partitions in a single table
     * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ @java.lang.Override public cz.proto.access.Ddl.PartitionConstantOrBuilder getPartitionsOrBuilder( int index) { return partitions_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (table_ != null) { output.writeMessage(1, getTable()); } for (int i = 0; i < partitions_.size(); i++) { output.writeMessage(2, partitions_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (table_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTable()); } for (int i = 0; i < partitions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, partitions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cz.proto.access.Ddl.TablePartitions)) { return super.equals(obj); } cz.proto.access.Ddl.TablePartitions other = (cz.proto.access.Ddl.TablePartitions) obj; if (hasTable() != other.hasTable()) return false; if (hasTable()) { if (!getTable() .equals(other.getTable())) return false; } if (!getPartitionsList() .equals(other.getPartitionsList())) 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 (hasTable()) { hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); } if (getPartitionsCount() > 0) { hash = (37 * hash) + PARTITIONS_FIELD_NUMBER; hash = (53 * hash) + getPartitionsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.TablePartitions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.TablePartitions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.TablePartitions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.TablePartitions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.TablePartitions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.TablePartitions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.TablePartitions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.TablePartitions 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 cz.proto.access.Ddl.TablePartitions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.TablePartitions 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 cz.proto.access.Ddl.TablePartitions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.TablePartitions 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(cz.proto.access.Ddl.TablePartitions 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 cz.proto.access.TablePartitions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.TablePartitions) cz.proto.access.Ddl.TablePartitionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TablePartitions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TablePartitions_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.TablePartitions.class, cz.proto.access.Ddl.TablePartitions.Builder.class); } // Construct using cz.proto.access.Ddl.TablePartitions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPartitionsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (tableBuilder_ == null) { table_ = null; } else { table_ = null; tableBuilder_ = null; } if (partitionsBuilder_ == null) { partitions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { partitionsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_TablePartitions_descriptor; } @java.lang.Override public cz.proto.access.Ddl.TablePartitions getDefaultInstanceForType() { return cz.proto.access.Ddl.TablePartitions.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.TablePartitions build() { cz.proto.access.Ddl.TablePartitions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.TablePartitions buildPartial() { cz.proto.access.Ddl.TablePartitions result = new cz.proto.access.Ddl.TablePartitions(this); int from_bitField0_ = bitField0_; if (tableBuilder_ == null) { result.table_ = table_; } else { result.table_ = tableBuilder_.build(); } if (partitionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { partitions_ = java.util.Collections.unmodifiableList(partitions_); bitField0_ = (bitField0_ & ~0x00000001); } result.partitions_ = partitions_; } else { result.partitions_ = partitionsBuilder_.build(); } 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 cz.proto.access.Ddl.TablePartitions) { return mergeFrom((cz.proto.access.Ddl.TablePartitions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.TablePartitions other) { if (other == cz.proto.access.Ddl.TablePartitions.getDefaultInstance()) return this; if (other.hasTable()) { mergeTable(other.getTable()); } if (partitionsBuilder_ == null) { if (!other.partitions_.isEmpty()) { if (partitions_.isEmpty()) { partitions_ = other.partitions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePartitionsIsMutable(); partitions_.addAll(other.partitions_); } onChanged(); } } else { if (!other.partitions_.isEmpty()) { if (partitionsBuilder_.isEmpty()) { partitionsBuilder_.dispose(); partitionsBuilder_ = null; partitions_ = other.partitions_; bitField0_ = (bitField0_ & ~0x00000001); partitionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPartitionsFieldBuilder() : null; } else { partitionsBuilder_.addAllMessages(other.partitions_); } } } 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 { cz.proto.access.Ddl.TablePartitions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.TablePartitions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ObjectIdentifier table_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> tableBuilder_; /** * .cz.proto.ObjectIdentifier table = 1; * @return Whether the table field is set. */ public boolean hasTable() { return tableBuilder_ != null || table_ != null; } /** * .cz.proto.ObjectIdentifier table = 1; * @return The table. */ public cz.proto.ObjectIdentifier getTable() { if (tableBuilder_ == null) { return table_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : table_; } else { return tableBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier table = 1; */ public Builder setTable(cz.proto.ObjectIdentifier value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } table_ = value; onChanged(); } else { tableBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier table = 1; */ public Builder setTable( cz.proto.ObjectIdentifier.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); onChanged(); } else { tableBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier table = 1; */ public Builder mergeTable(cz.proto.ObjectIdentifier value) { if (tableBuilder_ == null) { if (table_ != null) { table_ = cz.proto.ObjectIdentifier.newBuilder(table_).mergeFrom(value).buildPartial(); } else { table_ = value; } onChanged(); } else { tableBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier table = 1; */ public Builder clearTable() { if (tableBuilder_ == null) { table_ = null; onChanged(); } else { table_ = null; tableBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier table = 1; */ public cz.proto.ObjectIdentifier.Builder getTableBuilder() { onChanged(); return getTableFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier table = 1; */ public cz.proto.ObjectIdentifierOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { return table_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : table_; } } /** * .cz.proto.ObjectIdentifier table = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getTable(), getParentForChildren(), isClean()); table_ = null; } return tableBuilder_; } private java.util.List partitions_ = java.util.Collections.emptyList(); private void ensurePartitionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { partitions_ = new java.util.ArrayList(partitions_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.access.Ddl.PartitionConstant, cz.proto.access.Ddl.PartitionConstant.Builder, cz.proto.access.Ddl.PartitionConstantOrBuilder> partitionsBuilder_; /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public java.util.List getPartitionsList() { if (partitionsBuilder_ == null) { return java.util.Collections.unmodifiableList(partitions_); } else { return partitionsBuilder_.getMessageList(); } } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public int getPartitionsCount() { if (partitionsBuilder_ == null) { return partitions_.size(); } else { return partitionsBuilder_.getCount(); } } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public cz.proto.access.Ddl.PartitionConstant getPartitions(int index) { if (partitionsBuilder_ == null) { return partitions_.get(index); } else { return partitionsBuilder_.getMessage(index); } } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public Builder setPartitions( int index, cz.proto.access.Ddl.PartitionConstant value) { if (partitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionsIsMutable(); partitions_.set(index, value); onChanged(); } else { partitionsBuilder_.setMessage(index, value); } return this; } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public Builder setPartitions( int index, cz.proto.access.Ddl.PartitionConstant.Builder builderForValue) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); partitions_.set(index, builderForValue.build()); onChanged(); } else { partitionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public Builder addPartitions(cz.proto.access.Ddl.PartitionConstant value) { if (partitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionsIsMutable(); partitions_.add(value); onChanged(); } else { partitionsBuilder_.addMessage(value); } return this; } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public Builder addPartitions( int index, cz.proto.access.Ddl.PartitionConstant value) { if (partitionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionsIsMutable(); partitions_.add(index, value); onChanged(); } else { partitionsBuilder_.addMessage(index, value); } return this; } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public Builder addPartitions( cz.proto.access.Ddl.PartitionConstant.Builder builderForValue) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); partitions_.add(builderForValue.build()); onChanged(); } else { partitionsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public Builder addPartitions( int index, cz.proto.access.Ddl.PartitionConstant.Builder builderForValue) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); partitions_.add(index, builderForValue.build()); onChanged(); } else { partitionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public Builder addAllPartitions( java.lang.Iterable values) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, partitions_); onChanged(); } else { partitionsBuilder_.addAllMessages(values); } return this; } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public Builder clearPartitions() { if (partitionsBuilder_ == null) { partitions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { partitionsBuilder_.clear(); } return this; } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public Builder removePartitions(int index) { if (partitionsBuilder_ == null) { ensurePartitionsIsMutable(); partitions_.remove(index); onChanged(); } else { partitionsBuilder_.remove(index); } return this; } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public cz.proto.access.Ddl.PartitionConstant.Builder getPartitionsBuilder( int index) { return getPartitionsFieldBuilder().getBuilder(index); } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public cz.proto.access.Ddl.PartitionConstantOrBuilder getPartitionsOrBuilder( int index) { if (partitionsBuilder_ == null) { return partitions_.get(index); } else { return partitionsBuilder_.getMessageOrBuilder(index); } } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public java.util.List getPartitionsOrBuilderList() { if (partitionsBuilder_ != null) { return partitionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(partitions_); } } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public cz.proto.access.Ddl.PartitionConstant.Builder addPartitionsBuilder() { return getPartitionsFieldBuilder().addBuilder( cz.proto.access.Ddl.PartitionConstant.getDefaultInstance()); } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public cz.proto.access.Ddl.PartitionConstant.Builder addPartitionsBuilder( int index) { return getPartitionsFieldBuilder().addBuilder( index, cz.proto.access.Ddl.PartitionConstant.getDefaultInstance()); } /** *
       * multiple partitions in a single table
       * 
* * repeated .cz.proto.access.PartitionConstant partitions = 2; */ public java.util.List getPartitionsBuilderList() { return getPartitionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.access.Ddl.PartitionConstant, cz.proto.access.Ddl.PartitionConstant.Builder, cz.proto.access.Ddl.PartitionConstantOrBuilder> getPartitionsFieldBuilder() { if (partitionsBuilder_ == null) { partitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.access.Ddl.PartitionConstant, cz.proto.access.Ddl.PartitionConstant.Builder, cz.proto.access.Ddl.PartitionConstantOrBuilder>( partitions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); partitions_ = null; } return partitionsBuilder_; } @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:cz.proto.access.TablePartitions) } // @@protoc_insertion_point(class_scope:cz.proto.access.TablePartitions) private static final cz.proto.access.Ddl.TablePartitions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.TablePartitions(); } public static cz.proto.access.Ddl.TablePartitions getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TablePartitions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TablePartitions(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 cz.proto.access.Ddl.TablePartitions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PartitionConstantOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.PartitionConstant) com.google.protobuf.MessageOrBuilder { /** *
     * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
     * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ java.util.List getPartitionFieldsList(); /** *
     * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
     * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ cz.proto.access.Ddl.PartitionFieldConstant getPartitionFields(int index); /** *
     * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
     * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ int getPartitionFieldsCount(); /** *
     * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
     * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ java.util.List getPartitionFieldsOrBuilderList(); /** *
     * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
     * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ cz.proto.access.Ddl.PartitionFieldConstantOrBuilder getPartitionFieldsOrBuilder( int index); } /** * Protobuf type {@code cz.proto.access.PartitionConstant} */ public static final class PartitionConstant extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.PartitionConstant) PartitionConstantOrBuilder { private static final long serialVersionUID = 0L; // Use PartitionConstant.newBuilder() to construct. private PartitionConstant(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PartitionConstant() { partitionFields_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PartitionConstant(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PartitionConstant( 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)) { partitionFields_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } partitionFields_.add( input.readMessage(cz.proto.access.Ddl.PartitionFieldConstant.parser(), extensionRegistry)); 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)) { partitionFields_ = java.util.Collections.unmodifiableList(partitionFields_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_PartitionConstant_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_PartitionConstant_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.PartitionConstant.class, cz.proto.access.Ddl.PartitionConstant.Builder.class); } public static final int PARTITION_FIELDS_FIELD_NUMBER = 1; private java.util.List partitionFields_; /** *
     * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
     * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ @java.lang.Override public java.util.List getPartitionFieldsList() { return partitionFields_; } /** *
     * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
     * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ @java.lang.Override public java.util.List getPartitionFieldsOrBuilderList() { return partitionFields_; } /** *
     * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
     * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ @java.lang.Override public int getPartitionFieldsCount() { return partitionFields_.size(); } /** *
     * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
     * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ @java.lang.Override public cz.proto.access.Ddl.PartitionFieldConstant getPartitionFields(int index) { return partitionFields_.get(index); } /** *
     * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
     * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ @java.lang.Override public cz.proto.access.Ddl.PartitionFieldConstantOrBuilder getPartitionFieldsOrBuilder( int index) { return partitionFields_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < partitionFields_.size(); i++) { output.writeMessage(1, partitionFields_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < partitionFields_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, partitionFields_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cz.proto.access.Ddl.PartitionConstant)) { return super.equals(obj); } cz.proto.access.Ddl.PartitionConstant other = (cz.proto.access.Ddl.PartitionConstant) obj; if (!getPartitionFieldsList() .equals(other.getPartitionFieldsList())) 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 (getPartitionFieldsCount() > 0) { hash = (37 * hash) + PARTITION_FIELDS_FIELD_NUMBER; hash = (53 * hash) + getPartitionFieldsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.PartitionConstant parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.PartitionConstant parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.PartitionConstant parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.PartitionConstant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.PartitionConstant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.PartitionConstant parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.PartitionConstant parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.PartitionConstant 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 cz.proto.access.Ddl.PartitionConstant parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.PartitionConstant 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 cz.proto.access.Ddl.PartitionConstant parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.PartitionConstant 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(cz.proto.access.Ddl.PartitionConstant 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 cz.proto.access.PartitionConstant} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.PartitionConstant) cz.proto.access.Ddl.PartitionConstantOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_PartitionConstant_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_PartitionConstant_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.PartitionConstant.class, cz.proto.access.Ddl.PartitionConstant.Builder.class); } // Construct using cz.proto.access.Ddl.PartitionConstant.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPartitionFieldsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (partitionFieldsBuilder_ == null) { partitionFields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { partitionFieldsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_PartitionConstant_descriptor; } @java.lang.Override public cz.proto.access.Ddl.PartitionConstant getDefaultInstanceForType() { return cz.proto.access.Ddl.PartitionConstant.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.PartitionConstant build() { cz.proto.access.Ddl.PartitionConstant result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.PartitionConstant buildPartial() { cz.proto.access.Ddl.PartitionConstant result = new cz.proto.access.Ddl.PartitionConstant(this); int from_bitField0_ = bitField0_; if (partitionFieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { partitionFields_ = java.util.Collections.unmodifiableList(partitionFields_); bitField0_ = (bitField0_ & ~0x00000001); } result.partitionFields_ = partitionFields_; } else { result.partitionFields_ = partitionFieldsBuilder_.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 cz.proto.access.Ddl.PartitionConstant) { return mergeFrom((cz.proto.access.Ddl.PartitionConstant)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.PartitionConstant other) { if (other == cz.proto.access.Ddl.PartitionConstant.getDefaultInstance()) return this; if (partitionFieldsBuilder_ == null) { if (!other.partitionFields_.isEmpty()) { if (partitionFields_.isEmpty()) { partitionFields_ = other.partitionFields_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePartitionFieldsIsMutable(); partitionFields_.addAll(other.partitionFields_); } onChanged(); } } else { if (!other.partitionFields_.isEmpty()) { if (partitionFieldsBuilder_.isEmpty()) { partitionFieldsBuilder_.dispose(); partitionFieldsBuilder_ = null; partitionFields_ = other.partitionFields_; bitField0_ = (bitField0_ & ~0x00000001); partitionFieldsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPartitionFieldsFieldBuilder() : null; } else { partitionFieldsBuilder_.addAllMessages(other.partitionFields_); } } } 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 { cz.proto.access.Ddl.PartitionConstant parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.PartitionConstant) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List partitionFields_ = java.util.Collections.emptyList(); private void ensurePartitionFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { partitionFields_ = new java.util.ArrayList(partitionFields_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.access.Ddl.PartitionFieldConstant, cz.proto.access.Ddl.PartitionFieldConstant.Builder, cz.proto.access.Ddl.PartitionFieldConstantOrBuilder> partitionFieldsBuilder_; /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public java.util.List getPartitionFieldsList() { if (partitionFieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(partitionFields_); } else { return partitionFieldsBuilder_.getMessageList(); } } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public int getPartitionFieldsCount() { if (partitionFieldsBuilder_ == null) { return partitionFields_.size(); } else { return partitionFieldsBuilder_.getCount(); } } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public cz.proto.access.Ddl.PartitionFieldConstant getPartitionFields(int index) { if (partitionFieldsBuilder_ == null) { return partitionFields_.get(index); } else { return partitionFieldsBuilder_.getMessage(index); } } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public Builder setPartitionFields( int index, cz.proto.access.Ddl.PartitionFieldConstant value) { if (partitionFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionFieldsIsMutable(); partitionFields_.set(index, value); onChanged(); } else { partitionFieldsBuilder_.setMessage(index, value); } return this; } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public Builder setPartitionFields( int index, cz.proto.access.Ddl.PartitionFieldConstant.Builder builderForValue) { if (partitionFieldsBuilder_ == null) { ensurePartitionFieldsIsMutable(); partitionFields_.set(index, builderForValue.build()); onChanged(); } else { partitionFieldsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public Builder addPartitionFields(cz.proto.access.Ddl.PartitionFieldConstant value) { if (partitionFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionFieldsIsMutable(); partitionFields_.add(value); onChanged(); } else { partitionFieldsBuilder_.addMessage(value); } return this; } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public Builder addPartitionFields( int index, cz.proto.access.Ddl.PartitionFieldConstant value) { if (partitionFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionFieldsIsMutable(); partitionFields_.add(index, value); onChanged(); } else { partitionFieldsBuilder_.addMessage(index, value); } return this; } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public Builder addPartitionFields( cz.proto.access.Ddl.PartitionFieldConstant.Builder builderForValue) { if (partitionFieldsBuilder_ == null) { ensurePartitionFieldsIsMutable(); partitionFields_.add(builderForValue.build()); onChanged(); } else { partitionFieldsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public Builder addPartitionFields( int index, cz.proto.access.Ddl.PartitionFieldConstant.Builder builderForValue) { if (partitionFieldsBuilder_ == null) { ensurePartitionFieldsIsMutable(); partitionFields_.add(index, builderForValue.build()); onChanged(); } else { partitionFieldsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public Builder addAllPartitionFields( java.lang.Iterable values) { if (partitionFieldsBuilder_ == null) { ensurePartitionFieldsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, partitionFields_); onChanged(); } else { partitionFieldsBuilder_.addAllMessages(values); } return this; } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public Builder clearPartitionFields() { if (partitionFieldsBuilder_ == null) { partitionFields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { partitionFieldsBuilder_.clear(); } return this; } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public Builder removePartitionFields(int index) { if (partitionFieldsBuilder_ == null) { ensurePartitionFieldsIsMutable(); partitionFields_.remove(index); onChanged(); } else { partitionFieldsBuilder_.remove(index); } return this; } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public cz.proto.access.Ddl.PartitionFieldConstant.Builder getPartitionFieldsBuilder( int index) { return getPartitionFieldsFieldBuilder().getBuilder(index); } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public cz.proto.access.Ddl.PartitionFieldConstantOrBuilder getPartitionFieldsOrBuilder( int index) { if (partitionFieldsBuilder_ == null) { return partitionFields_.get(index); } else { return partitionFieldsBuilder_.getMessageOrBuilder(index); } } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public java.util.List getPartitionFieldsOrBuilderList() { if (partitionFieldsBuilder_ != null) { return partitionFieldsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(partitionFields_); } } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public cz.proto.access.Ddl.PartitionFieldConstant.Builder addPartitionFieldsBuilder() { return getPartitionFieldsFieldBuilder().addBuilder( cz.proto.access.Ddl.PartitionFieldConstant.getDefaultInstance()); } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public cz.proto.access.Ddl.PartitionFieldConstant.Builder addPartitionFieldsBuilder( int index) { return getPartitionFieldsFieldBuilder().addBuilder( index, cz.proto.access.Ddl.PartitionFieldConstant.getDefaultInstance()); } /** *
       * multiple partition dimensions for a single partition (like 'ds' & 'hh' are two dimensions in one table partition)
       * 
* * repeated .cz.proto.access.PartitionFieldConstant partition_fields = 1; */ public java.util.List getPartitionFieldsBuilderList() { return getPartitionFieldsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.access.Ddl.PartitionFieldConstant, cz.proto.access.Ddl.PartitionFieldConstant.Builder, cz.proto.access.Ddl.PartitionFieldConstantOrBuilder> getPartitionFieldsFieldBuilder() { if (partitionFieldsBuilder_ == null) { partitionFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.access.Ddl.PartitionFieldConstant, cz.proto.access.Ddl.PartitionFieldConstant.Builder, cz.proto.access.Ddl.PartitionFieldConstantOrBuilder>( partitionFields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); partitionFields_ = null; } return partitionFieldsBuilder_; } @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:cz.proto.access.PartitionConstant) } // @@protoc_insertion_point(class_scope:cz.proto.access.PartitionConstant) private static final cz.proto.access.Ddl.PartitionConstant DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.PartitionConstant(); } public static cz.proto.access.Ddl.PartitionConstant getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PartitionConstant parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PartitionConstant(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 cz.proto.access.Ddl.PartitionConstant getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PartitionFieldConstantOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.PartitionFieldConstant) com.google.protobuf.MessageOrBuilder { /** * string field_name = 1; * @return The fieldName. */ java.lang.String getFieldName(); /** * string field_name = 1; * @return The bytes for fieldName. */ com.google.protobuf.ByteString getFieldNameBytes(); /** * .cz.proto.ScalarExpression value = 2; * @return Whether the value field is set. */ boolean hasValue(); /** * .cz.proto.ScalarExpression value = 2; * @return The value. */ cz.proto.Expression.ScalarExpression getValue(); /** * .cz.proto.ScalarExpression value = 2; */ cz.proto.Expression.ScalarExpressionOrBuilder getValueOrBuilder(); } /** * Protobuf type {@code cz.proto.access.PartitionFieldConstant} */ public static final class PartitionFieldConstant extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.PartitionFieldConstant) PartitionFieldConstantOrBuilder { private static final long serialVersionUID = 0L; // Use PartitionFieldConstant.newBuilder() to construct. private PartitionFieldConstant(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PartitionFieldConstant() { fieldName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PartitionFieldConstant(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PartitionFieldConstant( 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: { java.lang.String s = input.readStringRequireUtf8(); fieldName_ = s; break; } case 18: { cz.proto.Expression.ScalarExpression.Builder subBuilder = null; if (value_ != null) { subBuilder = value_.toBuilder(); } value_ = input.readMessage(cz.proto.Expression.ScalarExpression.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(value_); value_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_PartitionFieldConstant_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_PartitionFieldConstant_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.PartitionFieldConstant.class, cz.proto.access.Ddl.PartitionFieldConstant.Builder.class); } public static final int FIELD_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object fieldName_; /** * string field_name = 1; * @return The fieldName. */ @java.lang.Override public java.lang.String getFieldName() { java.lang.Object ref = fieldName_; 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(); fieldName_ = s; return s; } } /** * string field_name = 1; * @return The bytes for fieldName. */ @java.lang.Override public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fieldName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 2; private cz.proto.Expression.ScalarExpression value_; /** * .cz.proto.ScalarExpression value = 2; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return value_ != null; } /** * .cz.proto.ScalarExpression value = 2; * @return The value. */ @java.lang.Override public cz.proto.Expression.ScalarExpression getValue() { return value_ == null ? cz.proto.Expression.ScalarExpression.getDefaultInstance() : value_; } /** * .cz.proto.ScalarExpression value = 2; */ @java.lang.Override public cz.proto.Expression.ScalarExpressionOrBuilder getValueOrBuilder() { return getValue(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldName_); } if (value_ != null) { output.writeMessage(2, getValue()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldName_); } if (value_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getValue()); } 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 cz.proto.access.Ddl.PartitionFieldConstant)) { return super.equals(obj); } cz.proto.access.Ddl.PartitionFieldConstant other = (cz.proto.access.Ddl.PartitionFieldConstant) obj; if (!getFieldName() .equals(other.getFieldName())) return false; if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (!getValue() .equals(other.getValue())) 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) + FIELD_NAME_FIELD_NUMBER; hash = (53 * hash) + getFieldName().hashCode(); if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.PartitionFieldConstant parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.PartitionFieldConstant parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.PartitionFieldConstant parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.PartitionFieldConstant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.PartitionFieldConstant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.PartitionFieldConstant parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.PartitionFieldConstant parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.PartitionFieldConstant 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 cz.proto.access.Ddl.PartitionFieldConstant parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.PartitionFieldConstant 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 cz.proto.access.Ddl.PartitionFieldConstant parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.PartitionFieldConstant 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(cz.proto.access.Ddl.PartitionFieldConstant 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 cz.proto.access.PartitionFieldConstant} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.PartitionFieldConstant) cz.proto.access.Ddl.PartitionFieldConstantOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_PartitionFieldConstant_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_PartitionFieldConstant_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.PartitionFieldConstant.class, cz.proto.access.Ddl.PartitionFieldConstant.Builder.class); } // Construct using cz.proto.access.Ddl.PartitionFieldConstant.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(); fieldName_ = ""; if (valueBuilder_ == null) { value_ = null; } else { value_ = null; valueBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_PartitionFieldConstant_descriptor; } @java.lang.Override public cz.proto.access.Ddl.PartitionFieldConstant getDefaultInstanceForType() { return cz.proto.access.Ddl.PartitionFieldConstant.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.PartitionFieldConstant build() { cz.proto.access.Ddl.PartitionFieldConstant result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.PartitionFieldConstant buildPartial() { cz.proto.access.Ddl.PartitionFieldConstant result = new cz.proto.access.Ddl.PartitionFieldConstant(this); result.fieldName_ = fieldName_; if (valueBuilder_ == null) { result.value_ = value_; } else { result.value_ = valueBuilder_.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 cz.proto.access.Ddl.PartitionFieldConstant) { return mergeFrom((cz.proto.access.Ddl.PartitionFieldConstant)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.PartitionFieldConstant other) { if (other == cz.proto.access.Ddl.PartitionFieldConstant.getDefaultInstance()) return this; if (!other.getFieldName().isEmpty()) { fieldName_ = other.fieldName_; onChanged(); } if (other.hasValue()) { mergeValue(other.getValue()); } 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 { cz.proto.access.Ddl.PartitionFieldConstant parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.PartitionFieldConstant) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object fieldName_ = ""; /** * string field_name = 1; * @return The fieldName. */ public java.lang.String getFieldName() { java.lang.Object ref = fieldName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string field_name = 1; * @return The bytes for fieldName. */ public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = fieldName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fieldName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string field_name = 1; * @param value The fieldName to set. * @return This builder for chaining. */ public Builder setFieldName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fieldName_ = value; onChanged(); return this; } /** * string field_name = 1; * @return This builder for chaining. */ public Builder clearFieldName() { fieldName_ = getDefaultInstance().getFieldName(); onChanged(); return this; } /** * string field_name = 1; * @param value The bytes for fieldName to set. * @return This builder for chaining. */ public Builder setFieldNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fieldName_ = value; onChanged(); return this; } private cz.proto.Expression.ScalarExpression value_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder> valueBuilder_; /** * .cz.proto.ScalarExpression value = 2; * @return Whether the value field is set. */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** * .cz.proto.ScalarExpression value = 2; * @return The value. */ public cz.proto.Expression.ScalarExpression getValue() { if (valueBuilder_ == null) { return value_ == null ? cz.proto.Expression.ScalarExpression.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** * .cz.proto.ScalarExpression value = 2; */ public Builder setValue(cz.proto.Expression.ScalarExpression value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { valueBuilder_.setMessage(value); } return this; } /** * .cz.proto.ScalarExpression value = 2; */ public Builder setValue( cz.proto.Expression.ScalarExpression.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { valueBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ScalarExpression value = 2; */ public Builder mergeValue(cz.proto.Expression.ScalarExpression value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = cz.proto.Expression.ScalarExpression.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { valueBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ScalarExpression value = 2; */ public Builder clearValue() { if (valueBuilder_ == null) { value_ = null; onChanged(); } else { value_ = null; valueBuilder_ = null; } return this; } /** * .cz.proto.ScalarExpression value = 2; */ public cz.proto.Expression.ScalarExpression.Builder getValueBuilder() { onChanged(); return getValueFieldBuilder().getBuilder(); } /** * .cz.proto.ScalarExpression value = 2; */ public cz.proto.Expression.ScalarExpressionOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { return value_ == null ? cz.proto.Expression.ScalarExpression.getDefaultInstance() : value_; } } /** * .cz.proto.ScalarExpression value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.Expression.ScalarExpression, cz.proto.Expression.ScalarExpression.Builder, cz.proto.Expression.ScalarExpressionOrBuilder>( getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } @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:cz.proto.access.PartitionFieldConstant) } // @@protoc_insertion_point(class_scope:cz.proto.access.PartitionFieldConstant) private static final cz.proto.access.Ddl.PartitionFieldConstant DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.PartitionFieldConstant(); } public static cz.proto.access.Ddl.PartitionFieldConstant getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PartitionFieldConstant parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PartitionFieldConstant(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 cz.proto.access.Ddl.PartitionFieldConstant getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowShareOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowShare) com.google.protobuf.MessageOrBuilder { /** * int64 instance_id = 1; * @return The instanceId. */ long getInstanceId(); } /** * Protobuf type {@code cz.proto.access.ShowShare} */ public static final class ShowShare extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowShare) ShowShareOrBuilder { private static final long serialVersionUID = 0L; // Use ShowShare.newBuilder() to construct. private ShowShare(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowShare() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowShare(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowShare( 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: { instanceId_ = input.readInt64(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowShare_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowShare_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowShare.class, cz.proto.access.Ddl.ShowShare.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; private long instanceId_; /** * int64 instance_id = 1; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } 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 (instanceId_ != 0L) { output.writeInt64(1, instanceId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, instanceId_); } 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 cz.proto.access.Ddl.ShowShare)) { return super.equals(obj); } cz.proto.access.Ddl.ShowShare other = (cz.proto.access.Ddl.ShowShare) obj; if (getInstanceId() != other.getInstanceId()) 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) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInstanceId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowShare parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowShare parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowShare parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowShare parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowShare parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowShare parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowShare parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowShare 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 cz.proto.access.Ddl.ShowShare parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowShare 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 cz.proto.access.Ddl.ShowShare parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowShare 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(cz.proto.access.Ddl.ShowShare 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 cz.proto.access.ShowShare} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowShare) cz.proto.access.Ddl.ShowShareOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowShare_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowShare_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowShare.class, cz.proto.access.Ddl.ShowShare.Builder.class); } // Construct using cz.proto.access.Ddl.ShowShare.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(); instanceId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowShare_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowShare getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowShare.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowShare build() { cz.proto.access.Ddl.ShowShare result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowShare buildPartial() { cz.proto.access.Ddl.ShowShare result = new cz.proto.access.Ddl.ShowShare(this); result.instanceId_ = instanceId_; 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 cz.proto.access.Ddl.ShowShare) { return mergeFrom((cz.proto.access.Ddl.ShowShare)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowShare other) { if (other == cz.proto.access.Ddl.ShowShare.getDefaultInstance()) return this; if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } 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 { cz.proto.access.Ddl.ShowShare parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowShare) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long instanceId_ ; /** * int64 instance_id = 1; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 1; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 1; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; 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:cz.proto.access.ShowShare) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowShare) private static final cz.proto.access.Ddl.ShowShare DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowShare(); } public static cz.proto.access.Ddl.ShowShare getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowShare parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowShare(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 cz.proto.access.Ddl.ShowShare getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowFunctionOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowFunction) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return Whether the schemaId field is set. */ boolean hasSchemaId(); /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return The schemaId. */ cz.proto.ObjectIdentifier getSchemaId(); /** * .cz.proto.ObjectIdentifier schema_id = 1; */ cz.proto.ObjectIdentifierOrBuilder getSchemaIdOrBuilder(); } /** * Protobuf type {@code cz.proto.access.ShowFunction} */ public static final class ShowFunction extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowFunction) ShowFunctionOrBuilder { private static final long serialVersionUID = 0L; // Use ShowFunction.newBuilder() to construct. private ShowFunction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowFunction() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowFunction(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowFunction( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (schemaId_ != null) { subBuilder = schemaId_.toBuilder(); } schemaId_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(schemaId_); schemaId_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowFunction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowFunction_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowFunction.class, cz.proto.access.Ddl.ShowFunction.Builder.class); } public static final int SCHEMA_ID_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier schemaId_; /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return Whether the schemaId field is set. */ @java.lang.Override public boolean hasSchemaId() { return schemaId_ != null; } /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return The schemaId. */ @java.lang.Override public cz.proto.ObjectIdentifier getSchemaId() { return schemaId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : schemaId_; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getSchemaIdOrBuilder() { return getSchemaId(); } 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 (schemaId_ != null) { output.writeMessage(1, getSchemaId()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (schemaId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getSchemaId()); } 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 cz.proto.access.Ddl.ShowFunction)) { return super.equals(obj); } cz.proto.access.Ddl.ShowFunction other = (cz.proto.access.Ddl.ShowFunction) obj; if (hasSchemaId() != other.hasSchemaId()) return false; if (hasSchemaId()) { if (!getSchemaId() .equals(other.getSchemaId())) 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 (hasSchemaId()) { hash = (37 * hash) + SCHEMA_ID_FIELD_NUMBER; hash = (53 * hash) + getSchemaId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowFunction parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowFunction parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowFunction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowFunction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowFunction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowFunction parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowFunction parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowFunction 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 cz.proto.access.Ddl.ShowFunction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowFunction 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 cz.proto.access.Ddl.ShowFunction parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowFunction 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(cz.proto.access.Ddl.ShowFunction 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 cz.proto.access.ShowFunction} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowFunction) cz.proto.access.Ddl.ShowFunctionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowFunction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowFunction_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowFunction.class, cz.proto.access.Ddl.ShowFunction.Builder.class); } // Construct using cz.proto.access.Ddl.ShowFunction.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 (schemaIdBuilder_ == null) { schemaId_ = null; } else { schemaId_ = null; schemaIdBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowFunction_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowFunction getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowFunction.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowFunction build() { cz.proto.access.Ddl.ShowFunction result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowFunction buildPartial() { cz.proto.access.Ddl.ShowFunction result = new cz.proto.access.Ddl.ShowFunction(this); if (schemaIdBuilder_ == null) { result.schemaId_ = schemaId_; } else { result.schemaId_ = schemaIdBuilder_.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 cz.proto.access.Ddl.ShowFunction) { return mergeFrom((cz.proto.access.Ddl.ShowFunction)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowFunction other) { if (other == cz.proto.access.Ddl.ShowFunction.getDefaultInstance()) return this; if (other.hasSchemaId()) { mergeSchemaId(other.getSchemaId()); } 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 { cz.proto.access.Ddl.ShowFunction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowFunction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier schemaId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> schemaIdBuilder_; /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return Whether the schemaId field is set. */ public boolean hasSchemaId() { return schemaIdBuilder_ != null || schemaId_ != null; } /** * .cz.proto.ObjectIdentifier schema_id = 1; * @return The schemaId. */ public cz.proto.ObjectIdentifier getSchemaId() { if (schemaIdBuilder_ == null) { return schemaId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : schemaId_; } else { return schemaIdBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public Builder setSchemaId(cz.proto.ObjectIdentifier value) { if (schemaIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } schemaId_ = value; onChanged(); } else { schemaIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public Builder setSchemaId( cz.proto.ObjectIdentifier.Builder builderForValue) { if (schemaIdBuilder_ == null) { schemaId_ = builderForValue.build(); onChanged(); } else { schemaIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public Builder mergeSchemaId(cz.proto.ObjectIdentifier value) { if (schemaIdBuilder_ == null) { if (schemaId_ != null) { schemaId_ = cz.proto.ObjectIdentifier.newBuilder(schemaId_).mergeFrom(value).buildPartial(); } else { schemaId_ = value; } onChanged(); } else { schemaIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public Builder clearSchemaId() { if (schemaIdBuilder_ == null) { schemaId_ = null; onChanged(); } else { schemaId_ = null; schemaIdBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public cz.proto.ObjectIdentifier.Builder getSchemaIdBuilder() { onChanged(); return getSchemaIdFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ public cz.proto.ObjectIdentifierOrBuilder getSchemaIdOrBuilder() { if (schemaIdBuilder_ != null) { return schemaIdBuilder_.getMessageOrBuilder(); } else { return schemaId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : schemaId_; } } /** * .cz.proto.ObjectIdentifier schema_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getSchemaIdFieldBuilder() { if (schemaIdBuilder_ == null) { schemaIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getSchemaId(), getParentForChildren(), isClean()); schemaId_ = null; } return schemaIdBuilder_; } @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:cz.proto.access.ShowFunction) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowFunction) private static final cz.proto.access.Ddl.ShowFunction DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowFunction(); } public static cz.proto.access.Ddl.ShowFunction getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowFunction parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowFunction(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 cz.proto.access.Ddl.ShowFunction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowConnectionOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowConnection) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ boolean hasWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ cz.proto.ObjectIdentifier getWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder(); } /** * Protobuf type {@code cz.proto.access.ShowConnection} */ public static final class ShowConnection extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowConnection) ShowConnectionOrBuilder { private static final long serialVersionUID = 0L; // Use ShowConnection.newBuilder() to construct. private ShowConnection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowConnection() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowConnection(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowConnection( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (workspaceId_ != null) { subBuilder = workspaceId_.toBuilder(); } workspaceId_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(workspaceId_); workspaceId_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowConnection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowConnection_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowConnection.class, cz.proto.access.Ddl.ShowConnection.Builder.class); } public static final int WORKSPACE_ID_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier workspaceId_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ @java.lang.Override public boolean hasWorkspaceId() { return workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ @java.lang.Override public cz.proto.ObjectIdentifier getWorkspaceId() { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { return getWorkspaceId(); } 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 (workspaceId_ != null) { output.writeMessage(1, getWorkspaceId()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workspaceId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getWorkspaceId()); } 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 cz.proto.access.Ddl.ShowConnection)) { return super.equals(obj); } cz.proto.access.Ddl.ShowConnection other = (cz.proto.access.Ddl.ShowConnection) obj; if (hasWorkspaceId() != other.hasWorkspaceId()) return false; if (hasWorkspaceId()) { if (!getWorkspaceId() .equals(other.getWorkspaceId())) 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 (hasWorkspaceId()) { hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + getWorkspaceId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowConnection parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowConnection parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowConnection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowConnection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowConnection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowConnection parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowConnection parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowConnection 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 cz.proto.access.Ddl.ShowConnection parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowConnection 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 cz.proto.access.Ddl.ShowConnection parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowConnection 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(cz.proto.access.Ddl.ShowConnection 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 cz.proto.access.ShowConnection} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowConnection) cz.proto.access.Ddl.ShowConnectionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowConnection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowConnection_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowConnection.class, cz.proto.access.Ddl.ShowConnection.Builder.class); } // Construct using cz.proto.access.Ddl.ShowConnection.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 (workspaceIdBuilder_ == null) { workspaceId_ = null; } else { workspaceId_ = null; workspaceIdBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowConnection_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowConnection getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowConnection.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowConnection build() { cz.proto.access.Ddl.ShowConnection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowConnection buildPartial() { cz.proto.access.Ddl.ShowConnection result = new cz.proto.access.Ddl.ShowConnection(this); if (workspaceIdBuilder_ == null) { result.workspaceId_ = workspaceId_; } else { result.workspaceId_ = workspaceIdBuilder_.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 cz.proto.access.Ddl.ShowConnection) { return mergeFrom((cz.proto.access.Ddl.ShowConnection)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowConnection other) { if (other == cz.proto.access.Ddl.ShowConnection.getDefaultInstance()) return this; if (other.hasWorkspaceId()) { mergeWorkspaceId(other.getWorkspaceId()); } 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 { cz.proto.access.Ddl.ShowConnection parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowConnection) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier workspaceId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> workspaceIdBuilder_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ public boolean hasWorkspaceId() { return workspaceIdBuilder_ != null || workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ public cz.proto.ObjectIdentifier getWorkspaceId() { if (workspaceIdBuilder_ == null) { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } else { return workspaceIdBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } workspaceId_ = value; onChanged(); } else { workspaceIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId( cz.proto.ObjectIdentifier.Builder builderForValue) { if (workspaceIdBuilder_ == null) { workspaceId_ = builderForValue.build(); onChanged(); } else { workspaceIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder mergeWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (workspaceId_ != null) { workspaceId_ = cz.proto.ObjectIdentifier.newBuilder(workspaceId_).mergeFrom(value).buildPartial(); } else { workspaceId_ = value; } onChanged(); } else { workspaceIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder clearWorkspaceId() { if (workspaceIdBuilder_ == null) { workspaceId_ = null; onChanged(); } else { workspaceId_ = null; workspaceIdBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifier.Builder getWorkspaceIdBuilder() { onChanged(); return getWorkspaceIdFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { if (workspaceIdBuilder_ != null) { return workspaceIdBuilder_.getMessageOrBuilder(); } else { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getWorkspaceIdFieldBuilder() { if (workspaceIdBuilder_ == null) { workspaceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getWorkspaceId(), getParentForChildren(), isClean()); workspaceId_ = null; } return workspaceIdBuilder_; } @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:cz.proto.access.ShowConnection) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowConnection) private static final cz.proto.access.Ddl.ShowConnection DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowConnection(); } public static cz.proto.access.Ddl.ShowConnection getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowConnection parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowConnection(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 cz.proto.access.Ddl.ShowConnection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowUserRoleOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowUserRole) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ boolean hasWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ cz.proto.ObjectIdentifier getWorkspaceId(); /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder(); /** * optional .cz.proto.UserIdentifier user = 2; * @return Whether the user field is set. */ boolean hasUser(); /** * optional .cz.proto.UserIdentifier user = 2; * @return The user. */ cz.proto.AccountOuterClass.UserIdentifier getUser(); /** * optional .cz.proto.UserIdentifier user = 2; */ cz.proto.AccountOuterClass.UserIdentifierOrBuilder getUserOrBuilder(); /** * optional .cz.proto.ObjectIdentifier role = 3; * @return Whether the role field is set. */ boolean hasRole(); /** * optional .cz.proto.ObjectIdentifier role = 3; * @return The role. */ cz.proto.ObjectIdentifier getRole(); /** * optional .cz.proto.ObjectIdentifier role = 3; */ cz.proto.ObjectIdentifierOrBuilder getRoleOrBuilder(); } /** * Protobuf type {@code cz.proto.access.ShowUserRole} */ public static final class ShowUserRole extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowUserRole) ShowUserRoleOrBuilder { private static final long serialVersionUID = 0L; // Use ShowUserRole.newBuilder() to construct. private ShowUserRole(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowUserRole() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowUserRole(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowUserRole( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (workspaceId_ != null) { subBuilder = workspaceId_.toBuilder(); } workspaceId_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(workspaceId_); workspaceId_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.AccountOuterClass.UserIdentifier.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = user_.toBuilder(); } user_ = input.readMessage(cz.proto.AccountOuterClass.UserIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(user_); user_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 26: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = role_.toBuilder(); } role_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(role_); role_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUserRole_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUserRole_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowUserRole.class, cz.proto.access.Ddl.ShowUserRole.Builder.class); } private int bitField0_; public static final int WORKSPACE_ID_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier workspaceId_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ @java.lang.Override public boolean hasWorkspaceId() { return workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ @java.lang.Override public cz.proto.ObjectIdentifier getWorkspaceId() { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { return getWorkspaceId(); } public static final int USER_FIELD_NUMBER = 2; private cz.proto.AccountOuterClass.UserIdentifier user_; /** * optional .cz.proto.UserIdentifier user = 2; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .cz.proto.UserIdentifier user = 2; * @return The user. */ @java.lang.Override public cz.proto.AccountOuterClass.UserIdentifier getUser() { return user_ == null ? cz.proto.AccountOuterClass.UserIdentifier.getDefaultInstance() : user_; } /** * optional .cz.proto.UserIdentifier user = 2; */ @java.lang.Override public cz.proto.AccountOuterClass.UserIdentifierOrBuilder getUserOrBuilder() { return user_ == null ? cz.proto.AccountOuterClass.UserIdentifier.getDefaultInstance() : user_; } public static final int ROLE_FIELD_NUMBER = 3; private cz.proto.ObjectIdentifier role_; /** * optional .cz.proto.ObjectIdentifier role = 3; * @return Whether the role field is set. */ @java.lang.Override public boolean hasRole() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .cz.proto.ObjectIdentifier role = 3; * @return The role. */ @java.lang.Override public cz.proto.ObjectIdentifier getRole() { return role_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : role_; } /** * optional .cz.proto.ObjectIdentifier role = 3; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getRoleOrBuilder() { return role_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : role_; } 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 (workspaceId_ != null) { output.writeMessage(1, getWorkspaceId()); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getUser()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getRole()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workspaceId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getWorkspaceId()); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getUser()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getRole()); } 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 cz.proto.access.Ddl.ShowUserRole)) { return super.equals(obj); } cz.proto.access.Ddl.ShowUserRole other = (cz.proto.access.Ddl.ShowUserRole) obj; if (hasWorkspaceId() != other.hasWorkspaceId()) return false; if (hasWorkspaceId()) { if (!getWorkspaceId() .equals(other.getWorkspaceId())) return false; } if (hasUser() != other.hasUser()) return false; if (hasUser()) { if (!getUser() .equals(other.getUser())) return false; } if (hasRole() != other.hasRole()) return false; if (hasRole()) { if (!getRole() .equals(other.getRole())) 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 (hasWorkspaceId()) { hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + getWorkspaceId().hashCode(); } if (hasUser()) { hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); } if (hasRole()) { hash = (37 * hash) + ROLE_FIELD_NUMBER; hash = (53 * hash) + getRole().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowUserRole parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowUserRole parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowUserRole parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowUserRole parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowUserRole parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowUserRole parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowUserRole parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowUserRole 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 cz.proto.access.Ddl.ShowUserRole parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowUserRole 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 cz.proto.access.Ddl.ShowUserRole parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowUserRole 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(cz.proto.access.Ddl.ShowUserRole 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 cz.proto.access.ShowUserRole} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowUserRole) cz.proto.access.Ddl.ShowUserRoleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUserRole_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUserRole_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowUserRole.class, cz.proto.access.Ddl.ShowUserRole.Builder.class); } // Construct using cz.proto.access.Ddl.ShowUserRole.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUserFieldBuilder(); getRoleFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (workspaceIdBuilder_ == null) { workspaceId_ = null; } else { workspaceId_ = null; workspaceIdBuilder_ = null; } if (userBuilder_ == null) { user_ = null; } else { userBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (roleBuilder_ == null) { role_ = null; } else { roleBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowUserRole_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowUserRole getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowUserRole.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowUserRole build() { cz.proto.access.Ddl.ShowUserRole result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowUserRole buildPartial() { cz.proto.access.Ddl.ShowUserRole result = new cz.proto.access.Ddl.ShowUserRole(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (workspaceIdBuilder_ == null) { result.workspaceId_ = workspaceId_; } else { result.workspaceId_ = workspaceIdBuilder_.build(); } if (((from_bitField0_ & 0x00000001) != 0)) { if (userBuilder_ == null) { result.user_ = user_; } else { result.user_ = userBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (roleBuilder_ == null) { result.role_ = role_; } else { result.role_ = roleBuilder_.build(); } to_bitField0_ |= 0x00000002; } result.bitField0_ = to_bitField0_; 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 cz.proto.access.Ddl.ShowUserRole) { return mergeFrom((cz.proto.access.Ddl.ShowUserRole)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowUserRole other) { if (other == cz.proto.access.Ddl.ShowUserRole.getDefaultInstance()) return this; if (other.hasWorkspaceId()) { mergeWorkspaceId(other.getWorkspaceId()); } if (other.hasUser()) { mergeUser(other.getUser()); } if (other.hasRole()) { mergeRole(other.getRole()); } 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 { cz.proto.access.Ddl.ShowUserRole parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowUserRole) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ObjectIdentifier workspaceId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> workspaceIdBuilder_; /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return Whether the workspaceId field is set. */ public boolean hasWorkspaceId() { return workspaceIdBuilder_ != null || workspaceId_ != null; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; * @return The workspaceId. */ public cz.proto.ObjectIdentifier getWorkspaceId() { if (workspaceIdBuilder_ == null) { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } else { return workspaceIdBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } workspaceId_ = value; onChanged(); } else { workspaceIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder setWorkspaceId( cz.proto.ObjectIdentifier.Builder builderForValue) { if (workspaceIdBuilder_ == null) { workspaceId_ = builderForValue.build(); onChanged(); } else { workspaceIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder mergeWorkspaceId(cz.proto.ObjectIdentifier value) { if (workspaceIdBuilder_ == null) { if (workspaceId_ != null) { workspaceId_ = cz.proto.ObjectIdentifier.newBuilder(workspaceId_).mergeFrom(value).buildPartial(); } else { workspaceId_ = value; } onChanged(); } else { workspaceIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public Builder clearWorkspaceId() { if (workspaceIdBuilder_ == null) { workspaceId_ = null; onChanged(); } else { workspaceId_ = null; workspaceIdBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifier.Builder getWorkspaceIdBuilder() { onChanged(); return getWorkspaceIdFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ public cz.proto.ObjectIdentifierOrBuilder getWorkspaceIdOrBuilder() { if (workspaceIdBuilder_ != null) { return workspaceIdBuilder_.getMessageOrBuilder(); } else { return workspaceId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : workspaceId_; } } /** * .cz.proto.ObjectIdentifier workspace_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getWorkspaceIdFieldBuilder() { if (workspaceIdBuilder_ == null) { workspaceIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getWorkspaceId(), getParentForChildren(), isClean()); workspaceId_ = null; } return workspaceIdBuilder_; } private cz.proto.AccountOuterClass.UserIdentifier user_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.AccountOuterClass.UserIdentifier, cz.proto.AccountOuterClass.UserIdentifier.Builder, cz.proto.AccountOuterClass.UserIdentifierOrBuilder> userBuilder_; /** * optional .cz.proto.UserIdentifier user = 2; * @return Whether the user field is set. */ public boolean hasUser() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .cz.proto.UserIdentifier user = 2; * @return The user. */ public cz.proto.AccountOuterClass.UserIdentifier getUser() { if (userBuilder_ == null) { return user_ == null ? cz.proto.AccountOuterClass.UserIdentifier.getDefaultInstance() : user_; } else { return userBuilder_.getMessage(); } } /** * optional .cz.proto.UserIdentifier user = 2; */ public Builder setUser(cz.proto.AccountOuterClass.UserIdentifier value) { if (userBuilder_ == null) { if (value == null) { throw new NullPointerException(); } user_ = value; onChanged(); } else { userBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .cz.proto.UserIdentifier user = 2; */ public Builder setUser( cz.proto.AccountOuterClass.UserIdentifier.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); onChanged(); } else { userBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .cz.proto.UserIdentifier user = 2; */ public Builder mergeUser(cz.proto.AccountOuterClass.UserIdentifier value) { if (userBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && user_ != null && user_ != cz.proto.AccountOuterClass.UserIdentifier.getDefaultInstance()) { user_ = cz.proto.AccountOuterClass.UserIdentifier.newBuilder(user_).mergeFrom(value).buildPartial(); } else { user_ = value; } onChanged(); } else { userBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .cz.proto.UserIdentifier user = 2; */ public Builder clearUser() { if (userBuilder_ == null) { user_ = null; onChanged(); } else { userBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .cz.proto.UserIdentifier user = 2; */ public cz.proto.AccountOuterClass.UserIdentifier.Builder getUserBuilder() { bitField0_ |= 0x00000001; onChanged(); return getUserFieldBuilder().getBuilder(); } /** * optional .cz.proto.UserIdentifier user = 2; */ public cz.proto.AccountOuterClass.UserIdentifierOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { return user_ == null ? cz.proto.AccountOuterClass.UserIdentifier.getDefaultInstance() : user_; } } /** * optional .cz.proto.UserIdentifier user = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.AccountOuterClass.UserIdentifier, cz.proto.AccountOuterClass.UserIdentifier.Builder, cz.proto.AccountOuterClass.UserIdentifierOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.AccountOuterClass.UserIdentifier, cz.proto.AccountOuterClass.UserIdentifier.Builder, cz.proto.AccountOuterClass.UserIdentifierOrBuilder>( getUser(), getParentForChildren(), isClean()); user_ = null; } return userBuilder_; } private cz.proto.ObjectIdentifier role_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> roleBuilder_; /** * optional .cz.proto.ObjectIdentifier role = 3; * @return Whether the role field is set. */ public boolean hasRole() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .cz.proto.ObjectIdentifier role = 3; * @return The role. */ public cz.proto.ObjectIdentifier getRole() { if (roleBuilder_ == null) { return role_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : role_; } else { return roleBuilder_.getMessage(); } } /** * optional .cz.proto.ObjectIdentifier role = 3; */ public Builder setRole(cz.proto.ObjectIdentifier value) { if (roleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } role_ = value; onChanged(); } else { roleBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .cz.proto.ObjectIdentifier role = 3; */ public Builder setRole( cz.proto.ObjectIdentifier.Builder builderForValue) { if (roleBuilder_ == null) { role_ = builderForValue.build(); onChanged(); } else { roleBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .cz.proto.ObjectIdentifier role = 3; */ public Builder mergeRole(cz.proto.ObjectIdentifier value) { if (roleBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && role_ != null && role_ != cz.proto.ObjectIdentifier.getDefaultInstance()) { role_ = cz.proto.ObjectIdentifier.newBuilder(role_).mergeFrom(value).buildPartial(); } else { role_ = value; } onChanged(); } else { roleBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .cz.proto.ObjectIdentifier role = 3; */ public Builder clearRole() { if (roleBuilder_ == null) { role_ = null; onChanged(); } else { roleBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .cz.proto.ObjectIdentifier role = 3; */ public cz.proto.ObjectIdentifier.Builder getRoleBuilder() { bitField0_ |= 0x00000002; onChanged(); return getRoleFieldBuilder().getBuilder(); } /** * optional .cz.proto.ObjectIdentifier role = 3; */ public cz.proto.ObjectIdentifierOrBuilder getRoleOrBuilder() { if (roleBuilder_ != null) { return roleBuilder_.getMessageOrBuilder(); } else { return role_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : role_; } } /** * optional .cz.proto.ObjectIdentifier role = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getRoleFieldBuilder() { if (roleBuilder_ == null) { roleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getRole(), getParentForChildren(), isClean()); role_ = null; } return roleBuilder_; } @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:cz.proto.access.ShowUserRole) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowUserRole) private static final cz.proto.access.Ddl.ShowUserRole DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowUserRole(); } public static cz.proto.access.Ddl.ShowUserRole getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowUserRole parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowUserRole(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 cz.proto.access.Ddl.ShowUserRole getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowAccessTypeOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowAccessType) com.google.protobuf.MessageOrBuilder { /** * optional string service = 1; * @return Whether the service field is set. */ boolean hasService(); /** * optional string service = 1; * @return The service. */ java.lang.String getService(); /** * optional string service = 1; * @return The bytes for service. */ com.google.protobuf.ByteString getServiceBytes(); /** * .cz.proto.ObjectType entity_type = 2; * @return The enum numeric value on the wire for entityType. */ int getEntityTypeValue(); /** * .cz.proto.ObjectType entity_type = 2; * @return The entityType. */ cz.proto.ObjectType getEntityType(); } /** * Protobuf type {@code cz.proto.access.ShowAccessType} */ public static final class ShowAccessType extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowAccessType) ShowAccessTypeOrBuilder { private static final long serialVersionUID = 0L; // Use ShowAccessType.newBuilder() to construct. private ShowAccessType(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowAccessType() { service_ = ""; entityType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowAccessType(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowAccessType( 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: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; service_ = s; break; } case 16: { int rawValue = input.readEnum(); entityType_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowAccessType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowAccessType_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowAccessType.class, cz.proto.access.Ddl.ShowAccessType.Builder.class); } private int bitField0_; public static final int SERVICE_FIELD_NUMBER = 1; private volatile java.lang.Object service_; /** * optional string service = 1; * @return Whether the service field is set. */ @java.lang.Override public boolean hasService() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string service = 1; * @return The service. */ @java.lang.Override public java.lang.String getService() { java.lang.Object ref = service_; 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(); service_ = s; return s; } } /** * optional string service = 1; * @return The bytes for service. */ @java.lang.Override public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); service_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENTITY_TYPE_FIELD_NUMBER = 2; private int entityType_; /** * .cz.proto.ObjectType entity_type = 2; * @return The enum numeric value on the wire for entityType. */ @java.lang.Override public int getEntityTypeValue() { return entityType_; } /** * .cz.proto.ObjectType entity_type = 2; * @return The entityType. */ @java.lang.Override public cz.proto.ObjectType getEntityType() { @SuppressWarnings("deprecation") cz.proto.ObjectType result = cz.proto.ObjectType.valueOf(entityType_); return result == null ? cz.proto.ObjectType.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 (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } if (entityType_ != cz.proto.ObjectType.UNKNOWN.getNumber()) { output.writeEnum(2, entityType_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, service_); } if (entityType_ != cz.proto.ObjectType.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, entityType_); } 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 cz.proto.access.Ddl.ShowAccessType)) { return super.equals(obj); } cz.proto.access.Ddl.ShowAccessType other = (cz.proto.access.Ddl.ShowAccessType) obj; if (hasService() != other.hasService()) return false; if (hasService()) { if (!getService() .equals(other.getService())) return false; } if (entityType_ != other.entityType_) 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 (hasService()) { hash = (37 * hash) + SERVICE_FIELD_NUMBER; hash = (53 * hash) + getService().hashCode(); } hash = (37 * hash) + ENTITY_TYPE_FIELD_NUMBER; hash = (53 * hash) + entityType_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowAccessType parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowAccessType parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowAccessType parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowAccessType parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowAccessType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowAccessType parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowAccessType parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowAccessType 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 cz.proto.access.Ddl.ShowAccessType parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowAccessType 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 cz.proto.access.Ddl.ShowAccessType parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowAccessType 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(cz.proto.access.Ddl.ShowAccessType 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 cz.proto.access.ShowAccessType} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowAccessType) cz.proto.access.Ddl.ShowAccessTypeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowAccessType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowAccessType_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowAccessType.class, cz.proto.access.Ddl.ShowAccessType.Builder.class); } // Construct using cz.proto.access.Ddl.ShowAccessType.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(); service_ = ""; bitField0_ = (bitField0_ & ~0x00000001); entityType_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowAccessType_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowAccessType getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowAccessType.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowAccessType build() { cz.proto.access.Ddl.ShowAccessType result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowAccessType buildPartial() { cz.proto.access.Ddl.ShowAccessType result = new cz.proto.access.Ddl.ShowAccessType(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.service_ = service_; result.entityType_ = entityType_; result.bitField0_ = to_bitField0_; 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 cz.proto.access.Ddl.ShowAccessType) { return mergeFrom((cz.proto.access.Ddl.ShowAccessType)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowAccessType other) { if (other == cz.proto.access.Ddl.ShowAccessType.getDefaultInstance()) return this; if (other.hasService()) { bitField0_ |= 0x00000001; service_ = other.service_; onChanged(); } if (other.entityType_ != 0) { setEntityTypeValue(other.getEntityTypeValue()); } 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 { cz.proto.access.Ddl.ShowAccessType parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowAccessType) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object service_ = ""; /** * optional string service = 1; * @return Whether the service field is set. */ public boolean hasService() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string service = 1; * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string service = 1; * @return The bytes for service. */ public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); service_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string service = 1; * @param value The service to set. * @return This builder for chaining. */ public Builder setService( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; service_ = value; onChanged(); return this; } /** * optional string service = 1; * @return This builder for chaining. */ public Builder clearService() { bitField0_ = (bitField0_ & ~0x00000001); service_ = getDefaultInstance().getService(); onChanged(); return this; } /** * optional string service = 1; * @param value The bytes for service to set. * @return This builder for chaining. */ public Builder setServiceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000001; service_ = value; onChanged(); return this; } private int entityType_ = 0; /** * .cz.proto.ObjectType entity_type = 2; * @return The enum numeric value on the wire for entityType. */ @java.lang.Override public int getEntityTypeValue() { return entityType_; } /** * .cz.proto.ObjectType entity_type = 2; * @param value The enum numeric value on the wire for entityType to set. * @return This builder for chaining. */ public Builder setEntityTypeValue(int value) { entityType_ = value; onChanged(); return this; } /** * .cz.proto.ObjectType entity_type = 2; * @return The entityType. */ @java.lang.Override public cz.proto.ObjectType getEntityType() { @SuppressWarnings("deprecation") cz.proto.ObjectType result = cz.proto.ObjectType.valueOf(entityType_); return result == null ? cz.proto.ObjectType.UNRECOGNIZED : result; } /** * .cz.proto.ObjectType entity_type = 2; * @param value The entityType to set. * @return This builder for chaining. */ public Builder setEntityType(cz.proto.ObjectType value) { if (value == null) { throw new NullPointerException(); } entityType_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ObjectType entity_type = 2; * @return This builder for chaining. */ public Builder clearEntityType() { entityType_ = 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:cz.proto.access.ShowAccessType) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowAccessType) private static final cz.proto.access.Ddl.ShowAccessType DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowAccessType(); } public static cz.proto.access.Ddl.ShowAccessType getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowAccessType parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowAccessType(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 cz.proto.access.Ddl.ShowAccessType getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ShowIndexOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.ShowIndex) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier table_id = 1; * @return Whether the tableId field is set. */ boolean hasTableId(); /** * .cz.proto.ObjectIdentifier table_id = 1; * @return The tableId. */ cz.proto.ObjectIdentifier getTableId(); /** * .cz.proto.ObjectIdentifier table_id = 1; */ cz.proto.ObjectIdentifierOrBuilder getTableIdOrBuilder(); } /** * Protobuf type {@code cz.proto.access.ShowIndex} */ public static final class ShowIndex extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.ShowIndex) ShowIndexOrBuilder { private static final long serialVersionUID = 0L; // Use ShowIndex.newBuilder() to construct. private ShowIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowIndex() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowIndex(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ShowIndex( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (tableId_ != null) { subBuilder = tableId_.toBuilder(); } tableId_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableId_); tableId_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_ShowIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowIndex.class, cz.proto.access.Ddl.ShowIndex.Builder.class); } public static final int TABLE_ID_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier tableId_; /** * .cz.proto.ObjectIdentifier table_id = 1; * @return Whether the tableId field is set. */ @java.lang.Override public boolean hasTableId() { return tableId_ != null; } /** * .cz.proto.ObjectIdentifier table_id = 1; * @return The tableId. */ @java.lang.Override public cz.proto.ObjectIdentifier getTableId() { return tableId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : tableId_; } /** * .cz.proto.ObjectIdentifier table_id = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getTableIdOrBuilder() { return getTableId(); } 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 (tableId_ != null) { output.writeMessage(1, getTableId()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tableId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTableId()); } 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 cz.proto.access.Ddl.ShowIndex)) { return super.equals(obj); } cz.proto.access.Ddl.ShowIndex other = (cz.proto.access.Ddl.ShowIndex) obj; if (hasTableId() != other.hasTableId()) return false; if (hasTableId()) { if (!getTableId() .equals(other.getTableId())) 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 (hasTableId()) { hash = (37 * hash) + TABLE_ID_FIELD_NUMBER; hash = (53 * hash) + getTableId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.ShowIndex parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowIndex parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowIndex parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowIndex parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowIndex parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.ShowIndex parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.ShowIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowIndex 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 cz.proto.access.Ddl.ShowIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowIndex 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 cz.proto.access.Ddl.ShowIndex parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.ShowIndex 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(cz.proto.access.Ddl.ShowIndex 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 cz.proto.access.ShowIndex} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.ShowIndex) cz.proto.access.Ddl.ShowIndexOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowIndex_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.ShowIndex.class, cz.proto.access.Ddl.ShowIndex.Builder.class); } // Construct using cz.proto.access.Ddl.ShowIndex.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 (tableIdBuilder_ == null) { tableId_ = null; } else { tableId_ = null; tableIdBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_ShowIndex_descriptor; } @java.lang.Override public cz.proto.access.Ddl.ShowIndex getDefaultInstanceForType() { return cz.proto.access.Ddl.ShowIndex.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.ShowIndex build() { cz.proto.access.Ddl.ShowIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.ShowIndex buildPartial() { cz.proto.access.Ddl.ShowIndex result = new cz.proto.access.Ddl.ShowIndex(this); if (tableIdBuilder_ == null) { result.tableId_ = tableId_; } else { result.tableId_ = tableIdBuilder_.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 cz.proto.access.Ddl.ShowIndex) { return mergeFrom((cz.proto.access.Ddl.ShowIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.ShowIndex other) { if (other == cz.proto.access.Ddl.ShowIndex.getDefaultInstance()) return this; if (other.hasTableId()) { mergeTableId(other.getTableId()); } 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 { cz.proto.access.Ddl.ShowIndex parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.ShowIndex) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier tableId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> tableIdBuilder_; /** * .cz.proto.ObjectIdentifier table_id = 1; * @return Whether the tableId field is set. */ public boolean hasTableId() { return tableIdBuilder_ != null || tableId_ != null; } /** * .cz.proto.ObjectIdentifier table_id = 1; * @return The tableId. */ public cz.proto.ObjectIdentifier getTableId() { if (tableIdBuilder_ == null) { return tableId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : tableId_; } else { return tableIdBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier table_id = 1; */ public Builder setTableId(cz.proto.ObjectIdentifier value) { if (tableIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableId_ = value; onChanged(); } else { tableIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier table_id = 1; */ public Builder setTableId( cz.proto.ObjectIdentifier.Builder builderForValue) { if (tableIdBuilder_ == null) { tableId_ = builderForValue.build(); onChanged(); } else { tableIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier table_id = 1; */ public Builder mergeTableId(cz.proto.ObjectIdentifier value) { if (tableIdBuilder_ == null) { if (tableId_ != null) { tableId_ = cz.proto.ObjectIdentifier.newBuilder(tableId_).mergeFrom(value).buildPartial(); } else { tableId_ = value; } onChanged(); } else { tableIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier table_id = 1; */ public Builder clearTableId() { if (tableIdBuilder_ == null) { tableId_ = null; onChanged(); } else { tableId_ = null; tableIdBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier table_id = 1; */ public cz.proto.ObjectIdentifier.Builder getTableIdBuilder() { onChanged(); return getTableIdFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier table_id = 1; */ public cz.proto.ObjectIdentifierOrBuilder getTableIdOrBuilder() { if (tableIdBuilder_ != null) { return tableIdBuilder_.getMessageOrBuilder(); } else { return tableId_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : tableId_; } } /** * .cz.proto.ObjectIdentifier table_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getTableIdFieldBuilder() { if (tableIdBuilder_ == null) { tableIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getTableId(), getParentForChildren(), isClean()); tableId_ = null; } return tableIdBuilder_; } @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:cz.proto.access.ShowIndex) } // @@protoc_insertion_point(class_scope:cz.proto.access.ShowIndex) private static final cz.proto.access.Ddl.ShowIndex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.ShowIndex(); } public static cz.proto.access.Ddl.ShowIndex getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowIndex parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShowIndex(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 cz.proto.access.Ddl.ShowIndex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetEntityOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.GetEntity) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ cz.proto.ObjectIdentifier getIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; */ cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder(); /** * .cz.proto.access.GetUser user = 10; * @return Whether the user field is set. */ boolean hasUser(); /** * .cz.proto.access.GetUser user = 10; * @return The user. */ cz.proto.access.Ddl.GetUser getUser(); /** * .cz.proto.access.GetUser user = 10; */ cz.proto.access.Ddl.GetUserOrBuilder getUserOrBuilder(); /** * .cz.proto.access.GetVirtualCluster vc = 11; * @return Whether the vc field is set. */ boolean hasVc(); /** * .cz.proto.access.GetVirtualCluster vc = 11; * @return The vc. */ cz.proto.access.Ddl.GetVirtualCluster getVc(); /** * .cz.proto.access.GetVirtualCluster vc = 11; */ cz.proto.access.Ddl.GetVirtualClusterOrBuilder getVcOrBuilder(); /** * .cz.proto.access.GetWorkspace workspace = 12; * @return Whether the workspace field is set. */ boolean hasWorkspace(); /** * .cz.proto.access.GetWorkspace workspace = 12; * @return The workspace. */ cz.proto.access.Ddl.GetWorkspace getWorkspace(); /** * .cz.proto.access.GetWorkspace workspace = 12; */ cz.proto.access.Ddl.GetWorkspaceOrBuilder getWorkspaceOrBuilder(); /** * .cz.proto.access.GetTable table = 13; * @return Whether the table field is set. */ boolean hasTable(); /** * .cz.proto.access.GetTable table = 13; * @return The table. */ cz.proto.access.Ddl.GetTable getTable(); /** * .cz.proto.access.GetTable table = 13; */ cz.proto.access.Ddl.GetTableOrBuilder getTableOrBuilder(); public cz.proto.access.Ddl.GetEntity.DerivedCase getDerivedCase(); } /** * Protobuf type {@code cz.proto.access.GetEntity} */ public static final class GetEntity extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.GetEntity) GetEntityOrBuilder { private static final long serialVersionUID = 0L; // Use GetEntity.newBuilder() to construct. private GetEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetEntity() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetEntity(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetEntity( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 82: { cz.proto.access.Ddl.GetUser.Builder subBuilder = null; if (derivedCase_ == 10) { subBuilder = ((cz.proto.access.Ddl.GetUser) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.GetUser.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.GetUser) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 10; break; } case 90: { cz.proto.access.Ddl.GetVirtualCluster.Builder subBuilder = null; if (derivedCase_ == 11) { subBuilder = ((cz.proto.access.Ddl.GetVirtualCluster) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.GetVirtualCluster.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.GetVirtualCluster) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 11; break; } case 98: { cz.proto.access.Ddl.GetWorkspace.Builder subBuilder = null; if (derivedCase_ == 12) { subBuilder = ((cz.proto.access.Ddl.GetWorkspace) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.GetWorkspace.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.GetWorkspace) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 12; break; } case 106: { cz.proto.access.Ddl.GetTable.Builder subBuilder = null; if (derivedCase_ == 13) { subBuilder = ((cz.proto.access.Ddl.GetTable) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.GetTable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.GetTable) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 13; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_GetEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.GetEntity.class, cz.proto.access.Ddl.GetEntity.Builder.class); } private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { USER(10), VC(11), WORKSPACE(12), TABLE(13), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 10: return USER; case 11: return VC; case 12: return WORKSPACE; case 13: return TABLE; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public static final int IDENTIFIER_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier identifier_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ @java.lang.Override public cz.proto.ObjectIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int USER_FIELD_NUMBER = 10; /** * .cz.proto.access.GetUser user = 10; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return derivedCase_ == 10; } /** * .cz.proto.access.GetUser user = 10; * @return The user. */ @java.lang.Override public cz.proto.access.Ddl.GetUser getUser() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.GetUser) derived_; } return cz.proto.access.Ddl.GetUser.getDefaultInstance(); } /** * .cz.proto.access.GetUser user = 10; */ @java.lang.Override public cz.proto.access.Ddl.GetUserOrBuilder getUserOrBuilder() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.GetUser) derived_; } return cz.proto.access.Ddl.GetUser.getDefaultInstance(); } public static final int VC_FIELD_NUMBER = 11; /** * .cz.proto.access.GetVirtualCluster vc = 11; * @return Whether the vc field is set. */ @java.lang.Override public boolean hasVc() { return derivedCase_ == 11; } /** * .cz.proto.access.GetVirtualCluster vc = 11; * @return The vc. */ @java.lang.Override public cz.proto.access.Ddl.GetVirtualCluster getVc() { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.GetVirtualCluster) derived_; } return cz.proto.access.Ddl.GetVirtualCluster.getDefaultInstance(); } /** * .cz.proto.access.GetVirtualCluster vc = 11; */ @java.lang.Override public cz.proto.access.Ddl.GetVirtualClusterOrBuilder getVcOrBuilder() { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.GetVirtualCluster) derived_; } return cz.proto.access.Ddl.GetVirtualCluster.getDefaultInstance(); } public static final int WORKSPACE_FIELD_NUMBER = 12; /** * .cz.proto.access.GetWorkspace workspace = 12; * @return Whether the workspace field is set. */ @java.lang.Override public boolean hasWorkspace() { return derivedCase_ == 12; } /** * .cz.proto.access.GetWorkspace workspace = 12; * @return The workspace. */ @java.lang.Override public cz.proto.access.Ddl.GetWorkspace getWorkspace() { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.GetWorkspace) derived_; } return cz.proto.access.Ddl.GetWorkspace.getDefaultInstance(); } /** * .cz.proto.access.GetWorkspace workspace = 12; */ @java.lang.Override public cz.proto.access.Ddl.GetWorkspaceOrBuilder getWorkspaceOrBuilder() { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.GetWorkspace) derived_; } return cz.proto.access.Ddl.GetWorkspace.getDefaultInstance(); } public static final int TABLE_FIELD_NUMBER = 13; /** * .cz.proto.access.GetTable table = 13; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return derivedCase_ == 13; } /** * .cz.proto.access.GetTable table = 13; * @return The table. */ @java.lang.Override public cz.proto.access.Ddl.GetTable getTable() { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.GetTable) derived_; } return cz.proto.access.Ddl.GetTable.getDefaultInstance(); } /** * .cz.proto.access.GetTable table = 13; */ @java.lang.Override public cz.proto.access.Ddl.GetTableOrBuilder getTableOrBuilder() { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.GetTable) derived_; } return cz.proto.access.Ddl.GetTable.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (identifier_ != null) { output.writeMessage(1, getIdentifier()); } if (derivedCase_ == 10) { output.writeMessage(10, (cz.proto.access.Ddl.GetUser) derived_); } if (derivedCase_ == 11) { output.writeMessage(11, (cz.proto.access.Ddl.GetVirtualCluster) derived_); } if (derivedCase_ == 12) { output.writeMessage(12, (cz.proto.access.Ddl.GetWorkspace) derived_); } if (derivedCase_ == 13) { output.writeMessage(13, (cz.proto.access.Ddl.GetTable) derived_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } if (derivedCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.Ddl.GetUser) derived_); } if (derivedCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (cz.proto.access.Ddl.GetVirtualCluster) derived_); } if (derivedCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (cz.proto.access.Ddl.GetWorkspace) derived_); } if (derivedCase_ == 13) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, (cz.proto.access.Ddl.GetTable) derived_); } 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 cz.proto.access.Ddl.GetEntity)) { return super.equals(obj); } cz.proto.access.Ddl.GetEntity other = (cz.proto.access.Ddl.GetEntity) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 10: if (!getUser() .equals(other.getUser())) return false; break; case 11: if (!getVc() .equals(other.getVc())) return false; break; case 12: if (!getWorkspace() .equals(other.getWorkspace())) return false; break; case 13: if (!getTable() .equals(other.getTable())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } switch (derivedCase_) { case 10: hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); break; case 11: hash = (37 * hash) + VC_FIELD_NUMBER; hash = (53 * hash) + getVc().hashCode(); break; case 12: hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; hash = (53 * hash) + getWorkspace().hashCode(); break; case 13: hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.GetEntity parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetEntity parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetEntity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetEntity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetEntity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetEntity parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetEntity parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetEntity 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 cz.proto.access.Ddl.GetEntity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetEntity 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 cz.proto.access.Ddl.GetEntity parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetEntity 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(cz.proto.access.Ddl.GetEntity 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 cz.proto.access.GetEntity} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.GetEntity) cz.proto.access.Ddl.GetEntityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.GetEntity.class, cz.proto.access.Ddl.GetEntity.Builder.class); } // Construct using cz.proto.access.Ddl.GetEntity.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 (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } derivedCase_ = 0; derived_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetEntity_descriptor; } @java.lang.Override public cz.proto.access.Ddl.GetEntity getDefaultInstanceForType() { return cz.proto.access.Ddl.GetEntity.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.GetEntity build() { cz.proto.access.Ddl.GetEntity result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.GetEntity buildPartial() { cz.proto.access.Ddl.GetEntity result = new cz.proto.access.Ddl.GetEntity(this); if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } if (derivedCase_ == 10) { if (userBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = userBuilder_.build(); } } if (derivedCase_ == 11) { if (vcBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = vcBuilder_.build(); } } if (derivedCase_ == 12) { if (workspaceBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = workspaceBuilder_.build(); } } if (derivedCase_ == 13) { if (tableBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = tableBuilder_.build(); } } result.derivedCase_ = derivedCase_; 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 cz.proto.access.Ddl.GetEntity) { return mergeFrom((cz.proto.access.Ddl.GetEntity)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.GetEntity other) { if (other == cz.proto.access.Ddl.GetEntity.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } switch (other.getDerivedCase()) { case USER: { mergeUser(other.getUser()); break; } case VC: { mergeVc(other.getVc()); break; } case WORKSPACE: { mergeWorkspace(other.getWorkspace()); break; } case TABLE: { mergeTable(other.getTable()); break; } case DERIVED_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.GetEntity parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.GetEntity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } private cz.proto.ObjectIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ public cz.proto.ObjectIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetUser, cz.proto.access.Ddl.GetUser.Builder, cz.proto.access.Ddl.GetUserOrBuilder> userBuilder_; /** * .cz.proto.access.GetUser user = 10; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return derivedCase_ == 10; } /** * .cz.proto.access.GetUser user = 10; * @return The user. */ @java.lang.Override public cz.proto.access.Ddl.GetUser getUser() { if (userBuilder_ == null) { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.GetUser) derived_; } return cz.proto.access.Ddl.GetUser.getDefaultInstance(); } else { if (derivedCase_ == 10) { return userBuilder_.getMessage(); } return cz.proto.access.Ddl.GetUser.getDefaultInstance(); } } /** * .cz.proto.access.GetUser user = 10; */ public Builder setUser(cz.proto.access.Ddl.GetUser value) { if (userBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { userBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.GetUser user = 10; */ public Builder setUser( cz.proto.access.Ddl.GetUser.Builder builderForValue) { if (userBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { userBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 10; return this; } /** * .cz.proto.access.GetUser user = 10; */ public Builder mergeUser(cz.proto.access.Ddl.GetUser value) { if (userBuilder_ == null) { if (derivedCase_ == 10 && derived_ != cz.proto.access.Ddl.GetUser.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.GetUser.newBuilder((cz.proto.access.Ddl.GetUser) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 10) { userBuilder_.mergeFrom(value); } userBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.GetUser user = 10; */ public Builder clearUser() { if (userBuilder_ == null) { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; } userBuilder_.clear(); } return this; } /** * .cz.proto.access.GetUser user = 10; */ public cz.proto.access.Ddl.GetUser.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** * .cz.proto.access.GetUser user = 10; */ @java.lang.Override public cz.proto.access.Ddl.GetUserOrBuilder getUserOrBuilder() { if ((derivedCase_ == 10) && (userBuilder_ != null)) { return userBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.GetUser) derived_; } return cz.proto.access.Ddl.GetUser.getDefaultInstance(); } } /** * .cz.proto.access.GetUser user = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetUser, cz.proto.access.Ddl.GetUser.Builder, cz.proto.access.Ddl.GetUserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { if (!(derivedCase_ == 10)) { derived_ = cz.proto.access.Ddl.GetUser.getDefaultInstance(); } userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetUser, cz.proto.access.Ddl.GetUser.Builder, cz.proto.access.Ddl.GetUserOrBuilder>( (cz.proto.access.Ddl.GetUser) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 10; onChanged();; return userBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetVirtualCluster, cz.proto.access.Ddl.GetVirtualCluster.Builder, cz.proto.access.Ddl.GetVirtualClusterOrBuilder> vcBuilder_; /** * .cz.proto.access.GetVirtualCluster vc = 11; * @return Whether the vc field is set. */ @java.lang.Override public boolean hasVc() { return derivedCase_ == 11; } /** * .cz.proto.access.GetVirtualCluster vc = 11; * @return The vc. */ @java.lang.Override public cz.proto.access.Ddl.GetVirtualCluster getVc() { if (vcBuilder_ == null) { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.GetVirtualCluster) derived_; } return cz.proto.access.Ddl.GetVirtualCluster.getDefaultInstance(); } else { if (derivedCase_ == 11) { return vcBuilder_.getMessage(); } return cz.proto.access.Ddl.GetVirtualCluster.getDefaultInstance(); } } /** * .cz.proto.access.GetVirtualCluster vc = 11; */ public Builder setVc(cz.proto.access.Ddl.GetVirtualCluster value) { if (vcBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { vcBuilder_.setMessage(value); } derivedCase_ = 11; return this; } /** * .cz.proto.access.GetVirtualCluster vc = 11; */ public Builder setVc( cz.proto.access.Ddl.GetVirtualCluster.Builder builderForValue) { if (vcBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { vcBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 11; return this; } /** * .cz.proto.access.GetVirtualCluster vc = 11; */ public Builder mergeVc(cz.proto.access.Ddl.GetVirtualCluster value) { if (vcBuilder_ == null) { if (derivedCase_ == 11 && derived_ != cz.proto.access.Ddl.GetVirtualCluster.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.GetVirtualCluster.newBuilder((cz.proto.access.Ddl.GetVirtualCluster) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 11) { vcBuilder_.mergeFrom(value); } vcBuilder_.setMessage(value); } derivedCase_ = 11; return this; } /** * .cz.proto.access.GetVirtualCluster vc = 11; */ public Builder clearVc() { if (vcBuilder_ == null) { if (derivedCase_ == 11) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 11) { derivedCase_ = 0; derived_ = null; } vcBuilder_.clear(); } return this; } /** * .cz.proto.access.GetVirtualCluster vc = 11; */ public cz.proto.access.Ddl.GetVirtualCluster.Builder getVcBuilder() { return getVcFieldBuilder().getBuilder(); } /** * .cz.proto.access.GetVirtualCluster vc = 11; */ @java.lang.Override public cz.proto.access.Ddl.GetVirtualClusterOrBuilder getVcOrBuilder() { if ((derivedCase_ == 11) && (vcBuilder_ != null)) { return vcBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 11) { return (cz.proto.access.Ddl.GetVirtualCluster) derived_; } return cz.proto.access.Ddl.GetVirtualCluster.getDefaultInstance(); } } /** * .cz.proto.access.GetVirtualCluster vc = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetVirtualCluster, cz.proto.access.Ddl.GetVirtualCluster.Builder, cz.proto.access.Ddl.GetVirtualClusterOrBuilder> getVcFieldBuilder() { if (vcBuilder_ == null) { if (!(derivedCase_ == 11)) { derived_ = cz.proto.access.Ddl.GetVirtualCluster.getDefaultInstance(); } vcBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetVirtualCluster, cz.proto.access.Ddl.GetVirtualCluster.Builder, cz.proto.access.Ddl.GetVirtualClusterOrBuilder>( (cz.proto.access.Ddl.GetVirtualCluster) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 11; onChanged();; return vcBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetWorkspace, cz.proto.access.Ddl.GetWorkspace.Builder, cz.proto.access.Ddl.GetWorkspaceOrBuilder> workspaceBuilder_; /** * .cz.proto.access.GetWorkspace workspace = 12; * @return Whether the workspace field is set. */ @java.lang.Override public boolean hasWorkspace() { return derivedCase_ == 12; } /** * .cz.proto.access.GetWorkspace workspace = 12; * @return The workspace. */ @java.lang.Override public cz.proto.access.Ddl.GetWorkspace getWorkspace() { if (workspaceBuilder_ == null) { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.GetWorkspace) derived_; } return cz.proto.access.Ddl.GetWorkspace.getDefaultInstance(); } else { if (derivedCase_ == 12) { return workspaceBuilder_.getMessage(); } return cz.proto.access.Ddl.GetWorkspace.getDefaultInstance(); } } /** * .cz.proto.access.GetWorkspace workspace = 12; */ public Builder setWorkspace(cz.proto.access.Ddl.GetWorkspace value) { if (workspaceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { workspaceBuilder_.setMessage(value); } derivedCase_ = 12; return this; } /** * .cz.proto.access.GetWorkspace workspace = 12; */ public Builder setWorkspace( cz.proto.access.Ddl.GetWorkspace.Builder builderForValue) { if (workspaceBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { workspaceBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 12; return this; } /** * .cz.proto.access.GetWorkspace workspace = 12; */ public Builder mergeWorkspace(cz.proto.access.Ddl.GetWorkspace value) { if (workspaceBuilder_ == null) { if (derivedCase_ == 12 && derived_ != cz.proto.access.Ddl.GetWorkspace.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.GetWorkspace.newBuilder((cz.proto.access.Ddl.GetWorkspace) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 12) { workspaceBuilder_.mergeFrom(value); } workspaceBuilder_.setMessage(value); } derivedCase_ = 12; return this; } /** * .cz.proto.access.GetWorkspace workspace = 12; */ public Builder clearWorkspace() { if (workspaceBuilder_ == null) { if (derivedCase_ == 12) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 12) { derivedCase_ = 0; derived_ = null; } workspaceBuilder_.clear(); } return this; } /** * .cz.proto.access.GetWorkspace workspace = 12; */ public cz.proto.access.Ddl.GetWorkspace.Builder getWorkspaceBuilder() { return getWorkspaceFieldBuilder().getBuilder(); } /** * .cz.proto.access.GetWorkspace workspace = 12; */ @java.lang.Override public cz.proto.access.Ddl.GetWorkspaceOrBuilder getWorkspaceOrBuilder() { if ((derivedCase_ == 12) && (workspaceBuilder_ != null)) { return workspaceBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 12) { return (cz.proto.access.Ddl.GetWorkspace) derived_; } return cz.proto.access.Ddl.GetWorkspace.getDefaultInstance(); } } /** * .cz.proto.access.GetWorkspace workspace = 12; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetWorkspace, cz.proto.access.Ddl.GetWorkspace.Builder, cz.proto.access.Ddl.GetWorkspaceOrBuilder> getWorkspaceFieldBuilder() { if (workspaceBuilder_ == null) { if (!(derivedCase_ == 12)) { derived_ = cz.proto.access.Ddl.GetWorkspace.getDefaultInstance(); } workspaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetWorkspace, cz.proto.access.Ddl.GetWorkspace.Builder, cz.proto.access.Ddl.GetWorkspaceOrBuilder>( (cz.proto.access.Ddl.GetWorkspace) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 12; onChanged();; return workspaceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetTable, cz.proto.access.Ddl.GetTable.Builder, cz.proto.access.Ddl.GetTableOrBuilder> tableBuilder_; /** * .cz.proto.access.GetTable table = 13; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return derivedCase_ == 13; } /** * .cz.proto.access.GetTable table = 13; * @return The table. */ @java.lang.Override public cz.proto.access.Ddl.GetTable getTable() { if (tableBuilder_ == null) { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.GetTable) derived_; } return cz.proto.access.Ddl.GetTable.getDefaultInstance(); } else { if (derivedCase_ == 13) { return tableBuilder_.getMessage(); } return cz.proto.access.Ddl.GetTable.getDefaultInstance(); } } /** * .cz.proto.access.GetTable table = 13; */ public Builder setTable(cz.proto.access.Ddl.GetTable value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { tableBuilder_.setMessage(value); } derivedCase_ = 13; return this; } /** * .cz.proto.access.GetTable table = 13; */ public Builder setTable( cz.proto.access.Ddl.GetTable.Builder builderForValue) { if (tableBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { tableBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 13; return this; } /** * .cz.proto.access.GetTable table = 13; */ public Builder mergeTable(cz.proto.access.Ddl.GetTable value) { if (tableBuilder_ == null) { if (derivedCase_ == 13 && derived_ != cz.proto.access.Ddl.GetTable.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.GetTable.newBuilder((cz.proto.access.Ddl.GetTable) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 13) { tableBuilder_.mergeFrom(value); } tableBuilder_.setMessage(value); } derivedCase_ = 13; return this; } /** * .cz.proto.access.GetTable table = 13; */ public Builder clearTable() { if (tableBuilder_ == null) { if (derivedCase_ == 13) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 13) { derivedCase_ = 0; derived_ = null; } tableBuilder_.clear(); } return this; } /** * .cz.proto.access.GetTable table = 13; */ public cz.proto.access.Ddl.GetTable.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** * .cz.proto.access.GetTable table = 13; */ @java.lang.Override public cz.proto.access.Ddl.GetTableOrBuilder getTableOrBuilder() { if ((derivedCase_ == 13) && (tableBuilder_ != null)) { return tableBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 13) { return (cz.proto.access.Ddl.GetTable) derived_; } return cz.proto.access.Ddl.GetTable.getDefaultInstance(); } } /** * .cz.proto.access.GetTable table = 13; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetTable, cz.proto.access.Ddl.GetTable.Builder, cz.proto.access.Ddl.GetTableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { if (!(derivedCase_ == 13)) { derived_ = cz.proto.access.Ddl.GetTable.getDefaultInstance(); } tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetTable, cz.proto.access.Ddl.GetTable.Builder, cz.proto.access.Ddl.GetTableOrBuilder>( (cz.proto.access.Ddl.GetTable) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 13; onChanged();; return tableBuilder_; } @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:cz.proto.access.GetEntity) } // @@protoc_insertion_point(class_scope:cz.proto.access.GetEntity) private static final cz.proto.access.Ddl.GetEntity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.GetEntity(); } public static cz.proto.access.Ddl.GetEntity getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetEntity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetEntity(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 cz.proto.access.Ddl.GetEntity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetUserOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.GetUser) com.google.protobuf.MessageOrBuilder { /** * int64 user_id = 1; * @return The userId. */ long getUserId(); } /** * Protobuf type {@code cz.proto.access.GetUser} */ public static final class GetUser extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.GetUser) GetUserOrBuilder { private static final long serialVersionUID = 0L; // Use GetUser.newBuilder() to construct. private GetUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetUser() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetUser(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetUser( 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: { userId_ = input.readInt64(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_GetUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetUser_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.GetUser.class, cz.proto.access.Ddl.GetUser.Builder.class); } public static final int USER_ID_FIELD_NUMBER = 1; private long userId_; /** * int64 user_id = 1; * @return The userId. */ @java.lang.Override public long getUserId() { return userId_; } 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 (userId_ != 0L) { output.writeInt64(1, userId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (userId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, userId_); } 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 cz.proto.access.Ddl.GetUser)) { return super.equals(obj); } cz.proto.access.Ddl.GetUser other = (cz.proto.access.Ddl.GetUser) obj; if (getUserId() != other.getUserId()) 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) + USER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUserId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.GetUser parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetUser parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetUser parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetUser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetUser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetUser parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetUser parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetUser 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 cz.proto.access.Ddl.GetUser parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetUser 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 cz.proto.access.Ddl.GetUser parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetUser 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(cz.proto.access.Ddl.GetUser 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 cz.proto.access.GetUser} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.GetUser) cz.proto.access.Ddl.GetUserOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetUser_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.GetUser.class, cz.proto.access.Ddl.GetUser.Builder.class); } // Construct using cz.proto.access.Ddl.GetUser.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(); userId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetUser_descriptor; } @java.lang.Override public cz.proto.access.Ddl.GetUser getDefaultInstanceForType() { return cz.proto.access.Ddl.GetUser.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.GetUser build() { cz.proto.access.Ddl.GetUser result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.GetUser buildPartial() { cz.proto.access.Ddl.GetUser result = new cz.proto.access.Ddl.GetUser(this); result.userId_ = userId_; 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 cz.proto.access.Ddl.GetUser) { return mergeFrom((cz.proto.access.Ddl.GetUser)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.GetUser other) { if (other == cz.proto.access.Ddl.GetUser.getDefaultInstance()) return this; if (other.getUserId() != 0L) { setUserId(other.getUserId()); } 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 { cz.proto.access.Ddl.GetUser parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.GetUser) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long userId_ ; /** * int64 user_id = 1; * @return The userId. */ @java.lang.Override public long getUserId() { return userId_; } /** * int64 user_id = 1; * @param value The userId to set. * @return This builder for chaining. */ public Builder setUserId(long value) { userId_ = value; onChanged(); return this; } /** * int64 user_id = 1; * @return This builder for chaining. */ public Builder clearUserId() { userId_ = 0L; 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:cz.proto.access.GetUser) } // @@protoc_insertion_point(class_scope:cz.proto.access.GetUser) private static final cz.proto.access.Ddl.GetUser DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.GetUser(); } public static cz.proto.access.Ddl.GetUser getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetUser parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetUser(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 cz.proto.access.Ddl.GetUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetVirtualClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.GetVirtualCluster) com.google.protobuf.MessageOrBuilder { /** * int64 workspace_id = 1; * @return The workspaceId. */ long getWorkspaceId(); /** * int64 vc_id = 2; * @return The vcId. */ long getVcId(); } /** * Protobuf type {@code cz.proto.access.GetVirtualCluster} */ public static final class GetVirtualCluster extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.GetVirtualCluster) GetVirtualClusterOrBuilder { private static final long serialVersionUID = 0L; // Use GetVirtualCluster.newBuilder() to construct. private GetVirtualCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetVirtualCluster() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetVirtualCluster(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetVirtualCluster( 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: { workspaceId_ = input.readInt64(); break; } case 16: { vcId_ = input.readInt64(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_GetVirtualCluster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetVirtualCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.GetVirtualCluster.class, cz.proto.access.Ddl.GetVirtualCluster.Builder.class); } public static final int WORKSPACE_ID_FIELD_NUMBER = 1; private long workspaceId_; /** * int64 workspace_id = 1; * @return The workspaceId. */ @java.lang.Override public long getWorkspaceId() { return workspaceId_; } public static final int VC_ID_FIELD_NUMBER = 2; private long vcId_; /** * int64 vc_id = 2; * @return The vcId. */ @java.lang.Override public long getVcId() { return vcId_; } 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 (workspaceId_ != 0L) { output.writeInt64(1, workspaceId_); } if (vcId_ != 0L) { output.writeInt64(2, vcId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workspaceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, workspaceId_); } if (vcId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, vcId_); } 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 cz.proto.access.Ddl.GetVirtualCluster)) { return super.equals(obj); } cz.proto.access.Ddl.GetVirtualCluster other = (cz.proto.access.Ddl.GetVirtualCluster) obj; if (getWorkspaceId() != other.getWorkspaceId()) return false; if (getVcId() != other.getVcId()) 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) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkspaceId()); hash = (37 * hash) + VC_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVcId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.GetVirtualCluster parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetVirtualCluster parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetVirtualCluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetVirtualCluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetVirtualCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetVirtualCluster parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetVirtualCluster parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetVirtualCluster 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 cz.proto.access.Ddl.GetVirtualCluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetVirtualCluster 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 cz.proto.access.Ddl.GetVirtualCluster parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetVirtualCluster 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(cz.proto.access.Ddl.GetVirtualCluster 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 cz.proto.access.GetVirtualCluster} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.GetVirtualCluster) cz.proto.access.Ddl.GetVirtualClusterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetVirtualCluster_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetVirtualCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.GetVirtualCluster.class, cz.proto.access.Ddl.GetVirtualCluster.Builder.class); } // Construct using cz.proto.access.Ddl.GetVirtualCluster.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(); workspaceId_ = 0L; vcId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetVirtualCluster_descriptor; } @java.lang.Override public cz.proto.access.Ddl.GetVirtualCluster getDefaultInstanceForType() { return cz.proto.access.Ddl.GetVirtualCluster.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.GetVirtualCluster build() { cz.proto.access.Ddl.GetVirtualCluster result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.GetVirtualCluster buildPartial() { cz.proto.access.Ddl.GetVirtualCluster result = new cz.proto.access.Ddl.GetVirtualCluster(this); result.workspaceId_ = workspaceId_; result.vcId_ = vcId_; 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 cz.proto.access.Ddl.GetVirtualCluster) { return mergeFrom((cz.proto.access.Ddl.GetVirtualCluster)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.GetVirtualCluster other) { if (other == cz.proto.access.Ddl.GetVirtualCluster.getDefaultInstance()) return this; if (other.getWorkspaceId() != 0L) { setWorkspaceId(other.getWorkspaceId()); } if (other.getVcId() != 0L) { setVcId(other.getVcId()); } 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 { cz.proto.access.Ddl.GetVirtualCluster parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.GetVirtualCluster) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long workspaceId_ ; /** * int64 workspace_id = 1; * @return The workspaceId. */ @java.lang.Override public long getWorkspaceId() { return workspaceId_; } /** * int64 workspace_id = 1; * @param value The workspaceId to set. * @return This builder for chaining. */ public Builder setWorkspaceId(long value) { workspaceId_ = value; onChanged(); return this; } /** * int64 workspace_id = 1; * @return This builder for chaining. */ public Builder clearWorkspaceId() { workspaceId_ = 0L; onChanged(); return this; } private long vcId_ ; /** * int64 vc_id = 2; * @return The vcId. */ @java.lang.Override public long getVcId() { return vcId_; } /** * int64 vc_id = 2; * @param value The vcId to set. * @return This builder for chaining. */ public Builder setVcId(long value) { vcId_ = value; onChanged(); return this; } /** * int64 vc_id = 2; * @return This builder for chaining. */ public Builder clearVcId() { vcId_ = 0L; 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:cz.proto.access.GetVirtualCluster) } // @@protoc_insertion_point(class_scope:cz.proto.access.GetVirtualCluster) private static final cz.proto.access.Ddl.GetVirtualCluster DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.GetVirtualCluster(); } public static cz.proto.access.Ddl.GetVirtualCluster getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetVirtualCluster parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetVirtualCluster(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 cz.proto.access.Ddl.GetVirtualCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetWorkspaceOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.GetWorkspace) com.google.protobuf.MessageOrBuilder { /** * optional int64 workspace_id = 1; * @return Whether the workspaceId field is set. */ boolean hasWorkspaceId(); /** * optional int64 workspace_id = 1; * @return The workspaceId. */ long getWorkspaceId(); } /** * Protobuf type {@code cz.proto.access.GetWorkspace} */ public static final class GetWorkspace extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.GetWorkspace) GetWorkspaceOrBuilder { private static final long serialVersionUID = 0L; // Use GetWorkspace.newBuilder() to construct. private GetWorkspace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetWorkspace() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetWorkspace(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetWorkspace( 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: { bitField0_ |= 0x00000001; workspaceId_ = input.readInt64(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_GetWorkspace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetWorkspace_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.GetWorkspace.class, cz.proto.access.Ddl.GetWorkspace.Builder.class); } private int bitField0_; public static final int WORKSPACE_ID_FIELD_NUMBER = 1; private long workspaceId_; /** * optional int64 workspace_id = 1; * @return Whether the workspaceId field is set. */ @java.lang.Override public boolean hasWorkspaceId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 workspace_id = 1; * @return The workspaceId. */ @java.lang.Override public long getWorkspaceId() { return workspaceId_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, workspaceId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, workspaceId_); } 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 cz.proto.access.Ddl.GetWorkspace)) { return super.equals(obj); } cz.proto.access.Ddl.GetWorkspace other = (cz.proto.access.Ddl.GetWorkspace) obj; if (hasWorkspaceId() != other.hasWorkspaceId()) return false; if (hasWorkspaceId()) { if (getWorkspaceId() != other.getWorkspaceId()) 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 (hasWorkspaceId()) { hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkspaceId()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.GetWorkspace parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetWorkspace parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetWorkspace parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetWorkspace parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetWorkspace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetWorkspace parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetWorkspace parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetWorkspace 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 cz.proto.access.Ddl.GetWorkspace parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetWorkspace 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 cz.proto.access.Ddl.GetWorkspace parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetWorkspace 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(cz.proto.access.Ddl.GetWorkspace 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 cz.proto.access.GetWorkspace} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.GetWorkspace) cz.proto.access.Ddl.GetWorkspaceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetWorkspace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetWorkspace_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.GetWorkspace.class, cz.proto.access.Ddl.GetWorkspace.Builder.class); } // Construct using cz.proto.access.Ddl.GetWorkspace.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(); workspaceId_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetWorkspace_descriptor; } @java.lang.Override public cz.proto.access.Ddl.GetWorkspace getDefaultInstanceForType() { return cz.proto.access.Ddl.GetWorkspace.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.GetWorkspace build() { cz.proto.access.Ddl.GetWorkspace result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.GetWorkspace buildPartial() { cz.proto.access.Ddl.GetWorkspace result = new cz.proto.access.Ddl.GetWorkspace(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.workspaceId_ = workspaceId_; to_bitField0_ |= 0x00000001; } result.bitField0_ = to_bitField0_; 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 cz.proto.access.Ddl.GetWorkspace) { return mergeFrom((cz.proto.access.Ddl.GetWorkspace)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.GetWorkspace other) { if (other == cz.proto.access.Ddl.GetWorkspace.getDefaultInstance()) return this; if (other.hasWorkspaceId()) { setWorkspaceId(other.getWorkspaceId()); } 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 { cz.proto.access.Ddl.GetWorkspace parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.GetWorkspace) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long workspaceId_ ; /** * optional int64 workspace_id = 1; * @return Whether the workspaceId field is set. */ @java.lang.Override public boolean hasWorkspaceId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int64 workspace_id = 1; * @return The workspaceId. */ @java.lang.Override public long getWorkspaceId() { return workspaceId_; } /** * optional int64 workspace_id = 1; * @param value The workspaceId to set. * @return This builder for chaining. */ public Builder setWorkspaceId(long value) { bitField0_ |= 0x00000001; workspaceId_ = value; onChanged(); return this; } /** * optional int64 workspace_id = 1; * @return This builder for chaining. */ public Builder clearWorkspaceId() { bitField0_ = (bitField0_ & ~0x00000001); workspaceId_ = 0L; 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:cz.proto.access.GetWorkspace) } // @@protoc_insertion_point(class_scope:cz.proto.access.GetWorkspace) private static final cz.proto.access.Ddl.GetWorkspace DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.GetWorkspace(); } public static cz.proto.access.Ddl.GetWorkspace getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetWorkspace parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetWorkspace(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 cz.proto.access.Ddl.GetWorkspace getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetTableOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.GetTable) com.google.protobuf.MessageOrBuilder { /** * optional bool for_read = 2; * @return Whether the forRead field is set. */ boolean hasForRead(); /** * optional bool for_read = 2; * @return The forRead. */ boolean getForRead(); } /** * Protobuf type {@code cz.proto.access.GetTable} */ public static final class GetTable extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.GetTable) GetTableOrBuilder { private static final long serialVersionUID = 0L; // Use GetTable.newBuilder() to construct. private GetTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetTable() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetTable(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetTable( 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 16: { bitField0_ |= 0x00000001; forRead_ = input.readBool(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_GetTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.GetTable.class, cz.proto.access.Ddl.GetTable.Builder.class); } private int bitField0_; public static final int FOR_READ_FIELD_NUMBER = 2; private boolean forRead_; /** * optional bool for_read = 2; * @return Whether the forRead field is set. */ @java.lang.Override public boolean hasForRead() { return ((bitField0_ & 0x00000001) != 0); } /** * optional bool for_read = 2; * @return The forRead. */ @java.lang.Override public boolean getForRead() { return forRead_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(2, forRead_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, forRead_); } 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 cz.proto.access.Ddl.GetTable)) { return super.equals(obj); } cz.proto.access.Ddl.GetTable other = (cz.proto.access.Ddl.GetTable) obj; if (hasForRead() != other.hasForRead()) return false; if (hasForRead()) { if (getForRead() != other.getForRead()) 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 (hasForRead()) { hash = (37 * hash) + FOR_READ_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getForRead()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.GetTable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetTable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetTable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetTable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetTable 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 cz.proto.access.Ddl.GetTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetTable 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 cz.proto.access.Ddl.GetTable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetTable 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(cz.proto.access.Ddl.GetTable 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 cz.proto.access.GetTable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.GetTable) cz.proto.access.Ddl.GetTableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.GetTable.class, cz.proto.access.Ddl.GetTable.Builder.class); } // Construct using cz.proto.access.Ddl.GetTable.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(); forRead_ = false; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetTable_descriptor; } @java.lang.Override public cz.proto.access.Ddl.GetTable getDefaultInstanceForType() { return cz.proto.access.Ddl.GetTable.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.GetTable build() { cz.proto.access.Ddl.GetTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.GetTable buildPartial() { cz.proto.access.Ddl.GetTable result = new cz.proto.access.Ddl.GetTable(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.forRead_ = forRead_; to_bitField0_ |= 0x00000001; } result.bitField0_ = to_bitField0_; 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 cz.proto.access.Ddl.GetTable) { return mergeFrom((cz.proto.access.Ddl.GetTable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.GetTable other) { if (other == cz.proto.access.Ddl.GetTable.getDefaultInstance()) return this; if (other.hasForRead()) { setForRead(other.getForRead()); } 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 { cz.proto.access.Ddl.GetTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.GetTable) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean forRead_ ; /** * optional bool for_read = 2; * @return Whether the forRead field is set. */ @java.lang.Override public boolean hasForRead() { return ((bitField0_ & 0x00000001) != 0); } /** * optional bool for_read = 2; * @return The forRead. */ @java.lang.Override public boolean getForRead() { return forRead_; } /** * optional bool for_read = 2; * @param value The forRead to set. * @return This builder for chaining. */ public Builder setForRead(boolean value) { bitField0_ |= 0x00000001; forRead_ = value; onChanged(); return this; } /** * optional bool for_read = 2; * @return This builder for chaining. */ public Builder clearForRead() { bitField0_ = (bitField0_ & ~0x00000001); forRead_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.GetTable) } // @@protoc_insertion_point(class_scope:cz.proto.access.GetTable) private static final cz.proto.access.Ddl.GetTable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.GetTable(); } public static cz.proto.access.Ddl.GetTable getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetTable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetTable(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 cz.proto.access.Ddl.GetTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetEntityStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.GetEntityStats) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ cz.proto.ObjectIdentifier getIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; */ cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder(); } /** * Protobuf type {@code cz.proto.access.GetEntityStats} */ public static final class GetEntityStats extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.GetEntityStats) GetEntityStatsOrBuilder { private static final long serialVersionUID = 0L; // Use GetEntityStats.newBuilder() to construct. private GetEntityStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetEntityStats() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetEntityStats(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetEntityStats( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_GetEntityStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetEntityStats_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.GetEntityStats.class, cz.proto.access.Ddl.GetEntityStats.Builder.class); } public static final int IDENTIFIER_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier identifier_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ @java.lang.Override public cz.proto.ObjectIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } 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 (identifier_ != null) { output.writeMessage(1, getIdentifier()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } 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 cz.proto.access.Ddl.GetEntityStats)) { return super.equals(obj); } cz.proto.access.Ddl.GetEntityStats other = (cz.proto.access.Ddl.GetEntityStats) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) 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 (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.GetEntityStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetEntityStats parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetEntityStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetEntityStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetEntityStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.GetEntityStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.GetEntityStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetEntityStats 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 cz.proto.access.Ddl.GetEntityStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetEntityStats 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 cz.proto.access.Ddl.GetEntityStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.GetEntityStats 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(cz.proto.access.Ddl.GetEntityStats 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 cz.proto.access.GetEntityStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.GetEntityStats) cz.proto.access.Ddl.GetEntityStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetEntityStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetEntityStats_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.GetEntityStats.class, cz.proto.access.Ddl.GetEntityStats.Builder.class); } // Construct using cz.proto.access.Ddl.GetEntityStats.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 (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_GetEntityStats_descriptor; } @java.lang.Override public cz.proto.access.Ddl.GetEntityStats getDefaultInstanceForType() { return cz.proto.access.Ddl.GetEntityStats.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.GetEntityStats build() { cz.proto.access.Ddl.GetEntityStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.GetEntityStats buildPartial() { cz.proto.access.Ddl.GetEntityStats result = new cz.proto.access.Ddl.GetEntityStats(this); if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.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 cz.proto.access.Ddl.GetEntityStats) { return mergeFrom((cz.proto.access.Ddl.GetEntityStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.GetEntityStats other) { if (other == cz.proto.access.Ddl.GetEntityStats.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } 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 { cz.proto.access.Ddl.GetEntityStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.GetEntityStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ public cz.proto.ObjectIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } @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:cz.proto.access.GetEntityStats) } // @@protoc_insertion_point(class_scope:cz.proto.access.GetEntityStats) private static final cz.proto.access.Ddl.GetEntityStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.GetEntityStats(); } public static cz.proto.access.Ddl.GetEntityStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetEntityStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetEntityStats(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 cz.proto.access.Ddl.GetEntityStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BatchGetEntityStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.BatchGetEntityStats) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier parent = 1; * @return Whether the parent field is set. */ boolean hasParent(); /** * .cz.proto.ObjectIdentifier parent = 1; * @return The parent. */ cz.proto.ObjectIdentifier getParent(); /** * .cz.proto.ObjectIdentifier parent = 1; */ cz.proto.ObjectIdentifierOrBuilder getParentOrBuilder(); /** * .cz.proto.ObjectType entity_type = 2; * @return The enum numeric value on the wire for entityType. */ int getEntityTypeValue(); /** * .cz.proto.ObjectType entity_type = 2; * @return The entityType. */ cz.proto.ObjectType getEntityType(); /** * repeated string entity_name = 3; * @return A list containing the entityName. */ java.util.List getEntityNameList(); /** * repeated string entity_name = 3; * @return The count of entityName. */ int getEntityNameCount(); /** * repeated string entity_name = 3; * @param index The index of the element to return. * @return The entityName at the given index. */ java.lang.String getEntityName(int index); /** * repeated string entity_name = 3; * @param index The index of the value to return. * @return The bytes of the entityName at the given index. */ com.google.protobuf.ByteString getEntityNameBytes(int index); } /** * Protobuf type {@code cz.proto.access.BatchGetEntityStats} */ public static final class BatchGetEntityStats extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.BatchGetEntityStats) BatchGetEntityStatsOrBuilder { private static final long serialVersionUID = 0L; // Use BatchGetEntityStats.newBuilder() to construct. private BatchGetEntityStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BatchGetEntityStats() { entityType_ = 0; entityName_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BatchGetEntityStats(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BatchGetEntityStats( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (parent_ != null) { subBuilder = parent_.toBuilder(); } parent_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(parent_); parent_ = subBuilder.buildPartial(); } break; } case 16: { int rawValue = input.readEnum(); entityType_ = rawValue; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { entityName_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } entityName_.add(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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { entityName_ = entityName_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetEntityStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetEntityStats_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.BatchGetEntityStats.class, cz.proto.access.Ddl.BatchGetEntityStats.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier parent_; /** * .cz.proto.ObjectIdentifier parent = 1; * @return Whether the parent field is set. */ @java.lang.Override public boolean hasParent() { return parent_ != null; } /** * .cz.proto.ObjectIdentifier parent = 1; * @return The parent. */ @java.lang.Override public cz.proto.ObjectIdentifier getParent() { return parent_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : parent_; } /** * .cz.proto.ObjectIdentifier parent = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getParentOrBuilder() { return getParent(); } public static final int ENTITY_TYPE_FIELD_NUMBER = 2; private int entityType_; /** * .cz.proto.ObjectType entity_type = 2; * @return The enum numeric value on the wire for entityType. */ @java.lang.Override public int getEntityTypeValue() { return entityType_; } /** * .cz.proto.ObjectType entity_type = 2; * @return The entityType. */ @java.lang.Override public cz.proto.ObjectType getEntityType() { @SuppressWarnings("deprecation") cz.proto.ObjectType result = cz.proto.ObjectType.valueOf(entityType_); return result == null ? cz.proto.ObjectType.UNRECOGNIZED : result; } public static final int ENTITY_NAME_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList entityName_; /** * repeated string entity_name = 3; * @return A list containing the entityName. */ public com.google.protobuf.ProtocolStringList getEntityNameList() { return entityName_; } /** * repeated string entity_name = 3; * @return The count of entityName. */ public int getEntityNameCount() { return entityName_.size(); } /** * repeated string entity_name = 3; * @param index The index of the element to return. * @return The entityName at the given index. */ public java.lang.String getEntityName(int index) { return entityName_.get(index); } /** * repeated string entity_name = 3; * @param index The index of the value to return. * @return The bytes of the entityName at the given index. */ public com.google.protobuf.ByteString getEntityNameBytes(int index) { return entityName_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (parent_ != null) { output.writeMessage(1, getParent()); } if (entityType_ != cz.proto.ObjectType.UNKNOWN.getNumber()) { output.writeEnum(2, entityType_); } for (int i = 0; i < entityName_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, entityName_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (parent_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getParent()); } if (entityType_ != cz.proto.ObjectType.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, entityType_); } { int dataSize = 0; for (int i = 0; i < entityName_.size(); i++) { dataSize += computeStringSizeNoTag(entityName_.getRaw(i)); } size += dataSize; size += 1 * getEntityNameList().size(); } 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 cz.proto.access.Ddl.BatchGetEntityStats)) { return super.equals(obj); } cz.proto.access.Ddl.BatchGetEntityStats other = (cz.proto.access.Ddl.BatchGetEntityStats) obj; if (hasParent() != other.hasParent()) return false; if (hasParent()) { if (!getParent() .equals(other.getParent())) return false; } if (entityType_ != other.entityType_) return false; if (!getEntityNameList() .equals(other.getEntityNameList())) 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 (hasParent()) { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); } hash = (37 * hash) + ENTITY_TYPE_FIELD_NUMBER; hash = (53 * hash) + entityType_; if (getEntityNameCount() > 0) { hash = (37 * hash) + ENTITY_NAME_FIELD_NUMBER; hash = (53 * hash) + getEntityNameList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.BatchGetEntityStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.BatchGetEntityStats parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.BatchGetEntityStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.BatchGetEntityStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.BatchGetEntityStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.BatchGetEntityStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.BatchGetEntityStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.BatchGetEntityStats 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 cz.proto.access.Ddl.BatchGetEntityStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.BatchGetEntityStats 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 cz.proto.access.Ddl.BatchGetEntityStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.BatchGetEntityStats 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(cz.proto.access.Ddl.BatchGetEntityStats 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 cz.proto.access.BatchGetEntityStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.BatchGetEntityStats) cz.proto.access.Ddl.BatchGetEntityStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetEntityStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetEntityStats_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.BatchGetEntityStats.class, cz.proto.access.Ddl.BatchGetEntityStats.Builder.class); } // Construct using cz.proto.access.Ddl.BatchGetEntityStats.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 (parentBuilder_ == null) { parent_ = null; } else { parent_ = null; parentBuilder_ = null; } entityType_ = 0; entityName_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetEntityStats_descriptor; } @java.lang.Override public cz.proto.access.Ddl.BatchGetEntityStats getDefaultInstanceForType() { return cz.proto.access.Ddl.BatchGetEntityStats.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.BatchGetEntityStats build() { cz.proto.access.Ddl.BatchGetEntityStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.BatchGetEntityStats buildPartial() { cz.proto.access.Ddl.BatchGetEntityStats result = new cz.proto.access.Ddl.BatchGetEntityStats(this); int from_bitField0_ = bitField0_; if (parentBuilder_ == null) { result.parent_ = parent_; } else { result.parent_ = parentBuilder_.build(); } result.entityType_ = entityType_; if (((bitField0_ & 0x00000001) != 0)) { entityName_ = entityName_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.entityName_ = entityName_; 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 cz.proto.access.Ddl.BatchGetEntityStats) { return mergeFrom((cz.proto.access.Ddl.BatchGetEntityStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.BatchGetEntityStats other) { if (other == cz.proto.access.Ddl.BatchGetEntityStats.getDefaultInstance()) return this; if (other.hasParent()) { mergeParent(other.getParent()); } if (other.entityType_ != 0) { setEntityTypeValue(other.getEntityTypeValue()); } if (!other.entityName_.isEmpty()) { if (entityName_.isEmpty()) { entityName_ = other.entityName_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntityNameIsMutable(); entityName_.addAll(other.entityName_); } 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 { cz.proto.access.Ddl.BatchGetEntityStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.BatchGetEntityStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ObjectIdentifier parent_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> parentBuilder_; /** * .cz.proto.ObjectIdentifier parent = 1; * @return Whether the parent field is set. */ public boolean hasParent() { return parentBuilder_ != null || parent_ != null; } /** * .cz.proto.ObjectIdentifier parent = 1; * @return The parent. */ public cz.proto.ObjectIdentifier getParent() { if (parentBuilder_ == null) { return parent_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : parent_; } else { return parentBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier parent = 1; */ public Builder setParent(cz.proto.ObjectIdentifier value) { if (parentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } parent_ = value; onChanged(); } else { parentBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier parent = 1; */ public Builder setParent( cz.proto.ObjectIdentifier.Builder builderForValue) { if (parentBuilder_ == null) { parent_ = builderForValue.build(); onChanged(); } else { parentBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier parent = 1; */ public Builder mergeParent(cz.proto.ObjectIdentifier value) { if (parentBuilder_ == null) { if (parent_ != null) { parent_ = cz.proto.ObjectIdentifier.newBuilder(parent_).mergeFrom(value).buildPartial(); } else { parent_ = value; } onChanged(); } else { parentBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier parent = 1; */ public Builder clearParent() { if (parentBuilder_ == null) { parent_ = null; onChanged(); } else { parent_ = null; parentBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier parent = 1; */ public cz.proto.ObjectIdentifier.Builder getParentBuilder() { onChanged(); return getParentFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier parent = 1; */ public cz.proto.ObjectIdentifierOrBuilder getParentOrBuilder() { if (parentBuilder_ != null) { return parentBuilder_.getMessageOrBuilder(); } else { return parent_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : parent_; } } /** * .cz.proto.ObjectIdentifier parent = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getParentFieldBuilder() { if (parentBuilder_ == null) { parentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getParent(), getParentForChildren(), isClean()); parent_ = null; } return parentBuilder_; } private int entityType_ = 0; /** * .cz.proto.ObjectType entity_type = 2; * @return The enum numeric value on the wire for entityType. */ @java.lang.Override public int getEntityTypeValue() { return entityType_; } /** * .cz.proto.ObjectType entity_type = 2; * @param value The enum numeric value on the wire for entityType to set. * @return This builder for chaining. */ public Builder setEntityTypeValue(int value) { entityType_ = value; onChanged(); return this; } /** * .cz.proto.ObjectType entity_type = 2; * @return The entityType. */ @java.lang.Override public cz.proto.ObjectType getEntityType() { @SuppressWarnings("deprecation") cz.proto.ObjectType result = cz.proto.ObjectType.valueOf(entityType_); return result == null ? cz.proto.ObjectType.UNRECOGNIZED : result; } /** * .cz.proto.ObjectType entity_type = 2; * @param value The entityType to set. * @return This builder for chaining. */ public Builder setEntityType(cz.proto.ObjectType value) { if (value == null) { throw new NullPointerException(); } entityType_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ObjectType entity_type = 2; * @return This builder for chaining. */ public Builder clearEntityType() { entityType_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringList entityName_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureEntityNameIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { entityName_ = new com.google.protobuf.LazyStringArrayList(entityName_); bitField0_ |= 0x00000001; } } /** * repeated string entity_name = 3; * @return A list containing the entityName. */ public com.google.protobuf.ProtocolStringList getEntityNameList() { return entityName_.getUnmodifiableView(); } /** * repeated string entity_name = 3; * @return The count of entityName. */ public int getEntityNameCount() { return entityName_.size(); } /** * repeated string entity_name = 3; * @param index The index of the element to return. * @return The entityName at the given index. */ public java.lang.String getEntityName(int index) { return entityName_.get(index); } /** * repeated string entity_name = 3; * @param index The index of the value to return. * @return The bytes of the entityName at the given index. */ public com.google.protobuf.ByteString getEntityNameBytes(int index) { return entityName_.getByteString(index); } /** * repeated string entity_name = 3; * @param index The index to set the value at. * @param value The entityName to set. * @return This builder for chaining. */ public Builder setEntityName( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureEntityNameIsMutable(); entityName_.set(index, value); onChanged(); return this; } /** * repeated string entity_name = 3; * @param value The entityName to add. * @return This builder for chaining. */ public Builder addEntityName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureEntityNameIsMutable(); entityName_.add(value); onChanged(); return this; } /** * repeated string entity_name = 3; * @param values The entityName to add. * @return This builder for chaining. */ public Builder addAllEntityName( java.lang.Iterable values) { ensureEntityNameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, entityName_); onChanged(); return this; } /** * repeated string entity_name = 3; * @return This builder for chaining. */ public Builder clearEntityName() { entityName_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string entity_name = 3; * @param value The bytes of the entityName to add. * @return This builder for chaining. */ public Builder addEntityNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureEntityNameIsMutable(); entityName_.add(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:cz.proto.access.BatchGetEntityStats) } // @@protoc_insertion_point(class_scope:cz.proto.access.BatchGetEntityStats) private static final cz.proto.access.Ddl.BatchGetEntityStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.BatchGetEntityStats(); } public static cz.proto.access.Ddl.BatchGetEntityStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BatchGetEntityStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BatchGetEntityStats(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 cz.proto.access.Ddl.BatchGetEntityStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BatchGetEntityOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.BatchGetEntity) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier parent = 1; * @return Whether the parent field is set. */ boolean hasParent(); /** * .cz.proto.ObjectIdentifier parent = 1; * @return The parent. */ cz.proto.ObjectIdentifier getParent(); /** * .cz.proto.ObjectIdentifier parent = 1; */ cz.proto.ObjectIdentifierOrBuilder getParentOrBuilder(); /** * .cz.proto.ObjectType entity_type = 2; * @return The enum numeric value on the wire for entityType. */ int getEntityTypeValue(); /** * .cz.proto.ObjectType entity_type = 2; * @return The entityType. */ cz.proto.ObjectType getEntityType(); /** * repeated string entity_name = 3; * @return A list containing the entityName. */ java.util.List getEntityNameList(); /** * repeated string entity_name = 3; * @return The count of entityName. */ int getEntityNameCount(); /** * repeated string entity_name = 3; * @param index The index of the element to return. * @return The entityName at the given index. */ java.lang.String getEntityName(int index); /** * repeated string entity_name = 3; * @param index The index of the value to return. * @return The bytes of the entityName at the given index. */ com.google.protobuf.ByteString getEntityNameBytes(int index); /** * .cz.proto.access.BatchGetUser user = 10; * @return Whether the user field is set. */ boolean hasUser(); /** * .cz.proto.access.BatchGetUser user = 10; * @return The user. */ cz.proto.access.Ddl.BatchGetUser getUser(); /** * .cz.proto.access.BatchGetUser user = 10; */ cz.proto.access.Ddl.BatchGetUserOrBuilder getUserOrBuilder(); /** * .cz.proto.access.BatchGetTable table = 11; * @return Whether the table field is set. */ boolean hasTable(); /** * .cz.proto.access.BatchGetTable table = 11; * @return The table. */ cz.proto.access.Ddl.BatchGetTable getTable(); /** * .cz.proto.access.BatchGetTable table = 11; */ cz.proto.access.Ddl.BatchGetTableOrBuilder getTableOrBuilder(); public cz.proto.access.Ddl.BatchGetEntity.EntityCase getEntityCase(); } /** * Protobuf type {@code cz.proto.access.BatchGetEntity} */ public static final class BatchGetEntity extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.BatchGetEntity) BatchGetEntityOrBuilder { private static final long serialVersionUID = 0L; // Use BatchGetEntity.newBuilder() to construct. private BatchGetEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BatchGetEntity() { entityType_ = 0; entityName_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BatchGetEntity(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BatchGetEntity( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (parent_ != null) { subBuilder = parent_.toBuilder(); } parent_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(parent_); parent_ = subBuilder.buildPartial(); } break; } case 16: { int rawValue = input.readEnum(); entityType_ = rawValue; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { entityName_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } entityName_.add(s); break; } case 82: { cz.proto.access.Ddl.BatchGetUser.Builder subBuilder = null; if (entityCase_ == 10) { subBuilder = ((cz.proto.access.Ddl.BatchGetUser) entity_).toBuilder(); } entity_ = input.readMessage(cz.proto.access.Ddl.BatchGetUser.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.BatchGetUser) entity_); entity_ = subBuilder.buildPartial(); } entityCase_ = 10; break; } case 90: { cz.proto.access.Ddl.BatchGetTable.Builder subBuilder = null; if (entityCase_ == 11) { subBuilder = ((cz.proto.access.Ddl.BatchGetTable) entity_).toBuilder(); } entity_ = input.readMessage(cz.proto.access.Ddl.BatchGetTable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.BatchGetTable) entity_); entity_ = subBuilder.buildPartial(); } entityCase_ = 11; 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)) { entityName_ = entityName_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.BatchGetEntity.class, cz.proto.access.Ddl.BatchGetEntity.Builder.class); } private int entityCase_ = 0; private java.lang.Object entity_; public enum EntityCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { USER(10), TABLE(11), ENTITY_NOT_SET(0); private final int value; private EntityCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static EntityCase valueOf(int value) { return forNumber(value); } public static EntityCase forNumber(int value) { switch (value) { case 10: return USER; case 11: return TABLE; case 0: return ENTITY_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public EntityCase getEntityCase() { return EntityCase.forNumber( entityCase_); } public static final int PARENT_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier parent_; /** * .cz.proto.ObjectIdentifier parent = 1; * @return Whether the parent field is set. */ @java.lang.Override public boolean hasParent() { return parent_ != null; } /** * .cz.proto.ObjectIdentifier parent = 1; * @return The parent. */ @java.lang.Override public cz.proto.ObjectIdentifier getParent() { return parent_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : parent_; } /** * .cz.proto.ObjectIdentifier parent = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getParentOrBuilder() { return getParent(); } public static final int ENTITY_TYPE_FIELD_NUMBER = 2; private int entityType_; /** * .cz.proto.ObjectType entity_type = 2; * @return The enum numeric value on the wire for entityType. */ @java.lang.Override public int getEntityTypeValue() { return entityType_; } /** * .cz.proto.ObjectType entity_type = 2; * @return The entityType. */ @java.lang.Override public cz.proto.ObjectType getEntityType() { @SuppressWarnings("deprecation") cz.proto.ObjectType result = cz.proto.ObjectType.valueOf(entityType_); return result == null ? cz.proto.ObjectType.UNRECOGNIZED : result; } public static final int ENTITY_NAME_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList entityName_; /** * repeated string entity_name = 3; * @return A list containing the entityName. */ public com.google.protobuf.ProtocolStringList getEntityNameList() { return entityName_; } /** * repeated string entity_name = 3; * @return The count of entityName. */ public int getEntityNameCount() { return entityName_.size(); } /** * repeated string entity_name = 3; * @param index The index of the element to return. * @return The entityName at the given index. */ public java.lang.String getEntityName(int index) { return entityName_.get(index); } /** * repeated string entity_name = 3; * @param index The index of the value to return. * @return The bytes of the entityName at the given index. */ public com.google.protobuf.ByteString getEntityNameBytes(int index) { return entityName_.getByteString(index); } public static final int USER_FIELD_NUMBER = 10; /** * .cz.proto.access.BatchGetUser user = 10; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return entityCase_ == 10; } /** * .cz.proto.access.BatchGetUser user = 10; * @return The user. */ @java.lang.Override public cz.proto.access.Ddl.BatchGetUser getUser() { if (entityCase_ == 10) { return (cz.proto.access.Ddl.BatchGetUser) entity_; } return cz.proto.access.Ddl.BatchGetUser.getDefaultInstance(); } /** * .cz.proto.access.BatchGetUser user = 10; */ @java.lang.Override public cz.proto.access.Ddl.BatchGetUserOrBuilder getUserOrBuilder() { if (entityCase_ == 10) { return (cz.proto.access.Ddl.BatchGetUser) entity_; } return cz.proto.access.Ddl.BatchGetUser.getDefaultInstance(); } public static final int TABLE_FIELD_NUMBER = 11; /** * .cz.proto.access.BatchGetTable table = 11; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return entityCase_ == 11; } /** * .cz.proto.access.BatchGetTable table = 11; * @return The table. */ @java.lang.Override public cz.proto.access.Ddl.BatchGetTable getTable() { if (entityCase_ == 11) { return (cz.proto.access.Ddl.BatchGetTable) entity_; } return cz.proto.access.Ddl.BatchGetTable.getDefaultInstance(); } /** * .cz.proto.access.BatchGetTable table = 11; */ @java.lang.Override public cz.proto.access.Ddl.BatchGetTableOrBuilder getTableOrBuilder() { if (entityCase_ == 11) { return (cz.proto.access.Ddl.BatchGetTable) entity_; } return cz.proto.access.Ddl.BatchGetTable.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (parent_ != null) { output.writeMessage(1, getParent()); } if (entityType_ != cz.proto.ObjectType.UNKNOWN.getNumber()) { output.writeEnum(2, entityType_); } for (int i = 0; i < entityName_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, entityName_.getRaw(i)); } if (entityCase_ == 10) { output.writeMessage(10, (cz.proto.access.Ddl.BatchGetUser) entity_); } if (entityCase_ == 11) { output.writeMessage(11, (cz.proto.access.Ddl.BatchGetTable) entity_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (parent_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getParent()); } if (entityType_ != cz.proto.ObjectType.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, entityType_); } { int dataSize = 0; for (int i = 0; i < entityName_.size(); i++) { dataSize += computeStringSizeNoTag(entityName_.getRaw(i)); } size += dataSize; size += 1 * getEntityNameList().size(); } if (entityCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.Ddl.BatchGetUser) entity_); } if (entityCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (cz.proto.access.Ddl.BatchGetTable) entity_); } 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 cz.proto.access.Ddl.BatchGetEntity)) { return super.equals(obj); } cz.proto.access.Ddl.BatchGetEntity other = (cz.proto.access.Ddl.BatchGetEntity) obj; if (hasParent() != other.hasParent()) return false; if (hasParent()) { if (!getParent() .equals(other.getParent())) return false; } if (entityType_ != other.entityType_) return false; if (!getEntityNameList() .equals(other.getEntityNameList())) return false; if (!getEntityCase().equals(other.getEntityCase())) return false; switch (entityCase_) { case 10: if (!getUser() .equals(other.getUser())) return false; break; case 11: if (!getTable() .equals(other.getTable())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasParent()) { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); } hash = (37 * hash) + ENTITY_TYPE_FIELD_NUMBER; hash = (53 * hash) + entityType_; if (getEntityNameCount() > 0) { hash = (37 * hash) + ENTITY_NAME_FIELD_NUMBER; hash = (53 * hash) + getEntityNameList().hashCode(); } switch (entityCase_) { case 10: hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); break; case 11: hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.BatchGetEntity parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.BatchGetEntity parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.BatchGetEntity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.BatchGetEntity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.BatchGetEntity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.BatchGetEntity parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.BatchGetEntity parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.BatchGetEntity 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 cz.proto.access.Ddl.BatchGetEntity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.BatchGetEntity 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 cz.proto.access.Ddl.BatchGetEntity parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.BatchGetEntity 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(cz.proto.access.Ddl.BatchGetEntity 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 cz.proto.access.BatchGetEntity} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.BatchGetEntity) cz.proto.access.Ddl.BatchGetEntityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.BatchGetEntity.class, cz.proto.access.Ddl.BatchGetEntity.Builder.class); } // Construct using cz.proto.access.Ddl.BatchGetEntity.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 (parentBuilder_ == null) { parent_ = null; } else { parent_ = null; parentBuilder_ = null; } entityType_ = 0; entityName_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); entityCase_ = 0; entity_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetEntity_descriptor; } @java.lang.Override public cz.proto.access.Ddl.BatchGetEntity getDefaultInstanceForType() { return cz.proto.access.Ddl.BatchGetEntity.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.BatchGetEntity build() { cz.proto.access.Ddl.BatchGetEntity result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.BatchGetEntity buildPartial() { cz.proto.access.Ddl.BatchGetEntity result = new cz.proto.access.Ddl.BatchGetEntity(this); int from_bitField0_ = bitField0_; if (parentBuilder_ == null) { result.parent_ = parent_; } else { result.parent_ = parentBuilder_.build(); } result.entityType_ = entityType_; if (((bitField0_ & 0x00000001) != 0)) { entityName_ = entityName_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.entityName_ = entityName_; if (entityCase_ == 10) { if (userBuilder_ == null) { result.entity_ = entity_; } else { result.entity_ = userBuilder_.build(); } } if (entityCase_ == 11) { if (tableBuilder_ == null) { result.entity_ = entity_; } else { result.entity_ = tableBuilder_.build(); } } result.entityCase_ = entityCase_; 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 cz.proto.access.Ddl.BatchGetEntity) { return mergeFrom((cz.proto.access.Ddl.BatchGetEntity)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.BatchGetEntity other) { if (other == cz.proto.access.Ddl.BatchGetEntity.getDefaultInstance()) return this; if (other.hasParent()) { mergeParent(other.getParent()); } if (other.entityType_ != 0) { setEntityTypeValue(other.getEntityTypeValue()); } if (!other.entityName_.isEmpty()) { if (entityName_.isEmpty()) { entityName_ = other.entityName_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntityNameIsMutable(); entityName_.addAll(other.entityName_); } onChanged(); } switch (other.getEntityCase()) { case USER: { mergeUser(other.getUser()); break; } case TABLE: { mergeTable(other.getTable()); break; } case ENTITY_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.BatchGetEntity parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.BatchGetEntity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int entityCase_ = 0; private java.lang.Object entity_; public EntityCase getEntityCase() { return EntityCase.forNumber( entityCase_); } public Builder clearEntity() { entityCase_ = 0; entity_ = null; onChanged(); return this; } private int bitField0_; private cz.proto.ObjectIdentifier parent_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> parentBuilder_; /** * .cz.proto.ObjectIdentifier parent = 1; * @return Whether the parent field is set. */ public boolean hasParent() { return parentBuilder_ != null || parent_ != null; } /** * .cz.proto.ObjectIdentifier parent = 1; * @return The parent. */ public cz.proto.ObjectIdentifier getParent() { if (parentBuilder_ == null) { return parent_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : parent_; } else { return parentBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier parent = 1; */ public Builder setParent(cz.proto.ObjectIdentifier value) { if (parentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } parent_ = value; onChanged(); } else { parentBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier parent = 1; */ public Builder setParent( cz.proto.ObjectIdentifier.Builder builderForValue) { if (parentBuilder_ == null) { parent_ = builderForValue.build(); onChanged(); } else { parentBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier parent = 1; */ public Builder mergeParent(cz.proto.ObjectIdentifier value) { if (parentBuilder_ == null) { if (parent_ != null) { parent_ = cz.proto.ObjectIdentifier.newBuilder(parent_).mergeFrom(value).buildPartial(); } else { parent_ = value; } onChanged(); } else { parentBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier parent = 1; */ public Builder clearParent() { if (parentBuilder_ == null) { parent_ = null; onChanged(); } else { parent_ = null; parentBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier parent = 1; */ public cz.proto.ObjectIdentifier.Builder getParentBuilder() { onChanged(); return getParentFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier parent = 1; */ public cz.proto.ObjectIdentifierOrBuilder getParentOrBuilder() { if (parentBuilder_ != null) { return parentBuilder_.getMessageOrBuilder(); } else { return parent_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : parent_; } } /** * .cz.proto.ObjectIdentifier parent = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getParentFieldBuilder() { if (parentBuilder_ == null) { parentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getParent(), getParentForChildren(), isClean()); parent_ = null; } return parentBuilder_; } private int entityType_ = 0; /** * .cz.proto.ObjectType entity_type = 2; * @return The enum numeric value on the wire for entityType. */ @java.lang.Override public int getEntityTypeValue() { return entityType_; } /** * .cz.proto.ObjectType entity_type = 2; * @param value The enum numeric value on the wire for entityType to set. * @return This builder for chaining. */ public Builder setEntityTypeValue(int value) { entityType_ = value; onChanged(); return this; } /** * .cz.proto.ObjectType entity_type = 2; * @return The entityType. */ @java.lang.Override public cz.proto.ObjectType getEntityType() { @SuppressWarnings("deprecation") cz.proto.ObjectType result = cz.proto.ObjectType.valueOf(entityType_); return result == null ? cz.proto.ObjectType.UNRECOGNIZED : result; } /** * .cz.proto.ObjectType entity_type = 2; * @param value The entityType to set. * @return This builder for chaining. */ public Builder setEntityType(cz.proto.ObjectType value) { if (value == null) { throw new NullPointerException(); } entityType_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ObjectType entity_type = 2; * @return This builder for chaining. */ public Builder clearEntityType() { entityType_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringList entityName_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureEntityNameIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { entityName_ = new com.google.protobuf.LazyStringArrayList(entityName_); bitField0_ |= 0x00000001; } } /** * repeated string entity_name = 3; * @return A list containing the entityName. */ public com.google.protobuf.ProtocolStringList getEntityNameList() { return entityName_.getUnmodifiableView(); } /** * repeated string entity_name = 3; * @return The count of entityName. */ public int getEntityNameCount() { return entityName_.size(); } /** * repeated string entity_name = 3; * @param index The index of the element to return. * @return The entityName at the given index. */ public java.lang.String getEntityName(int index) { return entityName_.get(index); } /** * repeated string entity_name = 3; * @param index The index of the value to return. * @return The bytes of the entityName at the given index. */ public com.google.protobuf.ByteString getEntityNameBytes(int index) { return entityName_.getByteString(index); } /** * repeated string entity_name = 3; * @param index The index to set the value at. * @param value The entityName to set. * @return This builder for chaining. */ public Builder setEntityName( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureEntityNameIsMutable(); entityName_.set(index, value); onChanged(); return this; } /** * repeated string entity_name = 3; * @param value The entityName to add. * @return This builder for chaining. */ public Builder addEntityName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureEntityNameIsMutable(); entityName_.add(value); onChanged(); return this; } /** * repeated string entity_name = 3; * @param values The entityName to add. * @return This builder for chaining. */ public Builder addAllEntityName( java.lang.Iterable values) { ensureEntityNameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, entityName_); onChanged(); return this; } /** * repeated string entity_name = 3; * @return This builder for chaining. */ public Builder clearEntityName() { entityName_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string entity_name = 3; * @param value The bytes of the entityName to add. * @return This builder for chaining. */ public Builder addEntityNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureEntityNameIsMutable(); entityName_.add(value); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.BatchGetUser, cz.proto.access.Ddl.BatchGetUser.Builder, cz.proto.access.Ddl.BatchGetUserOrBuilder> userBuilder_; /** * .cz.proto.access.BatchGetUser user = 10; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return entityCase_ == 10; } /** * .cz.proto.access.BatchGetUser user = 10; * @return The user. */ @java.lang.Override public cz.proto.access.Ddl.BatchGetUser getUser() { if (userBuilder_ == null) { if (entityCase_ == 10) { return (cz.proto.access.Ddl.BatchGetUser) entity_; } return cz.proto.access.Ddl.BatchGetUser.getDefaultInstance(); } else { if (entityCase_ == 10) { return userBuilder_.getMessage(); } return cz.proto.access.Ddl.BatchGetUser.getDefaultInstance(); } } /** * .cz.proto.access.BatchGetUser user = 10; */ public Builder setUser(cz.proto.access.Ddl.BatchGetUser value) { if (userBuilder_ == null) { if (value == null) { throw new NullPointerException(); } entity_ = value; onChanged(); } else { userBuilder_.setMessage(value); } entityCase_ = 10; return this; } /** * .cz.proto.access.BatchGetUser user = 10; */ public Builder setUser( cz.proto.access.Ddl.BatchGetUser.Builder builderForValue) { if (userBuilder_ == null) { entity_ = builderForValue.build(); onChanged(); } else { userBuilder_.setMessage(builderForValue.build()); } entityCase_ = 10; return this; } /** * .cz.proto.access.BatchGetUser user = 10; */ public Builder mergeUser(cz.proto.access.Ddl.BatchGetUser value) { if (userBuilder_ == null) { if (entityCase_ == 10 && entity_ != cz.proto.access.Ddl.BatchGetUser.getDefaultInstance()) { entity_ = cz.proto.access.Ddl.BatchGetUser.newBuilder((cz.proto.access.Ddl.BatchGetUser) entity_) .mergeFrom(value).buildPartial(); } else { entity_ = value; } onChanged(); } else { if (entityCase_ == 10) { userBuilder_.mergeFrom(value); } userBuilder_.setMessage(value); } entityCase_ = 10; return this; } /** * .cz.proto.access.BatchGetUser user = 10; */ public Builder clearUser() { if (userBuilder_ == null) { if (entityCase_ == 10) { entityCase_ = 0; entity_ = null; onChanged(); } } else { if (entityCase_ == 10) { entityCase_ = 0; entity_ = null; } userBuilder_.clear(); } return this; } /** * .cz.proto.access.BatchGetUser user = 10; */ public cz.proto.access.Ddl.BatchGetUser.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** * .cz.proto.access.BatchGetUser user = 10; */ @java.lang.Override public cz.proto.access.Ddl.BatchGetUserOrBuilder getUserOrBuilder() { if ((entityCase_ == 10) && (userBuilder_ != null)) { return userBuilder_.getMessageOrBuilder(); } else { if (entityCase_ == 10) { return (cz.proto.access.Ddl.BatchGetUser) entity_; } return cz.proto.access.Ddl.BatchGetUser.getDefaultInstance(); } } /** * .cz.proto.access.BatchGetUser user = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.BatchGetUser, cz.proto.access.Ddl.BatchGetUser.Builder, cz.proto.access.Ddl.BatchGetUserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { if (!(entityCase_ == 10)) { entity_ = cz.proto.access.Ddl.BatchGetUser.getDefaultInstance(); } userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.BatchGetUser, cz.proto.access.Ddl.BatchGetUser.Builder, cz.proto.access.Ddl.BatchGetUserOrBuilder>( (cz.proto.access.Ddl.BatchGetUser) entity_, getParentForChildren(), isClean()); entity_ = null; } entityCase_ = 10; onChanged();; return userBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.BatchGetTable, cz.proto.access.Ddl.BatchGetTable.Builder, cz.proto.access.Ddl.BatchGetTableOrBuilder> tableBuilder_; /** * .cz.proto.access.BatchGetTable table = 11; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return entityCase_ == 11; } /** * .cz.proto.access.BatchGetTable table = 11; * @return The table. */ @java.lang.Override public cz.proto.access.Ddl.BatchGetTable getTable() { if (tableBuilder_ == null) { if (entityCase_ == 11) { return (cz.proto.access.Ddl.BatchGetTable) entity_; } return cz.proto.access.Ddl.BatchGetTable.getDefaultInstance(); } else { if (entityCase_ == 11) { return tableBuilder_.getMessage(); } return cz.proto.access.Ddl.BatchGetTable.getDefaultInstance(); } } /** * .cz.proto.access.BatchGetTable table = 11; */ public Builder setTable(cz.proto.access.Ddl.BatchGetTable value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } entity_ = value; onChanged(); } else { tableBuilder_.setMessage(value); } entityCase_ = 11; return this; } /** * .cz.proto.access.BatchGetTable table = 11; */ public Builder setTable( cz.proto.access.Ddl.BatchGetTable.Builder builderForValue) { if (tableBuilder_ == null) { entity_ = builderForValue.build(); onChanged(); } else { tableBuilder_.setMessage(builderForValue.build()); } entityCase_ = 11; return this; } /** * .cz.proto.access.BatchGetTable table = 11; */ public Builder mergeTable(cz.proto.access.Ddl.BatchGetTable value) { if (tableBuilder_ == null) { if (entityCase_ == 11 && entity_ != cz.proto.access.Ddl.BatchGetTable.getDefaultInstance()) { entity_ = cz.proto.access.Ddl.BatchGetTable.newBuilder((cz.proto.access.Ddl.BatchGetTable) entity_) .mergeFrom(value).buildPartial(); } else { entity_ = value; } onChanged(); } else { if (entityCase_ == 11) { tableBuilder_.mergeFrom(value); } tableBuilder_.setMessage(value); } entityCase_ = 11; return this; } /** * .cz.proto.access.BatchGetTable table = 11; */ public Builder clearTable() { if (tableBuilder_ == null) { if (entityCase_ == 11) { entityCase_ = 0; entity_ = null; onChanged(); } } else { if (entityCase_ == 11) { entityCase_ = 0; entity_ = null; } tableBuilder_.clear(); } return this; } /** * .cz.proto.access.BatchGetTable table = 11; */ public cz.proto.access.Ddl.BatchGetTable.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** * .cz.proto.access.BatchGetTable table = 11; */ @java.lang.Override public cz.proto.access.Ddl.BatchGetTableOrBuilder getTableOrBuilder() { if ((entityCase_ == 11) && (tableBuilder_ != null)) { return tableBuilder_.getMessageOrBuilder(); } else { if (entityCase_ == 11) { return (cz.proto.access.Ddl.BatchGetTable) entity_; } return cz.proto.access.Ddl.BatchGetTable.getDefaultInstance(); } } /** * .cz.proto.access.BatchGetTable table = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.BatchGetTable, cz.proto.access.Ddl.BatchGetTable.Builder, cz.proto.access.Ddl.BatchGetTableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { if (!(entityCase_ == 11)) { entity_ = cz.proto.access.Ddl.BatchGetTable.getDefaultInstance(); } tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.BatchGetTable, cz.proto.access.Ddl.BatchGetTable.Builder, cz.proto.access.Ddl.BatchGetTableOrBuilder>( (cz.proto.access.Ddl.BatchGetTable) entity_, getParentForChildren(), isClean()); entity_ = null; } entityCase_ = 11; onChanged();; return tableBuilder_; } @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:cz.proto.access.BatchGetEntity) } // @@protoc_insertion_point(class_scope:cz.proto.access.BatchGetEntity) private static final cz.proto.access.Ddl.BatchGetEntity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.BatchGetEntity(); } public static cz.proto.access.Ddl.BatchGetEntity getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BatchGetEntity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BatchGetEntity(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 cz.proto.access.Ddl.BatchGetEntity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BatchGetUserOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.BatchGetUser) com.google.protobuf.MessageOrBuilder { /** * repeated int64 user_id = 1; * @return A list containing the userId. */ java.util.List getUserIdList(); /** * repeated int64 user_id = 1; * @return The count of userId. */ int getUserIdCount(); /** * repeated int64 user_id = 1; * @param index The index of the element to return. * @return The userId at the given index. */ long getUserId(int index); } /** * Protobuf type {@code cz.proto.access.BatchGetUser} */ public static final class BatchGetUser extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.BatchGetUser) BatchGetUserOrBuilder { private static final long serialVersionUID = 0L; // Use BatchGetUser.newBuilder() to construct. private BatchGetUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BatchGetUser() { userId_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BatchGetUser(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BatchGetUser( 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: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { userId_ = newLongList(); mutable_bitField0_ |= 0x00000001; } userId_.addLong(input.readInt64()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { userId_ = newLongList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { userId_.addLong(input.readInt64()); } input.popLimit(limit); 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)) { userId_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetUser_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.BatchGetUser.class, cz.proto.access.Ddl.BatchGetUser.Builder.class); } public static final int USER_ID_FIELD_NUMBER = 1; private com.google.protobuf.Internal.LongList userId_; /** * repeated int64 user_id = 1; * @return A list containing the userId. */ @java.lang.Override public java.util.List getUserIdList() { return userId_; } /** * repeated int64 user_id = 1; * @return The count of userId. */ public int getUserIdCount() { return userId_.size(); } /** * repeated int64 user_id = 1; * @param index The index of the element to return. * @return The userId at the given index. */ public long getUserId(int index) { return userId_.getLong(index); } private int userIdMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getUserIdList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(userIdMemoizedSerializedSize); } for (int i = 0; i < userId_.size(); i++) { output.writeInt64NoTag(userId_.getLong(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < userId_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(userId_.getLong(i)); } size += dataSize; if (!getUserIdList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } userIdMemoizedSerializedSize = dataSize; } 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 cz.proto.access.Ddl.BatchGetUser)) { return super.equals(obj); } cz.proto.access.Ddl.BatchGetUser other = (cz.proto.access.Ddl.BatchGetUser) obj; if (!getUserIdList() .equals(other.getUserIdList())) 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 (getUserIdCount() > 0) { hash = (37 * hash) + USER_ID_FIELD_NUMBER; hash = (53 * hash) + getUserIdList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.BatchGetUser parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.BatchGetUser parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.BatchGetUser parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.BatchGetUser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.BatchGetUser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.BatchGetUser parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.BatchGetUser parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.BatchGetUser 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 cz.proto.access.Ddl.BatchGetUser parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.BatchGetUser 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 cz.proto.access.Ddl.BatchGetUser parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.BatchGetUser 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(cz.proto.access.Ddl.BatchGetUser 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 cz.proto.access.BatchGetUser} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.BatchGetUser) cz.proto.access.Ddl.BatchGetUserOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetUser_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.BatchGetUser.class, cz.proto.access.Ddl.BatchGetUser.Builder.class); } // Construct using cz.proto.access.Ddl.BatchGetUser.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(); userId_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetUser_descriptor; } @java.lang.Override public cz.proto.access.Ddl.BatchGetUser getDefaultInstanceForType() { return cz.proto.access.Ddl.BatchGetUser.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.BatchGetUser build() { cz.proto.access.Ddl.BatchGetUser result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.BatchGetUser buildPartial() { cz.proto.access.Ddl.BatchGetUser result = new cz.proto.access.Ddl.BatchGetUser(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { userId_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.userId_ = userId_; 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 cz.proto.access.Ddl.BatchGetUser) { return mergeFrom((cz.proto.access.Ddl.BatchGetUser)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.BatchGetUser other) { if (other == cz.proto.access.Ddl.BatchGetUser.getDefaultInstance()) return this; if (!other.userId_.isEmpty()) { if (userId_.isEmpty()) { userId_ = other.userId_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUserIdIsMutable(); userId_.addAll(other.userId_); } 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 { cz.proto.access.Ddl.BatchGetUser parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.BatchGetUser) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.Internal.LongList userId_ = emptyLongList(); private void ensureUserIdIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { userId_ = mutableCopy(userId_); bitField0_ |= 0x00000001; } } /** * repeated int64 user_id = 1; * @return A list containing the userId. */ public java.util.List getUserIdList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(userId_) : userId_; } /** * repeated int64 user_id = 1; * @return The count of userId. */ public int getUserIdCount() { return userId_.size(); } /** * repeated int64 user_id = 1; * @param index The index of the element to return. * @return The userId at the given index. */ public long getUserId(int index) { return userId_.getLong(index); } /** * repeated int64 user_id = 1; * @param index The index to set the value at. * @param value The userId to set. * @return This builder for chaining. */ public Builder setUserId( int index, long value) { ensureUserIdIsMutable(); userId_.setLong(index, value); onChanged(); return this; } /** * repeated int64 user_id = 1; * @param value The userId to add. * @return This builder for chaining. */ public Builder addUserId(long value) { ensureUserIdIsMutable(); userId_.addLong(value); onChanged(); return this; } /** * repeated int64 user_id = 1; * @param values The userId to add. * @return This builder for chaining. */ public Builder addAllUserId( java.lang.Iterable values) { ensureUserIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, userId_); onChanged(); return this; } /** * repeated int64 user_id = 1; * @return This builder for chaining. */ public Builder clearUserId() { userId_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.BatchGetUser) } // @@protoc_insertion_point(class_scope:cz.proto.access.BatchGetUser) private static final cz.proto.access.Ddl.BatchGetUser DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.BatchGetUser(); } public static cz.proto.access.Ddl.BatchGetUser getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BatchGetUser parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BatchGetUser(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 cz.proto.access.Ddl.BatchGetUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BatchGetTableOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.BatchGetTable) com.google.protobuf.MessageOrBuilder { /** * optional bool for_read = 1; * @return Whether the forRead field is set. */ boolean hasForRead(); /** * optional bool for_read = 1; * @return The forRead. */ boolean getForRead(); } /** * Protobuf type {@code cz.proto.access.BatchGetTable} */ public static final class BatchGetTable extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.BatchGetTable) BatchGetTableOrBuilder { private static final long serialVersionUID = 0L; // Use BatchGetTable.newBuilder() to construct. private BatchGetTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BatchGetTable() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BatchGetTable(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BatchGetTable( 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: { bitField0_ |= 0x00000001; forRead_ = input.readBool(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.BatchGetTable.class, cz.proto.access.Ddl.BatchGetTable.Builder.class); } private int bitField0_; public static final int FOR_READ_FIELD_NUMBER = 1; private boolean forRead_; /** * optional bool for_read = 1; * @return Whether the forRead field is set. */ @java.lang.Override public boolean hasForRead() { return ((bitField0_ & 0x00000001) != 0); } /** * optional bool for_read = 1; * @return The forRead. */ @java.lang.Override public boolean getForRead() { return forRead_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(1, forRead_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, forRead_); } 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 cz.proto.access.Ddl.BatchGetTable)) { return super.equals(obj); } cz.proto.access.Ddl.BatchGetTable other = (cz.proto.access.Ddl.BatchGetTable) obj; if (hasForRead() != other.hasForRead()) return false; if (hasForRead()) { if (getForRead() != other.getForRead()) 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 (hasForRead()) { hash = (37 * hash) + FOR_READ_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getForRead()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.BatchGetTable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.BatchGetTable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.BatchGetTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.BatchGetTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.BatchGetTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.BatchGetTable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.BatchGetTable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.BatchGetTable 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 cz.proto.access.Ddl.BatchGetTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.BatchGetTable 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 cz.proto.access.Ddl.BatchGetTable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.BatchGetTable 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(cz.proto.access.Ddl.BatchGetTable 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 cz.proto.access.BatchGetTable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.BatchGetTable) cz.proto.access.Ddl.BatchGetTableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.BatchGetTable.class, cz.proto.access.Ddl.BatchGetTable.Builder.class); } // Construct using cz.proto.access.Ddl.BatchGetTable.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(); forRead_ = false; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_BatchGetTable_descriptor; } @java.lang.Override public cz.proto.access.Ddl.BatchGetTable getDefaultInstanceForType() { return cz.proto.access.Ddl.BatchGetTable.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.BatchGetTable build() { cz.proto.access.Ddl.BatchGetTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.BatchGetTable buildPartial() { cz.proto.access.Ddl.BatchGetTable result = new cz.proto.access.Ddl.BatchGetTable(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.forRead_ = forRead_; to_bitField0_ |= 0x00000001; } result.bitField0_ = to_bitField0_; 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 cz.proto.access.Ddl.BatchGetTable) { return mergeFrom((cz.proto.access.Ddl.BatchGetTable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.BatchGetTable other) { if (other == cz.proto.access.Ddl.BatchGetTable.getDefaultInstance()) return this; if (other.hasForRead()) { setForRead(other.getForRead()); } 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 { cz.proto.access.Ddl.BatchGetTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.BatchGetTable) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean forRead_ ; /** * optional bool for_read = 1; * @return Whether the forRead field is set. */ @java.lang.Override public boolean hasForRead() { return ((bitField0_ & 0x00000001) != 0); } /** * optional bool for_read = 1; * @return The forRead. */ @java.lang.Override public boolean getForRead() { return forRead_; } /** * optional bool for_read = 1; * @param value The forRead to set. * @return This builder for chaining. */ public Builder setForRead(boolean value) { bitField0_ |= 0x00000001; forRead_ = value; onChanged(); return this; } /** * optional bool for_read = 1; * @return This builder for chaining. */ public Builder clearForRead() { bitField0_ = (bitField0_ & ~0x00000001); forRead_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.BatchGetTable) } // @@protoc_insertion_point(class_scope:cz.proto.access.BatchGetTable) private static final cz.proto.access.Ddl.BatchGetTable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.BatchGetTable(); } public static cz.proto.access.Ddl.BatchGetTable getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BatchGetTable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BatchGetTable(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 cz.proto.access.Ddl.BatchGetTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DDLOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DDL) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.access.CreateEntity create_entity = 10; * @return Whether the createEntity field is set. */ boolean hasCreateEntity(); /** * .cz.proto.access.CreateEntity create_entity = 10; * @return The createEntity. */ cz.proto.access.Ddl.CreateEntity getCreateEntity(); /** * .cz.proto.access.CreateEntity create_entity = 10; */ cz.proto.access.Ddl.CreateEntityOrBuilder getCreateEntityOrBuilder(); /** * .cz.proto.access.DropEntity drop_entity = 11; * @return Whether the dropEntity field is set. */ boolean hasDropEntity(); /** * .cz.proto.access.DropEntity drop_entity = 11; * @return The dropEntity. */ cz.proto.access.Ddl.DropEntity getDropEntity(); /** * .cz.proto.access.DropEntity drop_entity = 11; */ cz.proto.access.Ddl.DropEntityOrBuilder getDropEntityOrBuilder(); /** * .cz.proto.access.AlterEntity alter_entity = 12; * @return Whether the alterEntity field is set. */ boolean hasAlterEntity(); /** * .cz.proto.access.AlterEntity alter_entity = 12; * @return The alterEntity. */ cz.proto.access.Ddl.AlterEntity getAlterEntity(); /** * .cz.proto.access.AlterEntity alter_entity = 12; */ cz.proto.access.Ddl.AlterEntityOrBuilder getAlterEntityOrBuilder(); /** * .cz.proto.access.TruncateEntity truncate_entity = 13; * @return Whether the truncateEntity field is set. */ boolean hasTruncateEntity(); /** * .cz.proto.access.TruncateEntity truncate_entity = 13; * @return The truncateEntity. */ cz.proto.access.Ddl.TruncateEntity getTruncateEntity(); /** * .cz.proto.access.TruncateEntity truncate_entity = 13; */ cz.proto.access.Ddl.TruncateEntityOrBuilder getTruncateEntityOrBuilder(); /** * .cz.proto.access.UndropEntity undrop_entity = 14; * @return Whether the undropEntity field is set. */ boolean hasUndropEntity(); /** * .cz.proto.access.UndropEntity undrop_entity = 14; * @return The undropEntity. */ cz.proto.access.Ddl.UndropEntity getUndropEntity(); /** * .cz.proto.access.UndropEntity undrop_entity = 14; */ cz.proto.access.Ddl.UndropEntityOrBuilder getUndropEntityOrBuilder(); public cz.proto.access.Ddl.DDL.CommandCase getCommandCase(); } /** * Protobuf type {@code cz.proto.access.DDL} */ public static final class DDL extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DDL) DDLOrBuilder { private static final long serialVersionUID = 0L; // Use DDL.newBuilder() to construct. private DDL(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DDL() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DDL(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DDL( 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 82: { cz.proto.access.Ddl.CreateEntity.Builder subBuilder = null; if (commandCase_ == 10) { subBuilder = ((cz.proto.access.Ddl.CreateEntity) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.Ddl.CreateEntity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.CreateEntity) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 10; break; } case 90: { cz.proto.access.Ddl.DropEntity.Builder subBuilder = null; if (commandCase_ == 11) { subBuilder = ((cz.proto.access.Ddl.DropEntity) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.Ddl.DropEntity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DropEntity) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 11; break; } case 98: { cz.proto.access.Ddl.AlterEntity.Builder subBuilder = null; if (commandCase_ == 12) { subBuilder = ((cz.proto.access.Ddl.AlterEntity) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.Ddl.AlterEntity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.AlterEntity) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 12; break; } case 106: { cz.proto.access.Ddl.TruncateEntity.Builder subBuilder = null; if (commandCase_ == 13) { subBuilder = ((cz.proto.access.Ddl.TruncateEntity) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.Ddl.TruncateEntity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.TruncateEntity) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 13; break; } case 114: { cz.proto.access.Ddl.UndropEntity.Builder subBuilder = null; if (commandCase_ == 14) { subBuilder = ((cz.proto.access.Ddl.UndropEntity) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.Ddl.UndropEntity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.UndropEntity) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 14; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DDL_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DDL_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DDL.class, cz.proto.access.Ddl.DDL.Builder.class); } private int commandCase_ = 0; private java.lang.Object command_; public enum CommandCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CREATE_ENTITY(10), DROP_ENTITY(11), ALTER_ENTITY(12), TRUNCATE_ENTITY(13), UNDROP_ENTITY(14), COMMAND_NOT_SET(0); private final int value; private CommandCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static CommandCase valueOf(int value) { return forNumber(value); } public static CommandCase forNumber(int value) { switch (value) { case 10: return CREATE_ENTITY; case 11: return DROP_ENTITY; case 12: return ALTER_ENTITY; case 13: return TRUNCATE_ENTITY; case 14: return UNDROP_ENTITY; case 0: return COMMAND_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public CommandCase getCommandCase() { return CommandCase.forNumber( commandCase_); } public static final int CREATE_ENTITY_FIELD_NUMBER = 10; /** * .cz.proto.access.CreateEntity create_entity = 10; * @return Whether the createEntity field is set. */ @java.lang.Override public boolean hasCreateEntity() { return commandCase_ == 10; } /** * .cz.proto.access.CreateEntity create_entity = 10; * @return The createEntity. */ @java.lang.Override public cz.proto.access.Ddl.CreateEntity getCreateEntity() { if (commandCase_ == 10) { return (cz.proto.access.Ddl.CreateEntity) command_; } return cz.proto.access.Ddl.CreateEntity.getDefaultInstance(); } /** * .cz.proto.access.CreateEntity create_entity = 10; */ @java.lang.Override public cz.proto.access.Ddl.CreateEntityOrBuilder getCreateEntityOrBuilder() { if (commandCase_ == 10) { return (cz.proto.access.Ddl.CreateEntity) command_; } return cz.proto.access.Ddl.CreateEntity.getDefaultInstance(); } public static final int DROP_ENTITY_FIELD_NUMBER = 11; /** * .cz.proto.access.DropEntity drop_entity = 11; * @return Whether the dropEntity field is set. */ @java.lang.Override public boolean hasDropEntity() { return commandCase_ == 11; } /** * .cz.proto.access.DropEntity drop_entity = 11; * @return The dropEntity. */ @java.lang.Override public cz.proto.access.Ddl.DropEntity getDropEntity() { if (commandCase_ == 11) { return (cz.proto.access.Ddl.DropEntity) command_; } return cz.proto.access.Ddl.DropEntity.getDefaultInstance(); } /** * .cz.proto.access.DropEntity drop_entity = 11; */ @java.lang.Override public cz.proto.access.Ddl.DropEntityOrBuilder getDropEntityOrBuilder() { if (commandCase_ == 11) { return (cz.proto.access.Ddl.DropEntity) command_; } return cz.proto.access.Ddl.DropEntity.getDefaultInstance(); } public static final int ALTER_ENTITY_FIELD_NUMBER = 12; /** * .cz.proto.access.AlterEntity alter_entity = 12; * @return Whether the alterEntity field is set. */ @java.lang.Override public boolean hasAlterEntity() { return commandCase_ == 12; } /** * .cz.proto.access.AlterEntity alter_entity = 12; * @return The alterEntity. */ @java.lang.Override public cz.proto.access.Ddl.AlterEntity getAlterEntity() { if (commandCase_ == 12) { return (cz.proto.access.Ddl.AlterEntity) command_; } return cz.proto.access.Ddl.AlterEntity.getDefaultInstance(); } /** * .cz.proto.access.AlterEntity alter_entity = 12; */ @java.lang.Override public cz.proto.access.Ddl.AlterEntityOrBuilder getAlterEntityOrBuilder() { if (commandCase_ == 12) { return (cz.proto.access.Ddl.AlterEntity) command_; } return cz.proto.access.Ddl.AlterEntity.getDefaultInstance(); } public static final int TRUNCATE_ENTITY_FIELD_NUMBER = 13; /** * .cz.proto.access.TruncateEntity truncate_entity = 13; * @return Whether the truncateEntity field is set. */ @java.lang.Override public boolean hasTruncateEntity() { return commandCase_ == 13; } /** * .cz.proto.access.TruncateEntity truncate_entity = 13; * @return The truncateEntity. */ @java.lang.Override public cz.proto.access.Ddl.TruncateEntity getTruncateEntity() { if (commandCase_ == 13) { return (cz.proto.access.Ddl.TruncateEntity) command_; } return cz.proto.access.Ddl.TruncateEntity.getDefaultInstance(); } /** * .cz.proto.access.TruncateEntity truncate_entity = 13; */ @java.lang.Override public cz.proto.access.Ddl.TruncateEntityOrBuilder getTruncateEntityOrBuilder() { if (commandCase_ == 13) { return (cz.proto.access.Ddl.TruncateEntity) command_; } return cz.proto.access.Ddl.TruncateEntity.getDefaultInstance(); } public static final int UNDROP_ENTITY_FIELD_NUMBER = 14; /** * .cz.proto.access.UndropEntity undrop_entity = 14; * @return Whether the undropEntity field is set. */ @java.lang.Override public boolean hasUndropEntity() { return commandCase_ == 14; } /** * .cz.proto.access.UndropEntity undrop_entity = 14; * @return The undropEntity. */ @java.lang.Override public cz.proto.access.Ddl.UndropEntity getUndropEntity() { if (commandCase_ == 14) { return (cz.proto.access.Ddl.UndropEntity) command_; } return cz.proto.access.Ddl.UndropEntity.getDefaultInstance(); } /** * .cz.proto.access.UndropEntity undrop_entity = 14; */ @java.lang.Override public cz.proto.access.Ddl.UndropEntityOrBuilder getUndropEntityOrBuilder() { if (commandCase_ == 14) { return (cz.proto.access.Ddl.UndropEntity) command_; } return cz.proto.access.Ddl.UndropEntity.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (commandCase_ == 10) { output.writeMessage(10, (cz.proto.access.Ddl.CreateEntity) command_); } if (commandCase_ == 11) { output.writeMessage(11, (cz.proto.access.Ddl.DropEntity) command_); } if (commandCase_ == 12) { output.writeMessage(12, (cz.proto.access.Ddl.AlterEntity) command_); } if (commandCase_ == 13) { output.writeMessage(13, (cz.proto.access.Ddl.TruncateEntity) command_); } if (commandCase_ == 14) { output.writeMessage(14, (cz.proto.access.Ddl.UndropEntity) command_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (commandCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.Ddl.CreateEntity) command_); } if (commandCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (cz.proto.access.Ddl.DropEntity) command_); } if (commandCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (cz.proto.access.Ddl.AlterEntity) command_); } if (commandCase_ == 13) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, (cz.proto.access.Ddl.TruncateEntity) command_); } if (commandCase_ == 14) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, (cz.proto.access.Ddl.UndropEntity) command_); } 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 cz.proto.access.Ddl.DDL)) { return super.equals(obj); } cz.proto.access.Ddl.DDL other = (cz.proto.access.Ddl.DDL) obj; if (!getCommandCase().equals(other.getCommandCase())) return false; switch (commandCase_) { case 10: if (!getCreateEntity() .equals(other.getCreateEntity())) return false; break; case 11: if (!getDropEntity() .equals(other.getDropEntity())) return false; break; case 12: if (!getAlterEntity() .equals(other.getAlterEntity())) return false; break; case 13: if (!getTruncateEntity() .equals(other.getTruncateEntity())) return false; break; case 14: if (!getUndropEntity() .equals(other.getUndropEntity())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (commandCase_) { case 10: hash = (37 * hash) + CREATE_ENTITY_FIELD_NUMBER; hash = (53 * hash) + getCreateEntity().hashCode(); break; case 11: hash = (37 * hash) + DROP_ENTITY_FIELD_NUMBER; hash = (53 * hash) + getDropEntity().hashCode(); break; case 12: hash = (37 * hash) + ALTER_ENTITY_FIELD_NUMBER; hash = (53 * hash) + getAlterEntity().hashCode(); break; case 13: hash = (37 * hash) + TRUNCATE_ENTITY_FIELD_NUMBER; hash = (53 * hash) + getTruncateEntity().hashCode(); break; case 14: hash = (37 * hash) + UNDROP_ENTITY_FIELD_NUMBER; hash = (53 * hash) + getUndropEntity().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DDL parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DDL parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DDL parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DDL parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DDL parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DDL parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DDL parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DDL 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 cz.proto.access.Ddl.DDL parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DDL 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 cz.proto.access.Ddl.DDL parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DDL 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(cz.proto.access.Ddl.DDL 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 cz.proto.access.DDL} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DDL) cz.proto.access.Ddl.DDLOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DDL_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DDL_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DDL.class, cz.proto.access.Ddl.DDL.Builder.class); } // Construct using cz.proto.access.Ddl.DDL.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(); commandCase_ = 0; command_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DDL_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DDL getDefaultInstanceForType() { return cz.proto.access.Ddl.DDL.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DDL build() { cz.proto.access.Ddl.DDL result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DDL buildPartial() { cz.proto.access.Ddl.DDL result = new cz.proto.access.Ddl.DDL(this); if (commandCase_ == 10) { if (createEntityBuilder_ == null) { result.command_ = command_; } else { result.command_ = createEntityBuilder_.build(); } } if (commandCase_ == 11) { if (dropEntityBuilder_ == null) { result.command_ = command_; } else { result.command_ = dropEntityBuilder_.build(); } } if (commandCase_ == 12) { if (alterEntityBuilder_ == null) { result.command_ = command_; } else { result.command_ = alterEntityBuilder_.build(); } } if (commandCase_ == 13) { if (truncateEntityBuilder_ == null) { result.command_ = command_; } else { result.command_ = truncateEntityBuilder_.build(); } } if (commandCase_ == 14) { if (undropEntityBuilder_ == null) { result.command_ = command_; } else { result.command_ = undropEntityBuilder_.build(); } } result.commandCase_ = commandCase_; 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 cz.proto.access.Ddl.DDL) { return mergeFrom((cz.proto.access.Ddl.DDL)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DDL other) { if (other == cz.proto.access.Ddl.DDL.getDefaultInstance()) return this; switch (other.getCommandCase()) { case CREATE_ENTITY: { mergeCreateEntity(other.getCreateEntity()); break; } case DROP_ENTITY: { mergeDropEntity(other.getDropEntity()); break; } case ALTER_ENTITY: { mergeAlterEntity(other.getAlterEntity()); break; } case TRUNCATE_ENTITY: { mergeTruncateEntity(other.getTruncateEntity()); break; } case UNDROP_ENTITY: { mergeUndropEntity(other.getUndropEntity()); break; } case COMMAND_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.DDL parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DDL) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int commandCase_ = 0; private java.lang.Object command_; public CommandCase getCommandCase() { return CommandCase.forNumber( commandCase_); } public Builder clearCommand() { commandCase_ = 0; command_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.CreateEntity, cz.proto.access.Ddl.CreateEntity.Builder, cz.proto.access.Ddl.CreateEntityOrBuilder> createEntityBuilder_; /** * .cz.proto.access.CreateEntity create_entity = 10; * @return Whether the createEntity field is set. */ @java.lang.Override public boolean hasCreateEntity() { return commandCase_ == 10; } /** * .cz.proto.access.CreateEntity create_entity = 10; * @return The createEntity. */ @java.lang.Override public cz.proto.access.Ddl.CreateEntity getCreateEntity() { if (createEntityBuilder_ == null) { if (commandCase_ == 10) { return (cz.proto.access.Ddl.CreateEntity) command_; } return cz.proto.access.Ddl.CreateEntity.getDefaultInstance(); } else { if (commandCase_ == 10) { return createEntityBuilder_.getMessage(); } return cz.proto.access.Ddl.CreateEntity.getDefaultInstance(); } } /** * .cz.proto.access.CreateEntity create_entity = 10; */ public Builder setCreateEntity(cz.proto.access.Ddl.CreateEntity value) { if (createEntityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { createEntityBuilder_.setMessage(value); } commandCase_ = 10; return this; } /** * .cz.proto.access.CreateEntity create_entity = 10; */ public Builder setCreateEntity( cz.proto.access.Ddl.CreateEntity.Builder builderForValue) { if (createEntityBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { createEntityBuilder_.setMessage(builderForValue.build()); } commandCase_ = 10; return this; } /** * .cz.proto.access.CreateEntity create_entity = 10; */ public Builder mergeCreateEntity(cz.proto.access.Ddl.CreateEntity value) { if (createEntityBuilder_ == null) { if (commandCase_ == 10 && command_ != cz.proto.access.Ddl.CreateEntity.getDefaultInstance()) { command_ = cz.proto.access.Ddl.CreateEntity.newBuilder((cz.proto.access.Ddl.CreateEntity) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 10) { createEntityBuilder_.mergeFrom(value); } createEntityBuilder_.setMessage(value); } commandCase_ = 10; return this; } /** * .cz.proto.access.CreateEntity create_entity = 10; */ public Builder clearCreateEntity() { if (createEntityBuilder_ == null) { if (commandCase_ == 10) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 10) { commandCase_ = 0; command_ = null; } createEntityBuilder_.clear(); } return this; } /** * .cz.proto.access.CreateEntity create_entity = 10; */ public cz.proto.access.Ddl.CreateEntity.Builder getCreateEntityBuilder() { return getCreateEntityFieldBuilder().getBuilder(); } /** * .cz.proto.access.CreateEntity create_entity = 10; */ @java.lang.Override public cz.proto.access.Ddl.CreateEntityOrBuilder getCreateEntityOrBuilder() { if ((commandCase_ == 10) && (createEntityBuilder_ != null)) { return createEntityBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 10) { return (cz.proto.access.Ddl.CreateEntity) command_; } return cz.proto.access.Ddl.CreateEntity.getDefaultInstance(); } } /** * .cz.proto.access.CreateEntity create_entity = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.CreateEntity, cz.proto.access.Ddl.CreateEntity.Builder, cz.proto.access.Ddl.CreateEntityOrBuilder> getCreateEntityFieldBuilder() { if (createEntityBuilder_ == null) { if (!(commandCase_ == 10)) { command_ = cz.proto.access.Ddl.CreateEntity.getDefaultInstance(); } createEntityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.CreateEntity, cz.proto.access.Ddl.CreateEntity.Builder, cz.proto.access.Ddl.CreateEntityOrBuilder>( (cz.proto.access.Ddl.CreateEntity) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 10; onChanged();; return createEntityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropEntity, cz.proto.access.Ddl.DropEntity.Builder, cz.proto.access.Ddl.DropEntityOrBuilder> dropEntityBuilder_; /** * .cz.proto.access.DropEntity drop_entity = 11; * @return Whether the dropEntity field is set. */ @java.lang.Override public boolean hasDropEntity() { return commandCase_ == 11; } /** * .cz.proto.access.DropEntity drop_entity = 11; * @return The dropEntity. */ @java.lang.Override public cz.proto.access.Ddl.DropEntity getDropEntity() { if (dropEntityBuilder_ == null) { if (commandCase_ == 11) { return (cz.proto.access.Ddl.DropEntity) command_; } return cz.proto.access.Ddl.DropEntity.getDefaultInstance(); } else { if (commandCase_ == 11) { return dropEntityBuilder_.getMessage(); } return cz.proto.access.Ddl.DropEntity.getDefaultInstance(); } } /** * .cz.proto.access.DropEntity drop_entity = 11; */ public Builder setDropEntity(cz.proto.access.Ddl.DropEntity value) { if (dropEntityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { dropEntityBuilder_.setMessage(value); } commandCase_ = 11; return this; } /** * .cz.proto.access.DropEntity drop_entity = 11; */ public Builder setDropEntity( cz.proto.access.Ddl.DropEntity.Builder builderForValue) { if (dropEntityBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { dropEntityBuilder_.setMessage(builderForValue.build()); } commandCase_ = 11; return this; } /** * .cz.proto.access.DropEntity drop_entity = 11; */ public Builder mergeDropEntity(cz.proto.access.Ddl.DropEntity value) { if (dropEntityBuilder_ == null) { if (commandCase_ == 11 && command_ != cz.proto.access.Ddl.DropEntity.getDefaultInstance()) { command_ = cz.proto.access.Ddl.DropEntity.newBuilder((cz.proto.access.Ddl.DropEntity) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 11) { dropEntityBuilder_.mergeFrom(value); } dropEntityBuilder_.setMessage(value); } commandCase_ = 11; return this; } /** * .cz.proto.access.DropEntity drop_entity = 11; */ public Builder clearDropEntity() { if (dropEntityBuilder_ == null) { if (commandCase_ == 11) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 11) { commandCase_ = 0; command_ = null; } dropEntityBuilder_.clear(); } return this; } /** * .cz.proto.access.DropEntity drop_entity = 11; */ public cz.proto.access.Ddl.DropEntity.Builder getDropEntityBuilder() { return getDropEntityFieldBuilder().getBuilder(); } /** * .cz.proto.access.DropEntity drop_entity = 11; */ @java.lang.Override public cz.proto.access.Ddl.DropEntityOrBuilder getDropEntityOrBuilder() { if ((commandCase_ == 11) && (dropEntityBuilder_ != null)) { return dropEntityBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 11) { return (cz.proto.access.Ddl.DropEntity) command_; } return cz.proto.access.Ddl.DropEntity.getDefaultInstance(); } } /** * .cz.proto.access.DropEntity drop_entity = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropEntity, cz.proto.access.Ddl.DropEntity.Builder, cz.proto.access.Ddl.DropEntityOrBuilder> getDropEntityFieldBuilder() { if (dropEntityBuilder_ == null) { if (!(commandCase_ == 11)) { command_ = cz.proto.access.Ddl.DropEntity.getDefaultInstance(); } dropEntityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DropEntity, cz.proto.access.Ddl.DropEntity.Builder, cz.proto.access.Ddl.DropEntityOrBuilder>( (cz.proto.access.Ddl.DropEntity) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 11; onChanged();; return dropEntityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterEntity, cz.proto.access.Ddl.AlterEntity.Builder, cz.proto.access.Ddl.AlterEntityOrBuilder> alterEntityBuilder_; /** * .cz.proto.access.AlterEntity alter_entity = 12; * @return Whether the alterEntity field is set. */ @java.lang.Override public boolean hasAlterEntity() { return commandCase_ == 12; } /** * .cz.proto.access.AlterEntity alter_entity = 12; * @return The alterEntity. */ @java.lang.Override public cz.proto.access.Ddl.AlterEntity getAlterEntity() { if (alterEntityBuilder_ == null) { if (commandCase_ == 12) { return (cz.proto.access.Ddl.AlterEntity) command_; } return cz.proto.access.Ddl.AlterEntity.getDefaultInstance(); } else { if (commandCase_ == 12) { return alterEntityBuilder_.getMessage(); } return cz.proto.access.Ddl.AlterEntity.getDefaultInstance(); } } /** * .cz.proto.access.AlterEntity alter_entity = 12; */ public Builder setAlterEntity(cz.proto.access.Ddl.AlterEntity value) { if (alterEntityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { alterEntityBuilder_.setMessage(value); } commandCase_ = 12; return this; } /** * .cz.proto.access.AlterEntity alter_entity = 12; */ public Builder setAlterEntity( cz.proto.access.Ddl.AlterEntity.Builder builderForValue) { if (alterEntityBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { alterEntityBuilder_.setMessage(builderForValue.build()); } commandCase_ = 12; return this; } /** * .cz.proto.access.AlterEntity alter_entity = 12; */ public Builder mergeAlterEntity(cz.proto.access.Ddl.AlterEntity value) { if (alterEntityBuilder_ == null) { if (commandCase_ == 12 && command_ != cz.proto.access.Ddl.AlterEntity.getDefaultInstance()) { command_ = cz.proto.access.Ddl.AlterEntity.newBuilder((cz.proto.access.Ddl.AlterEntity) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 12) { alterEntityBuilder_.mergeFrom(value); } alterEntityBuilder_.setMessage(value); } commandCase_ = 12; return this; } /** * .cz.proto.access.AlterEntity alter_entity = 12; */ public Builder clearAlterEntity() { if (alterEntityBuilder_ == null) { if (commandCase_ == 12) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 12) { commandCase_ = 0; command_ = null; } alterEntityBuilder_.clear(); } return this; } /** * .cz.proto.access.AlterEntity alter_entity = 12; */ public cz.proto.access.Ddl.AlterEntity.Builder getAlterEntityBuilder() { return getAlterEntityFieldBuilder().getBuilder(); } /** * .cz.proto.access.AlterEntity alter_entity = 12; */ @java.lang.Override public cz.proto.access.Ddl.AlterEntityOrBuilder getAlterEntityOrBuilder() { if ((commandCase_ == 12) && (alterEntityBuilder_ != null)) { return alterEntityBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 12) { return (cz.proto.access.Ddl.AlterEntity) command_; } return cz.proto.access.Ddl.AlterEntity.getDefaultInstance(); } } /** * .cz.proto.access.AlterEntity alter_entity = 12; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterEntity, cz.proto.access.Ddl.AlterEntity.Builder, cz.proto.access.Ddl.AlterEntityOrBuilder> getAlterEntityFieldBuilder() { if (alterEntityBuilder_ == null) { if (!(commandCase_ == 12)) { command_ = cz.proto.access.Ddl.AlterEntity.getDefaultInstance(); } alterEntityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AlterEntity, cz.proto.access.Ddl.AlterEntity.Builder, cz.proto.access.Ddl.AlterEntityOrBuilder>( (cz.proto.access.Ddl.AlterEntity) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 12; onChanged();; return alterEntityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.TruncateEntity, cz.proto.access.Ddl.TruncateEntity.Builder, cz.proto.access.Ddl.TruncateEntityOrBuilder> truncateEntityBuilder_; /** * .cz.proto.access.TruncateEntity truncate_entity = 13; * @return Whether the truncateEntity field is set. */ @java.lang.Override public boolean hasTruncateEntity() { return commandCase_ == 13; } /** * .cz.proto.access.TruncateEntity truncate_entity = 13; * @return The truncateEntity. */ @java.lang.Override public cz.proto.access.Ddl.TruncateEntity getTruncateEntity() { if (truncateEntityBuilder_ == null) { if (commandCase_ == 13) { return (cz.proto.access.Ddl.TruncateEntity) command_; } return cz.proto.access.Ddl.TruncateEntity.getDefaultInstance(); } else { if (commandCase_ == 13) { return truncateEntityBuilder_.getMessage(); } return cz.proto.access.Ddl.TruncateEntity.getDefaultInstance(); } } /** * .cz.proto.access.TruncateEntity truncate_entity = 13; */ public Builder setTruncateEntity(cz.proto.access.Ddl.TruncateEntity value) { if (truncateEntityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { truncateEntityBuilder_.setMessage(value); } commandCase_ = 13; return this; } /** * .cz.proto.access.TruncateEntity truncate_entity = 13; */ public Builder setTruncateEntity( cz.proto.access.Ddl.TruncateEntity.Builder builderForValue) { if (truncateEntityBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { truncateEntityBuilder_.setMessage(builderForValue.build()); } commandCase_ = 13; return this; } /** * .cz.proto.access.TruncateEntity truncate_entity = 13; */ public Builder mergeTruncateEntity(cz.proto.access.Ddl.TruncateEntity value) { if (truncateEntityBuilder_ == null) { if (commandCase_ == 13 && command_ != cz.proto.access.Ddl.TruncateEntity.getDefaultInstance()) { command_ = cz.proto.access.Ddl.TruncateEntity.newBuilder((cz.proto.access.Ddl.TruncateEntity) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 13) { truncateEntityBuilder_.mergeFrom(value); } truncateEntityBuilder_.setMessage(value); } commandCase_ = 13; return this; } /** * .cz.proto.access.TruncateEntity truncate_entity = 13; */ public Builder clearTruncateEntity() { if (truncateEntityBuilder_ == null) { if (commandCase_ == 13) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 13) { commandCase_ = 0; command_ = null; } truncateEntityBuilder_.clear(); } return this; } /** * .cz.proto.access.TruncateEntity truncate_entity = 13; */ public cz.proto.access.Ddl.TruncateEntity.Builder getTruncateEntityBuilder() { return getTruncateEntityFieldBuilder().getBuilder(); } /** * .cz.proto.access.TruncateEntity truncate_entity = 13; */ @java.lang.Override public cz.proto.access.Ddl.TruncateEntityOrBuilder getTruncateEntityOrBuilder() { if ((commandCase_ == 13) && (truncateEntityBuilder_ != null)) { return truncateEntityBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 13) { return (cz.proto.access.Ddl.TruncateEntity) command_; } return cz.proto.access.Ddl.TruncateEntity.getDefaultInstance(); } } /** * .cz.proto.access.TruncateEntity truncate_entity = 13; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.TruncateEntity, cz.proto.access.Ddl.TruncateEntity.Builder, cz.proto.access.Ddl.TruncateEntityOrBuilder> getTruncateEntityFieldBuilder() { if (truncateEntityBuilder_ == null) { if (!(commandCase_ == 13)) { command_ = cz.proto.access.Ddl.TruncateEntity.getDefaultInstance(); } truncateEntityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.TruncateEntity, cz.proto.access.Ddl.TruncateEntity.Builder, cz.proto.access.Ddl.TruncateEntityOrBuilder>( (cz.proto.access.Ddl.TruncateEntity) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 13; onChanged();; return truncateEntityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.UndropEntity, cz.proto.access.Ddl.UndropEntity.Builder, cz.proto.access.Ddl.UndropEntityOrBuilder> undropEntityBuilder_; /** * .cz.proto.access.UndropEntity undrop_entity = 14; * @return Whether the undropEntity field is set. */ @java.lang.Override public boolean hasUndropEntity() { return commandCase_ == 14; } /** * .cz.proto.access.UndropEntity undrop_entity = 14; * @return The undropEntity. */ @java.lang.Override public cz.proto.access.Ddl.UndropEntity getUndropEntity() { if (undropEntityBuilder_ == null) { if (commandCase_ == 14) { return (cz.proto.access.Ddl.UndropEntity) command_; } return cz.proto.access.Ddl.UndropEntity.getDefaultInstance(); } else { if (commandCase_ == 14) { return undropEntityBuilder_.getMessage(); } return cz.proto.access.Ddl.UndropEntity.getDefaultInstance(); } } /** * .cz.proto.access.UndropEntity undrop_entity = 14; */ public Builder setUndropEntity(cz.proto.access.Ddl.UndropEntity value) { if (undropEntityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { undropEntityBuilder_.setMessage(value); } commandCase_ = 14; return this; } /** * .cz.proto.access.UndropEntity undrop_entity = 14; */ public Builder setUndropEntity( cz.proto.access.Ddl.UndropEntity.Builder builderForValue) { if (undropEntityBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { undropEntityBuilder_.setMessage(builderForValue.build()); } commandCase_ = 14; return this; } /** * .cz.proto.access.UndropEntity undrop_entity = 14; */ public Builder mergeUndropEntity(cz.proto.access.Ddl.UndropEntity value) { if (undropEntityBuilder_ == null) { if (commandCase_ == 14 && command_ != cz.proto.access.Ddl.UndropEntity.getDefaultInstance()) { command_ = cz.proto.access.Ddl.UndropEntity.newBuilder((cz.proto.access.Ddl.UndropEntity) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 14) { undropEntityBuilder_.mergeFrom(value); } undropEntityBuilder_.setMessage(value); } commandCase_ = 14; return this; } /** * .cz.proto.access.UndropEntity undrop_entity = 14; */ public Builder clearUndropEntity() { if (undropEntityBuilder_ == null) { if (commandCase_ == 14) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 14) { commandCase_ = 0; command_ = null; } undropEntityBuilder_.clear(); } return this; } /** * .cz.proto.access.UndropEntity undrop_entity = 14; */ public cz.proto.access.Ddl.UndropEntity.Builder getUndropEntityBuilder() { return getUndropEntityFieldBuilder().getBuilder(); } /** * .cz.proto.access.UndropEntity undrop_entity = 14; */ @java.lang.Override public cz.proto.access.Ddl.UndropEntityOrBuilder getUndropEntityOrBuilder() { if ((commandCase_ == 14) && (undropEntityBuilder_ != null)) { return undropEntityBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 14) { return (cz.proto.access.Ddl.UndropEntity) command_; } return cz.proto.access.Ddl.UndropEntity.getDefaultInstance(); } } /** * .cz.proto.access.UndropEntity undrop_entity = 14; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.UndropEntity, cz.proto.access.Ddl.UndropEntity.Builder, cz.proto.access.Ddl.UndropEntityOrBuilder> getUndropEntityFieldBuilder() { if (undropEntityBuilder_ == null) { if (!(commandCase_ == 14)) { command_ = cz.proto.access.Ddl.UndropEntity.getDefaultInstance(); } undropEntityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.UndropEntity, cz.proto.access.Ddl.UndropEntity.Builder, cz.proto.access.Ddl.UndropEntityOrBuilder>( (cz.proto.access.Ddl.UndropEntity) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 14; onChanged();; return undropEntityBuilder_; } @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:cz.proto.access.DDL) } // @@protoc_insertion_point(class_scope:cz.proto.access.DDL) private static final cz.proto.access.Ddl.DDL DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DDL(); } public static cz.proto.access.Ddl.DDL getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DDL parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DDL(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 cz.proto.access.Ddl.DDL getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DCLOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DCL) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.access.GrantEntity grant = 10; * @return Whether the grant field is set. */ boolean hasGrant(); /** * .cz.proto.access.GrantEntity grant = 10; * @return The grant. */ cz.proto.access.GrantEntity getGrant(); /** * .cz.proto.access.GrantEntity grant = 10; */ cz.proto.access.GrantEntityOrBuilder getGrantOrBuilder(); /** * .cz.proto.access.RevokeEntity revoke = 11; * @return Whether the revoke field is set. */ boolean hasRevoke(); /** * .cz.proto.access.RevokeEntity revoke = 11; * @return The revoke. */ cz.proto.access.RevokeEntity getRevoke(); /** * .cz.proto.access.RevokeEntity revoke = 11; */ cz.proto.access.RevokeEntityOrBuilder getRevokeOrBuilder(); /** * .cz.proto.access.CheckPrivileges check = 12; * @return Whether the check field is set. */ boolean hasCheck(); /** * .cz.proto.access.CheckPrivileges check = 12; * @return The check. */ cz.proto.access.CheckPrivileges getCheck(); /** * .cz.proto.access.CheckPrivileges check = 12; */ cz.proto.access.CheckPrivilegesOrBuilder getCheckOrBuilder(); public cz.proto.access.Ddl.DCL.CommandCase getCommandCase(); } /** * Protobuf type {@code cz.proto.access.DCL} */ public static final class DCL extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DCL) DCLOrBuilder { private static final long serialVersionUID = 0L; // Use DCL.newBuilder() to construct. private DCL(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DCL() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DCL(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DCL( 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 82: { cz.proto.access.GrantEntity.Builder subBuilder = null; if (commandCase_ == 10) { subBuilder = ((cz.proto.access.GrantEntity) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.GrantEntity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.GrantEntity) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 10; break; } case 90: { cz.proto.access.RevokeEntity.Builder subBuilder = null; if (commandCase_ == 11) { subBuilder = ((cz.proto.access.RevokeEntity) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.RevokeEntity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.RevokeEntity) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 11; break; } case 98: { cz.proto.access.CheckPrivileges.Builder subBuilder = null; if (commandCase_ == 12) { subBuilder = ((cz.proto.access.CheckPrivileges) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.CheckPrivileges.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.CheckPrivileges) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 12; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DCL_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DCL_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DCL.class, cz.proto.access.Ddl.DCL.Builder.class); } private int commandCase_ = 0; private java.lang.Object command_; public enum CommandCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GRANT(10), REVOKE(11), CHECK(12), COMMAND_NOT_SET(0); private final int value; private CommandCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static CommandCase valueOf(int value) { return forNumber(value); } public static CommandCase forNumber(int value) { switch (value) { case 10: return GRANT; case 11: return REVOKE; case 12: return CHECK; case 0: return COMMAND_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public CommandCase getCommandCase() { return CommandCase.forNumber( commandCase_); } public static final int GRANT_FIELD_NUMBER = 10; /** * .cz.proto.access.GrantEntity grant = 10; * @return Whether the grant field is set. */ @java.lang.Override public boolean hasGrant() { return commandCase_ == 10; } /** * .cz.proto.access.GrantEntity grant = 10; * @return The grant. */ @java.lang.Override public cz.proto.access.GrantEntity getGrant() { if (commandCase_ == 10) { return (cz.proto.access.GrantEntity) command_; } return cz.proto.access.GrantEntity.getDefaultInstance(); } /** * .cz.proto.access.GrantEntity grant = 10; */ @java.lang.Override public cz.proto.access.GrantEntityOrBuilder getGrantOrBuilder() { if (commandCase_ == 10) { return (cz.proto.access.GrantEntity) command_; } return cz.proto.access.GrantEntity.getDefaultInstance(); } public static final int REVOKE_FIELD_NUMBER = 11; /** * .cz.proto.access.RevokeEntity revoke = 11; * @return Whether the revoke field is set. */ @java.lang.Override public boolean hasRevoke() { return commandCase_ == 11; } /** * .cz.proto.access.RevokeEntity revoke = 11; * @return The revoke. */ @java.lang.Override public cz.proto.access.RevokeEntity getRevoke() { if (commandCase_ == 11) { return (cz.proto.access.RevokeEntity) command_; } return cz.proto.access.RevokeEntity.getDefaultInstance(); } /** * .cz.proto.access.RevokeEntity revoke = 11; */ @java.lang.Override public cz.proto.access.RevokeEntityOrBuilder getRevokeOrBuilder() { if (commandCase_ == 11) { return (cz.proto.access.RevokeEntity) command_; } return cz.proto.access.RevokeEntity.getDefaultInstance(); } public static final int CHECK_FIELD_NUMBER = 12; /** * .cz.proto.access.CheckPrivileges check = 12; * @return Whether the check field is set. */ @java.lang.Override public boolean hasCheck() { return commandCase_ == 12; } /** * .cz.proto.access.CheckPrivileges check = 12; * @return The check. */ @java.lang.Override public cz.proto.access.CheckPrivileges getCheck() { if (commandCase_ == 12) { return (cz.proto.access.CheckPrivileges) command_; } return cz.proto.access.CheckPrivileges.getDefaultInstance(); } /** * .cz.proto.access.CheckPrivileges check = 12; */ @java.lang.Override public cz.proto.access.CheckPrivilegesOrBuilder getCheckOrBuilder() { if (commandCase_ == 12) { return (cz.proto.access.CheckPrivileges) command_; } return cz.proto.access.CheckPrivileges.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (commandCase_ == 10) { output.writeMessage(10, (cz.proto.access.GrantEntity) command_); } if (commandCase_ == 11) { output.writeMessage(11, (cz.proto.access.RevokeEntity) command_); } if (commandCase_ == 12) { output.writeMessage(12, (cz.proto.access.CheckPrivileges) command_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (commandCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.GrantEntity) command_); } if (commandCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (cz.proto.access.RevokeEntity) command_); } if (commandCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (cz.proto.access.CheckPrivileges) command_); } 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 cz.proto.access.Ddl.DCL)) { return super.equals(obj); } cz.proto.access.Ddl.DCL other = (cz.proto.access.Ddl.DCL) obj; if (!getCommandCase().equals(other.getCommandCase())) return false; switch (commandCase_) { case 10: if (!getGrant() .equals(other.getGrant())) return false; break; case 11: if (!getRevoke() .equals(other.getRevoke())) return false; break; case 12: if (!getCheck() .equals(other.getCheck())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (commandCase_) { case 10: hash = (37 * hash) + GRANT_FIELD_NUMBER; hash = (53 * hash) + getGrant().hashCode(); break; case 11: hash = (37 * hash) + REVOKE_FIELD_NUMBER; hash = (53 * hash) + getRevoke().hashCode(); break; case 12: hash = (37 * hash) + CHECK_FIELD_NUMBER; hash = (53 * hash) + getCheck().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DCL parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DCL parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DCL parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DCL parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DCL parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DCL parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DCL parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DCL 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 cz.proto.access.Ddl.DCL parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DCL 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 cz.proto.access.Ddl.DCL parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DCL 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(cz.proto.access.Ddl.DCL 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 cz.proto.access.DCL} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DCL) cz.proto.access.Ddl.DCLOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DCL_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DCL_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DCL.class, cz.proto.access.Ddl.DCL.Builder.class); } // Construct using cz.proto.access.Ddl.DCL.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(); commandCase_ = 0; command_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DCL_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DCL getDefaultInstanceForType() { return cz.proto.access.Ddl.DCL.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DCL build() { cz.proto.access.Ddl.DCL result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DCL buildPartial() { cz.proto.access.Ddl.DCL result = new cz.proto.access.Ddl.DCL(this); if (commandCase_ == 10) { if (grantBuilder_ == null) { result.command_ = command_; } else { result.command_ = grantBuilder_.build(); } } if (commandCase_ == 11) { if (revokeBuilder_ == null) { result.command_ = command_; } else { result.command_ = revokeBuilder_.build(); } } if (commandCase_ == 12) { if (checkBuilder_ == null) { result.command_ = command_; } else { result.command_ = checkBuilder_.build(); } } result.commandCase_ = commandCase_; 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 cz.proto.access.Ddl.DCL) { return mergeFrom((cz.proto.access.Ddl.DCL)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DCL other) { if (other == cz.proto.access.Ddl.DCL.getDefaultInstance()) return this; switch (other.getCommandCase()) { case GRANT: { mergeGrant(other.getGrant()); break; } case REVOKE: { mergeRevoke(other.getRevoke()); break; } case CHECK: { mergeCheck(other.getCheck()); break; } case COMMAND_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.DCL parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DCL) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int commandCase_ = 0; private java.lang.Object command_; public CommandCase getCommandCase() { return CommandCase.forNumber( commandCase_); } public Builder clearCommand() { commandCase_ = 0; command_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.GrantEntity, cz.proto.access.GrantEntity.Builder, cz.proto.access.GrantEntityOrBuilder> grantBuilder_; /** * .cz.proto.access.GrantEntity grant = 10; * @return Whether the grant field is set. */ @java.lang.Override public boolean hasGrant() { return commandCase_ == 10; } /** * .cz.proto.access.GrantEntity grant = 10; * @return The grant. */ @java.lang.Override public cz.proto.access.GrantEntity getGrant() { if (grantBuilder_ == null) { if (commandCase_ == 10) { return (cz.proto.access.GrantEntity) command_; } return cz.proto.access.GrantEntity.getDefaultInstance(); } else { if (commandCase_ == 10) { return grantBuilder_.getMessage(); } return cz.proto.access.GrantEntity.getDefaultInstance(); } } /** * .cz.proto.access.GrantEntity grant = 10; */ public Builder setGrant(cz.proto.access.GrantEntity value) { if (grantBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { grantBuilder_.setMessage(value); } commandCase_ = 10; return this; } /** * .cz.proto.access.GrantEntity grant = 10; */ public Builder setGrant( cz.proto.access.GrantEntity.Builder builderForValue) { if (grantBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { grantBuilder_.setMessage(builderForValue.build()); } commandCase_ = 10; return this; } /** * .cz.proto.access.GrantEntity grant = 10; */ public Builder mergeGrant(cz.proto.access.GrantEntity value) { if (grantBuilder_ == null) { if (commandCase_ == 10 && command_ != cz.proto.access.GrantEntity.getDefaultInstance()) { command_ = cz.proto.access.GrantEntity.newBuilder((cz.proto.access.GrantEntity) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 10) { grantBuilder_.mergeFrom(value); } grantBuilder_.setMessage(value); } commandCase_ = 10; return this; } /** * .cz.proto.access.GrantEntity grant = 10; */ public Builder clearGrant() { if (grantBuilder_ == null) { if (commandCase_ == 10) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 10) { commandCase_ = 0; command_ = null; } grantBuilder_.clear(); } return this; } /** * .cz.proto.access.GrantEntity grant = 10; */ public cz.proto.access.GrantEntity.Builder getGrantBuilder() { return getGrantFieldBuilder().getBuilder(); } /** * .cz.proto.access.GrantEntity grant = 10; */ @java.lang.Override public cz.proto.access.GrantEntityOrBuilder getGrantOrBuilder() { if ((commandCase_ == 10) && (grantBuilder_ != null)) { return grantBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 10) { return (cz.proto.access.GrantEntity) command_; } return cz.proto.access.GrantEntity.getDefaultInstance(); } } /** * .cz.proto.access.GrantEntity grant = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.GrantEntity, cz.proto.access.GrantEntity.Builder, cz.proto.access.GrantEntityOrBuilder> getGrantFieldBuilder() { if (grantBuilder_ == null) { if (!(commandCase_ == 10)) { command_ = cz.proto.access.GrantEntity.getDefaultInstance(); } grantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.GrantEntity, cz.proto.access.GrantEntity.Builder, cz.proto.access.GrantEntityOrBuilder>( (cz.proto.access.GrantEntity) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 10; onChanged();; return grantBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.RevokeEntity, cz.proto.access.RevokeEntity.Builder, cz.proto.access.RevokeEntityOrBuilder> revokeBuilder_; /** * .cz.proto.access.RevokeEntity revoke = 11; * @return Whether the revoke field is set. */ @java.lang.Override public boolean hasRevoke() { return commandCase_ == 11; } /** * .cz.proto.access.RevokeEntity revoke = 11; * @return The revoke. */ @java.lang.Override public cz.proto.access.RevokeEntity getRevoke() { if (revokeBuilder_ == null) { if (commandCase_ == 11) { return (cz.proto.access.RevokeEntity) command_; } return cz.proto.access.RevokeEntity.getDefaultInstance(); } else { if (commandCase_ == 11) { return revokeBuilder_.getMessage(); } return cz.proto.access.RevokeEntity.getDefaultInstance(); } } /** * .cz.proto.access.RevokeEntity revoke = 11; */ public Builder setRevoke(cz.proto.access.RevokeEntity value) { if (revokeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { revokeBuilder_.setMessage(value); } commandCase_ = 11; return this; } /** * .cz.proto.access.RevokeEntity revoke = 11; */ public Builder setRevoke( cz.proto.access.RevokeEntity.Builder builderForValue) { if (revokeBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { revokeBuilder_.setMessage(builderForValue.build()); } commandCase_ = 11; return this; } /** * .cz.proto.access.RevokeEntity revoke = 11; */ public Builder mergeRevoke(cz.proto.access.RevokeEntity value) { if (revokeBuilder_ == null) { if (commandCase_ == 11 && command_ != cz.proto.access.RevokeEntity.getDefaultInstance()) { command_ = cz.proto.access.RevokeEntity.newBuilder((cz.proto.access.RevokeEntity) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 11) { revokeBuilder_.mergeFrom(value); } revokeBuilder_.setMessage(value); } commandCase_ = 11; return this; } /** * .cz.proto.access.RevokeEntity revoke = 11; */ public Builder clearRevoke() { if (revokeBuilder_ == null) { if (commandCase_ == 11) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 11) { commandCase_ = 0; command_ = null; } revokeBuilder_.clear(); } return this; } /** * .cz.proto.access.RevokeEntity revoke = 11; */ public cz.proto.access.RevokeEntity.Builder getRevokeBuilder() { return getRevokeFieldBuilder().getBuilder(); } /** * .cz.proto.access.RevokeEntity revoke = 11; */ @java.lang.Override public cz.proto.access.RevokeEntityOrBuilder getRevokeOrBuilder() { if ((commandCase_ == 11) && (revokeBuilder_ != null)) { return revokeBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 11) { return (cz.proto.access.RevokeEntity) command_; } return cz.proto.access.RevokeEntity.getDefaultInstance(); } } /** * .cz.proto.access.RevokeEntity revoke = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.RevokeEntity, cz.proto.access.RevokeEntity.Builder, cz.proto.access.RevokeEntityOrBuilder> getRevokeFieldBuilder() { if (revokeBuilder_ == null) { if (!(commandCase_ == 11)) { command_ = cz.proto.access.RevokeEntity.getDefaultInstance(); } revokeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.RevokeEntity, cz.proto.access.RevokeEntity.Builder, cz.proto.access.RevokeEntityOrBuilder>( (cz.proto.access.RevokeEntity) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 11; onChanged();; return revokeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.CheckPrivileges, cz.proto.access.CheckPrivileges.Builder, cz.proto.access.CheckPrivilegesOrBuilder> checkBuilder_; /** * .cz.proto.access.CheckPrivileges check = 12; * @return Whether the check field is set. */ @java.lang.Override public boolean hasCheck() { return commandCase_ == 12; } /** * .cz.proto.access.CheckPrivileges check = 12; * @return The check. */ @java.lang.Override public cz.proto.access.CheckPrivileges getCheck() { if (checkBuilder_ == null) { if (commandCase_ == 12) { return (cz.proto.access.CheckPrivileges) command_; } return cz.proto.access.CheckPrivileges.getDefaultInstance(); } else { if (commandCase_ == 12) { return checkBuilder_.getMessage(); } return cz.proto.access.CheckPrivileges.getDefaultInstance(); } } /** * .cz.proto.access.CheckPrivileges check = 12; */ public Builder setCheck(cz.proto.access.CheckPrivileges value) { if (checkBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { checkBuilder_.setMessage(value); } commandCase_ = 12; return this; } /** * .cz.proto.access.CheckPrivileges check = 12; */ public Builder setCheck( cz.proto.access.CheckPrivileges.Builder builderForValue) { if (checkBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { checkBuilder_.setMessage(builderForValue.build()); } commandCase_ = 12; return this; } /** * .cz.proto.access.CheckPrivileges check = 12; */ public Builder mergeCheck(cz.proto.access.CheckPrivileges value) { if (checkBuilder_ == null) { if (commandCase_ == 12 && command_ != cz.proto.access.CheckPrivileges.getDefaultInstance()) { command_ = cz.proto.access.CheckPrivileges.newBuilder((cz.proto.access.CheckPrivileges) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 12) { checkBuilder_.mergeFrom(value); } checkBuilder_.setMessage(value); } commandCase_ = 12; return this; } /** * .cz.proto.access.CheckPrivileges check = 12; */ public Builder clearCheck() { if (checkBuilder_ == null) { if (commandCase_ == 12) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 12) { commandCase_ = 0; command_ = null; } checkBuilder_.clear(); } return this; } /** * .cz.proto.access.CheckPrivileges check = 12; */ public cz.proto.access.CheckPrivileges.Builder getCheckBuilder() { return getCheckFieldBuilder().getBuilder(); } /** * .cz.proto.access.CheckPrivileges check = 12; */ @java.lang.Override public cz.proto.access.CheckPrivilegesOrBuilder getCheckOrBuilder() { if ((commandCase_ == 12) && (checkBuilder_ != null)) { return checkBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 12) { return (cz.proto.access.CheckPrivileges) command_; } return cz.proto.access.CheckPrivileges.getDefaultInstance(); } } /** * .cz.proto.access.CheckPrivileges check = 12; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.CheckPrivileges, cz.proto.access.CheckPrivileges.Builder, cz.proto.access.CheckPrivilegesOrBuilder> getCheckFieldBuilder() { if (checkBuilder_ == null) { if (!(commandCase_ == 12)) { command_ = cz.proto.access.CheckPrivileges.getDefaultInstance(); } checkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.CheckPrivileges, cz.proto.access.CheckPrivileges.Builder, cz.proto.access.CheckPrivilegesOrBuilder>( (cz.proto.access.CheckPrivileges) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 12; onChanged();; return checkBuilder_; } @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:cz.proto.access.DCL) } // @@protoc_insertion_point(class_scope:cz.proto.access.DCL) private static final cz.proto.access.Ddl.DCL DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DCL(); } public static cz.proto.access.Ddl.DCL getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DCL parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DCL(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 cz.proto.access.Ddl.DCL getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DQLOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DQL) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.access.ShowEntity show_entity = 10; * @return Whether the showEntity field is set. */ boolean hasShowEntity(); /** * .cz.proto.access.ShowEntity show_entity = 10; * @return The showEntity. */ cz.proto.access.Ddl.ShowEntity getShowEntity(); /** * .cz.proto.access.ShowEntity show_entity = 10; */ cz.proto.access.Ddl.ShowEntityOrBuilder getShowEntityOrBuilder(); /** * .cz.proto.access.GetEntity get_entity = 11; * @return Whether the getEntity field is set. */ boolean hasGetEntity(); /** * .cz.proto.access.GetEntity get_entity = 11; * @return The getEntity. */ cz.proto.access.Ddl.GetEntity getGetEntity(); /** * .cz.proto.access.GetEntity get_entity = 11; */ cz.proto.access.Ddl.GetEntityOrBuilder getGetEntityOrBuilder(); /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; * @return Whether the getEntityStats field is set. */ boolean hasGetEntityStats(); /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; * @return The getEntityStats. */ cz.proto.access.Ddl.GetEntityStats getGetEntityStats(); /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; */ cz.proto.access.Ddl.GetEntityStatsOrBuilder getGetEntityStatsOrBuilder(); /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; * @return Whether the batchGetEntity field is set. */ boolean hasBatchGetEntity(); /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; * @return The batchGetEntity. */ cz.proto.access.Ddl.BatchGetEntity getBatchGetEntity(); /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; */ cz.proto.access.Ddl.BatchGetEntityOrBuilder getBatchGetEntityOrBuilder(); /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; * @return Whether the batchGetEntityStats field is set. */ boolean hasBatchGetEntityStats(); /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; * @return The batchGetEntityStats. */ cz.proto.access.Ddl.BatchGetEntityStats getBatchGetEntityStats(); /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; */ cz.proto.access.Ddl.BatchGetEntityStatsOrBuilder getBatchGetEntityStatsOrBuilder(); public cz.proto.access.Ddl.DQL.CommandCase getCommandCase(); } /** * Protobuf type {@code cz.proto.access.DQL} */ public static final class DQL extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DQL) DQLOrBuilder { private static final long serialVersionUID = 0L; // Use DQL.newBuilder() to construct. private DQL(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DQL() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DQL(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DQL( 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 82: { cz.proto.access.Ddl.ShowEntity.Builder subBuilder = null; if (commandCase_ == 10) { subBuilder = ((cz.proto.access.Ddl.ShowEntity) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.Ddl.ShowEntity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.ShowEntity) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 10; break; } case 90: { cz.proto.access.Ddl.GetEntity.Builder subBuilder = null; if (commandCase_ == 11) { subBuilder = ((cz.proto.access.Ddl.GetEntity) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.Ddl.GetEntity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.GetEntity) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 11; break; } case 98: { cz.proto.access.Ddl.GetEntityStats.Builder subBuilder = null; if (commandCase_ == 12) { subBuilder = ((cz.proto.access.Ddl.GetEntityStats) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.Ddl.GetEntityStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.GetEntityStats) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 12; break; } case 802: { cz.proto.access.Ddl.BatchGetEntity.Builder subBuilder = null; if (commandCase_ == 100) { subBuilder = ((cz.proto.access.Ddl.BatchGetEntity) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.Ddl.BatchGetEntity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.BatchGetEntity) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 100; break; } case 810: { cz.proto.access.Ddl.BatchGetEntityStats.Builder subBuilder = null; if (commandCase_ == 101) { subBuilder = ((cz.proto.access.Ddl.BatchGetEntityStats) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.Ddl.BatchGetEntityStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.BatchGetEntityStats) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 101; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DQL_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DQL_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DQL.class, cz.proto.access.Ddl.DQL.Builder.class); } private int commandCase_ = 0; private java.lang.Object command_; public enum CommandCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SHOW_ENTITY(10), GET_ENTITY(11), GET_ENTITY_STATS(12), BATCH_GET_ENTITY(100), BATCH_GET_ENTITY_STATS(101), COMMAND_NOT_SET(0); private final int value; private CommandCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static CommandCase valueOf(int value) { return forNumber(value); } public static CommandCase forNumber(int value) { switch (value) { case 10: return SHOW_ENTITY; case 11: return GET_ENTITY; case 12: return GET_ENTITY_STATS; case 100: return BATCH_GET_ENTITY; case 101: return BATCH_GET_ENTITY_STATS; case 0: return COMMAND_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public CommandCase getCommandCase() { return CommandCase.forNumber( commandCase_); } public static final int SHOW_ENTITY_FIELD_NUMBER = 10; /** * .cz.proto.access.ShowEntity show_entity = 10; * @return Whether the showEntity field is set. */ @java.lang.Override public boolean hasShowEntity() { return commandCase_ == 10; } /** * .cz.proto.access.ShowEntity show_entity = 10; * @return The showEntity. */ @java.lang.Override public cz.proto.access.Ddl.ShowEntity getShowEntity() { if (commandCase_ == 10) { return (cz.proto.access.Ddl.ShowEntity) command_; } return cz.proto.access.Ddl.ShowEntity.getDefaultInstance(); } /** * .cz.proto.access.ShowEntity show_entity = 10; */ @java.lang.Override public cz.proto.access.Ddl.ShowEntityOrBuilder getShowEntityOrBuilder() { if (commandCase_ == 10) { return (cz.proto.access.Ddl.ShowEntity) command_; } return cz.proto.access.Ddl.ShowEntity.getDefaultInstance(); } public static final int GET_ENTITY_FIELD_NUMBER = 11; /** * .cz.proto.access.GetEntity get_entity = 11; * @return Whether the getEntity field is set. */ @java.lang.Override public boolean hasGetEntity() { return commandCase_ == 11; } /** * .cz.proto.access.GetEntity get_entity = 11; * @return The getEntity. */ @java.lang.Override public cz.proto.access.Ddl.GetEntity getGetEntity() { if (commandCase_ == 11) { return (cz.proto.access.Ddl.GetEntity) command_; } return cz.proto.access.Ddl.GetEntity.getDefaultInstance(); } /** * .cz.proto.access.GetEntity get_entity = 11; */ @java.lang.Override public cz.proto.access.Ddl.GetEntityOrBuilder getGetEntityOrBuilder() { if (commandCase_ == 11) { return (cz.proto.access.Ddl.GetEntity) command_; } return cz.proto.access.Ddl.GetEntity.getDefaultInstance(); } public static final int GET_ENTITY_STATS_FIELD_NUMBER = 12; /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; * @return Whether the getEntityStats field is set. */ @java.lang.Override public boolean hasGetEntityStats() { return commandCase_ == 12; } /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; * @return The getEntityStats. */ @java.lang.Override public cz.proto.access.Ddl.GetEntityStats getGetEntityStats() { if (commandCase_ == 12) { return (cz.proto.access.Ddl.GetEntityStats) command_; } return cz.proto.access.Ddl.GetEntityStats.getDefaultInstance(); } /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; */ @java.lang.Override public cz.proto.access.Ddl.GetEntityStatsOrBuilder getGetEntityStatsOrBuilder() { if (commandCase_ == 12) { return (cz.proto.access.Ddl.GetEntityStats) command_; } return cz.proto.access.Ddl.GetEntityStats.getDefaultInstance(); } public static final int BATCH_GET_ENTITY_FIELD_NUMBER = 100; /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; * @return Whether the batchGetEntity field is set. */ @java.lang.Override public boolean hasBatchGetEntity() { return commandCase_ == 100; } /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; * @return The batchGetEntity. */ @java.lang.Override public cz.proto.access.Ddl.BatchGetEntity getBatchGetEntity() { if (commandCase_ == 100) { return (cz.proto.access.Ddl.BatchGetEntity) command_; } return cz.proto.access.Ddl.BatchGetEntity.getDefaultInstance(); } /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; */ @java.lang.Override public cz.proto.access.Ddl.BatchGetEntityOrBuilder getBatchGetEntityOrBuilder() { if (commandCase_ == 100) { return (cz.proto.access.Ddl.BatchGetEntity) command_; } return cz.proto.access.Ddl.BatchGetEntity.getDefaultInstance(); } public static final int BATCH_GET_ENTITY_STATS_FIELD_NUMBER = 101; /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; * @return Whether the batchGetEntityStats field is set. */ @java.lang.Override public boolean hasBatchGetEntityStats() { return commandCase_ == 101; } /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; * @return The batchGetEntityStats. */ @java.lang.Override public cz.proto.access.Ddl.BatchGetEntityStats getBatchGetEntityStats() { if (commandCase_ == 101) { return (cz.proto.access.Ddl.BatchGetEntityStats) command_; } return cz.proto.access.Ddl.BatchGetEntityStats.getDefaultInstance(); } /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; */ @java.lang.Override public cz.proto.access.Ddl.BatchGetEntityStatsOrBuilder getBatchGetEntityStatsOrBuilder() { if (commandCase_ == 101) { return (cz.proto.access.Ddl.BatchGetEntityStats) command_; } return cz.proto.access.Ddl.BatchGetEntityStats.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (commandCase_ == 10) { output.writeMessage(10, (cz.proto.access.Ddl.ShowEntity) command_); } if (commandCase_ == 11) { output.writeMessage(11, (cz.proto.access.Ddl.GetEntity) command_); } if (commandCase_ == 12) { output.writeMessage(12, (cz.proto.access.Ddl.GetEntityStats) command_); } if (commandCase_ == 100) { output.writeMessage(100, (cz.proto.access.Ddl.BatchGetEntity) command_); } if (commandCase_ == 101) { output.writeMessage(101, (cz.proto.access.Ddl.BatchGetEntityStats) command_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (commandCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.Ddl.ShowEntity) command_); } if (commandCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (cz.proto.access.Ddl.GetEntity) command_); } if (commandCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (cz.proto.access.Ddl.GetEntityStats) command_); } if (commandCase_ == 100) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(100, (cz.proto.access.Ddl.BatchGetEntity) command_); } if (commandCase_ == 101) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(101, (cz.proto.access.Ddl.BatchGetEntityStats) command_); } 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 cz.proto.access.Ddl.DQL)) { return super.equals(obj); } cz.proto.access.Ddl.DQL other = (cz.proto.access.Ddl.DQL) obj; if (!getCommandCase().equals(other.getCommandCase())) return false; switch (commandCase_) { case 10: if (!getShowEntity() .equals(other.getShowEntity())) return false; break; case 11: if (!getGetEntity() .equals(other.getGetEntity())) return false; break; case 12: if (!getGetEntityStats() .equals(other.getGetEntityStats())) return false; break; case 100: if (!getBatchGetEntity() .equals(other.getBatchGetEntity())) return false; break; case 101: if (!getBatchGetEntityStats() .equals(other.getBatchGetEntityStats())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (commandCase_) { case 10: hash = (37 * hash) + SHOW_ENTITY_FIELD_NUMBER; hash = (53 * hash) + getShowEntity().hashCode(); break; case 11: hash = (37 * hash) + GET_ENTITY_FIELD_NUMBER; hash = (53 * hash) + getGetEntity().hashCode(); break; case 12: hash = (37 * hash) + GET_ENTITY_STATS_FIELD_NUMBER; hash = (53 * hash) + getGetEntityStats().hashCode(); break; case 100: hash = (37 * hash) + BATCH_GET_ENTITY_FIELD_NUMBER; hash = (53 * hash) + getBatchGetEntity().hashCode(); break; case 101: hash = (37 * hash) + BATCH_GET_ENTITY_STATS_FIELD_NUMBER; hash = (53 * hash) + getBatchGetEntityStats().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DQL parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DQL parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DQL parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DQL parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DQL parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DQL parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DQL parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DQL 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 cz.proto.access.Ddl.DQL parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DQL 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 cz.proto.access.Ddl.DQL parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DQL 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(cz.proto.access.Ddl.DQL 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 cz.proto.access.DQL} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DQL) cz.proto.access.Ddl.DQLOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DQL_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DQL_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DQL.class, cz.proto.access.Ddl.DQL.Builder.class); } // Construct using cz.proto.access.Ddl.DQL.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(); commandCase_ = 0; command_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DQL_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DQL getDefaultInstanceForType() { return cz.proto.access.Ddl.DQL.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DQL build() { cz.proto.access.Ddl.DQL result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DQL buildPartial() { cz.proto.access.Ddl.DQL result = new cz.proto.access.Ddl.DQL(this); if (commandCase_ == 10) { if (showEntityBuilder_ == null) { result.command_ = command_; } else { result.command_ = showEntityBuilder_.build(); } } if (commandCase_ == 11) { if (getEntityBuilder_ == null) { result.command_ = command_; } else { result.command_ = getEntityBuilder_.build(); } } if (commandCase_ == 12) { if (getEntityStatsBuilder_ == null) { result.command_ = command_; } else { result.command_ = getEntityStatsBuilder_.build(); } } if (commandCase_ == 100) { if (batchGetEntityBuilder_ == null) { result.command_ = command_; } else { result.command_ = batchGetEntityBuilder_.build(); } } if (commandCase_ == 101) { if (batchGetEntityStatsBuilder_ == null) { result.command_ = command_; } else { result.command_ = batchGetEntityStatsBuilder_.build(); } } result.commandCase_ = commandCase_; 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 cz.proto.access.Ddl.DQL) { return mergeFrom((cz.proto.access.Ddl.DQL)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DQL other) { if (other == cz.proto.access.Ddl.DQL.getDefaultInstance()) return this; switch (other.getCommandCase()) { case SHOW_ENTITY: { mergeShowEntity(other.getShowEntity()); break; } case GET_ENTITY: { mergeGetEntity(other.getGetEntity()); break; } case GET_ENTITY_STATS: { mergeGetEntityStats(other.getGetEntityStats()); break; } case BATCH_GET_ENTITY: { mergeBatchGetEntity(other.getBatchGetEntity()); break; } case BATCH_GET_ENTITY_STATS: { mergeBatchGetEntityStats(other.getBatchGetEntityStats()); break; } case COMMAND_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.DQL parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DQL) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int commandCase_ = 0; private java.lang.Object command_; public CommandCase getCommandCase() { return CommandCase.forNumber( commandCase_); } public Builder clearCommand() { commandCase_ = 0; command_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowEntity, cz.proto.access.Ddl.ShowEntity.Builder, cz.proto.access.Ddl.ShowEntityOrBuilder> showEntityBuilder_; /** * .cz.proto.access.ShowEntity show_entity = 10; * @return Whether the showEntity field is set. */ @java.lang.Override public boolean hasShowEntity() { return commandCase_ == 10; } /** * .cz.proto.access.ShowEntity show_entity = 10; * @return The showEntity. */ @java.lang.Override public cz.proto.access.Ddl.ShowEntity getShowEntity() { if (showEntityBuilder_ == null) { if (commandCase_ == 10) { return (cz.proto.access.Ddl.ShowEntity) command_; } return cz.proto.access.Ddl.ShowEntity.getDefaultInstance(); } else { if (commandCase_ == 10) { return showEntityBuilder_.getMessage(); } return cz.proto.access.Ddl.ShowEntity.getDefaultInstance(); } } /** * .cz.proto.access.ShowEntity show_entity = 10; */ public Builder setShowEntity(cz.proto.access.Ddl.ShowEntity value) { if (showEntityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { showEntityBuilder_.setMessage(value); } commandCase_ = 10; return this; } /** * .cz.proto.access.ShowEntity show_entity = 10; */ public Builder setShowEntity( cz.proto.access.Ddl.ShowEntity.Builder builderForValue) { if (showEntityBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { showEntityBuilder_.setMessage(builderForValue.build()); } commandCase_ = 10; return this; } /** * .cz.proto.access.ShowEntity show_entity = 10; */ public Builder mergeShowEntity(cz.proto.access.Ddl.ShowEntity value) { if (showEntityBuilder_ == null) { if (commandCase_ == 10 && command_ != cz.proto.access.Ddl.ShowEntity.getDefaultInstance()) { command_ = cz.proto.access.Ddl.ShowEntity.newBuilder((cz.proto.access.Ddl.ShowEntity) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 10) { showEntityBuilder_.mergeFrom(value); } showEntityBuilder_.setMessage(value); } commandCase_ = 10; return this; } /** * .cz.proto.access.ShowEntity show_entity = 10; */ public Builder clearShowEntity() { if (showEntityBuilder_ == null) { if (commandCase_ == 10) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 10) { commandCase_ = 0; command_ = null; } showEntityBuilder_.clear(); } return this; } /** * .cz.proto.access.ShowEntity show_entity = 10; */ public cz.proto.access.Ddl.ShowEntity.Builder getShowEntityBuilder() { return getShowEntityFieldBuilder().getBuilder(); } /** * .cz.proto.access.ShowEntity show_entity = 10; */ @java.lang.Override public cz.proto.access.Ddl.ShowEntityOrBuilder getShowEntityOrBuilder() { if ((commandCase_ == 10) && (showEntityBuilder_ != null)) { return showEntityBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 10) { return (cz.proto.access.Ddl.ShowEntity) command_; } return cz.proto.access.Ddl.ShowEntity.getDefaultInstance(); } } /** * .cz.proto.access.ShowEntity show_entity = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowEntity, cz.proto.access.Ddl.ShowEntity.Builder, cz.proto.access.Ddl.ShowEntityOrBuilder> getShowEntityFieldBuilder() { if (showEntityBuilder_ == null) { if (!(commandCase_ == 10)) { command_ = cz.proto.access.Ddl.ShowEntity.getDefaultInstance(); } showEntityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.ShowEntity, cz.proto.access.Ddl.ShowEntity.Builder, cz.proto.access.Ddl.ShowEntityOrBuilder>( (cz.proto.access.Ddl.ShowEntity) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 10; onChanged();; return showEntityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetEntity, cz.proto.access.Ddl.GetEntity.Builder, cz.proto.access.Ddl.GetEntityOrBuilder> getEntityBuilder_; /** * .cz.proto.access.GetEntity get_entity = 11; * @return Whether the getEntity field is set. */ @java.lang.Override public boolean hasGetEntity() { return commandCase_ == 11; } /** * .cz.proto.access.GetEntity get_entity = 11; * @return The getEntity. */ @java.lang.Override public cz.proto.access.Ddl.GetEntity getGetEntity() { if (getEntityBuilder_ == null) { if (commandCase_ == 11) { return (cz.proto.access.Ddl.GetEntity) command_; } return cz.proto.access.Ddl.GetEntity.getDefaultInstance(); } else { if (commandCase_ == 11) { return getEntityBuilder_.getMessage(); } return cz.proto.access.Ddl.GetEntity.getDefaultInstance(); } } /** * .cz.proto.access.GetEntity get_entity = 11; */ public Builder setGetEntity(cz.proto.access.Ddl.GetEntity value) { if (getEntityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { getEntityBuilder_.setMessage(value); } commandCase_ = 11; return this; } /** * .cz.proto.access.GetEntity get_entity = 11; */ public Builder setGetEntity( cz.proto.access.Ddl.GetEntity.Builder builderForValue) { if (getEntityBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { getEntityBuilder_.setMessage(builderForValue.build()); } commandCase_ = 11; return this; } /** * .cz.proto.access.GetEntity get_entity = 11; */ public Builder mergeGetEntity(cz.proto.access.Ddl.GetEntity value) { if (getEntityBuilder_ == null) { if (commandCase_ == 11 && command_ != cz.proto.access.Ddl.GetEntity.getDefaultInstance()) { command_ = cz.proto.access.Ddl.GetEntity.newBuilder((cz.proto.access.Ddl.GetEntity) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 11) { getEntityBuilder_.mergeFrom(value); } getEntityBuilder_.setMessage(value); } commandCase_ = 11; return this; } /** * .cz.proto.access.GetEntity get_entity = 11; */ public Builder clearGetEntity() { if (getEntityBuilder_ == null) { if (commandCase_ == 11) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 11) { commandCase_ = 0; command_ = null; } getEntityBuilder_.clear(); } return this; } /** * .cz.proto.access.GetEntity get_entity = 11; */ public cz.proto.access.Ddl.GetEntity.Builder getGetEntityBuilder() { return getGetEntityFieldBuilder().getBuilder(); } /** * .cz.proto.access.GetEntity get_entity = 11; */ @java.lang.Override public cz.proto.access.Ddl.GetEntityOrBuilder getGetEntityOrBuilder() { if ((commandCase_ == 11) && (getEntityBuilder_ != null)) { return getEntityBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 11) { return (cz.proto.access.Ddl.GetEntity) command_; } return cz.proto.access.Ddl.GetEntity.getDefaultInstance(); } } /** * .cz.proto.access.GetEntity get_entity = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetEntity, cz.proto.access.Ddl.GetEntity.Builder, cz.proto.access.Ddl.GetEntityOrBuilder> getGetEntityFieldBuilder() { if (getEntityBuilder_ == null) { if (!(commandCase_ == 11)) { command_ = cz.proto.access.Ddl.GetEntity.getDefaultInstance(); } getEntityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetEntity, cz.proto.access.Ddl.GetEntity.Builder, cz.proto.access.Ddl.GetEntityOrBuilder>( (cz.proto.access.Ddl.GetEntity) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 11; onChanged();; return getEntityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetEntityStats, cz.proto.access.Ddl.GetEntityStats.Builder, cz.proto.access.Ddl.GetEntityStatsOrBuilder> getEntityStatsBuilder_; /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; * @return Whether the getEntityStats field is set. */ @java.lang.Override public boolean hasGetEntityStats() { return commandCase_ == 12; } /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; * @return The getEntityStats. */ @java.lang.Override public cz.proto.access.Ddl.GetEntityStats getGetEntityStats() { if (getEntityStatsBuilder_ == null) { if (commandCase_ == 12) { return (cz.proto.access.Ddl.GetEntityStats) command_; } return cz.proto.access.Ddl.GetEntityStats.getDefaultInstance(); } else { if (commandCase_ == 12) { return getEntityStatsBuilder_.getMessage(); } return cz.proto.access.Ddl.GetEntityStats.getDefaultInstance(); } } /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; */ public Builder setGetEntityStats(cz.proto.access.Ddl.GetEntityStats value) { if (getEntityStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { getEntityStatsBuilder_.setMessage(value); } commandCase_ = 12; return this; } /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; */ public Builder setGetEntityStats( cz.proto.access.Ddl.GetEntityStats.Builder builderForValue) { if (getEntityStatsBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { getEntityStatsBuilder_.setMessage(builderForValue.build()); } commandCase_ = 12; return this; } /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; */ public Builder mergeGetEntityStats(cz.proto.access.Ddl.GetEntityStats value) { if (getEntityStatsBuilder_ == null) { if (commandCase_ == 12 && command_ != cz.proto.access.Ddl.GetEntityStats.getDefaultInstance()) { command_ = cz.proto.access.Ddl.GetEntityStats.newBuilder((cz.proto.access.Ddl.GetEntityStats) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 12) { getEntityStatsBuilder_.mergeFrom(value); } getEntityStatsBuilder_.setMessage(value); } commandCase_ = 12; return this; } /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; */ public Builder clearGetEntityStats() { if (getEntityStatsBuilder_ == null) { if (commandCase_ == 12) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 12) { commandCase_ = 0; command_ = null; } getEntityStatsBuilder_.clear(); } return this; } /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; */ public cz.proto.access.Ddl.GetEntityStats.Builder getGetEntityStatsBuilder() { return getGetEntityStatsFieldBuilder().getBuilder(); } /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; */ @java.lang.Override public cz.proto.access.Ddl.GetEntityStatsOrBuilder getGetEntityStatsOrBuilder() { if ((commandCase_ == 12) && (getEntityStatsBuilder_ != null)) { return getEntityStatsBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 12) { return (cz.proto.access.Ddl.GetEntityStats) command_; } return cz.proto.access.Ddl.GetEntityStats.getDefaultInstance(); } } /** * .cz.proto.access.GetEntityStats get_entity_stats = 12; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetEntityStats, cz.proto.access.Ddl.GetEntityStats.Builder, cz.proto.access.Ddl.GetEntityStatsOrBuilder> getGetEntityStatsFieldBuilder() { if (getEntityStatsBuilder_ == null) { if (!(commandCase_ == 12)) { command_ = cz.proto.access.Ddl.GetEntityStats.getDefaultInstance(); } getEntityStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.GetEntityStats, cz.proto.access.Ddl.GetEntityStats.Builder, cz.proto.access.Ddl.GetEntityStatsOrBuilder>( (cz.proto.access.Ddl.GetEntityStats) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 12; onChanged();; return getEntityStatsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.BatchGetEntity, cz.proto.access.Ddl.BatchGetEntity.Builder, cz.proto.access.Ddl.BatchGetEntityOrBuilder> batchGetEntityBuilder_; /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; * @return Whether the batchGetEntity field is set. */ @java.lang.Override public boolean hasBatchGetEntity() { return commandCase_ == 100; } /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; * @return The batchGetEntity. */ @java.lang.Override public cz.proto.access.Ddl.BatchGetEntity getBatchGetEntity() { if (batchGetEntityBuilder_ == null) { if (commandCase_ == 100) { return (cz.proto.access.Ddl.BatchGetEntity) command_; } return cz.proto.access.Ddl.BatchGetEntity.getDefaultInstance(); } else { if (commandCase_ == 100) { return batchGetEntityBuilder_.getMessage(); } return cz.proto.access.Ddl.BatchGetEntity.getDefaultInstance(); } } /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; */ public Builder setBatchGetEntity(cz.proto.access.Ddl.BatchGetEntity value) { if (batchGetEntityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { batchGetEntityBuilder_.setMessage(value); } commandCase_ = 100; return this; } /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; */ public Builder setBatchGetEntity( cz.proto.access.Ddl.BatchGetEntity.Builder builderForValue) { if (batchGetEntityBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { batchGetEntityBuilder_.setMessage(builderForValue.build()); } commandCase_ = 100; return this; } /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; */ public Builder mergeBatchGetEntity(cz.proto.access.Ddl.BatchGetEntity value) { if (batchGetEntityBuilder_ == null) { if (commandCase_ == 100 && command_ != cz.proto.access.Ddl.BatchGetEntity.getDefaultInstance()) { command_ = cz.proto.access.Ddl.BatchGetEntity.newBuilder((cz.proto.access.Ddl.BatchGetEntity) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 100) { batchGetEntityBuilder_.mergeFrom(value); } batchGetEntityBuilder_.setMessage(value); } commandCase_ = 100; return this; } /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; */ public Builder clearBatchGetEntity() { if (batchGetEntityBuilder_ == null) { if (commandCase_ == 100) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 100) { commandCase_ = 0; command_ = null; } batchGetEntityBuilder_.clear(); } return this; } /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; */ public cz.proto.access.Ddl.BatchGetEntity.Builder getBatchGetEntityBuilder() { return getBatchGetEntityFieldBuilder().getBuilder(); } /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; */ @java.lang.Override public cz.proto.access.Ddl.BatchGetEntityOrBuilder getBatchGetEntityOrBuilder() { if ((commandCase_ == 100) && (batchGetEntityBuilder_ != null)) { return batchGetEntityBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 100) { return (cz.proto.access.Ddl.BatchGetEntity) command_; } return cz.proto.access.Ddl.BatchGetEntity.getDefaultInstance(); } } /** * .cz.proto.access.BatchGetEntity batch_get_entity = 100; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.BatchGetEntity, cz.proto.access.Ddl.BatchGetEntity.Builder, cz.proto.access.Ddl.BatchGetEntityOrBuilder> getBatchGetEntityFieldBuilder() { if (batchGetEntityBuilder_ == null) { if (!(commandCase_ == 100)) { command_ = cz.proto.access.Ddl.BatchGetEntity.getDefaultInstance(); } batchGetEntityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.BatchGetEntity, cz.proto.access.Ddl.BatchGetEntity.Builder, cz.proto.access.Ddl.BatchGetEntityOrBuilder>( (cz.proto.access.Ddl.BatchGetEntity) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 100; onChanged();; return batchGetEntityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.BatchGetEntityStats, cz.proto.access.Ddl.BatchGetEntityStats.Builder, cz.proto.access.Ddl.BatchGetEntityStatsOrBuilder> batchGetEntityStatsBuilder_; /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; * @return Whether the batchGetEntityStats field is set. */ @java.lang.Override public boolean hasBatchGetEntityStats() { return commandCase_ == 101; } /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; * @return The batchGetEntityStats. */ @java.lang.Override public cz.proto.access.Ddl.BatchGetEntityStats getBatchGetEntityStats() { if (batchGetEntityStatsBuilder_ == null) { if (commandCase_ == 101) { return (cz.proto.access.Ddl.BatchGetEntityStats) command_; } return cz.proto.access.Ddl.BatchGetEntityStats.getDefaultInstance(); } else { if (commandCase_ == 101) { return batchGetEntityStatsBuilder_.getMessage(); } return cz.proto.access.Ddl.BatchGetEntityStats.getDefaultInstance(); } } /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; */ public Builder setBatchGetEntityStats(cz.proto.access.Ddl.BatchGetEntityStats value) { if (batchGetEntityStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { batchGetEntityStatsBuilder_.setMessage(value); } commandCase_ = 101; return this; } /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; */ public Builder setBatchGetEntityStats( cz.proto.access.Ddl.BatchGetEntityStats.Builder builderForValue) { if (batchGetEntityStatsBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { batchGetEntityStatsBuilder_.setMessage(builderForValue.build()); } commandCase_ = 101; return this; } /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; */ public Builder mergeBatchGetEntityStats(cz.proto.access.Ddl.BatchGetEntityStats value) { if (batchGetEntityStatsBuilder_ == null) { if (commandCase_ == 101 && command_ != cz.proto.access.Ddl.BatchGetEntityStats.getDefaultInstance()) { command_ = cz.proto.access.Ddl.BatchGetEntityStats.newBuilder((cz.proto.access.Ddl.BatchGetEntityStats) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 101) { batchGetEntityStatsBuilder_.mergeFrom(value); } batchGetEntityStatsBuilder_.setMessage(value); } commandCase_ = 101; return this; } /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; */ public Builder clearBatchGetEntityStats() { if (batchGetEntityStatsBuilder_ == null) { if (commandCase_ == 101) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 101) { commandCase_ = 0; command_ = null; } batchGetEntityStatsBuilder_.clear(); } return this; } /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; */ public cz.proto.access.Ddl.BatchGetEntityStats.Builder getBatchGetEntityStatsBuilder() { return getBatchGetEntityStatsFieldBuilder().getBuilder(); } /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; */ @java.lang.Override public cz.proto.access.Ddl.BatchGetEntityStatsOrBuilder getBatchGetEntityStatsOrBuilder() { if ((commandCase_ == 101) && (batchGetEntityStatsBuilder_ != null)) { return batchGetEntityStatsBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 101) { return (cz.proto.access.Ddl.BatchGetEntityStats) command_; } return cz.proto.access.Ddl.BatchGetEntityStats.getDefaultInstance(); } } /** * .cz.proto.access.BatchGetEntityStats batch_get_entity_stats = 101; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.BatchGetEntityStats, cz.proto.access.Ddl.BatchGetEntityStats.Builder, cz.proto.access.Ddl.BatchGetEntityStatsOrBuilder> getBatchGetEntityStatsFieldBuilder() { if (batchGetEntityStatsBuilder_ == null) { if (!(commandCase_ == 101)) { command_ = cz.proto.access.Ddl.BatchGetEntityStats.getDefaultInstance(); } batchGetEntityStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.BatchGetEntityStats, cz.proto.access.Ddl.BatchGetEntityStats.Builder, cz.proto.access.Ddl.BatchGetEntityStatsOrBuilder>( (cz.proto.access.Ddl.BatchGetEntityStats) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 101; onChanged();; return batchGetEntityStatsBuilder_; } @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:cz.proto.access.DQL) } // @@protoc_insertion_point(class_scope:cz.proto.access.DQL) private static final cz.proto.access.Ddl.DQL DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DQL(); } public static cz.proto.access.Ddl.DQL getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DQL parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DQL(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 cz.proto.access.Ddl.DQL getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AppendTableOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.AppendTable) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.Manifest manifest = 1; * @return Whether the manifest field is set. */ boolean hasManifest(); /** * .cz.proto.Manifest manifest = 1; * @return The manifest. */ cz.proto.Manifest getManifest(); /** * .cz.proto.Manifest manifest = 1; */ cz.proto.ManifestOrBuilder getManifestOrBuilder(); } /** * Protobuf type {@code cz.proto.access.AppendTable} */ public static final class AppendTable extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AppendTable) AppendTableOrBuilder { private static final long serialVersionUID = 0L; // Use AppendTable.newBuilder() to construct. private AppendTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AppendTable() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AppendTable(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AppendTable( 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: { cz.proto.Manifest.Builder subBuilder = null; if (manifest_ != null) { subBuilder = manifest_.toBuilder(); } manifest_ = input.readMessage(cz.proto.Manifest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(manifest_); manifest_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_AppendTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AppendTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AppendTable.class, cz.proto.access.Ddl.AppendTable.Builder.class); } public static final int MANIFEST_FIELD_NUMBER = 1; private cz.proto.Manifest manifest_; /** * .cz.proto.Manifest manifest = 1; * @return Whether the manifest field is set. */ @java.lang.Override public boolean hasManifest() { return manifest_ != null; } /** * .cz.proto.Manifest manifest = 1; * @return The manifest. */ @java.lang.Override public cz.proto.Manifest getManifest() { return manifest_ == null ? cz.proto.Manifest.getDefaultInstance() : manifest_; } /** * .cz.proto.Manifest manifest = 1; */ @java.lang.Override public cz.proto.ManifestOrBuilder getManifestOrBuilder() { return getManifest(); } 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 (manifest_ != null) { output.writeMessage(1, getManifest()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (manifest_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getManifest()); } 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 cz.proto.access.Ddl.AppendTable)) { return super.equals(obj); } cz.proto.access.Ddl.AppendTable other = (cz.proto.access.Ddl.AppendTable) obj; if (hasManifest() != other.hasManifest()) return false; if (hasManifest()) { if (!getManifest() .equals(other.getManifest())) 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 (hasManifest()) { hash = (37 * hash) + MANIFEST_FIELD_NUMBER; hash = (53 * hash) + getManifest().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AppendTable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AppendTable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AppendTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AppendTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AppendTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AppendTable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AppendTable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AppendTable 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 cz.proto.access.Ddl.AppendTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AppendTable 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 cz.proto.access.Ddl.AppendTable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AppendTable 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(cz.proto.access.Ddl.AppendTable 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 cz.proto.access.AppendTable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AppendTable) cz.proto.access.Ddl.AppendTableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AppendTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AppendTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AppendTable.class, cz.proto.access.Ddl.AppendTable.Builder.class); } // Construct using cz.proto.access.Ddl.AppendTable.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 (manifestBuilder_ == null) { manifest_ = null; } else { manifest_ = null; manifestBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AppendTable_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AppendTable getDefaultInstanceForType() { return cz.proto.access.Ddl.AppendTable.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AppendTable build() { cz.proto.access.Ddl.AppendTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AppendTable buildPartial() { cz.proto.access.Ddl.AppendTable result = new cz.proto.access.Ddl.AppendTable(this); if (manifestBuilder_ == null) { result.manifest_ = manifest_; } else { result.manifest_ = manifestBuilder_.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 cz.proto.access.Ddl.AppendTable) { return mergeFrom((cz.proto.access.Ddl.AppendTable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AppendTable other) { if (other == cz.proto.access.Ddl.AppendTable.getDefaultInstance()) return this; if (other.hasManifest()) { mergeManifest(other.getManifest()); } 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 { cz.proto.access.Ddl.AppendTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AppendTable) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.Manifest manifest_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.Manifest, cz.proto.Manifest.Builder, cz.proto.ManifestOrBuilder> manifestBuilder_; /** * .cz.proto.Manifest manifest = 1; * @return Whether the manifest field is set. */ public boolean hasManifest() { return manifestBuilder_ != null || manifest_ != null; } /** * .cz.proto.Manifest manifest = 1; * @return The manifest. */ public cz.proto.Manifest getManifest() { if (manifestBuilder_ == null) { return manifest_ == null ? cz.proto.Manifest.getDefaultInstance() : manifest_; } else { return manifestBuilder_.getMessage(); } } /** * .cz.proto.Manifest manifest = 1; */ public Builder setManifest(cz.proto.Manifest value) { if (manifestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } manifest_ = value; onChanged(); } else { manifestBuilder_.setMessage(value); } return this; } /** * .cz.proto.Manifest manifest = 1; */ public Builder setManifest( cz.proto.Manifest.Builder builderForValue) { if (manifestBuilder_ == null) { manifest_ = builderForValue.build(); onChanged(); } else { manifestBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Manifest manifest = 1; */ public Builder mergeManifest(cz.proto.Manifest value) { if (manifestBuilder_ == null) { if (manifest_ != null) { manifest_ = cz.proto.Manifest.newBuilder(manifest_).mergeFrom(value).buildPartial(); } else { manifest_ = value; } onChanged(); } else { manifestBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Manifest manifest = 1; */ public Builder clearManifest() { if (manifestBuilder_ == null) { manifest_ = null; onChanged(); } else { manifest_ = null; manifestBuilder_ = null; } return this; } /** * .cz.proto.Manifest manifest = 1; */ public cz.proto.Manifest.Builder getManifestBuilder() { onChanged(); return getManifestFieldBuilder().getBuilder(); } /** * .cz.proto.Manifest manifest = 1; */ public cz.proto.ManifestOrBuilder getManifestOrBuilder() { if (manifestBuilder_ != null) { return manifestBuilder_.getMessageOrBuilder(); } else { return manifest_ == null ? cz.proto.Manifest.getDefaultInstance() : manifest_; } } /** * .cz.proto.Manifest manifest = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.Manifest, cz.proto.Manifest.Builder, cz.proto.ManifestOrBuilder> getManifestFieldBuilder() { if (manifestBuilder_ == null) { manifestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.Manifest, cz.proto.Manifest.Builder, cz.proto.ManifestOrBuilder>( getManifest(), getParentForChildren(), isClean()); manifest_ = null; } return manifestBuilder_; } @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:cz.proto.access.AppendTable) } // @@protoc_insertion_point(class_scope:cz.proto.access.AppendTable) private static final cz.proto.access.Ddl.AppendTable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AppendTable(); } public static cz.proto.access.Ddl.AppendTable getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AppendTable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AppendTable(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 cz.proto.access.Ddl.AppendTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AppendEntityOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.AppendEntity) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ cz.proto.ObjectIdentifier getIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; */ cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder(); /** * .cz.proto.access.AppendTable append_table = 10; * @return Whether the appendTable field is set. */ boolean hasAppendTable(); /** * .cz.proto.access.AppendTable append_table = 10; * @return The appendTable. */ cz.proto.access.Ddl.AppendTable getAppendTable(); /** * .cz.proto.access.AppendTable append_table = 10; */ cz.proto.access.Ddl.AppendTableOrBuilder getAppendTableOrBuilder(); public cz.proto.access.Ddl.AppendEntity.DerivedCase getDerivedCase(); } /** * Protobuf type {@code cz.proto.access.AppendEntity} */ public static final class AppendEntity extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AppendEntity) AppendEntityOrBuilder { private static final long serialVersionUID = 0L; // Use AppendEntity.newBuilder() to construct. private AppendEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AppendEntity() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AppendEntity(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AppendEntity( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 82: { cz.proto.access.Ddl.AppendTable.Builder subBuilder = null; if (derivedCase_ == 10) { subBuilder = ((cz.proto.access.Ddl.AppendTable) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.AppendTable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.AppendTable) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 10; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_AppendEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AppendEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AppendEntity.class, cz.proto.access.Ddl.AppendEntity.Builder.class); } private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APPEND_TABLE(10), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 10: return APPEND_TABLE; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public static final int IDENTIFIER_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier identifier_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ @java.lang.Override public cz.proto.ObjectIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int APPEND_TABLE_FIELD_NUMBER = 10; /** * .cz.proto.access.AppendTable append_table = 10; * @return Whether the appendTable field is set. */ @java.lang.Override public boolean hasAppendTable() { return derivedCase_ == 10; } /** * .cz.proto.access.AppendTable append_table = 10; * @return The appendTable. */ @java.lang.Override public cz.proto.access.Ddl.AppendTable getAppendTable() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.AppendTable) derived_; } return cz.proto.access.Ddl.AppendTable.getDefaultInstance(); } /** * .cz.proto.access.AppendTable append_table = 10; */ @java.lang.Override public cz.proto.access.Ddl.AppendTableOrBuilder getAppendTableOrBuilder() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.AppendTable) derived_; } return cz.proto.access.Ddl.AppendTable.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (identifier_ != null) { output.writeMessage(1, getIdentifier()); } if (derivedCase_ == 10) { output.writeMessage(10, (cz.proto.access.Ddl.AppendTable) derived_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } if (derivedCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.Ddl.AppendTable) derived_); } 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 cz.proto.access.Ddl.AppendEntity)) { return super.equals(obj); } cz.proto.access.Ddl.AppendEntity other = (cz.proto.access.Ddl.AppendEntity) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 10: if (!getAppendTable() .equals(other.getAppendTable())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } switch (derivedCase_) { case 10: hash = (37 * hash) + APPEND_TABLE_FIELD_NUMBER; hash = (53 * hash) + getAppendTable().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AppendEntity parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AppendEntity parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AppendEntity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AppendEntity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AppendEntity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AppendEntity parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AppendEntity parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AppendEntity 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 cz.proto.access.Ddl.AppendEntity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AppendEntity 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 cz.proto.access.Ddl.AppendEntity parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AppendEntity 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(cz.proto.access.Ddl.AppendEntity 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 cz.proto.access.AppendEntity} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AppendEntity) cz.proto.access.Ddl.AppendEntityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AppendEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AppendEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AppendEntity.class, cz.proto.access.Ddl.AppendEntity.Builder.class); } // Construct using cz.proto.access.Ddl.AppendEntity.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 (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } derivedCase_ = 0; derived_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AppendEntity_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AppendEntity getDefaultInstanceForType() { return cz.proto.access.Ddl.AppendEntity.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AppendEntity build() { cz.proto.access.Ddl.AppendEntity result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AppendEntity buildPartial() { cz.proto.access.Ddl.AppendEntity result = new cz.proto.access.Ddl.AppendEntity(this); if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } if (derivedCase_ == 10) { if (appendTableBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = appendTableBuilder_.build(); } } result.derivedCase_ = derivedCase_; 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 cz.proto.access.Ddl.AppendEntity) { return mergeFrom((cz.proto.access.Ddl.AppendEntity)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AppendEntity other) { if (other == cz.proto.access.Ddl.AppendEntity.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } switch (other.getDerivedCase()) { case APPEND_TABLE: { mergeAppendTable(other.getAppendTable()); break; } case DERIVED_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.AppendEntity parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AppendEntity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } private cz.proto.ObjectIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ public cz.proto.ObjectIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AppendTable, cz.proto.access.Ddl.AppendTable.Builder, cz.proto.access.Ddl.AppendTableOrBuilder> appendTableBuilder_; /** * .cz.proto.access.AppendTable append_table = 10; * @return Whether the appendTable field is set. */ @java.lang.Override public boolean hasAppendTable() { return derivedCase_ == 10; } /** * .cz.proto.access.AppendTable append_table = 10; * @return The appendTable. */ @java.lang.Override public cz.proto.access.Ddl.AppendTable getAppendTable() { if (appendTableBuilder_ == null) { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.AppendTable) derived_; } return cz.proto.access.Ddl.AppendTable.getDefaultInstance(); } else { if (derivedCase_ == 10) { return appendTableBuilder_.getMessage(); } return cz.proto.access.Ddl.AppendTable.getDefaultInstance(); } } /** * .cz.proto.access.AppendTable append_table = 10; */ public Builder setAppendTable(cz.proto.access.Ddl.AppendTable value) { if (appendTableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { appendTableBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.AppendTable append_table = 10; */ public Builder setAppendTable( cz.proto.access.Ddl.AppendTable.Builder builderForValue) { if (appendTableBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { appendTableBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 10; return this; } /** * .cz.proto.access.AppendTable append_table = 10; */ public Builder mergeAppendTable(cz.proto.access.Ddl.AppendTable value) { if (appendTableBuilder_ == null) { if (derivedCase_ == 10 && derived_ != cz.proto.access.Ddl.AppendTable.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.AppendTable.newBuilder((cz.proto.access.Ddl.AppendTable) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 10) { appendTableBuilder_.mergeFrom(value); } appendTableBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.AppendTable append_table = 10; */ public Builder clearAppendTable() { if (appendTableBuilder_ == null) { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; } appendTableBuilder_.clear(); } return this; } /** * .cz.proto.access.AppendTable append_table = 10; */ public cz.proto.access.Ddl.AppendTable.Builder getAppendTableBuilder() { return getAppendTableFieldBuilder().getBuilder(); } /** * .cz.proto.access.AppendTable append_table = 10; */ @java.lang.Override public cz.proto.access.Ddl.AppendTableOrBuilder getAppendTableOrBuilder() { if ((derivedCase_ == 10) && (appendTableBuilder_ != null)) { return appendTableBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.AppendTable) derived_; } return cz.proto.access.Ddl.AppendTable.getDefaultInstance(); } } /** * .cz.proto.access.AppendTable append_table = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AppendTable, cz.proto.access.Ddl.AppendTable.Builder, cz.proto.access.Ddl.AppendTableOrBuilder> getAppendTableFieldBuilder() { if (appendTableBuilder_ == null) { if (!(derivedCase_ == 10)) { derived_ = cz.proto.access.Ddl.AppendTable.getDefaultInstance(); } appendTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AppendTable, cz.proto.access.Ddl.AppendTable.Builder, cz.proto.access.Ddl.AppendTableOrBuilder>( (cz.proto.access.Ddl.AppendTable) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 10; onChanged();; return appendTableBuilder_; } @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:cz.proto.access.AppendEntity) } // @@protoc_insertion_point(class_scope:cz.proto.access.AppendEntity) private static final cz.proto.access.Ddl.AppendEntity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AppendEntity(); } public static cz.proto.access.Ddl.AppendEntity getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AppendEntity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AppendEntity(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 cz.proto.access.Ddl.AppendEntity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RewriteTableOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.RewriteTable) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.Manifest manifest = 1; * @return Whether the manifest field is set. */ boolean hasManifest(); /** * .cz.proto.Manifest manifest = 1; * @return The manifest. */ cz.proto.Manifest getManifest(); /** * .cz.proto.Manifest manifest = 1; */ cz.proto.ManifestOrBuilder getManifestOrBuilder(); } /** * Protobuf type {@code cz.proto.access.RewriteTable} */ public static final class RewriteTable extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.RewriteTable) RewriteTableOrBuilder { private static final long serialVersionUID = 0L; // Use RewriteTable.newBuilder() to construct. private RewriteTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RewriteTable() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RewriteTable(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RewriteTable( 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: { cz.proto.Manifest.Builder subBuilder = null; if (manifest_ != null) { subBuilder = manifest_.toBuilder(); } manifest_ = input.readMessage(cz.proto.Manifest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(manifest_); manifest_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_RewriteTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_RewriteTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.RewriteTable.class, cz.proto.access.Ddl.RewriteTable.Builder.class); } public static final int MANIFEST_FIELD_NUMBER = 1; private cz.proto.Manifest manifest_; /** * .cz.proto.Manifest manifest = 1; * @return Whether the manifest field is set. */ @java.lang.Override public boolean hasManifest() { return manifest_ != null; } /** * .cz.proto.Manifest manifest = 1; * @return The manifest. */ @java.lang.Override public cz.proto.Manifest getManifest() { return manifest_ == null ? cz.proto.Manifest.getDefaultInstance() : manifest_; } /** * .cz.proto.Manifest manifest = 1; */ @java.lang.Override public cz.proto.ManifestOrBuilder getManifestOrBuilder() { return getManifest(); } 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 (manifest_ != null) { output.writeMessage(1, getManifest()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (manifest_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getManifest()); } 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 cz.proto.access.Ddl.RewriteTable)) { return super.equals(obj); } cz.proto.access.Ddl.RewriteTable other = (cz.proto.access.Ddl.RewriteTable) obj; if (hasManifest() != other.hasManifest()) return false; if (hasManifest()) { if (!getManifest() .equals(other.getManifest())) 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 (hasManifest()) { hash = (37 * hash) + MANIFEST_FIELD_NUMBER; hash = (53 * hash) + getManifest().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.RewriteTable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.RewriteTable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.RewriteTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.RewriteTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.RewriteTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.RewriteTable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.RewriteTable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.RewriteTable 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 cz.proto.access.Ddl.RewriteTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.RewriteTable 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 cz.proto.access.Ddl.RewriteTable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.RewriteTable 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(cz.proto.access.Ddl.RewriteTable 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 cz.proto.access.RewriteTable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.RewriteTable) cz.proto.access.Ddl.RewriteTableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_RewriteTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_RewriteTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.RewriteTable.class, cz.proto.access.Ddl.RewriteTable.Builder.class); } // Construct using cz.proto.access.Ddl.RewriteTable.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 (manifestBuilder_ == null) { manifest_ = null; } else { manifest_ = null; manifestBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_RewriteTable_descriptor; } @java.lang.Override public cz.proto.access.Ddl.RewriteTable getDefaultInstanceForType() { return cz.proto.access.Ddl.RewriteTable.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.RewriteTable build() { cz.proto.access.Ddl.RewriteTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.RewriteTable buildPartial() { cz.proto.access.Ddl.RewriteTable result = new cz.proto.access.Ddl.RewriteTable(this); if (manifestBuilder_ == null) { result.manifest_ = manifest_; } else { result.manifest_ = manifestBuilder_.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 cz.proto.access.Ddl.RewriteTable) { return mergeFrom((cz.proto.access.Ddl.RewriteTable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.RewriteTable other) { if (other == cz.proto.access.Ddl.RewriteTable.getDefaultInstance()) return this; if (other.hasManifest()) { mergeManifest(other.getManifest()); } 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 { cz.proto.access.Ddl.RewriteTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.RewriteTable) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.Manifest manifest_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.Manifest, cz.proto.Manifest.Builder, cz.proto.ManifestOrBuilder> manifestBuilder_; /** * .cz.proto.Manifest manifest = 1; * @return Whether the manifest field is set. */ public boolean hasManifest() { return manifestBuilder_ != null || manifest_ != null; } /** * .cz.proto.Manifest manifest = 1; * @return The manifest. */ public cz.proto.Manifest getManifest() { if (manifestBuilder_ == null) { return manifest_ == null ? cz.proto.Manifest.getDefaultInstance() : manifest_; } else { return manifestBuilder_.getMessage(); } } /** * .cz.proto.Manifest manifest = 1; */ public Builder setManifest(cz.proto.Manifest value) { if (manifestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } manifest_ = value; onChanged(); } else { manifestBuilder_.setMessage(value); } return this; } /** * .cz.proto.Manifest manifest = 1; */ public Builder setManifest( cz.proto.Manifest.Builder builderForValue) { if (manifestBuilder_ == null) { manifest_ = builderForValue.build(); onChanged(); } else { manifestBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Manifest manifest = 1; */ public Builder mergeManifest(cz.proto.Manifest value) { if (manifestBuilder_ == null) { if (manifest_ != null) { manifest_ = cz.proto.Manifest.newBuilder(manifest_).mergeFrom(value).buildPartial(); } else { manifest_ = value; } onChanged(); } else { manifestBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Manifest manifest = 1; */ public Builder clearManifest() { if (manifestBuilder_ == null) { manifest_ = null; onChanged(); } else { manifest_ = null; manifestBuilder_ = null; } return this; } /** * .cz.proto.Manifest manifest = 1; */ public cz.proto.Manifest.Builder getManifestBuilder() { onChanged(); return getManifestFieldBuilder().getBuilder(); } /** * .cz.proto.Manifest manifest = 1; */ public cz.proto.ManifestOrBuilder getManifestOrBuilder() { if (manifestBuilder_ != null) { return manifestBuilder_.getMessageOrBuilder(); } else { return manifest_ == null ? cz.proto.Manifest.getDefaultInstance() : manifest_; } } /** * .cz.proto.Manifest manifest = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.Manifest, cz.proto.Manifest.Builder, cz.proto.ManifestOrBuilder> getManifestFieldBuilder() { if (manifestBuilder_ == null) { manifestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.Manifest, cz.proto.Manifest.Builder, cz.proto.ManifestOrBuilder>( getManifest(), getParentForChildren(), isClean()); manifest_ = null; } return manifestBuilder_; } @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:cz.proto.access.RewriteTable) } // @@protoc_insertion_point(class_scope:cz.proto.access.RewriteTable) private static final cz.proto.access.Ddl.RewriteTable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.RewriteTable(); } public static cz.proto.access.Ddl.RewriteTable getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RewriteTable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RewriteTable(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 cz.proto.access.Ddl.RewriteTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RewriteEntityOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.RewriteEntity) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ cz.proto.ObjectIdentifier getIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; */ cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder(); /** * .cz.proto.access.RewriteTable rewrite_table = 10; * @return Whether the rewriteTable field is set. */ boolean hasRewriteTable(); /** * .cz.proto.access.RewriteTable rewrite_table = 10; * @return The rewriteTable. */ cz.proto.access.Ddl.RewriteTable getRewriteTable(); /** * .cz.proto.access.RewriteTable rewrite_table = 10; */ cz.proto.access.Ddl.RewriteTableOrBuilder getRewriteTableOrBuilder(); public cz.proto.access.Ddl.RewriteEntity.DerivedCase getDerivedCase(); } /** * Protobuf type {@code cz.proto.access.RewriteEntity} */ public static final class RewriteEntity extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.RewriteEntity) RewriteEntityOrBuilder { private static final long serialVersionUID = 0L; // Use RewriteEntity.newBuilder() to construct. private RewriteEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RewriteEntity() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RewriteEntity(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RewriteEntity( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 82: { cz.proto.access.Ddl.RewriteTable.Builder subBuilder = null; if (derivedCase_ == 10) { subBuilder = ((cz.proto.access.Ddl.RewriteTable) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.RewriteTable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.RewriteTable) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 10; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_RewriteEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_RewriteEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.RewriteEntity.class, cz.proto.access.Ddl.RewriteEntity.Builder.class); } private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { REWRITE_TABLE(10), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 10: return REWRITE_TABLE; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public static final int IDENTIFIER_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier identifier_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ @java.lang.Override public cz.proto.ObjectIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int REWRITE_TABLE_FIELD_NUMBER = 10; /** * .cz.proto.access.RewriteTable rewrite_table = 10; * @return Whether the rewriteTable field is set. */ @java.lang.Override public boolean hasRewriteTable() { return derivedCase_ == 10; } /** * .cz.proto.access.RewriteTable rewrite_table = 10; * @return The rewriteTable. */ @java.lang.Override public cz.proto.access.Ddl.RewriteTable getRewriteTable() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.RewriteTable) derived_; } return cz.proto.access.Ddl.RewriteTable.getDefaultInstance(); } /** * .cz.proto.access.RewriteTable rewrite_table = 10; */ @java.lang.Override public cz.proto.access.Ddl.RewriteTableOrBuilder getRewriteTableOrBuilder() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.RewriteTable) derived_; } return cz.proto.access.Ddl.RewriteTable.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (identifier_ != null) { output.writeMessage(1, getIdentifier()); } if (derivedCase_ == 10) { output.writeMessage(10, (cz.proto.access.Ddl.RewriteTable) derived_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } if (derivedCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.Ddl.RewriteTable) derived_); } 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 cz.proto.access.Ddl.RewriteEntity)) { return super.equals(obj); } cz.proto.access.Ddl.RewriteEntity other = (cz.proto.access.Ddl.RewriteEntity) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 10: if (!getRewriteTable() .equals(other.getRewriteTable())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } switch (derivedCase_) { case 10: hash = (37 * hash) + REWRITE_TABLE_FIELD_NUMBER; hash = (53 * hash) + getRewriteTable().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.RewriteEntity parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.RewriteEntity parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.RewriteEntity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.RewriteEntity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.RewriteEntity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.RewriteEntity parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.RewriteEntity parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.RewriteEntity 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 cz.proto.access.Ddl.RewriteEntity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.RewriteEntity 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 cz.proto.access.Ddl.RewriteEntity parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.RewriteEntity 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(cz.proto.access.Ddl.RewriteEntity 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 cz.proto.access.RewriteEntity} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.RewriteEntity) cz.proto.access.Ddl.RewriteEntityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_RewriteEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_RewriteEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.RewriteEntity.class, cz.proto.access.Ddl.RewriteEntity.Builder.class); } // Construct using cz.proto.access.Ddl.RewriteEntity.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 (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } derivedCase_ = 0; derived_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_RewriteEntity_descriptor; } @java.lang.Override public cz.proto.access.Ddl.RewriteEntity getDefaultInstanceForType() { return cz.proto.access.Ddl.RewriteEntity.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.RewriteEntity build() { cz.proto.access.Ddl.RewriteEntity result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.RewriteEntity buildPartial() { cz.proto.access.Ddl.RewriteEntity result = new cz.proto.access.Ddl.RewriteEntity(this); if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } if (derivedCase_ == 10) { if (rewriteTableBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = rewriteTableBuilder_.build(); } } result.derivedCase_ = derivedCase_; 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 cz.proto.access.Ddl.RewriteEntity) { return mergeFrom((cz.proto.access.Ddl.RewriteEntity)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.RewriteEntity other) { if (other == cz.proto.access.Ddl.RewriteEntity.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } switch (other.getDerivedCase()) { case REWRITE_TABLE: { mergeRewriteTable(other.getRewriteTable()); break; } case DERIVED_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.RewriteEntity parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.RewriteEntity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } private cz.proto.ObjectIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ public cz.proto.ObjectIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.RewriteTable, cz.proto.access.Ddl.RewriteTable.Builder, cz.proto.access.Ddl.RewriteTableOrBuilder> rewriteTableBuilder_; /** * .cz.proto.access.RewriteTable rewrite_table = 10; * @return Whether the rewriteTable field is set. */ @java.lang.Override public boolean hasRewriteTable() { return derivedCase_ == 10; } /** * .cz.proto.access.RewriteTable rewrite_table = 10; * @return The rewriteTable. */ @java.lang.Override public cz.proto.access.Ddl.RewriteTable getRewriteTable() { if (rewriteTableBuilder_ == null) { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.RewriteTable) derived_; } return cz.proto.access.Ddl.RewriteTable.getDefaultInstance(); } else { if (derivedCase_ == 10) { return rewriteTableBuilder_.getMessage(); } return cz.proto.access.Ddl.RewriteTable.getDefaultInstance(); } } /** * .cz.proto.access.RewriteTable rewrite_table = 10; */ public Builder setRewriteTable(cz.proto.access.Ddl.RewriteTable value) { if (rewriteTableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { rewriteTableBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.RewriteTable rewrite_table = 10; */ public Builder setRewriteTable( cz.proto.access.Ddl.RewriteTable.Builder builderForValue) { if (rewriteTableBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { rewriteTableBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 10; return this; } /** * .cz.proto.access.RewriteTable rewrite_table = 10; */ public Builder mergeRewriteTable(cz.proto.access.Ddl.RewriteTable value) { if (rewriteTableBuilder_ == null) { if (derivedCase_ == 10 && derived_ != cz.proto.access.Ddl.RewriteTable.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.RewriteTable.newBuilder((cz.proto.access.Ddl.RewriteTable) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 10) { rewriteTableBuilder_.mergeFrom(value); } rewriteTableBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.RewriteTable rewrite_table = 10; */ public Builder clearRewriteTable() { if (rewriteTableBuilder_ == null) { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; } rewriteTableBuilder_.clear(); } return this; } /** * .cz.proto.access.RewriteTable rewrite_table = 10; */ public cz.proto.access.Ddl.RewriteTable.Builder getRewriteTableBuilder() { return getRewriteTableFieldBuilder().getBuilder(); } /** * .cz.proto.access.RewriteTable rewrite_table = 10; */ @java.lang.Override public cz.proto.access.Ddl.RewriteTableOrBuilder getRewriteTableOrBuilder() { if ((derivedCase_ == 10) && (rewriteTableBuilder_ != null)) { return rewriteTableBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.RewriteTable) derived_; } return cz.proto.access.Ddl.RewriteTable.getDefaultInstance(); } } /** * .cz.proto.access.RewriteTable rewrite_table = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.RewriteTable, cz.proto.access.Ddl.RewriteTable.Builder, cz.proto.access.Ddl.RewriteTableOrBuilder> getRewriteTableFieldBuilder() { if (rewriteTableBuilder_ == null) { if (!(derivedCase_ == 10)) { derived_ = cz.proto.access.Ddl.RewriteTable.getDefaultInstance(); } rewriteTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.RewriteTable, cz.proto.access.Ddl.RewriteTable.Builder, cz.proto.access.Ddl.RewriteTableOrBuilder>( (cz.proto.access.Ddl.RewriteTable) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 10; onChanged();; return rewriteTableBuilder_; } @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:cz.proto.access.RewriteEntity) } // @@protoc_insertion_point(class_scope:cz.proto.access.RewriteEntity) private static final cz.proto.access.Ddl.RewriteEntity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.RewriteEntity(); } public static cz.proto.access.Ddl.RewriteEntity getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RewriteEntity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RewriteEntity(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 cz.proto.access.Ddl.RewriteEntity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OverwriteTableOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.OverwriteTable) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.Manifest manifest = 1; * @return Whether the manifest field is set. */ boolean hasManifest(); /** * .cz.proto.Manifest manifest = 1; * @return The manifest. */ cz.proto.Manifest getManifest(); /** * .cz.proto.Manifest manifest = 1; */ cz.proto.ManifestOrBuilder getManifestOrBuilder(); } /** * Protobuf type {@code cz.proto.access.OverwriteTable} */ public static final class OverwriteTable extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.OverwriteTable) OverwriteTableOrBuilder { private static final long serialVersionUID = 0L; // Use OverwriteTable.newBuilder() to construct. private OverwriteTable(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OverwriteTable() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OverwriteTable(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OverwriteTable( 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: { cz.proto.Manifest.Builder subBuilder = null; if (manifest_ != null) { subBuilder = manifest_.toBuilder(); } manifest_ = input.readMessage(cz.proto.Manifest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(manifest_); manifest_ = 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 cz.proto.access.Ddl.internal_static_cz_proto_access_OverwriteTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_OverwriteTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.OverwriteTable.class, cz.proto.access.Ddl.OverwriteTable.Builder.class); } public static final int MANIFEST_FIELD_NUMBER = 1; private cz.proto.Manifest manifest_; /** * .cz.proto.Manifest manifest = 1; * @return Whether the manifest field is set. */ @java.lang.Override public boolean hasManifest() { return manifest_ != null; } /** * .cz.proto.Manifest manifest = 1; * @return The manifest. */ @java.lang.Override public cz.proto.Manifest getManifest() { return manifest_ == null ? cz.proto.Manifest.getDefaultInstance() : manifest_; } /** * .cz.proto.Manifest manifest = 1; */ @java.lang.Override public cz.proto.ManifestOrBuilder getManifestOrBuilder() { return getManifest(); } 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 (manifest_ != null) { output.writeMessage(1, getManifest()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (manifest_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getManifest()); } 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 cz.proto.access.Ddl.OverwriteTable)) { return super.equals(obj); } cz.proto.access.Ddl.OverwriteTable other = (cz.proto.access.Ddl.OverwriteTable) obj; if (hasManifest() != other.hasManifest()) return false; if (hasManifest()) { if (!getManifest() .equals(other.getManifest())) 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 (hasManifest()) { hash = (37 * hash) + MANIFEST_FIELD_NUMBER; hash = (53 * hash) + getManifest().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.OverwriteTable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.OverwriteTable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.OverwriteTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.OverwriteTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.OverwriteTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.OverwriteTable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.OverwriteTable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.OverwriteTable 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 cz.proto.access.Ddl.OverwriteTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.OverwriteTable 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 cz.proto.access.Ddl.OverwriteTable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.OverwriteTable 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(cz.proto.access.Ddl.OverwriteTable 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 cz.proto.access.OverwriteTable} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.OverwriteTable) cz.proto.access.Ddl.OverwriteTableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_OverwriteTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_OverwriteTable_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.OverwriteTable.class, cz.proto.access.Ddl.OverwriteTable.Builder.class); } // Construct using cz.proto.access.Ddl.OverwriteTable.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 (manifestBuilder_ == null) { manifest_ = null; } else { manifest_ = null; manifestBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_OverwriteTable_descriptor; } @java.lang.Override public cz.proto.access.Ddl.OverwriteTable getDefaultInstanceForType() { return cz.proto.access.Ddl.OverwriteTable.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.OverwriteTable build() { cz.proto.access.Ddl.OverwriteTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.OverwriteTable buildPartial() { cz.proto.access.Ddl.OverwriteTable result = new cz.proto.access.Ddl.OverwriteTable(this); if (manifestBuilder_ == null) { result.manifest_ = manifest_; } else { result.manifest_ = manifestBuilder_.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 cz.proto.access.Ddl.OverwriteTable) { return mergeFrom((cz.proto.access.Ddl.OverwriteTable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.OverwriteTable other) { if (other == cz.proto.access.Ddl.OverwriteTable.getDefaultInstance()) return this; if (other.hasManifest()) { mergeManifest(other.getManifest()); } 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 { cz.proto.access.Ddl.OverwriteTable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.OverwriteTable) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.Manifest manifest_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.Manifest, cz.proto.Manifest.Builder, cz.proto.ManifestOrBuilder> manifestBuilder_; /** * .cz.proto.Manifest manifest = 1; * @return Whether the manifest field is set. */ public boolean hasManifest() { return manifestBuilder_ != null || manifest_ != null; } /** * .cz.proto.Manifest manifest = 1; * @return The manifest. */ public cz.proto.Manifest getManifest() { if (manifestBuilder_ == null) { return manifest_ == null ? cz.proto.Manifest.getDefaultInstance() : manifest_; } else { return manifestBuilder_.getMessage(); } } /** * .cz.proto.Manifest manifest = 1; */ public Builder setManifest(cz.proto.Manifest value) { if (manifestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } manifest_ = value; onChanged(); } else { manifestBuilder_.setMessage(value); } return this; } /** * .cz.proto.Manifest manifest = 1; */ public Builder setManifest( cz.proto.Manifest.Builder builderForValue) { if (manifestBuilder_ == null) { manifest_ = builderForValue.build(); onChanged(); } else { manifestBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Manifest manifest = 1; */ public Builder mergeManifest(cz.proto.Manifest value) { if (manifestBuilder_ == null) { if (manifest_ != null) { manifest_ = cz.proto.Manifest.newBuilder(manifest_).mergeFrom(value).buildPartial(); } else { manifest_ = value; } onChanged(); } else { manifestBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Manifest manifest = 1; */ public Builder clearManifest() { if (manifestBuilder_ == null) { manifest_ = null; onChanged(); } else { manifest_ = null; manifestBuilder_ = null; } return this; } /** * .cz.proto.Manifest manifest = 1; */ public cz.proto.Manifest.Builder getManifestBuilder() { onChanged(); return getManifestFieldBuilder().getBuilder(); } /** * .cz.proto.Manifest manifest = 1; */ public cz.proto.ManifestOrBuilder getManifestOrBuilder() { if (manifestBuilder_ != null) { return manifestBuilder_.getMessageOrBuilder(); } else { return manifest_ == null ? cz.proto.Manifest.getDefaultInstance() : manifest_; } } /** * .cz.proto.Manifest manifest = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.Manifest, cz.proto.Manifest.Builder, cz.proto.ManifestOrBuilder> getManifestFieldBuilder() { if (manifestBuilder_ == null) { manifestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.Manifest, cz.proto.Manifest.Builder, cz.proto.ManifestOrBuilder>( getManifest(), getParentForChildren(), isClean()); manifest_ = null; } return manifestBuilder_; } @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:cz.proto.access.OverwriteTable) } // @@protoc_insertion_point(class_scope:cz.proto.access.OverwriteTable) private static final cz.proto.access.Ddl.OverwriteTable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.OverwriteTable(); } public static cz.proto.access.Ddl.OverwriteTable getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OverwriteTable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OverwriteTable(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 cz.proto.access.Ddl.OverwriteTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OverwriteEntityOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.OverwriteEntity) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ cz.proto.ObjectIdentifier getIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; */ cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder(); /** * .cz.proto.access.OverwriteTable overwrite_table = 10; * @return Whether the overwriteTable field is set. */ boolean hasOverwriteTable(); /** * .cz.proto.access.OverwriteTable overwrite_table = 10; * @return The overwriteTable. */ cz.proto.access.Ddl.OverwriteTable getOverwriteTable(); /** * .cz.proto.access.OverwriteTable overwrite_table = 10; */ cz.proto.access.Ddl.OverwriteTableOrBuilder getOverwriteTableOrBuilder(); public cz.proto.access.Ddl.OverwriteEntity.DerivedCase getDerivedCase(); } /** * Protobuf type {@code cz.proto.access.OverwriteEntity} */ public static final class OverwriteEntity extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.OverwriteEntity) OverwriteEntityOrBuilder { private static final long serialVersionUID = 0L; // Use OverwriteEntity.newBuilder() to construct. private OverwriteEntity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OverwriteEntity() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OverwriteEntity(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OverwriteEntity( 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: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 82: { cz.proto.access.Ddl.OverwriteTable.Builder subBuilder = null; if (derivedCase_ == 10) { subBuilder = ((cz.proto.access.Ddl.OverwriteTable) derived_).toBuilder(); } derived_ = input.readMessage(cz.proto.access.Ddl.OverwriteTable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.OverwriteTable) derived_); derived_ = subBuilder.buildPartial(); } derivedCase_ = 10; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_OverwriteEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_OverwriteEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.OverwriteEntity.class, cz.proto.access.Ddl.OverwriteEntity.Builder.class); } private int derivedCase_ = 0; private java.lang.Object derived_; public enum DerivedCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { OVERWRITE_TABLE(10), DERIVED_NOT_SET(0); private final int value; private DerivedCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DerivedCase valueOf(int value) { return forNumber(value); } public static DerivedCase forNumber(int value) { switch (value) { case 10: return OVERWRITE_TABLE; case 0: return DERIVED_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public static final int IDENTIFIER_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier identifier_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ @java.lang.Override public cz.proto.ObjectIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int OVERWRITE_TABLE_FIELD_NUMBER = 10; /** * .cz.proto.access.OverwriteTable overwrite_table = 10; * @return Whether the overwriteTable field is set. */ @java.lang.Override public boolean hasOverwriteTable() { return derivedCase_ == 10; } /** * .cz.proto.access.OverwriteTable overwrite_table = 10; * @return The overwriteTable. */ @java.lang.Override public cz.proto.access.Ddl.OverwriteTable getOverwriteTable() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.OverwriteTable) derived_; } return cz.proto.access.Ddl.OverwriteTable.getDefaultInstance(); } /** * .cz.proto.access.OverwriteTable overwrite_table = 10; */ @java.lang.Override public cz.proto.access.Ddl.OverwriteTableOrBuilder getOverwriteTableOrBuilder() { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.OverwriteTable) derived_; } return cz.proto.access.Ddl.OverwriteTable.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (identifier_ != null) { output.writeMessage(1, getIdentifier()); } if (derivedCase_ == 10) { output.writeMessage(10, (cz.proto.access.Ddl.OverwriteTable) derived_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } if (derivedCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.Ddl.OverwriteTable) derived_); } 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 cz.proto.access.Ddl.OverwriteEntity)) { return super.equals(obj); } cz.proto.access.Ddl.OverwriteEntity other = (cz.proto.access.Ddl.OverwriteEntity) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (!getDerivedCase().equals(other.getDerivedCase())) return false; switch (derivedCase_) { case 10: if (!getOverwriteTable() .equals(other.getOverwriteTable())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } switch (derivedCase_) { case 10: hash = (37 * hash) + OVERWRITE_TABLE_FIELD_NUMBER; hash = (53 * hash) + getOverwriteTable().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.OverwriteEntity parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.OverwriteEntity parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.OverwriteEntity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.OverwriteEntity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.OverwriteEntity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.OverwriteEntity parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.OverwriteEntity parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.OverwriteEntity 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 cz.proto.access.Ddl.OverwriteEntity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.OverwriteEntity 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 cz.proto.access.Ddl.OverwriteEntity parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.OverwriteEntity 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(cz.proto.access.Ddl.OverwriteEntity 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 cz.proto.access.OverwriteEntity} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.OverwriteEntity) cz.proto.access.Ddl.OverwriteEntityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_OverwriteEntity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_OverwriteEntity_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.OverwriteEntity.class, cz.proto.access.Ddl.OverwriteEntity.Builder.class); } // Construct using cz.proto.access.Ddl.OverwriteEntity.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 (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } derivedCase_ = 0; derived_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_OverwriteEntity_descriptor; } @java.lang.Override public cz.proto.access.Ddl.OverwriteEntity getDefaultInstanceForType() { return cz.proto.access.Ddl.OverwriteEntity.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.OverwriteEntity build() { cz.proto.access.Ddl.OverwriteEntity result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.OverwriteEntity buildPartial() { cz.proto.access.Ddl.OverwriteEntity result = new cz.proto.access.Ddl.OverwriteEntity(this); if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } if (derivedCase_ == 10) { if (overwriteTableBuilder_ == null) { result.derived_ = derived_; } else { result.derived_ = overwriteTableBuilder_.build(); } } result.derivedCase_ = derivedCase_; 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 cz.proto.access.Ddl.OverwriteEntity) { return mergeFrom((cz.proto.access.Ddl.OverwriteEntity)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.OverwriteEntity other) { if (other == cz.proto.access.Ddl.OverwriteEntity.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } switch (other.getDerivedCase()) { case OVERWRITE_TABLE: { mergeOverwriteTable(other.getOverwriteTable()); break; } case DERIVED_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.OverwriteEntity parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.OverwriteEntity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int derivedCase_ = 0; private java.lang.Object derived_; public DerivedCase getDerivedCase() { return DerivedCase.forNumber( derivedCase_); } public Builder clearDerived() { derivedCase_ = 0; derived_ = null; onChanged(); return this; } private cz.proto.ObjectIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ public cz.proto.ObjectIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.OverwriteTable, cz.proto.access.Ddl.OverwriteTable.Builder, cz.proto.access.Ddl.OverwriteTableOrBuilder> overwriteTableBuilder_; /** * .cz.proto.access.OverwriteTable overwrite_table = 10; * @return Whether the overwriteTable field is set. */ @java.lang.Override public boolean hasOverwriteTable() { return derivedCase_ == 10; } /** * .cz.proto.access.OverwriteTable overwrite_table = 10; * @return The overwriteTable. */ @java.lang.Override public cz.proto.access.Ddl.OverwriteTable getOverwriteTable() { if (overwriteTableBuilder_ == null) { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.OverwriteTable) derived_; } return cz.proto.access.Ddl.OverwriteTable.getDefaultInstance(); } else { if (derivedCase_ == 10) { return overwriteTableBuilder_.getMessage(); } return cz.proto.access.Ddl.OverwriteTable.getDefaultInstance(); } } /** * .cz.proto.access.OverwriteTable overwrite_table = 10; */ public Builder setOverwriteTable(cz.proto.access.Ddl.OverwriteTable value) { if (overwriteTableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } derived_ = value; onChanged(); } else { overwriteTableBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.OverwriteTable overwrite_table = 10; */ public Builder setOverwriteTable( cz.proto.access.Ddl.OverwriteTable.Builder builderForValue) { if (overwriteTableBuilder_ == null) { derived_ = builderForValue.build(); onChanged(); } else { overwriteTableBuilder_.setMessage(builderForValue.build()); } derivedCase_ = 10; return this; } /** * .cz.proto.access.OverwriteTable overwrite_table = 10; */ public Builder mergeOverwriteTable(cz.proto.access.Ddl.OverwriteTable value) { if (overwriteTableBuilder_ == null) { if (derivedCase_ == 10 && derived_ != cz.proto.access.Ddl.OverwriteTable.getDefaultInstance()) { derived_ = cz.proto.access.Ddl.OverwriteTable.newBuilder((cz.proto.access.Ddl.OverwriteTable) derived_) .mergeFrom(value).buildPartial(); } else { derived_ = value; } onChanged(); } else { if (derivedCase_ == 10) { overwriteTableBuilder_.mergeFrom(value); } overwriteTableBuilder_.setMessage(value); } derivedCase_ = 10; return this; } /** * .cz.proto.access.OverwriteTable overwrite_table = 10; */ public Builder clearOverwriteTable() { if (overwriteTableBuilder_ == null) { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; onChanged(); } } else { if (derivedCase_ == 10) { derivedCase_ = 0; derived_ = null; } overwriteTableBuilder_.clear(); } return this; } /** * .cz.proto.access.OverwriteTable overwrite_table = 10; */ public cz.proto.access.Ddl.OverwriteTable.Builder getOverwriteTableBuilder() { return getOverwriteTableFieldBuilder().getBuilder(); } /** * .cz.proto.access.OverwriteTable overwrite_table = 10; */ @java.lang.Override public cz.proto.access.Ddl.OverwriteTableOrBuilder getOverwriteTableOrBuilder() { if ((derivedCase_ == 10) && (overwriteTableBuilder_ != null)) { return overwriteTableBuilder_.getMessageOrBuilder(); } else { if (derivedCase_ == 10) { return (cz.proto.access.Ddl.OverwriteTable) derived_; } return cz.proto.access.Ddl.OverwriteTable.getDefaultInstance(); } } /** * .cz.proto.access.OverwriteTable overwrite_table = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.OverwriteTable, cz.proto.access.Ddl.OverwriteTable.Builder, cz.proto.access.Ddl.OverwriteTableOrBuilder> getOverwriteTableFieldBuilder() { if (overwriteTableBuilder_ == null) { if (!(derivedCase_ == 10)) { derived_ = cz.proto.access.Ddl.OverwriteTable.getDefaultInstance(); } overwriteTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.OverwriteTable, cz.proto.access.Ddl.OverwriteTable.Builder, cz.proto.access.Ddl.OverwriteTableOrBuilder>( (cz.proto.access.Ddl.OverwriteTable) derived_, getParentForChildren(), isClean()); derived_ = null; } derivedCase_ = 10; onChanged();; return overwriteTableBuilder_; } @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:cz.proto.access.OverwriteEntity) } // @@protoc_insertion_point(class_scope:cz.proto.access.OverwriteEntity) private static final cz.proto.access.Ddl.OverwriteEntity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.OverwriteEntity(); } public static cz.proto.access.Ddl.OverwriteEntity getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OverwriteEntity parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OverwriteEntity(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 cz.proto.access.Ddl.OverwriteEntity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DMLOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.DML) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.access.AppendEntity append_entity = 10; * @return Whether the appendEntity field is set. */ boolean hasAppendEntity(); /** * .cz.proto.access.AppendEntity append_entity = 10; * @return The appendEntity. */ cz.proto.access.Ddl.AppendEntity getAppendEntity(); /** * .cz.proto.access.AppendEntity append_entity = 10; */ cz.proto.access.Ddl.AppendEntityOrBuilder getAppendEntityOrBuilder(); /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; * @return Whether the overwriteEntity field is set. */ boolean hasOverwriteEntity(); /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; * @return The overwriteEntity. */ cz.proto.access.Ddl.OverwriteEntity getOverwriteEntity(); /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; */ cz.proto.access.Ddl.OverwriteEntityOrBuilder getOverwriteEntityOrBuilder(); /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; * @return Whether the rewriteEntity field is set. */ boolean hasRewriteEntity(); /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; * @return The rewriteEntity. */ cz.proto.access.Ddl.RewriteEntity getRewriteEntity(); /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; */ cz.proto.access.Ddl.RewriteEntityOrBuilder getRewriteEntityOrBuilder(); public cz.proto.access.Ddl.DML.CommandCase getCommandCase(); } /** * Protobuf type {@code cz.proto.access.DML} */ public static final class DML extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.DML) DMLOrBuilder { private static final long serialVersionUID = 0L; // Use DML.newBuilder() to construct. private DML(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DML() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DML(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DML( 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 82: { cz.proto.access.Ddl.AppendEntity.Builder subBuilder = null; if (commandCase_ == 10) { subBuilder = ((cz.proto.access.Ddl.AppendEntity) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.Ddl.AppendEntity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.AppendEntity) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 10; break; } case 90: { cz.proto.access.Ddl.OverwriteEntity.Builder subBuilder = null; if (commandCase_ == 11) { subBuilder = ((cz.proto.access.Ddl.OverwriteEntity) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.Ddl.OverwriteEntity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.OverwriteEntity) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 11; break; } case 98: { cz.proto.access.Ddl.RewriteEntity.Builder subBuilder = null; if (commandCase_ == 12) { subBuilder = ((cz.proto.access.Ddl.RewriteEntity) command_).toBuilder(); } command_ = input.readMessage(cz.proto.access.Ddl.RewriteEntity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.RewriteEntity) command_); command_ = subBuilder.buildPartial(); } commandCase_ = 12; 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 cz.proto.access.Ddl.internal_static_cz_proto_access_DML_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DML_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DML.class, cz.proto.access.Ddl.DML.Builder.class); } private int commandCase_ = 0; private java.lang.Object command_; public enum CommandCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { APPEND_ENTITY(10), OVERWRITE_ENTITY(11), REWRITE_ENTITY(12), COMMAND_NOT_SET(0); private final int value; private CommandCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static CommandCase valueOf(int value) { return forNumber(value); } public static CommandCase forNumber(int value) { switch (value) { case 10: return APPEND_ENTITY; case 11: return OVERWRITE_ENTITY; case 12: return REWRITE_ENTITY; case 0: return COMMAND_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public CommandCase getCommandCase() { return CommandCase.forNumber( commandCase_); } public static final int APPEND_ENTITY_FIELD_NUMBER = 10; /** * .cz.proto.access.AppendEntity append_entity = 10; * @return Whether the appendEntity field is set. */ @java.lang.Override public boolean hasAppendEntity() { return commandCase_ == 10; } /** * .cz.proto.access.AppendEntity append_entity = 10; * @return The appendEntity. */ @java.lang.Override public cz.proto.access.Ddl.AppendEntity getAppendEntity() { if (commandCase_ == 10) { return (cz.proto.access.Ddl.AppendEntity) command_; } return cz.proto.access.Ddl.AppendEntity.getDefaultInstance(); } /** * .cz.proto.access.AppendEntity append_entity = 10; */ @java.lang.Override public cz.proto.access.Ddl.AppendEntityOrBuilder getAppendEntityOrBuilder() { if (commandCase_ == 10) { return (cz.proto.access.Ddl.AppendEntity) command_; } return cz.proto.access.Ddl.AppendEntity.getDefaultInstance(); } public static final int OVERWRITE_ENTITY_FIELD_NUMBER = 11; /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; * @return Whether the overwriteEntity field is set. */ @java.lang.Override public boolean hasOverwriteEntity() { return commandCase_ == 11; } /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; * @return The overwriteEntity. */ @java.lang.Override public cz.proto.access.Ddl.OverwriteEntity getOverwriteEntity() { if (commandCase_ == 11) { return (cz.proto.access.Ddl.OverwriteEntity) command_; } return cz.proto.access.Ddl.OverwriteEntity.getDefaultInstance(); } /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; */ @java.lang.Override public cz.proto.access.Ddl.OverwriteEntityOrBuilder getOverwriteEntityOrBuilder() { if (commandCase_ == 11) { return (cz.proto.access.Ddl.OverwriteEntity) command_; } return cz.proto.access.Ddl.OverwriteEntity.getDefaultInstance(); } public static final int REWRITE_ENTITY_FIELD_NUMBER = 12; /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; * @return Whether the rewriteEntity field is set. */ @java.lang.Override public boolean hasRewriteEntity() { return commandCase_ == 12; } /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; * @return The rewriteEntity. */ @java.lang.Override public cz.proto.access.Ddl.RewriteEntity getRewriteEntity() { if (commandCase_ == 12) { return (cz.proto.access.Ddl.RewriteEntity) command_; } return cz.proto.access.Ddl.RewriteEntity.getDefaultInstance(); } /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; */ @java.lang.Override public cz.proto.access.Ddl.RewriteEntityOrBuilder getRewriteEntityOrBuilder() { if (commandCase_ == 12) { return (cz.proto.access.Ddl.RewriteEntity) command_; } return cz.proto.access.Ddl.RewriteEntity.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (commandCase_ == 10) { output.writeMessage(10, (cz.proto.access.Ddl.AppendEntity) command_); } if (commandCase_ == 11) { output.writeMessage(11, (cz.proto.access.Ddl.OverwriteEntity) command_); } if (commandCase_ == 12) { output.writeMessage(12, (cz.proto.access.Ddl.RewriteEntity) command_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (commandCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.Ddl.AppendEntity) command_); } if (commandCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (cz.proto.access.Ddl.OverwriteEntity) command_); } if (commandCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (cz.proto.access.Ddl.RewriteEntity) command_); } 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 cz.proto.access.Ddl.DML)) { return super.equals(obj); } cz.proto.access.Ddl.DML other = (cz.proto.access.Ddl.DML) obj; if (!getCommandCase().equals(other.getCommandCase())) return false; switch (commandCase_) { case 10: if (!getAppendEntity() .equals(other.getAppendEntity())) return false; break; case 11: if (!getOverwriteEntity() .equals(other.getOverwriteEntity())) return false; break; case 12: if (!getRewriteEntity() .equals(other.getRewriteEntity())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (commandCase_) { case 10: hash = (37 * hash) + APPEND_ENTITY_FIELD_NUMBER; hash = (53 * hash) + getAppendEntity().hashCode(); break; case 11: hash = (37 * hash) + OVERWRITE_ENTITY_FIELD_NUMBER; hash = (53 * hash) + getOverwriteEntity().hashCode(); break; case 12: hash = (37 * hash) + REWRITE_ENTITY_FIELD_NUMBER; hash = (53 * hash) + getRewriteEntity().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.DML parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DML parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DML parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DML parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DML parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.DML parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.DML parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DML 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 cz.proto.access.Ddl.DML parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DML 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 cz.proto.access.Ddl.DML parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.DML 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(cz.proto.access.Ddl.DML 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 cz.proto.access.DML} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.DML) cz.proto.access.Ddl.DMLOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DML_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DML_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.DML.class, cz.proto.access.Ddl.DML.Builder.class); } // Construct using cz.proto.access.Ddl.DML.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(); commandCase_ = 0; command_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_DML_descriptor; } @java.lang.Override public cz.proto.access.Ddl.DML getDefaultInstanceForType() { return cz.proto.access.Ddl.DML.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.DML build() { cz.proto.access.Ddl.DML result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.DML buildPartial() { cz.proto.access.Ddl.DML result = new cz.proto.access.Ddl.DML(this); if (commandCase_ == 10) { if (appendEntityBuilder_ == null) { result.command_ = command_; } else { result.command_ = appendEntityBuilder_.build(); } } if (commandCase_ == 11) { if (overwriteEntityBuilder_ == null) { result.command_ = command_; } else { result.command_ = overwriteEntityBuilder_.build(); } } if (commandCase_ == 12) { if (rewriteEntityBuilder_ == null) { result.command_ = command_; } else { result.command_ = rewriteEntityBuilder_.build(); } } result.commandCase_ = commandCase_; 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 cz.proto.access.Ddl.DML) { return mergeFrom((cz.proto.access.Ddl.DML)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.DML other) { if (other == cz.proto.access.Ddl.DML.getDefaultInstance()) return this; switch (other.getCommandCase()) { case APPEND_ENTITY: { mergeAppendEntity(other.getAppendEntity()); break; } case OVERWRITE_ENTITY: { mergeOverwriteEntity(other.getOverwriteEntity()); break; } case REWRITE_ENTITY: { mergeRewriteEntity(other.getRewriteEntity()); break; } case COMMAND_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.DML parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.DML) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int commandCase_ = 0; private java.lang.Object command_; public CommandCase getCommandCase() { return CommandCase.forNumber( commandCase_); } public Builder clearCommand() { commandCase_ = 0; command_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AppendEntity, cz.proto.access.Ddl.AppendEntity.Builder, cz.proto.access.Ddl.AppendEntityOrBuilder> appendEntityBuilder_; /** * .cz.proto.access.AppendEntity append_entity = 10; * @return Whether the appendEntity field is set. */ @java.lang.Override public boolean hasAppendEntity() { return commandCase_ == 10; } /** * .cz.proto.access.AppendEntity append_entity = 10; * @return The appendEntity. */ @java.lang.Override public cz.proto.access.Ddl.AppendEntity getAppendEntity() { if (appendEntityBuilder_ == null) { if (commandCase_ == 10) { return (cz.proto.access.Ddl.AppendEntity) command_; } return cz.proto.access.Ddl.AppendEntity.getDefaultInstance(); } else { if (commandCase_ == 10) { return appendEntityBuilder_.getMessage(); } return cz.proto.access.Ddl.AppendEntity.getDefaultInstance(); } } /** * .cz.proto.access.AppendEntity append_entity = 10; */ public Builder setAppendEntity(cz.proto.access.Ddl.AppendEntity value) { if (appendEntityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { appendEntityBuilder_.setMessage(value); } commandCase_ = 10; return this; } /** * .cz.proto.access.AppendEntity append_entity = 10; */ public Builder setAppendEntity( cz.proto.access.Ddl.AppendEntity.Builder builderForValue) { if (appendEntityBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { appendEntityBuilder_.setMessage(builderForValue.build()); } commandCase_ = 10; return this; } /** * .cz.proto.access.AppendEntity append_entity = 10; */ public Builder mergeAppendEntity(cz.proto.access.Ddl.AppendEntity value) { if (appendEntityBuilder_ == null) { if (commandCase_ == 10 && command_ != cz.proto.access.Ddl.AppendEntity.getDefaultInstance()) { command_ = cz.proto.access.Ddl.AppendEntity.newBuilder((cz.proto.access.Ddl.AppendEntity) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 10) { appendEntityBuilder_.mergeFrom(value); } appendEntityBuilder_.setMessage(value); } commandCase_ = 10; return this; } /** * .cz.proto.access.AppendEntity append_entity = 10; */ public Builder clearAppendEntity() { if (appendEntityBuilder_ == null) { if (commandCase_ == 10) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 10) { commandCase_ = 0; command_ = null; } appendEntityBuilder_.clear(); } return this; } /** * .cz.proto.access.AppendEntity append_entity = 10; */ public cz.proto.access.Ddl.AppendEntity.Builder getAppendEntityBuilder() { return getAppendEntityFieldBuilder().getBuilder(); } /** * .cz.proto.access.AppendEntity append_entity = 10; */ @java.lang.Override public cz.proto.access.Ddl.AppendEntityOrBuilder getAppendEntityOrBuilder() { if ((commandCase_ == 10) && (appendEntityBuilder_ != null)) { return appendEntityBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 10) { return (cz.proto.access.Ddl.AppendEntity) command_; } return cz.proto.access.Ddl.AppendEntity.getDefaultInstance(); } } /** * .cz.proto.access.AppendEntity append_entity = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AppendEntity, cz.proto.access.Ddl.AppendEntity.Builder, cz.proto.access.Ddl.AppendEntityOrBuilder> getAppendEntityFieldBuilder() { if (appendEntityBuilder_ == null) { if (!(commandCase_ == 10)) { command_ = cz.proto.access.Ddl.AppendEntity.getDefaultInstance(); } appendEntityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.AppendEntity, cz.proto.access.Ddl.AppendEntity.Builder, cz.proto.access.Ddl.AppendEntityOrBuilder>( (cz.proto.access.Ddl.AppendEntity) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 10; onChanged();; return appendEntityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.OverwriteEntity, cz.proto.access.Ddl.OverwriteEntity.Builder, cz.proto.access.Ddl.OverwriteEntityOrBuilder> overwriteEntityBuilder_; /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; * @return Whether the overwriteEntity field is set. */ @java.lang.Override public boolean hasOverwriteEntity() { return commandCase_ == 11; } /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; * @return The overwriteEntity. */ @java.lang.Override public cz.proto.access.Ddl.OverwriteEntity getOverwriteEntity() { if (overwriteEntityBuilder_ == null) { if (commandCase_ == 11) { return (cz.proto.access.Ddl.OverwriteEntity) command_; } return cz.proto.access.Ddl.OverwriteEntity.getDefaultInstance(); } else { if (commandCase_ == 11) { return overwriteEntityBuilder_.getMessage(); } return cz.proto.access.Ddl.OverwriteEntity.getDefaultInstance(); } } /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; */ public Builder setOverwriteEntity(cz.proto.access.Ddl.OverwriteEntity value) { if (overwriteEntityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { overwriteEntityBuilder_.setMessage(value); } commandCase_ = 11; return this; } /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; */ public Builder setOverwriteEntity( cz.proto.access.Ddl.OverwriteEntity.Builder builderForValue) { if (overwriteEntityBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { overwriteEntityBuilder_.setMessage(builderForValue.build()); } commandCase_ = 11; return this; } /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; */ public Builder mergeOverwriteEntity(cz.proto.access.Ddl.OverwriteEntity value) { if (overwriteEntityBuilder_ == null) { if (commandCase_ == 11 && command_ != cz.proto.access.Ddl.OverwriteEntity.getDefaultInstance()) { command_ = cz.proto.access.Ddl.OverwriteEntity.newBuilder((cz.proto.access.Ddl.OverwriteEntity) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 11) { overwriteEntityBuilder_.mergeFrom(value); } overwriteEntityBuilder_.setMessage(value); } commandCase_ = 11; return this; } /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; */ public Builder clearOverwriteEntity() { if (overwriteEntityBuilder_ == null) { if (commandCase_ == 11) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 11) { commandCase_ = 0; command_ = null; } overwriteEntityBuilder_.clear(); } return this; } /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; */ public cz.proto.access.Ddl.OverwriteEntity.Builder getOverwriteEntityBuilder() { return getOverwriteEntityFieldBuilder().getBuilder(); } /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; */ @java.lang.Override public cz.proto.access.Ddl.OverwriteEntityOrBuilder getOverwriteEntityOrBuilder() { if ((commandCase_ == 11) && (overwriteEntityBuilder_ != null)) { return overwriteEntityBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 11) { return (cz.proto.access.Ddl.OverwriteEntity) command_; } return cz.proto.access.Ddl.OverwriteEntity.getDefaultInstance(); } } /** * .cz.proto.access.OverwriteEntity overwrite_entity = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.OverwriteEntity, cz.proto.access.Ddl.OverwriteEntity.Builder, cz.proto.access.Ddl.OverwriteEntityOrBuilder> getOverwriteEntityFieldBuilder() { if (overwriteEntityBuilder_ == null) { if (!(commandCase_ == 11)) { command_ = cz.proto.access.Ddl.OverwriteEntity.getDefaultInstance(); } overwriteEntityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.OverwriteEntity, cz.proto.access.Ddl.OverwriteEntity.Builder, cz.proto.access.Ddl.OverwriteEntityOrBuilder>( (cz.proto.access.Ddl.OverwriteEntity) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 11; onChanged();; return overwriteEntityBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.RewriteEntity, cz.proto.access.Ddl.RewriteEntity.Builder, cz.proto.access.Ddl.RewriteEntityOrBuilder> rewriteEntityBuilder_; /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; * @return Whether the rewriteEntity field is set. */ @java.lang.Override public boolean hasRewriteEntity() { return commandCase_ == 12; } /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; * @return The rewriteEntity. */ @java.lang.Override public cz.proto.access.Ddl.RewriteEntity getRewriteEntity() { if (rewriteEntityBuilder_ == null) { if (commandCase_ == 12) { return (cz.proto.access.Ddl.RewriteEntity) command_; } return cz.proto.access.Ddl.RewriteEntity.getDefaultInstance(); } else { if (commandCase_ == 12) { return rewriteEntityBuilder_.getMessage(); } return cz.proto.access.Ddl.RewriteEntity.getDefaultInstance(); } } /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; */ public Builder setRewriteEntity(cz.proto.access.Ddl.RewriteEntity value) { if (rewriteEntityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } command_ = value; onChanged(); } else { rewriteEntityBuilder_.setMessage(value); } commandCase_ = 12; return this; } /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; */ public Builder setRewriteEntity( cz.proto.access.Ddl.RewriteEntity.Builder builderForValue) { if (rewriteEntityBuilder_ == null) { command_ = builderForValue.build(); onChanged(); } else { rewriteEntityBuilder_.setMessage(builderForValue.build()); } commandCase_ = 12; return this; } /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; */ public Builder mergeRewriteEntity(cz.proto.access.Ddl.RewriteEntity value) { if (rewriteEntityBuilder_ == null) { if (commandCase_ == 12 && command_ != cz.proto.access.Ddl.RewriteEntity.getDefaultInstance()) { command_ = cz.proto.access.Ddl.RewriteEntity.newBuilder((cz.proto.access.Ddl.RewriteEntity) command_) .mergeFrom(value).buildPartial(); } else { command_ = value; } onChanged(); } else { if (commandCase_ == 12) { rewriteEntityBuilder_.mergeFrom(value); } rewriteEntityBuilder_.setMessage(value); } commandCase_ = 12; return this; } /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; */ public Builder clearRewriteEntity() { if (rewriteEntityBuilder_ == null) { if (commandCase_ == 12) { commandCase_ = 0; command_ = null; onChanged(); } } else { if (commandCase_ == 12) { commandCase_ = 0; command_ = null; } rewriteEntityBuilder_.clear(); } return this; } /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; */ public cz.proto.access.Ddl.RewriteEntity.Builder getRewriteEntityBuilder() { return getRewriteEntityFieldBuilder().getBuilder(); } /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; */ @java.lang.Override public cz.proto.access.Ddl.RewriteEntityOrBuilder getRewriteEntityOrBuilder() { if ((commandCase_ == 12) && (rewriteEntityBuilder_ != null)) { return rewriteEntityBuilder_.getMessageOrBuilder(); } else { if (commandCase_ == 12) { return (cz.proto.access.Ddl.RewriteEntity) command_; } return cz.proto.access.Ddl.RewriteEntity.getDefaultInstance(); } } /** * .cz.proto.access.RewriteEntity rewrite_entity = 12; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.RewriteEntity, cz.proto.access.Ddl.RewriteEntity.Builder, cz.proto.access.Ddl.RewriteEntityOrBuilder> getRewriteEntityFieldBuilder() { if (rewriteEntityBuilder_ == null) { if (!(commandCase_ == 12)) { command_ = cz.proto.access.Ddl.RewriteEntity.getDefaultInstance(); } rewriteEntityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.RewriteEntity, cz.proto.access.Ddl.RewriteEntity.Builder, cz.proto.access.Ddl.RewriteEntityOrBuilder>( (cz.proto.access.Ddl.RewriteEntity) command_, getParentForChildren(), isClean()); command_ = null; } commandCase_ = 12; onChanged();; return rewriteEntityBuilder_; } @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:cz.proto.access.DML) } // @@protoc_insertion_point(class_scope:cz.proto.access.DML) private static final cz.proto.access.Ddl.DML DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.DML(); } public static cz.proto.access.Ddl.DML getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DML parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DML(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 cz.proto.access.Ddl.DML getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AccessStatementOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.access.AccessStatement) com.google.protobuf.MessageOrBuilder { /** * optional .cz.proto.UserIdentifier operator = 1; * @return Whether the operator field is set. */ boolean hasOperator(); /** * optional .cz.proto.UserIdentifier operator = 1; * @return The operator. */ cz.proto.AccountOuterClass.UserIdentifier getOperator(); /** * optional .cz.proto.UserIdentifier operator = 1; */ cz.proto.AccountOuterClass.UserIdentifierOrBuilder getOperatorOrBuilder(); /** * .cz.proto.access.AccessType type = 2; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** * .cz.proto.access.AccessType type = 2; * @return The type. */ cz.proto.access.Ddl.AccessType getType(); /** *
     * Data Definition Language
     * 
* * .cz.proto.access.DDL ddl = 10; * @return Whether the ddl field is set. */ boolean hasDdl(); /** *
     * Data Definition Language
     * 
* * .cz.proto.access.DDL ddl = 10; * @return The ddl. */ cz.proto.access.Ddl.DDL getDdl(); /** *
     * Data Definition Language
     * 
* * .cz.proto.access.DDL ddl = 10; */ cz.proto.access.Ddl.DDLOrBuilder getDdlOrBuilder(); /** *
     * Data Control Language
     * 
* * .cz.proto.access.DCL dcl = 11; * @return Whether the dcl field is set. */ boolean hasDcl(); /** *
     * Data Control Language
     * 
* * .cz.proto.access.DCL dcl = 11; * @return The dcl. */ cz.proto.access.Ddl.DCL getDcl(); /** *
     * Data Control Language
     * 
* * .cz.proto.access.DCL dcl = 11; */ cz.proto.access.Ddl.DCLOrBuilder getDclOrBuilder(); /** *
     * Data Query Language
     * 
* * .cz.proto.access.DQL dql = 12; * @return Whether the dql field is set. */ boolean hasDql(); /** *
     * Data Query Language
     * 
* * .cz.proto.access.DQL dql = 12; * @return The dql. */ cz.proto.access.Ddl.DQL getDql(); /** *
     * Data Query Language
     * 
* * .cz.proto.access.DQL dql = 12; */ cz.proto.access.Ddl.DQLOrBuilder getDqlOrBuilder(); /** *
     * Data Manipulation Language
     * 
* * .cz.proto.access.DML dml = 13; * @return Whether the dml field is set. */ boolean hasDml(); /** *
     * Data Manipulation Language
     * 
* * .cz.proto.access.DML dml = 13; * @return The dml. */ cz.proto.access.Ddl.DML getDml(); /** *
     * Data Manipulation Language
     * 
* * .cz.proto.access.DML dml = 13; */ cz.proto.access.Ddl.DMLOrBuilder getDmlOrBuilder(); /** *
     * if the statement already pending in transaction
     * 
* * bool in_transaction = 100; * @return The inTransaction. */ boolean getInTransaction(); public cz.proto.access.Ddl.AccessStatement.StatementCase getStatementCase(); } /** *
   * https://www.geeksforgeeks.org/sql-ddl-dql-dml-dcl-tcl-commands/
   * 
* * Protobuf type {@code cz.proto.access.AccessStatement} */ public static final class AccessStatement extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.access.AccessStatement) AccessStatementOrBuilder { private static final long serialVersionUID = 0L; // Use AccessStatement.newBuilder() to construct. private AccessStatement(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AccessStatement() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AccessStatement(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AccessStatement( 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: { cz.proto.AccountOuterClass.UserIdentifier.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = operator_.toBuilder(); } operator_ = input.readMessage(cz.proto.AccountOuterClass.UserIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operator_); operator_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 16: { int rawValue = input.readEnum(); type_ = rawValue; break; } case 82: { cz.proto.access.Ddl.DDL.Builder subBuilder = null; if (statementCase_ == 10) { subBuilder = ((cz.proto.access.Ddl.DDL) statement_).toBuilder(); } statement_ = input.readMessage(cz.proto.access.Ddl.DDL.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DDL) statement_); statement_ = subBuilder.buildPartial(); } statementCase_ = 10; break; } case 90: { cz.proto.access.Ddl.DCL.Builder subBuilder = null; if (statementCase_ == 11) { subBuilder = ((cz.proto.access.Ddl.DCL) statement_).toBuilder(); } statement_ = input.readMessage(cz.proto.access.Ddl.DCL.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DCL) statement_); statement_ = subBuilder.buildPartial(); } statementCase_ = 11; break; } case 98: { cz.proto.access.Ddl.DQL.Builder subBuilder = null; if (statementCase_ == 12) { subBuilder = ((cz.proto.access.Ddl.DQL) statement_).toBuilder(); } statement_ = input.readMessage(cz.proto.access.Ddl.DQL.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DQL) statement_); statement_ = subBuilder.buildPartial(); } statementCase_ = 12; break; } case 106: { cz.proto.access.Ddl.DML.Builder subBuilder = null; if (statementCase_ == 13) { subBuilder = ((cz.proto.access.Ddl.DML) statement_).toBuilder(); } statement_ = input.readMessage(cz.proto.access.Ddl.DML.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.access.Ddl.DML) statement_); statement_ = subBuilder.buildPartial(); } statementCase_ = 13; break; } case 800: { inTransaction_ = input.readBool(); 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 cz.proto.access.Ddl.internal_static_cz_proto_access_AccessStatement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AccessStatement_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AccessStatement.class, cz.proto.access.Ddl.AccessStatement.Builder.class); } private int bitField0_; private int statementCase_ = 0; private java.lang.Object statement_; public enum StatementCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DDL(10), DCL(11), DQL(12), DML(13), STATEMENT_NOT_SET(0); private final int value; private StatementCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static StatementCase valueOf(int value) { return forNumber(value); } public static StatementCase forNumber(int value) { switch (value) { case 10: return DDL; case 11: return DCL; case 12: return DQL; case 13: return DML; case 0: return STATEMENT_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public StatementCase getStatementCase() { return StatementCase.forNumber( statementCase_); } public static final int OPERATOR_FIELD_NUMBER = 1; private cz.proto.AccountOuterClass.UserIdentifier operator_; /** * optional .cz.proto.UserIdentifier operator = 1; * @return Whether the operator field is set. */ @java.lang.Override public boolean hasOperator() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .cz.proto.UserIdentifier operator = 1; * @return The operator. */ @java.lang.Override public cz.proto.AccountOuterClass.UserIdentifier getOperator() { return operator_ == null ? cz.proto.AccountOuterClass.UserIdentifier.getDefaultInstance() : operator_; } /** * optional .cz.proto.UserIdentifier operator = 1; */ @java.lang.Override public cz.proto.AccountOuterClass.UserIdentifierOrBuilder getOperatorOrBuilder() { return operator_ == null ? cz.proto.AccountOuterClass.UserIdentifier.getDefaultInstance() : operator_; } public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** * .cz.proto.access.AccessType type = 2; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .cz.proto.access.AccessType type = 2; * @return The type. */ @java.lang.Override public cz.proto.access.Ddl.AccessType getType() { @SuppressWarnings("deprecation") cz.proto.access.Ddl.AccessType result = cz.proto.access.Ddl.AccessType.valueOf(type_); return result == null ? cz.proto.access.Ddl.AccessType.UNRECOGNIZED : result; } public static final int DDL_FIELD_NUMBER = 10; /** *
     * Data Definition Language
     * 
* * .cz.proto.access.DDL ddl = 10; * @return Whether the ddl field is set. */ @java.lang.Override public boolean hasDdl() { return statementCase_ == 10; } /** *
     * Data Definition Language
     * 
* * .cz.proto.access.DDL ddl = 10; * @return The ddl. */ @java.lang.Override public cz.proto.access.Ddl.DDL getDdl() { if (statementCase_ == 10) { return (cz.proto.access.Ddl.DDL) statement_; } return cz.proto.access.Ddl.DDL.getDefaultInstance(); } /** *
     * Data Definition Language
     * 
* * .cz.proto.access.DDL ddl = 10; */ @java.lang.Override public cz.proto.access.Ddl.DDLOrBuilder getDdlOrBuilder() { if (statementCase_ == 10) { return (cz.proto.access.Ddl.DDL) statement_; } return cz.proto.access.Ddl.DDL.getDefaultInstance(); } public static final int DCL_FIELD_NUMBER = 11; /** *
     * Data Control Language
     * 
* * .cz.proto.access.DCL dcl = 11; * @return Whether the dcl field is set. */ @java.lang.Override public boolean hasDcl() { return statementCase_ == 11; } /** *
     * Data Control Language
     * 
* * .cz.proto.access.DCL dcl = 11; * @return The dcl. */ @java.lang.Override public cz.proto.access.Ddl.DCL getDcl() { if (statementCase_ == 11) { return (cz.proto.access.Ddl.DCL) statement_; } return cz.proto.access.Ddl.DCL.getDefaultInstance(); } /** *
     * Data Control Language
     * 
* * .cz.proto.access.DCL dcl = 11; */ @java.lang.Override public cz.proto.access.Ddl.DCLOrBuilder getDclOrBuilder() { if (statementCase_ == 11) { return (cz.proto.access.Ddl.DCL) statement_; } return cz.proto.access.Ddl.DCL.getDefaultInstance(); } public static final int DQL_FIELD_NUMBER = 12; /** *
     * Data Query Language
     * 
* * .cz.proto.access.DQL dql = 12; * @return Whether the dql field is set. */ @java.lang.Override public boolean hasDql() { return statementCase_ == 12; } /** *
     * Data Query Language
     * 
* * .cz.proto.access.DQL dql = 12; * @return The dql. */ @java.lang.Override public cz.proto.access.Ddl.DQL getDql() { if (statementCase_ == 12) { return (cz.proto.access.Ddl.DQL) statement_; } return cz.proto.access.Ddl.DQL.getDefaultInstance(); } /** *
     * Data Query Language
     * 
* * .cz.proto.access.DQL dql = 12; */ @java.lang.Override public cz.proto.access.Ddl.DQLOrBuilder getDqlOrBuilder() { if (statementCase_ == 12) { return (cz.proto.access.Ddl.DQL) statement_; } return cz.proto.access.Ddl.DQL.getDefaultInstance(); } public static final int DML_FIELD_NUMBER = 13; /** *
     * Data Manipulation Language
     * 
* * .cz.proto.access.DML dml = 13; * @return Whether the dml field is set. */ @java.lang.Override public boolean hasDml() { return statementCase_ == 13; } /** *
     * Data Manipulation Language
     * 
* * .cz.proto.access.DML dml = 13; * @return The dml. */ @java.lang.Override public cz.proto.access.Ddl.DML getDml() { if (statementCase_ == 13) { return (cz.proto.access.Ddl.DML) statement_; } return cz.proto.access.Ddl.DML.getDefaultInstance(); } /** *
     * Data Manipulation Language
     * 
* * .cz.proto.access.DML dml = 13; */ @java.lang.Override public cz.proto.access.Ddl.DMLOrBuilder getDmlOrBuilder() { if (statementCase_ == 13) { return (cz.proto.access.Ddl.DML) statement_; } return cz.proto.access.Ddl.DML.getDefaultInstance(); } public static final int IN_TRANSACTION_FIELD_NUMBER = 100; private boolean inTransaction_; /** *
     * if the statement already pending in transaction
     * 
* * bool in_transaction = 100; * @return The inTransaction. */ @java.lang.Override public boolean getInTransaction() { return inTransaction_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getOperator()); } if (type_ != cz.proto.access.Ddl.AccessType.META.getNumber()) { output.writeEnum(2, type_); } if (statementCase_ == 10) { output.writeMessage(10, (cz.proto.access.Ddl.DDL) statement_); } if (statementCase_ == 11) { output.writeMessage(11, (cz.proto.access.Ddl.DCL) statement_); } if (statementCase_ == 12) { output.writeMessage(12, (cz.proto.access.Ddl.DQL) statement_); } if (statementCase_ == 13) { output.writeMessage(13, (cz.proto.access.Ddl.DML) statement_); } if (inTransaction_ != false) { output.writeBool(100, inTransaction_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperator()); } if (type_ != cz.proto.access.Ddl.AccessType.META.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, type_); } if (statementCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.access.Ddl.DDL) statement_); } if (statementCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (cz.proto.access.Ddl.DCL) statement_); } if (statementCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (cz.proto.access.Ddl.DQL) statement_); } if (statementCase_ == 13) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, (cz.proto.access.Ddl.DML) statement_); } if (inTransaction_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(100, inTransaction_); } 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 cz.proto.access.Ddl.AccessStatement)) { return super.equals(obj); } cz.proto.access.Ddl.AccessStatement other = (cz.proto.access.Ddl.AccessStatement) obj; if (hasOperator() != other.hasOperator()) return false; if (hasOperator()) { if (!getOperator() .equals(other.getOperator())) return false; } if (type_ != other.type_) return false; if (getInTransaction() != other.getInTransaction()) return false; if (!getStatementCase().equals(other.getStatementCase())) return false; switch (statementCase_) { case 10: if (!getDdl() .equals(other.getDdl())) return false; break; case 11: if (!getDcl() .equals(other.getDcl())) return false; break; case 12: if (!getDql() .equals(other.getDql())) return false; break; case 13: if (!getDml() .equals(other.getDml())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOperator()) { hash = (37 * hash) + OPERATOR_FIELD_NUMBER; hash = (53 * hash) + getOperator().hashCode(); } hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + IN_TRANSACTION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getInTransaction()); switch (statementCase_) { case 10: hash = (37 * hash) + DDL_FIELD_NUMBER; hash = (53 * hash) + getDdl().hashCode(); break; case 11: hash = (37 * hash) + DCL_FIELD_NUMBER; hash = (53 * hash) + getDcl().hashCode(); break; case 12: hash = (37 * hash) + DQL_FIELD_NUMBER; hash = (53 * hash) + getDql().hashCode(); break; case 13: hash = (37 * hash) + DML_FIELD_NUMBER; hash = (53 * hash) + getDml().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.access.Ddl.AccessStatement parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AccessStatement parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AccessStatement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AccessStatement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AccessStatement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.access.Ddl.AccessStatement parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.access.Ddl.AccessStatement parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AccessStatement 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 cz.proto.access.Ddl.AccessStatement parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AccessStatement 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 cz.proto.access.Ddl.AccessStatement parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.access.Ddl.AccessStatement 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(cz.proto.access.Ddl.AccessStatement 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; } /** *
     * https://www.geeksforgeeks.org/sql-ddl-dql-dml-dcl-tcl-commands/
     * 
* * Protobuf type {@code cz.proto.access.AccessStatement} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.access.AccessStatement) cz.proto.access.Ddl.AccessStatementOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AccessStatement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AccessStatement_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.access.Ddl.AccessStatement.class, cz.proto.access.Ddl.AccessStatement.Builder.class); } // Construct using cz.proto.access.Ddl.AccessStatement.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOperatorFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (operatorBuilder_ == null) { operator_ = null; } else { operatorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); type_ = 0; inTransaction_ = false; statementCase_ = 0; statement_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.access.Ddl.internal_static_cz_proto_access_AccessStatement_descriptor; } @java.lang.Override public cz.proto.access.Ddl.AccessStatement getDefaultInstanceForType() { return cz.proto.access.Ddl.AccessStatement.getDefaultInstance(); } @java.lang.Override public cz.proto.access.Ddl.AccessStatement build() { cz.proto.access.Ddl.AccessStatement result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.access.Ddl.AccessStatement buildPartial() { cz.proto.access.Ddl.AccessStatement result = new cz.proto.access.Ddl.AccessStatement(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (operatorBuilder_ == null) { result.operator_ = operator_; } else { result.operator_ = operatorBuilder_.build(); } to_bitField0_ |= 0x00000001; } result.type_ = type_; if (statementCase_ == 10) { if (ddlBuilder_ == null) { result.statement_ = statement_; } else { result.statement_ = ddlBuilder_.build(); } } if (statementCase_ == 11) { if (dclBuilder_ == null) { result.statement_ = statement_; } else { result.statement_ = dclBuilder_.build(); } } if (statementCase_ == 12) { if (dqlBuilder_ == null) { result.statement_ = statement_; } else { result.statement_ = dqlBuilder_.build(); } } if (statementCase_ == 13) { if (dmlBuilder_ == null) { result.statement_ = statement_; } else { result.statement_ = dmlBuilder_.build(); } } result.inTransaction_ = inTransaction_; result.bitField0_ = to_bitField0_; result.statementCase_ = statementCase_; 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 cz.proto.access.Ddl.AccessStatement) { return mergeFrom((cz.proto.access.Ddl.AccessStatement)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.access.Ddl.AccessStatement other) { if (other == cz.proto.access.Ddl.AccessStatement.getDefaultInstance()) return this; if (other.hasOperator()) { mergeOperator(other.getOperator()); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (other.getInTransaction() != false) { setInTransaction(other.getInTransaction()); } switch (other.getStatementCase()) { case DDL: { mergeDdl(other.getDdl()); break; } case DCL: { mergeDcl(other.getDcl()); break; } case DQL: { mergeDql(other.getDql()); break; } case DML: { mergeDml(other.getDml()); break; } case STATEMENT_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.access.Ddl.AccessStatement parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.access.Ddl.AccessStatement) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int statementCase_ = 0; private java.lang.Object statement_; public StatementCase getStatementCase() { return StatementCase.forNumber( statementCase_); } public Builder clearStatement() { statementCase_ = 0; statement_ = null; onChanged(); return this; } private int bitField0_; private cz.proto.AccountOuterClass.UserIdentifier operator_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.AccountOuterClass.UserIdentifier, cz.proto.AccountOuterClass.UserIdentifier.Builder, cz.proto.AccountOuterClass.UserIdentifierOrBuilder> operatorBuilder_; /** * optional .cz.proto.UserIdentifier operator = 1; * @return Whether the operator field is set. */ public boolean hasOperator() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .cz.proto.UserIdentifier operator = 1; * @return The operator. */ public cz.proto.AccountOuterClass.UserIdentifier getOperator() { if (operatorBuilder_ == null) { return operator_ == null ? cz.proto.AccountOuterClass.UserIdentifier.getDefaultInstance() : operator_; } else { return operatorBuilder_.getMessage(); } } /** * optional .cz.proto.UserIdentifier operator = 1; */ public Builder setOperator(cz.proto.AccountOuterClass.UserIdentifier value) { if (operatorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operator_ = value; onChanged(); } else { operatorBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .cz.proto.UserIdentifier operator = 1; */ public Builder setOperator( cz.proto.AccountOuterClass.UserIdentifier.Builder builderForValue) { if (operatorBuilder_ == null) { operator_ = builderForValue.build(); onChanged(); } else { operatorBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .cz.proto.UserIdentifier operator = 1; */ public Builder mergeOperator(cz.proto.AccountOuterClass.UserIdentifier value) { if (operatorBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && operator_ != null && operator_ != cz.proto.AccountOuterClass.UserIdentifier.getDefaultInstance()) { operator_ = cz.proto.AccountOuterClass.UserIdentifier.newBuilder(operator_).mergeFrom(value).buildPartial(); } else { operator_ = value; } onChanged(); } else { operatorBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .cz.proto.UserIdentifier operator = 1; */ public Builder clearOperator() { if (operatorBuilder_ == null) { operator_ = null; onChanged(); } else { operatorBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .cz.proto.UserIdentifier operator = 1; */ public cz.proto.AccountOuterClass.UserIdentifier.Builder getOperatorBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOperatorFieldBuilder().getBuilder(); } /** * optional .cz.proto.UserIdentifier operator = 1; */ public cz.proto.AccountOuterClass.UserIdentifierOrBuilder getOperatorOrBuilder() { if (operatorBuilder_ != null) { return operatorBuilder_.getMessageOrBuilder(); } else { return operator_ == null ? cz.proto.AccountOuterClass.UserIdentifier.getDefaultInstance() : operator_; } } /** * optional .cz.proto.UserIdentifier operator = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.AccountOuterClass.UserIdentifier, cz.proto.AccountOuterClass.UserIdentifier.Builder, cz.proto.AccountOuterClass.UserIdentifierOrBuilder> getOperatorFieldBuilder() { if (operatorBuilder_ == null) { operatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.AccountOuterClass.UserIdentifier, cz.proto.AccountOuterClass.UserIdentifier.Builder, cz.proto.AccountOuterClass.UserIdentifierOrBuilder>( getOperator(), getParentForChildren(), isClean()); operator_ = null; } return operatorBuilder_; } private int type_ = 0; /** * .cz.proto.access.AccessType type = 2; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .cz.proto.access.AccessType type = 2; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /** * .cz.proto.access.AccessType type = 2; * @return The type. */ @java.lang.Override public cz.proto.access.Ddl.AccessType getType() { @SuppressWarnings("deprecation") cz.proto.access.Ddl.AccessType result = cz.proto.access.Ddl.AccessType.valueOf(type_); return result == null ? cz.proto.access.Ddl.AccessType.UNRECOGNIZED : result; } /** * .cz.proto.access.AccessType type = 2; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(cz.proto.access.Ddl.AccessType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.access.AccessType type = 2; * @return This builder for chaining. */ public Builder clearType() { type_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DDL, cz.proto.access.Ddl.DDL.Builder, cz.proto.access.Ddl.DDLOrBuilder> ddlBuilder_; /** *
       * Data Definition Language
       * 
* * .cz.proto.access.DDL ddl = 10; * @return Whether the ddl field is set. */ @java.lang.Override public boolean hasDdl() { return statementCase_ == 10; } /** *
       * Data Definition Language
       * 
* * .cz.proto.access.DDL ddl = 10; * @return The ddl. */ @java.lang.Override public cz.proto.access.Ddl.DDL getDdl() { if (ddlBuilder_ == null) { if (statementCase_ == 10) { return (cz.proto.access.Ddl.DDL) statement_; } return cz.proto.access.Ddl.DDL.getDefaultInstance(); } else { if (statementCase_ == 10) { return ddlBuilder_.getMessage(); } return cz.proto.access.Ddl.DDL.getDefaultInstance(); } } /** *
       * Data Definition Language
       * 
* * .cz.proto.access.DDL ddl = 10; */ public Builder setDdl(cz.proto.access.Ddl.DDL value) { if (ddlBuilder_ == null) { if (value == null) { throw new NullPointerException(); } statement_ = value; onChanged(); } else { ddlBuilder_.setMessage(value); } statementCase_ = 10; return this; } /** *
       * Data Definition Language
       * 
* * .cz.proto.access.DDL ddl = 10; */ public Builder setDdl( cz.proto.access.Ddl.DDL.Builder builderForValue) { if (ddlBuilder_ == null) { statement_ = builderForValue.build(); onChanged(); } else { ddlBuilder_.setMessage(builderForValue.build()); } statementCase_ = 10; return this; } /** *
       * Data Definition Language
       * 
* * .cz.proto.access.DDL ddl = 10; */ public Builder mergeDdl(cz.proto.access.Ddl.DDL value) { if (ddlBuilder_ == null) { if (statementCase_ == 10 && statement_ != cz.proto.access.Ddl.DDL.getDefaultInstance()) { statement_ = cz.proto.access.Ddl.DDL.newBuilder((cz.proto.access.Ddl.DDL) statement_) .mergeFrom(value).buildPartial(); } else { statement_ = value; } onChanged(); } else { if (statementCase_ == 10) { ddlBuilder_.mergeFrom(value); } ddlBuilder_.setMessage(value); } statementCase_ = 10; return this; } /** *
       * Data Definition Language
       * 
* * .cz.proto.access.DDL ddl = 10; */ public Builder clearDdl() { if (ddlBuilder_ == null) { if (statementCase_ == 10) { statementCase_ = 0; statement_ = null; onChanged(); } } else { if (statementCase_ == 10) { statementCase_ = 0; statement_ = null; } ddlBuilder_.clear(); } return this; } /** *
       * Data Definition Language
       * 
* * .cz.proto.access.DDL ddl = 10; */ public cz.proto.access.Ddl.DDL.Builder getDdlBuilder() { return getDdlFieldBuilder().getBuilder(); } /** *
       * Data Definition Language
       * 
* * .cz.proto.access.DDL ddl = 10; */ @java.lang.Override public cz.proto.access.Ddl.DDLOrBuilder getDdlOrBuilder() { if ((statementCase_ == 10) && (ddlBuilder_ != null)) { return ddlBuilder_.getMessageOrBuilder(); } else { if (statementCase_ == 10) { return (cz.proto.access.Ddl.DDL) statement_; } return cz.proto.access.Ddl.DDL.getDefaultInstance(); } } /** *
       * Data Definition Language
       * 
* * .cz.proto.access.DDL ddl = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DDL, cz.proto.access.Ddl.DDL.Builder, cz.proto.access.Ddl.DDLOrBuilder> getDdlFieldBuilder() { if (ddlBuilder_ == null) { if (!(statementCase_ == 10)) { statement_ = cz.proto.access.Ddl.DDL.getDefaultInstance(); } ddlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DDL, cz.proto.access.Ddl.DDL.Builder, cz.proto.access.Ddl.DDLOrBuilder>( (cz.proto.access.Ddl.DDL) statement_, getParentForChildren(), isClean()); statement_ = null; } statementCase_ = 10; onChanged();; return ddlBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DCL, cz.proto.access.Ddl.DCL.Builder, cz.proto.access.Ddl.DCLOrBuilder> dclBuilder_; /** *
       * Data Control Language
       * 
* * .cz.proto.access.DCL dcl = 11; * @return Whether the dcl field is set. */ @java.lang.Override public boolean hasDcl() { return statementCase_ == 11; } /** *
       * Data Control Language
       * 
* * .cz.proto.access.DCL dcl = 11; * @return The dcl. */ @java.lang.Override public cz.proto.access.Ddl.DCL getDcl() { if (dclBuilder_ == null) { if (statementCase_ == 11) { return (cz.proto.access.Ddl.DCL) statement_; } return cz.proto.access.Ddl.DCL.getDefaultInstance(); } else { if (statementCase_ == 11) { return dclBuilder_.getMessage(); } return cz.proto.access.Ddl.DCL.getDefaultInstance(); } } /** *
       * Data Control Language
       * 
* * .cz.proto.access.DCL dcl = 11; */ public Builder setDcl(cz.proto.access.Ddl.DCL value) { if (dclBuilder_ == null) { if (value == null) { throw new NullPointerException(); } statement_ = value; onChanged(); } else { dclBuilder_.setMessage(value); } statementCase_ = 11; return this; } /** *
       * Data Control Language
       * 
* * .cz.proto.access.DCL dcl = 11; */ public Builder setDcl( cz.proto.access.Ddl.DCL.Builder builderForValue) { if (dclBuilder_ == null) { statement_ = builderForValue.build(); onChanged(); } else { dclBuilder_.setMessage(builderForValue.build()); } statementCase_ = 11; return this; } /** *
       * Data Control Language
       * 
* * .cz.proto.access.DCL dcl = 11; */ public Builder mergeDcl(cz.proto.access.Ddl.DCL value) { if (dclBuilder_ == null) { if (statementCase_ == 11 && statement_ != cz.proto.access.Ddl.DCL.getDefaultInstance()) { statement_ = cz.proto.access.Ddl.DCL.newBuilder((cz.proto.access.Ddl.DCL) statement_) .mergeFrom(value).buildPartial(); } else { statement_ = value; } onChanged(); } else { if (statementCase_ == 11) { dclBuilder_.mergeFrom(value); } dclBuilder_.setMessage(value); } statementCase_ = 11; return this; } /** *
       * Data Control Language
       * 
* * .cz.proto.access.DCL dcl = 11; */ public Builder clearDcl() { if (dclBuilder_ == null) { if (statementCase_ == 11) { statementCase_ = 0; statement_ = null; onChanged(); } } else { if (statementCase_ == 11) { statementCase_ = 0; statement_ = null; } dclBuilder_.clear(); } return this; } /** *
       * Data Control Language
       * 
* * .cz.proto.access.DCL dcl = 11; */ public cz.proto.access.Ddl.DCL.Builder getDclBuilder() { return getDclFieldBuilder().getBuilder(); } /** *
       * Data Control Language
       * 
* * .cz.proto.access.DCL dcl = 11; */ @java.lang.Override public cz.proto.access.Ddl.DCLOrBuilder getDclOrBuilder() { if ((statementCase_ == 11) && (dclBuilder_ != null)) { return dclBuilder_.getMessageOrBuilder(); } else { if (statementCase_ == 11) { return (cz.proto.access.Ddl.DCL) statement_; } return cz.proto.access.Ddl.DCL.getDefaultInstance(); } } /** *
       * Data Control Language
       * 
* * .cz.proto.access.DCL dcl = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DCL, cz.proto.access.Ddl.DCL.Builder, cz.proto.access.Ddl.DCLOrBuilder> getDclFieldBuilder() { if (dclBuilder_ == null) { if (!(statementCase_ == 11)) { statement_ = cz.proto.access.Ddl.DCL.getDefaultInstance(); } dclBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DCL, cz.proto.access.Ddl.DCL.Builder, cz.proto.access.Ddl.DCLOrBuilder>( (cz.proto.access.Ddl.DCL) statement_, getParentForChildren(), isClean()); statement_ = null; } statementCase_ = 11; onChanged();; return dclBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DQL, cz.proto.access.Ddl.DQL.Builder, cz.proto.access.Ddl.DQLOrBuilder> dqlBuilder_; /** *
       * Data Query Language
       * 
* * .cz.proto.access.DQL dql = 12; * @return Whether the dql field is set. */ @java.lang.Override public boolean hasDql() { return statementCase_ == 12; } /** *
       * Data Query Language
       * 
* * .cz.proto.access.DQL dql = 12; * @return The dql. */ @java.lang.Override public cz.proto.access.Ddl.DQL getDql() { if (dqlBuilder_ == null) { if (statementCase_ == 12) { return (cz.proto.access.Ddl.DQL) statement_; } return cz.proto.access.Ddl.DQL.getDefaultInstance(); } else { if (statementCase_ == 12) { return dqlBuilder_.getMessage(); } return cz.proto.access.Ddl.DQL.getDefaultInstance(); } } /** *
       * Data Query Language
       * 
* * .cz.proto.access.DQL dql = 12; */ public Builder setDql(cz.proto.access.Ddl.DQL value) { if (dqlBuilder_ == null) { if (value == null) { throw new NullPointerException(); } statement_ = value; onChanged(); } else { dqlBuilder_.setMessage(value); } statementCase_ = 12; return this; } /** *
       * Data Query Language
       * 
* * .cz.proto.access.DQL dql = 12; */ public Builder setDql( cz.proto.access.Ddl.DQL.Builder builderForValue) { if (dqlBuilder_ == null) { statement_ = builderForValue.build(); onChanged(); } else { dqlBuilder_.setMessage(builderForValue.build()); } statementCase_ = 12; return this; } /** *
       * Data Query Language
       * 
* * .cz.proto.access.DQL dql = 12; */ public Builder mergeDql(cz.proto.access.Ddl.DQL value) { if (dqlBuilder_ == null) { if (statementCase_ == 12 && statement_ != cz.proto.access.Ddl.DQL.getDefaultInstance()) { statement_ = cz.proto.access.Ddl.DQL.newBuilder((cz.proto.access.Ddl.DQL) statement_) .mergeFrom(value).buildPartial(); } else { statement_ = value; } onChanged(); } else { if (statementCase_ == 12) { dqlBuilder_.mergeFrom(value); } dqlBuilder_.setMessage(value); } statementCase_ = 12; return this; } /** *
       * Data Query Language
       * 
* * .cz.proto.access.DQL dql = 12; */ public Builder clearDql() { if (dqlBuilder_ == null) { if (statementCase_ == 12) { statementCase_ = 0; statement_ = null; onChanged(); } } else { if (statementCase_ == 12) { statementCase_ = 0; statement_ = null; } dqlBuilder_.clear(); } return this; } /** *
       * Data Query Language
       * 
* * .cz.proto.access.DQL dql = 12; */ public cz.proto.access.Ddl.DQL.Builder getDqlBuilder() { return getDqlFieldBuilder().getBuilder(); } /** *
       * Data Query Language
       * 
* * .cz.proto.access.DQL dql = 12; */ @java.lang.Override public cz.proto.access.Ddl.DQLOrBuilder getDqlOrBuilder() { if ((statementCase_ == 12) && (dqlBuilder_ != null)) { return dqlBuilder_.getMessageOrBuilder(); } else { if (statementCase_ == 12) { return (cz.proto.access.Ddl.DQL) statement_; } return cz.proto.access.Ddl.DQL.getDefaultInstance(); } } /** *
       * Data Query Language
       * 
* * .cz.proto.access.DQL dql = 12; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DQL, cz.proto.access.Ddl.DQL.Builder, cz.proto.access.Ddl.DQLOrBuilder> getDqlFieldBuilder() { if (dqlBuilder_ == null) { if (!(statementCase_ == 12)) { statement_ = cz.proto.access.Ddl.DQL.getDefaultInstance(); } dqlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DQL, cz.proto.access.Ddl.DQL.Builder, cz.proto.access.Ddl.DQLOrBuilder>( (cz.proto.access.Ddl.DQL) statement_, getParentForChildren(), isClean()); statement_ = null; } statementCase_ = 12; onChanged();; return dqlBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DML, cz.proto.access.Ddl.DML.Builder, cz.proto.access.Ddl.DMLOrBuilder> dmlBuilder_; /** *
       * Data Manipulation Language
       * 
* * .cz.proto.access.DML dml = 13; * @return Whether the dml field is set. */ @java.lang.Override public boolean hasDml() { return statementCase_ == 13; } /** *
       * Data Manipulation Language
       * 
* * .cz.proto.access.DML dml = 13; * @return The dml. */ @java.lang.Override public cz.proto.access.Ddl.DML getDml() { if (dmlBuilder_ == null) { if (statementCase_ == 13) { return (cz.proto.access.Ddl.DML) statement_; } return cz.proto.access.Ddl.DML.getDefaultInstance(); } else { if (statementCase_ == 13) { return dmlBuilder_.getMessage(); } return cz.proto.access.Ddl.DML.getDefaultInstance(); } } /** *
       * Data Manipulation Language
       * 
* * .cz.proto.access.DML dml = 13; */ public Builder setDml(cz.proto.access.Ddl.DML value) { if (dmlBuilder_ == null) { if (value == null) { throw new NullPointerException(); } statement_ = value; onChanged(); } else { dmlBuilder_.setMessage(value); } statementCase_ = 13; return this; } /** *
       * Data Manipulation Language
       * 
* * .cz.proto.access.DML dml = 13; */ public Builder setDml( cz.proto.access.Ddl.DML.Builder builderForValue) { if (dmlBuilder_ == null) { statement_ = builderForValue.build(); onChanged(); } else { dmlBuilder_.setMessage(builderForValue.build()); } statementCase_ = 13; return this; } /** *
       * Data Manipulation Language
       * 
* * .cz.proto.access.DML dml = 13; */ public Builder mergeDml(cz.proto.access.Ddl.DML value) { if (dmlBuilder_ == null) { if (statementCase_ == 13 && statement_ != cz.proto.access.Ddl.DML.getDefaultInstance()) { statement_ = cz.proto.access.Ddl.DML.newBuilder((cz.proto.access.Ddl.DML) statement_) .mergeFrom(value).buildPartial(); } else { statement_ = value; } onChanged(); } else { if (statementCase_ == 13) { dmlBuilder_.mergeFrom(value); } dmlBuilder_.setMessage(value); } statementCase_ = 13; return this; } /** *
       * Data Manipulation Language
       * 
* * .cz.proto.access.DML dml = 13; */ public Builder clearDml() { if (dmlBuilder_ == null) { if (statementCase_ == 13) { statementCase_ = 0; statement_ = null; onChanged(); } } else { if (statementCase_ == 13) { statementCase_ = 0; statement_ = null; } dmlBuilder_.clear(); } return this; } /** *
       * Data Manipulation Language
       * 
* * .cz.proto.access.DML dml = 13; */ public cz.proto.access.Ddl.DML.Builder getDmlBuilder() { return getDmlFieldBuilder().getBuilder(); } /** *
       * Data Manipulation Language
       * 
* * .cz.proto.access.DML dml = 13; */ @java.lang.Override public cz.proto.access.Ddl.DMLOrBuilder getDmlOrBuilder() { if ((statementCase_ == 13) && (dmlBuilder_ != null)) { return dmlBuilder_.getMessageOrBuilder(); } else { if (statementCase_ == 13) { return (cz.proto.access.Ddl.DML) statement_; } return cz.proto.access.Ddl.DML.getDefaultInstance(); } } /** *
       * Data Manipulation Language
       * 
* * .cz.proto.access.DML dml = 13; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DML, cz.proto.access.Ddl.DML.Builder, cz.proto.access.Ddl.DMLOrBuilder> getDmlFieldBuilder() { if (dmlBuilder_ == null) { if (!(statementCase_ == 13)) { statement_ = cz.proto.access.Ddl.DML.getDefaultInstance(); } dmlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.access.Ddl.DML, cz.proto.access.Ddl.DML.Builder, cz.proto.access.Ddl.DMLOrBuilder>( (cz.proto.access.Ddl.DML) statement_, getParentForChildren(), isClean()); statement_ = null; } statementCase_ = 13; onChanged();; return dmlBuilder_; } private boolean inTransaction_ ; /** *
       * if the statement already pending in transaction
       * 
* * bool in_transaction = 100; * @return The inTransaction. */ @java.lang.Override public boolean getInTransaction() { return inTransaction_; } /** *
       * if the statement already pending in transaction
       * 
* * bool in_transaction = 100; * @param value The inTransaction to set. * @return This builder for chaining. */ public Builder setInTransaction(boolean value) { inTransaction_ = value; onChanged(); return this; } /** *
       * if the statement already pending in transaction
       * 
* * bool in_transaction = 100; * @return This builder for chaining. */ public Builder clearInTransaction() { inTransaction_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.access.AccessStatement) } // @@protoc_insertion_point(class_scope:cz.proto.access.AccessStatement) private static final cz.proto.access.Ddl.AccessStatement DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.access.Ddl.AccessStatement(); } public static cz.proto.access.Ddl.AccessStatement getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AccessStatement parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AccessStatement(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 cz.proto.access.Ddl.AccessStatement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_CreateEntity_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_CreateEntity_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AlterEntity_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AlterEntity_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ColumnMove_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ColumnMove_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AlterTable_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AlterTable_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_TableChange_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_TableChange_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DataSourceAdd_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DataSourceAdd_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DataSourceChange_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DataSourceChange_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DataSourceDrop_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DataSourceDrop_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_StructField_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_StructField_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ColumnAdd_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ColumnAdd_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ColumnDrop_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ColumnDrop_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ColumnChange_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ColumnChange_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AlterVirtualCluster_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AlterVirtualCluster_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AlterShare_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AlterShare_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AlterConnectionAvailability_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AlterConnectionAvailability_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AlterConnectionProperties_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AlterConnectionProperties_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AlterConnection_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AlterConnection_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AlterFunction_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AlterFunction_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropEntity_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropEntity_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropTable_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropTable_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropStreamTable_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropStreamTable_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropSchema_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropSchema_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropShare_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropShare_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropCatalog_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropCatalog_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropView_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropView_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropMaterializedView_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropMaterializedView_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropUser_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropUser_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropRole_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropRole_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropVCluster_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropVCluster_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropFunction_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropFunction_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropConnection_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropConnection_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropLocation_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropLocation_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropIndex_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropIndex_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DropVolume_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DropVolume_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_UndropEntity_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_UndropEntity_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AlterRole_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AlterRole_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AlterJob_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AlterJob_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AlterVCluster_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AlterVCluster_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AlterUser_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AlterUser_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_TruncateEntity_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_TruncateEntity_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_TruncateTable_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_TruncateTable_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowEntity_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowEntity_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowVirtualClusterSizeSpecs_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowVirtualClusterSizeSpecs_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowWorkspace_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowWorkspace_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowUser_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowUser_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowRole_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowRole_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowGroupPrivilege_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowGroupPrivilege_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowUserPrivilege_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowUserPrivilege_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowObjectPrivilege_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowObjectPrivilege_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowPrivilege_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowPrivilege_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowTable_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowTable_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowMV_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowMV_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowSchema_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowSchema_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowJob_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowJob_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowVClusterFilter_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowVClusterFilter_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowVCluster_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowVCluster_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowFile_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowFile_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowStorageLocation_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowStorageLocation_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowVolume_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowVolume_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_TablePartitions_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_TablePartitions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_PartitionConstant_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_PartitionConstant_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_PartitionFieldConstant_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_PartitionFieldConstant_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowShare_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowShare_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowFunction_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowFunction_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowConnection_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowConnection_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowUserRole_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowUserRole_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowAccessType_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowAccessType_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_ShowIndex_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_ShowIndex_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_GetEntity_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_GetEntity_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_GetUser_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_GetUser_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_GetVirtualCluster_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_GetVirtualCluster_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_GetWorkspace_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_GetWorkspace_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_GetTable_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_GetTable_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_GetEntityStats_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_GetEntityStats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_BatchGetEntityStats_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_BatchGetEntityStats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_BatchGetEntity_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_BatchGetEntity_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_BatchGetUser_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_BatchGetUser_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_BatchGetTable_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_BatchGetTable_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DDL_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DDL_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DCL_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DCL_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DQL_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DQL_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AppendTable_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AppendTable_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AppendEntity_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AppendEntity_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_RewriteTable_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_RewriteTable_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_RewriteEntity_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_RewriteEntity_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_OverwriteTable_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_OverwriteTable_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_OverwriteEntity_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_OverwriteEntity_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_DML_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_DML_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_access_AccessStatement_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_access_AccessStatement_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\tddl.proto\022\017cz.proto.access\032\025metadata_e" + "ntity.proto\032\raccount.proto\032\027object_ident" + "ifier.proto\032\017privilege.proto\032\016property.p" + "roto\032\016job_meta.proto\032\025virtual_cluster.pr" + "oto\032 virtual_cluster_management.proto\032\016m" + "anifest.proto\032\022table_common.proto\032\020expre" + "ssion.proto\032\020table_meta.proto\032\017data_type" + ".proto\"d\n\014CreateEntity\022\021\n\007replace\030\001 \001(\010H" + "\000\022\027\n\rif_not_exists\030\002 \001(\010H\000\022 \n\006entity\030\003 \001" + "(\0132\020.cz.proto.EntityB\006\n\004mode\"\324\004\n\013AlterEn" + "tity\022\021\n\tif_exists\030\001 \001(\010\022.\n\nidentifier\030\002 " + "\001(\0132\032.cz.proto.ObjectIdentifier\022\026\n\016chang" + "e_comment\030\003 \001(\010\022 \n\006entity\030\004 \001(\0132\020.cz.pro" + "to.Entity\022*\n\004role\030\n \001(\0132\032.cz.proto.acces" + "s.AlterRoleH\000\022(\n\003job\030\013 \001(\0132\031.cz.proto.ac" + "cess.AlterJobH\000\022?\n\017virtual_cluster\030\014 \001(\013" + "2$.cz.proto.access.AlterVirtualClusterH\000" + "\0222\n\010vcluster\030\r \001(\0132\036.cz.proto.access.Alt" + "erVClusterH\000\022,\n\005share\030\016 \001(\0132\033.cz.proto.a" + "ccess.AlterShareH\000\0226\n\nconnection\030\017 \001(\0132 " + ".cz.proto.access.AlterConnectionH\000\0222\n\010fu" + "nction\030\020 \001(\0132\036.cz.proto.access.AlterFunc" + "tionH\000\022*\n\004user\030\021 \001(\0132\032.cz.proto.access.A" + "lterUserH\000\022,\n\005table\030\022 \001(\0132\033.cz.proto.acc" + "ess.AlterTableH\000B\t\n\007derived\"\241\001\n\nColumnMo" + "ve\022-\n\004type\030\001 \001(\0162\037.cz.proto.access.Colum" + "nMoveType\022\023\n\013column_name\030\002 \001(\t\022\"\n\025refere" + "nce_column_name\030\003 \001(\tH\000\210\001\001\022\021\n\tancestors\030" + "\004 \003(\tB\030\n\026_reference_column_name\";\n\nAlter" + "Table\022-\n\007updates\030\001 \003(\0132\034.cz.proto.access" + ".TableChange\"\233\003\n\013TableChange\0220\n\ncolumn_a" + "dd\030\001 \001(\0132\032.cz.proto.access.ColumnAddH\000\0222" + "\n\013column_drop\030\003 \001(\0132\033.cz.proto.access.Co" + "lumnDropH\000\022+\n\004move\030\002 \001(\0132\033.cz.proto.acce" + "ss.ColumnMoveH\000\0226\n\rcolumn_change\030\004 \001(\0132\035" + ".cz.proto.access.ColumnChangeH\000\0229\n\017data_" + "source_add\030\005 \001(\0132\036.cz.proto.access.DataS" + "ourceAddH\000\022;\n\020data_source_drop\030\006 \001(\0132\037.c" + "z.proto.access.DataSourceDropH\000\022?\n\022data_" + "source_change\030\007 \001(\0132!.cz.proto.access.Da" + "taSourceChangeH\000B\010\n\006update\"8\n\rDataSource" + "Add\022\'\n\005infos\030\001 \003(\0132\030.cz.proto.DataSource" + "Info\"\224\001\n\020DataSourceChange\022\026\n\016data_source" + "_id\030\001 \001(\r\022+\n\013new_options\030\n \001(\0132\024.cz.prot" + "o.PropertiesH\000\0221\n\014drop_options\030\013 \001(\0132\031.c" + "z.proto.PropertyKeyListH\000B\010\n\006change\")\n\016D" + "ataSourceDrop\022\027\n\017data_source_ids\030\001 \003(\r\"O" + "\n\013StructField\022\021\n\tancestors\030\001 \003(\t\022-\n\005fiel" + "d\030\002 \001(\0132\036.cz.proto.StructTypeInfo.Field\"" + "\210\001\n\tColumnAdd\022\'\n\006column\030\001 \001(\0132\025.cz.proto" + ".FieldSchemaH\000\0224\n\014struct_field\030\002 \001(\0132\034.c" + "z.proto.access.StructFieldH\000\022\025\n\rif_not_e" + "xists\030\013 \001(\010B\005\n\003add\"@\n\nColumnDrop\022\021\n\tance" + "stors\030\001 \003(\t\022\014\n\004name\030\002 \001(\t\022\021\n\tif_exists\030\013" + " \001(\010\"\214\001\n\014ColumnChange\022\021\n\tancestors\030\001 \003(\t" + "\022\014\n\004name\030\002 \001(\t\022\022\n\010new_name\030\003 \001(\tH\000\022&\n\010ne" + "w_type\030\004 \001(\0132\022.cz.proto.DataTypeH\000\022\025\n\013ne" + "w_comment\030\005 \001(\tH\000B\010\n\006change\"\242\001\n\023AlterVir" + "tualCluster\022\017\n\005start\030\001 \001(\010H\000\022\016\n\004stop\030\002 \001" + "(\010H\000\022\030\n\016abort_all_jobs\030\003 \001(\010H\000\022\023\n\ttermin" + "ate\030\006 \001(\010H\000\022\024\n\nif_stopped\030\004 \001(\010H\001\022\017\n\005for" + "ce\030\005 \001(\010H\001B\t\n\007derivedB\t\n\007options\"o\n\nAlte" + "rShare\022\020\n\006public\030\001 \001(\010H\000\022\026\n\014add_instance" + "\030\002 \001(\010H\000\022\031\n\017remove_instance\030\003 \001(\010H\000\022\021\n\ti" + "nstances\030\n \003(\tB\t\n\007derived\"-\n\033AlterConnec" + "tionAvailability\022\016\n\006enable\030\001 \001(\010\"P\n\031Alte" + "rConnectionProperties\022\013\n\003set\030\001 \001(\010\022&\n\npr" + "operties\030\002 \003(\0132\022.cz.proto.Property\"\266\001\n\017A" + "lterConnection\022\020\n\006enable\030\001 \001(\010H\000\022D\n\014avai" + "lability\030\002 \001(\0132,.cz.proto.access.AlterCo" + "nnectionAvailabilityH\000\022@\n\nproperties\030\003 \001" + "(\0132*.cz.proto.access.AlterConnectionProp" + "ertiesH\000B\t\n\007derived\"-\n\rAlterFunction\022\021\n\007" + "comment\030\001 \001(\tH\000B\t\n\007derived\"\315\006\n\nDropEntit" + "y\022.\n\nidentifier\030\001 \001(\0132\032.cz.proto.ObjectI" + "dentifier\022\021\n\tif_exists\030\002 \001(\010\022\024\n\014drop_tim" + "e_ms\030\003 \001(\003\022+\n\005table\030\n \001(\0132\032.cz.proto.acc" + "ess.DropTableH\000\022)\n\004view\030\013 \001(\0132\031.cz.proto" + ".access.DropViewH\000\0223\n\002mv\030\014 \001(\0132%.cz.prot" + "o.access.DropMaterializedViewH\000\022-\n\006schem" + "a\030\r \001(\0132\033.cz.proto.access.DropSchemaH\000\022/" + "\n\007catalog\030\016 \001(\0132\034.cz.proto.access.DropCa" + "talogH\000\022)\n\004user\030\017 \001(\0132\031.cz.proto.access." + "DropUserH\000\022)\n\004role\030\020 \001(\0132\031.cz.proto.acce" + "ss.DropRoleH\000\0228\n\017virtual_cluster\030\021 \001(\0132\035" + ".cz.proto.access.DropVClusterH\000\022+\n\005share" + "\030\022 \001(\0132\032.cz.proto.access.DropShareH\000\0221\n\010" + "function\030\023 \001(\0132\035.cz.proto.access.DropFun" + "ctionH\000\0225\n\nconnection\030\024 \001(\0132\037.cz.proto.a" + "ccess.DropConnectionH\000\0221\n\010location\030\025 \001(\013" + "2\035.cz.proto.access.DropLocationH\000\0228\n\014str" + "eam_table\030\026 \001(\0132 .cz.proto.access.DropSt" + "reamTableH\000\022+\n\005index\030\027 \001(\0132\032.cz.proto.ac" + "cess.DropIndexH\000\022-\n\006volume\030\030 \001(\0132\033.cz.pr" + "oto.access.DropVolumeH\000B\t\n\007derived\"\032\n\tDr" + "opTable\022\r\n\005purge\030\001 \001(\010\"\021\n\017DropStreamTabl" + "e\"\035\n\nDropSchema\022\017\n\007cascade\030\001 \001(\010\"\034\n\tDrop" + "Share\022\017\n\007cascade\030\001 \001(\010\"\036\n\013DropCatalog\022\017\n" + "\007cascade\030\001 \001(\010\"\n\n\010DropView\"\026\n\024DropMateri" + "alizedView\",\n\010DropUser\022\024\n\007user_id\030\001 \001(\003H" + "\000\210\001\001B\n\n\010_user_id\"\n\n\010DropRole\"B\n\014DropVClu" + "ster\022\024\n\014workspace_id\030\001 \001(\003\022\r\n\005vc_id\030\002 \001(" + "\003\022\r\n\005force\030\003 \001(\010\"\016\n\014DropFunction\"\020\n\016Drop" + "Connection\"\016\n\014DropLocation\"\013\n\tDropIndex\"" + "\014\n\nDropVolume\">\n\014UndropEntity\022.\n\nidentif" + "ier\030\001 \001(\0132\032.cz.proto.ObjectIdentifier\"\227\001" + "\n\tAlterRole\022\024\n\007comment\030\002 \001(\tH\000\210\001\001\022\022\n\005ali" + "as\030\003 \001(\tH\001\210\001\001\022\025\n\010new_name\030\004 \001(\tH\002\210\001\001\022&\n\n" + "properties\030\005 \003(\0132\022.cz.proto.PropertyB\n\n\010" + "_commentB\010\n\006_aliasB\013\n\t_new_name\"\371\001\n\010Alte" + "rJob\022%\n\007history\030\002 \001(\0132\024.cz.proto.JobHist" + "ory\022(\n\006status\030\003 \001(\0162\023.cz.proto.JobStatus" + "H\000\210\001\001\022\025\n\010end_time\030\004 \001(\003H\001\210\001\001\022\023\n\006result\030\005" + " \001(\tH\002\210\001\001\022-\n\007summary\030\006 \001(\0132\034.cz.proto.Jo" + "bSummaryLocation\022\023\n\006cancel\030\007 \001(\010H\003\210\001\001B\t\n" + "\007_statusB\013\n\t_end_timeB\t\n\007_resultB\t\n\007_can" + "cel\"\214\002\n\rAlterVCluster\022\022\n\005vc_id\030\001 \001(\003H\000\210\001" + "\001\022\031\n\014workspace_id\030\002 \001(\003H\001\210\001\001\022D\n\nproperti" + "es\030\003 \001(\0132+.com.clickzetta.rm.VirtualClus" + "terPropertiesH\002\210\001\001\022>\n\005state\030\004 \001(\0132*.com." + "clickzetta.rm.VirtualClusterStateInfoH\003\210" + "\001\001\022\022\n\nunset_tags\030\005 \003(\tB\010\n\006_vc_idB\017\n\r_wor" + "kspace_idB\r\n\013_propertiesB\010\n\006_state\"\205\001\n\tA" + "lterUser\022\024\n\007user_id\030\001 \001(\003H\000\210\001\001\022\027\n\ndefaul" + "t_vc\030\002 \001(\tH\001\210\001\001\022\033\n\016default_schema\030\003 \001(\tH" + "\002\210\001\001B\n\n\010_user_idB\r\n\013_default_vcB\021\n\017_defa" + "ult_schema\"L\n\016TruncateEntity\022/\n\005table\030\n " + "\001(\0132\036.cz.proto.access.TruncateTableH\000B\t\n" + "\007derived\"e\n\rTruncateTable\022.\n\nidentifier\030" + "\001 \001(\0132\032.cz.proto.ObjectIdentifier\022$\n\010man" + "ifest\030\002 \001(\0132\022.cz.proto.Manifest\"\266\010\n\nShow" + "Entity\022\023\n\006offset\030\001 \001(\003H\001\210\001\001\022\022\n\005limit\030\002 \001" + "(\005H\002\210\001\001\022-\n\004type\030\003 \001(\0162\037.cz.proto.access." + "ShowEntityType\022)\n\004user\030\n \001(\0132\031.cz.proto." + "access.ShowUserH\000\022)\n\004role\030\013 \001(\0132\031.cz.pro" + "to.access.ShowRoleH\000\0223\n\tprivilege\030\014 \001(\0132" + "\036.cz.proto.access.ShowPrivilegeH\000\022+\n\005tab" + "le\030\r \001(\0132\032.cz.proto.access.ShowTableH\000\022-" + "\n\006schema\030\016 \001(\0132\033.cz.proto.access.ShowSch" + "emaH\000\022\'\n\003job\030\017 \001(\0132\030.cz.proto.access.Sho" + "wJobH\000\0221\n\010vcluster\030\020 \001(\0132\035.cz.proto.acce" + "ss.ShowVClusterH\000\0223\n\tworkspace\030\021 \001(\0132\036.c" + "z.proto.access.ShowWorkspaceH\000\022)\n\004file\030\022" + " \001(\0132\031.cz.proto.access.ShowFileH\000\022%\n\002mv\030" + "\023 \001(\0132\027.cz.proto.access.ShowMVH\000\022E\n\rvclu" + "ster_spec\030\024 \001(\0132,.cz.proto.access.ShowVi" + "rtualClusterSizeSpecsH\000\022+\n\005share\030\025 \001(\0132\032" + ".cz.proto.access.ShowShareH\000\0221\n\010function" + "\030\026 \001(\0132\035.cz.proto.access.ShowFunctionH\000\022" + "5\n\nconnection\030\027 \001(\0132\037.cz.proto.access.Sh" + "owConnectionH\000\0222\n\tuser_role\030\030 \001(\0132\035.cz.p" + "roto.access.ShowUserRoleH\000\0226\n\013access_typ" + "e\030\031 \001(\0132\037.cz.proto.access.ShowAccessType" + "H\000\022@\n\020storage_location\030\032 \001(\0132$.cz.proto." + "access.ShowStorageLocationH\000\022+\n\005index\030\033 " + "\001(\0132\032.cz.proto.access.ShowIndexH\000\022-\n\006vol" + "ume\030\034 \001(\0132\033.cz.proto.access.ShowVolumeH\000" + "B\t\n\007derivedB\t\n\007_offsetB\010\n\006_limit\"\035\n\033Show" + "VirtualClusterSizeSpecs\"$\n\rShowWorkspace" + "\022\023\n\013instance_id\030\001 \001(\003\"<\n\010ShowUser\0220\n\014wor" + "kspace_id\030\001 \001(\0132\032.cz.proto.ObjectIdentif" + "ier\"<\n\010ShowRole\0220\n\014workspace_id\030\001 \001(\0132\032." + "cz.proto.ObjectIdentifier\"D\n\022ShowGroupPr" + "ivilege\022.\n\nidentifier\030\001 \001(\0132\032.cz.proto.O" + "bjectIdentifier\"A\n\021ShowUserPrivilege\022,\n\n" + "identifier\030\001 \001(\0132\030.cz.proto.UserIdentifi" + "er\"p\n\023ShowObjectPrivilege\022.\n\nidentifier\030" + "\001 \001(\0132\032.cz.proto.ObjectIdentifier\022)\n\007sub" + "ject\030\002 \001(\0132\030.cz.proto.access.Subject\"\274\001\n" + "\rShowPrivilege\0222\n\004user\030\n \001(\0132\".cz.proto." + "access.ShowUserPrivilegeH\000\0224\n\005group\030\013 \001(" + "\0132#.cz.proto.access.ShowGroupPrivilegeH\000" + "\0226\n\006object\030\014 \001(\0132$.cz.proto.access.ShowO" + "bjectPrivilegeH\000B\t\n\007derived\"\353\002\n\tShowTabl" + "e\022-\n\tschema_id\030\001 \001(\0132\032.cz.proto.ObjectId" + "entifier\022\026\n\ttimestamp\030\002 \001(\003H\000\210\001\001\022,\n\ntabl" + "e_type\030\003 \001(\0162\023.cz.proto.TableTypeH\001\210\001\001\022B" + "\n\rlist_order_by\030\004 \001(\0162&.cz.proto.access." + "ShowTable.ListOrderbyH\002\210\001\001\022\026\n\tascending\030" + "\005 \001(\010H\003\210\001\001\022\030\n\013with_schema\030\006 \001(\010H\004\210\001\001\"&\n\013" + "ListOrderby\022\027\n\023ORDER_BY_TABLE_NAME\020\000B\014\n\n" + "_timestampB\r\n\013_table_typeB\020\n\016_list_order" + "_byB\014\n\n_ascendingB\016\n\014_with_schema\"\232\001\n\006Sh" + "owMV\022\024\n\007mv_type\030\001 \001(\tH\001\210\001\001\022+\n\005table\030\n \001(" + "\0132\032.cz.proto.ObjectIdentifierH\000\0226\n\014batch" + "_tables\030\013 \001(\0132\036.cz.proto.ObjectIdentifie" + "rListH\000B\t\n\007derivedB\n\n\010_mv_type\">\n\nShowSc" + "hema\0220\n\014workspace_id\030\001 \001(\0132\032.cz.proto.Ob" + "jectIdentifier\";\n\007ShowJob\0220\n\014workspace_i" + "d\030\001 \001(\0132\032.cz.proto.ObjectIdentifier\"o\n\022S" + "howVClusterFilter\022\021\n\007pattern\030\001 \001(\tH\000\022<\n\005" + "where\030\002 \001(\0132+.com.clickzetta.rm.ListVirt" + "ualClusterFilterH\000B\010\n\006filter\"\205\001\n\014ShowVCl" + "uster\0220\n\014workspace_id\030\001 \001(\0132\032.cz.proto.O" + "bjectIdentifier\0228\n\006filter\030\003 \001(\0132#.cz.pro" + "to.access.ShowVClusterFilterH\000\210\001\001B\t\n\007_fi" + "lter\"\200\001\n\010ShowFile\022+\n\005table\030\n \001(\0132\032.cz.pr" + "oto.ObjectIdentifierH\000\022<\n\020table_partitio" + "ns\030\013 \001(\0132 .cz.proto.access.TablePartitio" + "nsH\000B\t\n\007derived\"G\n\023ShowStorageLocation\0220" + "\n\014workspace_id\030\001 \001(\0132\032.cz.proto.ObjectId" + "entifier\";\n\nShowVolume\022-\n\tschema_id\030\001 \001(" + "\0132\032.cz.proto.ObjectIdentifier\"t\n\017TablePa" + "rtitions\022)\n\005table\030\001 \001(\0132\032.cz.proto.Objec" + "tIdentifier\0226\n\npartitions\030\002 \003(\0132\".cz.pro" + "to.access.PartitionConstant\"V\n\021Partition" + "Constant\022A\n\020partition_fields\030\001 \003(\0132\'.cz." + "proto.access.PartitionFieldConstant\"W\n\026P" + "artitionFieldConstant\022\022\n\nfield_name\030\001 \001(" + "\t\022)\n\005value\030\002 \001(\0132\032.cz.proto.ScalarExpres" + "sion\" \n\tShowShare\022\023\n\013instance_id\030\001 \001(\003\"=" + "\n\014ShowFunction\022-\n\tschema_id\030\001 \001(\0132\032.cz.p" + "roto.ObjectIdentifier\"B\n\016ShowConnection\022" + "0\n\014workspace_id\030\001 \001(\0132\032.cz.proto.ObjectI" + "dentifier\"\256\001\n\014ShowUserRole\0220\n\014workspace_" + "id\030\001 \001(\0132\032.cz.proto.ObjectIdentifier\022+\n\004" + "user\030\002 \001(\0132\030.cz.proto.UserIdentifierH\000\210\001" + "\001\022-\n\004role\030\003 \001(\0132\032.cz.proto.ObjectIdentif" + "ierH\001\210\001\001B\007\n\005_userB\007\n\005_role\"]\n\016ShowAccess" + "Type\022\024\n\007service\030\001 \001(\tH\000\210\001\001\022)\n\013entity_typ" + "e\030\002 \001(\0162\024.cz.proto.ObjectTypeB\n\n\010_servic" + "e\"9\n\tShowIndex\022,\n\010table_id\030\001 \001(\0132\032.cz.pr" + "oto.ObjectIdentifier\"\202\002\n\tGetEntity\022.\n\nid" + "entifier\030\001 \001(\0132\032.cz.proto.ObjectIdentifi" + "er\022(\n\004user\030\n \001(\0132\030.cz.proto.access.GetUs" + "erH\000\0220\n\002vc\030\013 \001(\0132\".cz.proto.access.GetVi" + "rtualClusterH\000\0222\n\tworkspace\030\014 \001(\0132\035.cz.p" + "roto.access.GetWorkspaceH\000\022*\n\005table\030\r \001(" + "\0132\031.cz.proto.access.GetTableH\000B\t\n\007derive" + "d\"\032\n\007GetUser\022\017\n\007user_id\030\001 \001(\003\"8\n\021GetVirt" + "ualCluster\022\024\n\014workspace_id\030\001 \001(\003\022\r\n\005vc_i" + "d\030\002 \001(\003\":\n\014GetWorkspace\022\031\n\014workspace_id\030" + "\001 \001(\003H\000\210\001\001B\017\n\r_workspace_id\".\n\010GetTable\022" + "\025\n\010for_read\030\002 \001(\010H\000\210\001\001B\013\n\t_for_read\"@\n\016G" + "etEntityStats\022.\n\nidentifier\030\001 \001(\0132\032.cz.p" + "roto.ObjectIdentifier\"\201\001\n\023BatchGetEntity" + "Stats\022*\n\006parent\030\001 \001(\0132\032.cz.proto.ObjectI" + "dentifier\022)\n\013entity_type\030\002 \001(\0162\024.cz.prot" + "o.ObjectType\022\023\n\013entity_name\030\003 \003(\t\"\346\001\n\016Ba" + "tchGetEntity\022*\n\006parent\030\001 \001(\0132\032.cz.proto." + "ObjectIdentifier\022)\n\013entity_type\030\002 \001(\0162\024." + "cz.proto.ObjectType\022\023\n\013entity_name\030\003 \003(\t" + "\022-\n\004user\030\n \001(\0132\035.cz.proto.access.BatchGe" + "tUserH\000\022/\n\005table\030\013 \001(\0132\036.cz.proto.access" + ".BatchGetTableH\000B\010\n\006entity\"\037\n\014BatchGetUs" + "er\022\017\n\007user_id\030\001 \003(\003\"3\n\rBatchGetTable\022\025\n\010" + "for_read\030\001 \001(\010H\000\210\001\001B\013\n\t_for_read\"\246\002\n\003DDL" + "\0226\n\rcreate_entity\030\n \001(\0132\035.cz.proto.acces" + "s.CreateEntityH\000\0222\n\013drop_entity\030\013 \001(\0132\033." + "cz.proto.access.DropEntityH\000\0224\n\014alter_en" + "tity\030\014 \001(\0132\034.cz.proto.access.AlterEntity" + "H\000\022:\n\017truncate_entity\030\r \001(\0132\037.cz.proto.a" + "ccess.TruncateEntityH\000\0226\n\rundrop_entity\030" + "\016 \001(\0132\035.cz.proto.access.UndropEntityH\000B\t" + "\n\007command\"\243\001\n\003DCL\022-\n\005grant\030\n \001(\0132\034.cz.pr" + "oto.access.GrantEntityH\000\022/\n\006revoke\030\013 \001(\013" + "2\035.cz.proto.access.RevokeEntityH\000\0221\n\005che" + "ck\030\014 \001(\0132 .cz.proto.access.CheckPrivileg" + "esH\000B\t\n\007command\"\270\002\n\003DQL\0222\n\013show_entity\030\n" + " \001(\0132\033.cz.proto.access.ShowEntityH\000\0220\n\ng" + "et_entity\030\013 \001(\0132\032.cz.proto.access.GetEnt" + "ityH\000\022;\n\020get_entity_stats\030\014 \001(\0132\037.cz.pro" + "to.access.GetEntityStatsH\000\022;\n\020batch_get_" + "entity\030d \001(\0132\037.cz.proto.access.BatchGetE" + "ntityH\000\022F\n\026batch_get_entity_stats\030e \001(\0132" + "$.cz.proto.access.BatchGetEntityStatsH\000B" + "\t\n\007command\"3\n\013AppendTable\022$\n\010manifest\030\001 " + "\001(\0132\022.cz.proto.Manifest\"\177\n\014AppendEntity\022" + ".\n\nidentifier\030\001 \001(\0132\032.cz.proto.ObjectIde" + "ntifier\0224\n\014append_table\030\n \001(\0132\034.cz.proto" + ".access.AppendTableH\000B\t\n\007derived\"4\n\014Rewr" + "iteTable\022$\n\010manifest\030\001 \001(\0132\022.cz.proto.Ma" + "nifest\"\202\001\n\rRewriteEntity\022.\n\nidentifier\030\001" + " \001(\0132\032.cz.proto.ObjectIdentifier\0226\n\rrewr" + "ite_table\030\n \001(\0132\035.cz.proto.access.Rewrit" + "eTableH\000B\t\n\007derived\"6\n\016OverwriteTable\022$\n" + "\010manifest\030\001 \001(\0132\022.cz.proto.Manifest\"\210\001\n\017" + "OverwriteEntity\022.\n\nidentifier\030\001 \001(\0132\032.cz" + ".proto.ObjectIdentifier\022:\n\017overwrite_tab" + "le\030\n \001(\0132\037.cz.proto.access.OverwriteTabl" + "eH\000B\t\n\007derived\"\300\001\n\003DML\0226\n\rappend_entity\030" + "\n \001(\0132\035.cz.proto.access.AppendEntityH\000\022<" + "\n\020overwrite_entity\030\013 \001(\0132 .cz.proto.acce" + "ss.OverwriteEntityH\000\0228\n\016rewrite_entity\030\014" + " \001(\0132\036.cz.proto.access.RewriteEntityH\000B\t" + "\n\007command\"\263\002\n\017AccessStatement\022/\n\010operato" + "r\030\001 \001(\0132\030.cz.proto.UserIdentifierH\001\210\001\001\022)" + "\n\004type\030\002 \001(\0162\033.cz.proto.access.AccessTyp" + "e\022#\n\003ddl\030\n \001(\0132\024.cz.proto.access.DDLH\000\022#" + "\n\003dcl\030\013 \001(\0132\024.cz.proto.access.DCLH\000\022#\n\003d" + "ql\030\014 \001(\0132\024.cz.proto.access.DQLH\000\022#\n\003dml\030" + "\r \001(\0132\024.cz.proto.access.DMLH\000\022\026\n\016in_tran" + "saction\030d \001(\010B\013\n\tstatementB\013\n\t_operator*" + "2\n\016ColumnMoveType\022\t\n\005FIRST\020\000\022\n\n\006BEFORE\020\001" + "\022\t\n\005AFTER\020\002*X\n\016ShowEntityType\022\017\n\013SHOW_EN" + "TITY\020\000\022\r\n\tSHOW_NAME\020\001\022\013\n\007SHOW_ID\020\002\022\031\n\025SH" + "OW_ENTITIES_HISTORY\020\003*&\n\nAccessType\022\010\n\004M" + "ETA\020\000\022\016\n\nVC_MANAGER\020\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { cz.proto.MetadataEntity.getDescriptor(), cz.proto.AccountOuterClass.getDescriptor(), cz.proto.ObjectIdentifierOuterClass.getDescriptor(), cz.proto.access.PrivilegeOuterClass.getDescriptor(), cz.proto.PropertyOuterClass.getDescriptor(), cz.proto.JobMetaOuterClass.getDescriptor(), com.clickzetta.rm.proto.VirtualClusterProtos.getDescriptor(), com.clickzetta.rm.proto.VirtualClusterManagementProtos.getDescriptor(), cz.proto.ManifestProto.getDescriptor(), cz.proto.TableCommon.getDescriptor(), cz.proto.Expression.getDescriptor(), cz.proto.TableMetaOuterClass.getDescriptor(), cz.proto.DataTypeOuterClass.getDescriptor(), }); internal_static_cz_proto_access_CreateEntity_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_cz_proto_access_CreateEntity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_CreateEntity_descriptor, new java.lang.String[] { "Replace", "IfNotExists", "Entity", "Mode", }); internal_static_cz_proto_access_AlterEntity_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_cz_proto_access_AlterEntity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AlterEntity_descriptor, new java.lang.String[] { "IfExists", "Identifier", "ChangeComment", "Entity", "Role", "Job", "VirtualCluster", "Vcluster", "Share", "Connection", "Function", "User", "Table", "Derived", }); internal_static_cz_proto_access_ColumnMove_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_cz_proto_access_ColumnMove_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ColumnMove_descriptor, new java.lang.String[] { "Type", "ColumnName", "ReferenceColumnName", "Ancestors", "ReferenceColumnName", }); internal_static_cz_proto_access_AlterTable_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_cz_proto_access_AlterTable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AlterTable_descriptor, new java.lang.String[] { "Updates", }); internal_static_cz_proto_access_TableChange_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_cz_proto_access_TableChange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_TableChange_descriptor, new java.lang.String[] { "ColumnAdd", "ColumnDrop", "Move", "ColumnChange", "DataSourceAdd", "DataSourceDrop", "DataSourceChange", "Update", }); internal_static_cz_proto_access_DataSourceAdd_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_cz_proto_access_DataSourceAdd_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DataSourceAdd_descriptor, new java.lang.String[] { "Infos", }); internal_static_cz_proto_access_DataSourceChange_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_cz_proto_access_DataSourceChange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DataSourceChange_descriptor, new java.lang.String[] { "DataSourceId", "NewOptions", "DropOptions", "Change", }); internal_static_cz_proto_access_DataSourceDrop_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_cz_proto_access_DataSourceDrop_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DataSourceDrop_descriptor, new java.lang.String[] { "DataSourceIds", }); internal_static_cz_proto_access_StructField_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_cz_proto_access_StructField_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_StructField_descriptor, new java.lang.String[] { "Ancestors", "Field", }); internal_static_cz_proto_access_ColumnAdd_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_cz_proto_access_ColumnAdd_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ColumnAdd_descriptor, new java.lang.String[] { "Column", "StructField", "IfNotExists", "Add", }); internal_static_cz_proto_access_ColumnDrop_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_cz_proto_access_ColumnDrop_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ColumnDrop_descriptor, new java.lang.String[] { "Ancestors", "Name", "IfExists", }); internal_static_cz_proto_access_ColumnChange_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_cz_proto_access_ColumnChange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ColumnChange_descriptor, new java.lang.String[] { "Ancestors", "Name", "NewName", "NewType", "NewComment", "Change", }); internal_static_cz_proto_access_AlterVirtualCluster_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_cz_proto_access_AlterVirtualCluster_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AlterVirtualCluster_descriptor, new java.lang.String[] { "Start", "Stop", "AbortAllJobs", "Terminate", "IfStopped", "Force", "Derived", "Options", }); internal_static_cz_proto_access_AlterShare_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_cz_proto_access_AlterShare_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AlterShare_descriptor, new java.lang.String[] { "Public", "AddInstance", "RemoveInstance", "Instances", "Derived", }); internal_static_cz_proto_access_AlterConnectionAvailability_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_cz_proto_access_AlterConnectionAvailability_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AlterConnectionAvailability_descriptor, new java.lang.String[] { "Enable", }); internal_static_cz_proto_access_AlterConnectionProperties_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_cz_proto_access_AlterConnectionProperties_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AlterConnectionProperties_descriptor, new java.lang.String[] { "Set", "Properties", }); internal_static_cz_proto_access_AlterConnection_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_cz_proto_access_AlterConnection_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AlterConnection_descriptor, new java.lang.String[] { "Enable", "Availability", "Properties", "Derived", }); internal_static_cz_proto_access_AlterFunction_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_cz_proto_access_AlterFunction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AlterFunction_descriptor, new java.lang.String[] { "Comment", "Derived", }); internal_static_cz_proto_access_DropEntity_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_cz_proto_access_DropEntity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropEntity_descriptor, new java.lang.String[] { "Identifier", "IfExists", "DropTimeMs", "Table", "View", "Mv", "Schema", "Catalog", "User", "Role", "VirtualCluster", "Share", "Function", "Connection", "Location", "StreamTable", "Index", "Volume", "Derived", }); internal_static_cz_proto_access_DropTable_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_cz_proto_access_DropTable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropTable_descriptor, new java.lang.String[] { "Purge", }); internal_static_cz_proto_access_DropStreamTable_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_cz_proto_access_DropStreamTable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropStreamTable_descriptor, new java.lang.String[] { }); internal_static_cz_proto_access_DropSchema_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_cz_proto_access_DropSchema_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropSchema_descriptor, new java.lang.String[] { "Cascade", }); internal_static_cz_proto_access_DropShare_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_cz_proto_access_DropShare_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropShare_descriptor, new java.lang.String[] { "Cascade", }); internal_static_cz_proto_access_DropCatalog_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_cz_proto_access_DropCatalog_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropCatalog_descriptor, new java.lang.String[] { "Cascade", }); internal_static_cz_proto_access_DropView_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_cz_proto_access_DropView_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropView_descriptor, new java.lang.String[] { }); internal_static_cz_proto_access_DropMaterializedView_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_cz_proto_access_DropMaterializedView_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropMaterializedView_descriptor, new java.lang.String[] { }); internal_static_cz_proto_access_DropUser_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_cz_proto_access_DropUser_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropUser_descriptor, new java.lang.String[] { "UserId", "UserId", }); internal_static_cz_proto_access_DropRole_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_cz_proto_access_DropRole_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropRole_descriptor, new java.lang.String[] { }); internal_static_cz_proto_access_DropVCluster_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_cz_proto_access_DropVCluster_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropVCluster_descriptor, new java.lang.String[] { "WorkspaceId", "VcId", "Force", }); internal_static_cz_proto_access_DropFunction_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_cz_proto_access_DropFunction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropFunction_descriptor, new java.lang.String[] { }); internal_static_cz_proto_access_DropConnection_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_cz_proto_access_DropConnection_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropConnection_descriptor, new java.lang.String[] { }); internal_static_cz_proto_access_DropLocation_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_cz_proto_access_DropLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropLocation_descriptor, new java.lang.String[] { }); internal_static_cz_proto_access_DropIndex_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_cz_proto_access_DropIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropIndex_descriptor, new java.lang.String[] { }); internal_static_cz_proto_access_DropVolume_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_cz_proto_access_DropVolume_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DropVolume_descriptor, new java.lang.String[] { }); internal_static_cz_proto_access_UndropEntity_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_cz_proto_access_UndropEntity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_UndropEntity_descriptor, new java.lang.String[] { "Identifier", }); internal_static_cz_proto_access_AlterRole_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_cz_proto_access_AlterRole_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AlterRole_descriptor, new java.lang.String[] { "Comment", "Alias", "NewName", "Properties", "Comment", "Alias", "NewName", }); internal_static_cz_proto_access_AlterJob_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_cz_proto_access_AlterJob_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AlterJob_descriptor, new java.lang.String[] { "History", "Status", "EndTime", "Result", "Summary", "Cancel", "Status", "EndTime", "Result", "Cancel", }); internal_static_cz_proto_access_AlterVCluster_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_cz_proto_access_AlterVCluster_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AlterVCluster_descriptor, new java.lang.String[] { "VcId", "WorkspaceId", "Properties", "State", "UnsetTags", "VcId", "WorkspaceId", "Properties", "State", }); internal_static_cz_proto_access_AlterUser_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_cz_proto_access_AlterUser_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AlterUser_descriptor, new java.lang.String[] { "UserId", "DefaultVc", "DefaultSchema", "UserId", "DefaultVc", "DefaultSchema", }); internal_static_cz_proto_access_TruncateEntity_descriptor = getDescriptor().getMessageTypes().get(39); internal_static_cz_proto_access_TruncateEntity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_TruncateEntity_descriptor, new java.lang.String[] { "Table", "Derived", }); internal_static_cz_proto_access_TruncateTable_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_cz_proto_access_TruncateTable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_TruncateTable_descriptor, new java.lang.String[] { "Identifier", "Manifest", }); internal_static_cz_proto_access_ShowEntity_descriptor = getDescriptor().getMessageTypes().get(41); internal_static_cz_proto_access_ShowEntity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowEntity_descriptor, new java.lang.String[] { "Offset", "Limit", "Type", "User", "Role", "Privilege", "Table", "Schema", "Job", "Vcluster", "Workspace", "File", "Mv", "VclusterSpec", "Share", "Function", "Connection", "UserRole", "AccessType", "StorageLocation", "Index", "Volume", "Derived", "Offset", "Limit", }); internal_static_cz_proto_access_ShowVirtualClusterSizeSpecs_descriptor = getDescriptor().getMessageTypes().get(42); internal_static_cz_proto_access_ShowVirtualClusterSizeSpecs_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowVirtualClusterSizeSpecs_descriptor, new java.lang.String[] { }); internal_static_cz_proto_access_ShowWorkspace_descriptor = getDescriptor().getMessageTypes().get(43); internal_static_cz_proto_access_ShowWorkspace_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowWorkspace_descriptor, new java.lang.String[] { "InstanceId", }); internal_static_cz_proto_access_ShowUser_descriptor = getDescriptor().getMessageTypes().get(44); internal_static_cz_proto_access_ShowUser_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowUser_descriptor, new java.lang.String[] { "WorkspaceId", }); internal_static_cz_proto_access_ShowRole_descriptor = getDescriptor().getMessageTypes().get(45); internal_static_cz_proto_access_ShowRole_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowRole_descriptor, new java.lang.String[] { "WorkspaceId", }); internal_static_cz_proto_access_ShowGroupPrivilege_descriptor = getDescriptor().getMessageTypes().get(46); internal_static_cz_proto_access_ShowGroupPrivilege_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowGroupPrivilege_descriptor, new java.lang.String[] { "Identifier", }); internal_static_cz_proto_access_ShowUserPrivilege_descriptor = getDescriptor().getMessageTypes().get(47); internal_static_cz_proto_access_ShowUserPrivilege_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowUserPrivilege_descriptor, new java.lang.String[] { "Identifier", }); internal_static_cz_proto_access_ShowObjectPrivilege_descriptor = getDescriptor().getMessageTypes().get(48); internal_static_cz_proto_access_ShowObjectPrivilege_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowObjectPrivilege_descriptor, new java.lang.String[] { "Identifier", "Subject", }); internal_static_cz_proto_access_ShowPrivilege_descriptor = getDescriptor().getMessageTypes().get(49); internal_static_cz_proto_access_ShowPrivilege_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowPrivilege_descriptor, new java.lang.String[] { "User", "Group", "Object", "Derived", }); internal_static_cz_proto_access_ShowTable_descriptor = getDescriptor().getMessageTypes().get(50); internal_static_cz_proto_access_ShowTable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowTable_descriptor, new java.lang.String[] { "SchemaId", "Timestamp", "TableType", "ListOrderBy", "Ascending", "WithSchema", "Timestamp", "TableType", "ListOrderBy", "Ascending", "WithSchema", }); internal_static_cz_proto_access_ShowMV_descriptor = getDescriptor().getMessageTypes().get(51); internal_static_cz_proto_access_ShowMV_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowMV_descriptor, new java.lang.String[] { "MvType", "Table", "BatchTables", "Derived", "MvType", }); internal_static_cz_proto_access_ShowSchema_descriptor = getDescriptor().getMessageTypes().get(52); internal_static_cz_proto_access_ShowSchema_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowSchema_descriptor, new java.lang.String[] { "WorkspaceId", }); internal_static_cz_proto_access_ShowJob_descriptor = getDescriptor().getMessageTypes().get(53); internal_static_cz_proto_access_ShowJob_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowJob_descriptor, new java.lang.String[] { "WorkspaceId", }); internal_static_cz_proto_access_ShowVClusterFilter_descriptor = getDescriptor().getMessageTypes().get(54); internal_static_cz_proto_access_ShowVClusterFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowVClusterFilter_descriptor, new java.lang.String[] { "Pattern", "Where", "Filter", }); internal_static_cz_proto_access_ShowVCluster_descriptor = getDescriptor().getMessageTypes().get(55); internal_static_cz_proto_access_ShowVCluster_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowVCluster_descriptor, new java.lang.String[] { "WorkspaceId", "Filter", "Filter", }); internal_static_cz_proto_access_ShowFile_descriptor = getDescriptor().getMessageTypes().get(56); internal_static_cz_proto_access_ShowFile_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowFile_descriptor, new java.lang.String[] { "Table", "TablePartitions", "Derived", }); internal_static_cz_proto_access_ShowStorageLocation_descriptor = getDescriptor().getMessageTypes().get(57); internal_static_cz_proto_access_ShowStorageLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowStorageLocation_descriptor, new java.lang.String[] { "WorkspaceId", }); internal_static_cz_proto_access_ShowVolume_descriptor = getDescriptor().getMessageTypes().get(58); internal_static_cz_proto_access_ShowVolume_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowVolume_descriptor, new java.lang.String[] { "SchemaId", }); internal_static_cz_proto_access_TablePartitions_descriptor = getDescriptor().getMessageTypes().get(59); internal_static_cz_proto_access_TablePartitions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_TablePartitions_descriptor, new java.lang.String[] { "Table", "Partitions", }); internal_static_cz_proto_access_PartitionConstant_descriptor = getDescriptor().getMessageTypes().get(60); internal_static_cz_proto_access_PartitionConstant_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_PartitionConstant_descriptor, new java.lang.String[] { "PartitionFields", }); internal_static_cz_proto_access_PartitionFieldConstant_descriptor = getDescriptor().getMessageTypes().get(61); internal_static_cz_proto_access_PartitionFieldConstant_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_PartitionFieldConstant_descriptor, new java.lang.String[] { "FieldName", "Value", }); internal_static_cz_proto_access_ShowShare_descriptor = getDescriptor().getMessageTypes().get(62); internal_static_cz_proto_access_ShowShare_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowShare_descriptor, new java.lang.String[] { "InstanceId", }); internal_static_cz_proto_access_ShowFunction_descriptor = getDescriptor().getMessageTypes().get(63); internal_static_cz_proto_access_ShowFunction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowFunction_descriptor, new java.lang.String[] { "SchemaId", }); internal_static_cz_proto_access_ShowConnection_descriptor = getDescriptor().getMessageTypes().get(64); internal_static_cz_proto_access_ShowConnection_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowConnection_descriptor, new java.lang.String[] { "WorkspaceId", }); internal_static_cz_proto_access_ShowUserRole_descriptor = getDescriptor().getMessageTypes().get(65); internal_static_cz_proto_access_ShowUserRole_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowUserRole_descriptor, new java.lang.String[] { "WorkspaceId", "User", "Role", "User", "Role", }); internal_static_cz_proto_access_ShowAccessType_descriptor = getDescriptor().getMessageTypes().get(66); internal_static_cz_proto_access_ShowAccessType_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowAccessType_descriptor, new java.lang.String[] { "Service", "EntityType", "Service", }); internal_static_cz_proto_access_ShowIndex_descriptor = getDescriptor().getMessageTypes().get(67); internal_static_cz_proto_access_ShowIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_ShowIndex_descriptor, new java.lang.String[] { "TableId", }); internal_static_cz_proto_access_GetEntity_descriptor = getDescriptor().getMessageTypes().get(68); internal_static_cz_proto_access_GetEntity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_GetEntity_descriptor, new java.lang.String[] { "Identifier", "User", "Vc", "Workspace", "Table", "Derived", }); internal_static_cz_proto_access_GetUser_descriptor = getDescriptor().getMessageTypes().get(69); internal_static_cz_proto_access_GetUser_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_GetUser_descriptor, new java.lang.String[] { "UserId", }); internal_static_cz_proto_access_GetVirtualCluster_descriptor = getDescriptor().getMessageTypes().get(70); internal_static_cz_proto_access_GetVirtualCluster_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_GetVirtualCluster_descriptor, new java.lang.String[] { "WorkspaceId", "VcId", }); internal_static_cz_proto_access_GetWorkspace_descriptor = getDescriptor().getMessageTypes().get(71); internal_static_cz_proto_access_GetWorkspace_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_GetWorkspace_descriptor, new java.lang.String[] { "WorkspaceId", "WorkspaceId", }); internal_static_cz_proto_access_GetTable_descriptor = getDescriptor().getMessageTypes().get(72); internal_static_cz_proto_access_GetTable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_GetTable_descriptor, new java.lang.String[] { "ForRead", "ForRead", }); internal_static_cz_proto_access_GetEntityStats_descriptor = getDescriptor().getMessageTypes().get(73); internal_static_cz_proto_access_GetEntityStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_GetEntityStats_descriptor, new java.lang.String[] { "Identifier", }); internal_static_cz_proto_access_BatchGetEntityStats_descriptor = getDescriptor().getMessageTypes().get(74); internal_static_cz_proto_access_BatchGetEntityStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_BatchGetEntityStats_descriptor, new java.lang.String[] { "Parent", "EntityType", "EntityName", }); internal_static_cz_proto_access_BatchGetEntity_descriptor = getDescriptor().getMessageTypes().get(75); internal_static_cz_proto_access_BatchGetEntity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_BatchGetEntity_descriptor, new java.lang.String[] { "Parent", "EntityType", "EntityName", "User", "Table", "Entity", }); internal_static_cz_proto_access_BatchGetUser_descriptor = getDescriptor().getMessageTypes().get(76); internal_static_cz_proto_access_BatchGetUser_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_BatchGetUser_descriptor, new java.lang.String[] { "UserId", }); internal_static_cz_proto_access_BatchGetTable_descriptor = getDescriptor().getMessageTypes().get(77); internal_static_cz_proto_access_BatchGetTable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_BatchGetTable_descriptor, new java.lang.String[] { "ForRead", "ForRead", }); internal_static_cz_proto_access_DDL_descriptor = getDescriptor().getMessageTypes().get(78); internal_static_cz_proto_access_DDL_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DDL_descriptor, new java.lang.String[] { "CreateEntity", "DropEntity", "AlterEntity", "TruncateEntity", "UndropEntity", "Command", }); internal_static_cz_proto_access_DCL_descriptor = getDescriptor().getMessageTypes().get(79); internal_static_cz_proto_access_DCL_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DCL_descriptor, new java.lang.String[] { "Grant", "Revoke", "Check", "Command", }); internal_static_cz_proto_access_DQL_descriptor = getDescriptor().getMessageTypes().get(80); internal_static_cz_proto_access_DQL_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DQL_descriptor, new java.lang.String[] { "ShowEntity", "GetEntity", "GetEntityStats", "BatchGetEntity", "BatchGetEntityStats", "Command", }); internal_static_cz_proto_access_AppendTable_descriptor = getDescriptor().getMessageTypes().get(81); internal_static_cz_proto_access_AppendTable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AppendTable_descriptor, new java.lang.String[] { "Manifest", }); internal_static_cz_proto_access_AppendEntity_descriptor = getDescriptor().getMessageTypes().get(82); internal_static_cz_proto_access_AppendEntity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AppendEntity_descriptor, new java.lang.String[] { "Identifier", "AppendTable", "Derived", }); internal_static_cz_proto_access_RewriteTable_descriptor = getDescriptor().getMessageTypes().get(83); internal_static_cz_proto_access_RewriteTable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_RewriteTable_descriptor, new java.lang.String[] { "Manifest", }); internal_static_cz_proto_access_RewriteEntity_descriptor = getDescriptor().getMessageTypes().get(84); internal_static_cz_proto_access_RewriteEntity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_RewriteEntity_descriptor, new java.lang.String[] { "Identifier", "RewriteTable", "Derived", }); internal_static_cz_proto_access_OverwriteTable_descriptor = getDescriptor().getMessageTypes().get(85); internal_static_cz_proto_access_OverwriteTable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_OverwriteTable_descriptor, new java.lang.String[] { "Manifest", }); internal_static_cz_proto_access_OverwriteEntity_descriptor = getDescriptor().getMessageTypes().get(86); internal_static_cz_proto_access_OverwriteEntity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_OverwriteEntity_descriptor, new java.lang.String[] { "Identifier", "OverwriteTable", "Derived", }); internal_static_cz_proto_access_DML_descriptor = getDescriptor().getMessageTypes().get(87); internal_static_cz_proto_access_DML_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_DML_descriptor, new java.lang.String[] { "AppendEntity", "OverwriteEntity", "RewriteEntity", "Command", }); internal_static_cz_proto_access_AccessStatement_descriptor = getDescriptor().getMessageTypes().get(88); internal_static_cz_proto_access_AccessStatement_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_access_AccessStatement_descriptor, new java.lang.String[] { "Operator", "Type", "Ddl", "Dcl", "Dql", "Dml", "InTransaction", "Statement", "Operator", }); cz.proto.MetadataEntity.getDescriptor(); cz.proto.AccountOuterClass.getDescriptor(); cz.proto.ObjectIdentifierOuterClass.getDescriptor(); cz.proto.access.PrivilegeOuterClass.getDescriptor(); cz.proto.PropertyOuterClass.getDescriptor(); cz.proto.JobMetaOuterClass.getDescriptor(); com.clickzetta.rm.proto.VirtualClusterProtos.getDescriptor(); com.clickzetta.rm.proto.VirtualClusterManagementProtos.getDescriptor(); cz.proto.ManifestProto.getDescriptor(); cz.proto.TableCommon.getDescriptor(); cz.proto.Expression.getDescriptor(); cz.proto.TableMetaOuterClass.getDescriptor(); cz.proto.DataTypeOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy