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

cz.proto.Table Maven / Gradle / Ivy

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

package cz.proto;

/**
 * Protobuf type {@code cz.proto.Table}
 */
public final class Table extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:cz.proto.Table)
    TableOrBuilder {
private static final long serialVersionUID = 0L;
  // Use Table.newBuilder() to construct.
  private Table(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private Table() {
    path_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    properties_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private Table(
      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)) {
              path_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            path_.add(s);
            break;
          }
          case 18: {
            cz.proto.TableMeta.Builder subBuilder = null;
            if (tableMeta_ != null) {
              subBuilder = tableMeta_.toBuilder();
            }
            tableMeta_ = input.readMessage(cz.proto.TableMeta.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(tableMeta_);
              tableMeta_ = subBuilder.buildPartial();
            }

            break;
          }
          case 24: {

            instanceId_ = input.readInt64();
            break;
          }
          case 48: {

            tableId_ = input.readInt64();
            break;
          }
          case 66: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              properties_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            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)) {
        path_ = path_.getUnmodifiableView();
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        properties_ = java.util.Collections.unmodifiableList(properties_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return cz.proto.OperatorProto.internal_static_cz_proto_Table_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return cz.proto.OperatorProto.internal_static_cz_proto_Table_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            cz.proto.Table.class, cz.proto.Table.Builder.class);
  }

  public static final int PATH_FIELD_NUMBER = 1;
  private com.google.protobuf.LazyStringList path_;
  /**
   * repeated string path = 1;
   * @return A list containing the path.
   */
  public com.google.protobuf.ProtocolStringList
      getPathList() {
    return path_;
  }
  /**
   * repeated string path = 1;
   * @return The count of path.
   */
  public int getPathCount() {
    return path_.size();
  }
  /**
   * repeated string path = 1;
   * @param index The index of the element to return.
   * @return The path at the given index.
   */
  public java.lang.String getPath(int index) {
    return path_.get(index);
  }
  /**
   * repeated string path = 1;
   * @param index The index of the value to return.
   * @return The bytes of the path at the given index.
   */
  public com.google.protobuf.ByteString
      getPathBytes(int index) {
    return path_.getByteString(index);
  }

  public static final int TABLE_META_FIELD_NUMBER = 2;
  private cz.proto.TableMeta tableMeta_;
  /**
   * .cz.proto.TableMeta table_meta = 2;
   * @return Whether the tableMeta field is set.
   */
  @java.lang.Override
  public boolean hasTableMeta() {
    return tableMeta_ != null;
  }
  /**
   * .cz.proto.TableMeta table_meta = 2;
   * @return The tableMeta.
   */
  @java.lang.Override
  public cz.proto.TableMeta getTableMeta() {
    return tableMeta_ == null ? cz.proto.TableMeta.getDefaultInstance() : tableMeta_;
  }
  /**
   * .cz.proto.TableMeta table_meta = 2;
   */
  @java.lang.Override
  public cz.proto.TableMetaOrBuilder getTableMetaOrBuilder() {
    return getTableMeta();
  }

  public static final int INSTANCE_ID_FIELD_NUMBER = 3;
  private long instanceId_;
  /**
   * int64 instance_id = 3;
   * @return The instanceId.
   */
  @java.lang.Override
  public long getInstanceId() {
    return instanceId_;
  }

  public static final int TABLE_ID_FIELD_NUMBER = 6;
  private long tableId_;
  /**
   * int64 table_id = 6;
   * @return The tableId.
   */
  @java.lang.Override
  public long getTableId() {
    return tableId_;
  }

  public static final int PROPERTIES_FIELD_NUMBER = 8;
  private java.util.List properties_;
  /**
   * repeated .cz.proto.Property properties = 8;
   */
  @java.lang.Override
  public java.util.List getPropertiesList() {
    return properties_;
  }
  /**
   * repeated .cz.proto.Property properties = 8;
   */
  @java.lang.Override
  public java.util.List 
      getPropertiesOrBuilderList() {
    return properties_;
  }
  /**
   * repeated .cz.proto.Property properties = 8;
   */
  @java.lang.Override
  public int getPropertiesCount() {
    return properties_.size();
  }
  /**
   * repeated .cz.proto.Property properties = 8;
   */
  @java.lang.Override
  public cz.proto.PropertyOuterClass.Property getProperties(int index) {
    return properties_.get(index);
  }
  /**
   * repeated .cz.proto.Property properties = 8;
   */
  @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 {
    for (int i = 0; i < path_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_.getRaw(i));
    }
    if (tableMeta_ != null) {
      output.writeMessage(2, getTableMeta());
    }
    if (instanceId_ != 0L) {
      output.writeInt64(3, instanceId_);
    }
    if (tableId_ != 0L) {
      output.writeInt64(6, tableId_);
    }
    for (int i = 0; i < properties_.size(); i++) {
      output.writeMessage(8, properties_.get(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 < path_.size(); i++) {
        dataSize += computeStringSizeNoTag(path_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getPathList().size();
    }
    if (tableMeta_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, getTableMeta());
    }
    if (instanceId_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(3, instanceId_);
    }
    if (tableId_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(6, tableId_);
    }
    for (int i = 0; i < properties_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(8, 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.Table)) {
      return super.equals(obj);
    }
    cz.proto.Table other = (cz.proto.Table) obj;

    if (!getPathList()
        .equals(other.getPathList())) return false;
    if (hasTableMeta() != other.hasTableMeta()) return false;
    if (hasTableMeta()) {
      if (!getTableMeta()
          .equals(other.getTableMeta())) return false;
    }
    if (getInstanceId()
        != other.getInstanceId()) return false;
    if (getTableId()
        != other.getTableId()) 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 (getPathCount() > 0) {
      hash = (37 * hash) + PATH_FIELD_NUMBER;
      hash = (53 * hash) + getPathList().hashCode();
    }
    if (hasTableMeta()) {
      hash = (37 * hash) + TABLE_META_FIELD_NUMBER;
      hash = (53 * hash) + getTableMeta().hashCode();
    }
    hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getInstanceId());
    hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getTableId());
    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.Table parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static cz.proto.Table parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static cz.proto.Table parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static cz.proto.Table 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.Table parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static cz.proto.Table parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static cz.proto.Table parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static cz.proto.Table 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.Table parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static cz.proto.Table 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.Table parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static cz.proto.Table 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.Table 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.Table}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:cz.proto.Table)
      cz.proto.TableOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cz.proto.OperatorProto.internal_static_cz_proto_Table_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.OperatorProto.internal_static_cz_proto_Table_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.Table.class, cz.proto.Table.Builder.class);
    }

    // Construct using cz.proto.Table.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();
      path_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000001);
      if (tableMetaBuilder_ == null) {
        tableMeta_ = null;
      } else {
        tableMeta_ = null;
        tableMetaBuilder_ = null;
      }
      instanceId_ = 0L;

      tableId_ = 0L;

      if (propertiesBuilder_ == null) {
        properties_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
      } else {
        propertiesBuilder_.clear();
      }
      return this;
    }

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

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

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

    @java.lang.Override
    public cz.proto.Table buildPartial() {
      cz.proto.Table result = new cz.proto.Table(this);
      int from_bitField0_ = bitField0_;
      if (((bitField0_ & 0x00000001) != 0)) {
        path_ = path_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00000001);
      }
      result.path_ = path_;
      if (tableMetaBuilder_ == null) {
        result.tableMeta_ = tableMeta_;
      } else {
        result.tableMeta_ = tableMetaBuilder_.build();
      }
      result.instanceId_ = instanceId_;
      result.tableId_ = tableId_;
      if (propertiesBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)) {
          properties_ = java.util.Collections.unmodifiableList(properties_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        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.Table) {
        return mergeFrom((cz.proto.Table)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(cz.proto.Table other) {
      if (other == cz.proto.Table.getDefaultInstance()) return this;
      if (!other.path_.isEmpty()) {
        if (path_.isEmpty()) {
          path_ = other.path_;
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          ensurePathIsMutable();
          path_.addAll(other.path_);
        }
        onChanged();
      }
      if (other.hasTableMeta()) {
        mergeTableMeta(other.getTableMeta());
      }
      if (other.getInstanceId() != 0L) {
        setInstanceId(other.getInstanceId());
      }
      if (other.getTableId() != 0L) {
        setTableId(other.getTableId());
      }
      if (propertiesBuilder_ == null) {
        if (!other.properties_.isEmpty()) {
          if (properties_.isEmpty()) {
            properties_ = other.properties_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensurePropertiesIsMutable();
            properties_.addAll(other.properties_);
          }
          onChanged();
        }
      } else {
        if (!other.properties_.isEmpty()) {
          if (propertiesBuilder_.isEmpty()) {
            propertiesBuilder_.dispose();
            propertiesBuilder_ = null;
            properties_ = other.properties_;
            bitField0_ = (bitField0_ & ~0x00000002);
            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.Table parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (cz.proto.Table) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private com.google.protobuf.LazyStringList path_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    private void ensurePathIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        path_ = new com.google.protobuf.LazyStringArrayList(path_);
        bitField0_ |= 0x00000001;
       }
    }
    /**
     * repeated string path = 1;
     * @return A list containing the path.
     */
    public com.google.protobuf.ProtocolStringList
        getPathList() {
      return path_.getUnmodifiableView();
    }
    /**
     * repeated string path = 1;
     * @return The count of path.
     */
    public int getPathCount() {
      return path_.size();
    }
    /**
     * repeated string path = 1;
     * @param index The index of the element to return.
     * @return The path at the given index.
     */
    public java.lang.String getPath(int index) {
      return path_.get(index);
    }
    /**
     * repeated string path = 1;
     * @param index The index of the value to return.
     * @return The bytes of the path at the given index.
     */
    public com.google.protobuf.ByteString
        getPathBytes(int index) {
      return path_.getByteString(index);
    }
    /**
     * repeated string path = 1;
     * @param index The index to set the value at.
     * @param value The path to set.
     * @return This builder for chaining.
     */
    public Builder setPath(
        int index, java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensurePathIsMutable();
      path_.set(index, value);
      onChanged();
      return this;
    }
    /**
     * repeated string path = 1;
     * @param value The path to add.
     * @return This builder for chaining.
     */
    public Builder addPath(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensurePathIsMutable();
      path_.add(value);
      onChanged();
      return this;
    }
    /**
     * repeated string path = 1;
     * @param values The path to add.
     * @return This builder for chaining.
     */
    public Builder addAllPath(
        java.lang.Iterable values) {
      ensurePathIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, path_);
      onChanged();
      return this;
    }
    /**
     * repeated string path = 1;
     * @return This builder for chaining.
     */
    public Builder clearPath() {
      path_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * repeated string path = 1;
     * @param value The bytes of the path to add.
     * @return This builder for chaining.
     */
    public Builder addPathBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      ensurePathIsMutable();
      path_.add(value);
      onChanged();
      return this;
    }

    private cz.proto.TableMeta tableMeta_;
    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.TableMeta, cz.proto.TableMeta.Builder, cz.proto.TableMetaOrBuilder> tableMetaBuilder_;
    /**
     * .cz.proto.TableMeta table_meta = 2;
     * @return Whether the tableMeta field is set.
     */
    public boolean hasTableMeta() {
      return tableMetaBuilder_ != null || tableMeta_ != null;
    }
    /**
     * .cz.proto.TableMeta table_meta = 2;
     * @return The tableMeta.
     */
    public cz.proto.TableMeta getTableMeta() {
      if (tableMetaBuilder_ == null) {
        return tableMeta_ == null ? cz.proto.TableMeta.getDefaultInstance() : tableMeta_;
      } else {
        return tableMetaBuilder_.getMessage();
      }
    }
    /**
     * .cz.proto.TableMeta table_meta = 2;
     */
    public Builder setTableMeta(cz.proto.TableMeta value) {
      if (tableMetaBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        tableMeta_ = value;
        onChanged();
      } else {
        tableMetaBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .cz.proto.TableMeta table_meta = 2;
     */
    public Builder setTableMeta(
        cz.proto.TableMeta.Builder builderForValue) {
      if (tableMetaBuilder_ == null) {
        tableMeta_ = builderForValue.build();
        onChanged();
      } else {
        tableMetaBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .cz.proto.TableMeta table_meta = 2;
     */
    public Builder mergeTableMeta(cz.proto.TableMeta value) {
      if (tableMetaBuilder_ == null) {
        if (tableMeta_ != null) {
          tableMeta_ =
            cz.proto.TableMeta.newBuilder(tableMeta_).mergeFrom(value).buildPartial();
        } else {
          tableMeta_ = value;
        }
        onChanged();
      } else {
        tableMetaBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .cz.proto.TableMeta table_meta = 2;
     */
    public Builder clearTableMeta() {
      if (tableMetaBuilder_ == null) {
        tableMeta_ = null;
        onChanged();
      } else {
        tableMeta_ = null;
        tableMetaBuilder_ = null;
      }

      return this;
    }
    /**
     * .cz.proto.TableMeta table_meta = 2;
     */
    public cz.proto.TableMeta.Builder getTableMetaBuilder() {
      
      onChanged();
      return getTableMetaFieldBuilder().getBuilder();
    }
    /**
     * .cz.proto.TableMeta table_meta = 2;
     */
    public cz.proto.TableMetaOrBuilder getTableMetaOrBuilder() {
      if (tableMetaBuilder_ != null) {
        return tableMetaBuilder_.getMessageOrBuilder();
      } else {
        return tableMeta_ == null ?
            cz.proto.TableMeta.getDefaultInstance() : tableMeta_;
      }
    }
    /**
     * .cz.proto.TableMeta table_meta = 2;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.TableMeta, cz.proto.TableMeta.Builder, cz.proto.TableMetaOrBuilder> 
        getTableMetaFieldBuilder() {
      if (tableMetaBuilder_ == null) {
        tableMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            cz.proto.TableMeta, cz.proto.TableMeta.Builder, cz.proto.TableMetaOrBuilder>(
                getTableMeta(),
                getParentForChildren(),
                isClean());
        tableMeta_ = null;
      }
      return tableMetaBuilder_;
    }

    private long instanceId_ ;
    /**
     * int64 instance_id = 3;
     * @return The instanceId.
     */
    @java.lang.Override
    public long getInstanceId() {
      return instanceId_;
    }
    /**
     * int64 instance_id = 3;
     * @param value The instanceId to set.
     * @return This builder for chaining.
     */
    public Builder setInstanceId(long value) {
      
      instanceId_ = value;
      onChanged();
      return this;
    }
    /**
     * int64 instance_id = 3;
     * @return This builder for chaining.
     */
    public Builder clearInstanceId() {
      
      instanceId_ = 0L;
      onChanged();
      return this;
    }

    private long tableId_ ;
    /**
     * int64 table_id = 6;
     * @return The tableId.
     */
    @java.lang.Override
    public long getTableId() {
      return tableId_;
    }
    /**
     * int64 table_id = 6;
     * @param value The tableId to set.
     * @return This builder for chaining.
     */
    public Builder setTableId(long value) {
      
      tableId_ = value;
      onChanged();
      return this;
    }
    /**
     * int64 table_id = 6;
     * @return This builder for chaining.
     */
    public Builder clearTableId() {
      
      tableId_ = 0L;
      onChanged();
      return this;
    }

    private java.util.List properties_ =
      java.util.Collections.emptyList();
    private void ensurePropertiesIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        properties_ = new java.util.ArrayList(properties_);
        bitField0_ |= 0x00000002;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        cz.proto.PropertyOuterClass.Property, cz.proto.PropertyOuterClass.Property.Builder, cz.proto.PropertyOuterClass.PropertyOrBuilder> propertiesBuilder_;

    /**
     * repeated .cz.proto.Property properties = 8;
     */
    public java.util.List getPropertiesList() {
      if (propertiesBuilder_ == null) {
        return java.util.Collections.unmodifiableList(properties_);
      } else {
        return propertiesBuilder_.getMessageList();
      }
    }
    /**
     * repeated .cz.proto.Property properties = 8;
     */
    public int getPropertiesCount() {
      if (propertiesBuilder_ == null) {
        return properties_.size();
      } else {
        return propertiesBuilder_.getCount();
      }
    }
    /**
     * repeated .cz.proto.Property properties = 8;
     */
    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 = 8;
     */
    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 = 8;
     */
    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 = 8;
     */
    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 = 8;
     */
    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 = 8;
     */
    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 = 8;
     */
    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 = 8;
     */
    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 = 8;
     */
    public Builder clearProperties() {
      if (propertiesBuilder_ == null) {
        properties_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
      } else {
        propertiesBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .cz.proto.Property properties = 8;
     */
    public Builder removeProperties(int index) {
      if (propertiesBuilder_ == null) {
        ensurePropertiesIsMutable();
        properties_.remove(index);
        onChanged();
      } else {
        propertiesBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .cz.proto.Property properties = 8;
     */
    public cz.proto.PropertyOuterClass.Property.Builder getPropertiesBuilder(
        int index) {
      return getPropertiesFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .cz.proto.Property properties = 8;
     */
    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 = 8;
     */
    public java.util.List 
         getPropertiesOrBuilderList() {
      if (propertiesBuilder_ != null) {
        return propertiesBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(properties_);
      }
    }
    /**
     * repeated .cz.proto.Property properties = 8;
     */
    public cz.proto.PropertyOuterClass.Property.Builder addPropertiesBuilder() {
      return getPropertiesFieldBuilder().addBuilder(
          cz.proto.PropertyOuterClass.Property.getDefaultInstance());
    }
    /**
     * repeated .cz.proto.Property properties = 8;
     */
    public cz.proto.PropertyOuterClass.Property.Builder addPropertiesBuilder(
        int index) {
      return getPropertiesFieldBuilder().addBuilder(
          index, cz.proto.PropertyOuterClass.Property.getDefaultInstance());
    }
    /**
     * repeated .cz.proto.Property properties = 8;
     */
    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_ & 0x00000002) != 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.Table)
  }

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

  public static cz.proto.Table getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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