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

org.hyperledger.protos.TableProto Maven / Gradle / Ivy

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

package org.hyperledger.protos;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface ColumnDefinitionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:shim.ColumnDefinition)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional string name = 1;
     */
    java.lang.String getName();
    /**
     * optional string name = 1;
     */
    com.google.protobuf.ByteString
        getNameBytes();

    /**
     * optional .shim.ColumnDefinition.Type type = 2;
     */
    int getTypeValue();
    /**
     * optional .shim.ColumnDefinition.Type type = 2;
     */
    org.hyperledger.protos.TableProto.ColumnDefinition.Type getType();

    /**
     * optional bool key = 3;
     */
    boolean getKey();
  }
  /**
   * Protobuf type {@code shim.ColumnDefinition}
   */
  public  static final class ColumnDefinition extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:shim.ColumnDefinition)
      ColumnDefinitionOrBuilder {
    // Use ColumnDefinition.newBuilder() to construct.
    private ColumnDefinition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ColumnDefinition() {
      name_ = "";
      type_ = 0;
      key_ = false;
    }

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

              name_ = s;
              break;
            }
            case 16: {
              int rawValue = input.readEnum();

              type_ = rawValue;
              break;
            }
            case 24: {

              key_ = input.readBool();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.hyperledger.protos.TableProto.internal_static_shim_ColumnDefinition_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.hyperledger.protos.TableProto.internal_static_shim_ColumnDefinition_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.hyperledger.protos.TableProto.ColumnDefinition.class, org.hyperledger.protos.TableProto.ColumnDefinition.Builder.class);
    }

    /**
     * Protobuf enum {@code shim.ColumnDefinition.Type}
     */
    public enum Type
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * STRING = 0;
       */
      STRING(0),
      /**
       * INT32 = 1;
       */
      INT32(1),
      /**
       * INT64 = 2;
       */
      INT64(2),
      /**
       * UINT32 = 3;
       */
      UINT32(3),
      /**
       * UINT64 = 4;
       */
      UINT64(4),
      /**
       * BYTES = 5;
       */
      BYTES(5),
      /**
       * BOOL = 6;
       */
      BOOL(6),
      UNRECOGNIZED(-1),
      ;

      /**
       * STRING = 0;
       */
      public static final int STRING_VALUE = 0;
      /**
       * INT32 = 1;
       */
      public static final int INT32_VALUE = 1;
      /**
       * INT64 = 2;
       */
      public static final int INT64_VALUE = 2;
      /**
       * UINT32 = 3;
       */
      public static final int UINT32_VALUE = 3;
      /**
       * UINT64 = 4;
       */
      public static final int UINT64_VALUE = 4;
      /**
       * BYTES = 5;
       */
      public static final int BYTES_VALUE = 5;
      /**
       * BOOL = 6;
       */
      public static final int BOOL_VALUE = 6;


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

      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static Type valueOf(int value) {
        return forNumber(value);
      }

      public static Type forNumber(int value) {
        switch (value) {
          case 0: return STRING;
          case 1: return INT32;
          case 2: return INT64;
          case 3: return UINT32;
          case 4: return UINT64;
          case 5: return BYTES;
          case 6: return BOOL;
          default: return null;
        }
      }

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

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        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 org.hyperledger.protos.TableProto.ColumnDefinition.getDescriptor().getEnumTypes().get(0);
      }

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

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

      // @@protoc_insertion_point(enum_scope:shim.ColumnDefinition.Type)
    }

    public static final int NAME_FIELD_NUMBER = 1;
    private volatile java.lang.Object name_;
    /**
     * optional string name = 1;
     */
    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;
      }
    }
    /**
     * optional string name = 1;
     */
    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 TYPE_FIELD_NUMBER = 2;
    private int type_;
    /**
     * optional .shim.ColumnDefinition.Type type = 2;
     */
    public int getTypeValue() {
      return type_;
    }
    /**
     * optional .shim.ColumnDefinition.Type type = 2;
     */
    public org.hyperledger.protos.TableProto.ColumnDefinition.Type getType() {
      org.hyperledger.protos.TableProto.ColumnDefinition.Type result = org.hyperledger.protos.TableProto.ColumnDefinition.Type.valueOf(type_);
      return result == null ? org.hyperledger.protos.TableProto.ColumnDefinition.Type.UNRECOGNIZED : result;
    }

    public static final int KEY_FIELD_NUMBER = 3;
    private boolean key_;
    /**
     * optional bool key = 3;
     */
    public boolean getKey() {
      return key_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
      }
      if (type_ != org.hyperledger.protos.TableProto.ColumnDefinition.Type.STRING.getNumber()) {
        output.writeEnum(2, type_);
      }
      if (key_ != false) {
        output.writeBool(3, key_);
      }
    }

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

      size = 0;
      if (!getNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
      }
      if (type_ != org.hyperledger.protos.TableProto.ColumnDefinition.Type.STRING.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, type_);
      }
      if (key_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(3, key_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof org.hyperledger.protos.TableProto.ColumnDefinition)) {
        return super.equals(obj);
      }
      org.hyperledger.protos.TableProto.ColumnDefinition other = (org.hyperledger.protos.TableProto.ColumnDefinition) obj;

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

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      hash = (37 * hash) + NAME_FIELD_NUMBER;
      hash = (53 * hash) + getName().hashCode();
      hash = (37 * hash) + TYPE_FIELD_NUMBER;
      hash = (53 * hash) + type_;
      hash = (37 * hash) + KEY_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getKey());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.hyperledger.protos.TableProto.ColumnDefinition parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.hyperledger.protos.TableProto.ColumnDefinition parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.hyperledger.protos.TableProto.ColumnDefinition parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.hyperledger.protos.TableProto.ColumnDefinition parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.hyperledger.protos.TableProto.ColumnDefinition parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.hyperledger.protos.TableProto.ColumnDefinition 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 org.hyperledger.protos.TableProto.ColumnDefinition parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.hyperledger.protos.TableProto.ColumnDefinition 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 org.hyperledger.protos.TableProto.ColumnDefinition parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.hyperledger.protos.TableProto.ColumnDefinition parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(org.hyperledger.protos.TableProto.ColumnDefinition prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code shim.ColumnDefinition}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:shim.ColumnDefinition)
        org.hyperledger.protos.TableProto.ColumnDefinitionOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.hyperledger.protos.TableProto.internal_static_shim_ColumnDefinition_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.hyperledger.protos.TableProto.internal_static_shim_ColumnDefinition_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.hyperledger.protos.TableProto.ColumnDefinition.class, org.hyperledger.protos.TableProto.ColumnDefinition.Builder.class);
      }

      // Construct using org.hyperledger.protos.TableProto.ColumnDefinition.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        type_ = 0;

        key_ = false;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.hyperledger.protos.TableProto.internal_static_shim_ColumnDefinition_descriptor;
      }

      public org.hyperledger.protos.TableProto.ColumnDefinition getDefaultInstanceForType() {
        return org.hyperledger.protos.TableProto.ColumnDefinition.getDefaultInstance();
      }

      public org.hyperledger.protos.TableProto.ColumnDefinition build() {
        org.hyperledger.protos.TableProto.ColumnDefinition result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public org.hyperledger.protos.TableProto.ColumnDefinition buildPartial() {
        org.hyperledger.protos.TableProto.ColumnDefinition result = new org.hyperledger.protos.TableProto.ColumnDefinition(this);
        result.name_ = name_;
        result.type_ = type_;
        result.key_ = key_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof org.hyperledger.protos.TableProto.ColumnDefinition) {
          return mergeFrom((org.hyperledger.protos.TableProto.ColumnDefinition)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.hyperledger.protos.TableProto.ColumnDefinition other) {
        if (other == org.hyperledger.protos.TableProto.ColumnDefinition.getDefaultInstance()) return this;
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          onChanged();
        }
        if (other.type_ != 0) {
          setTypeValue(other.getTypeValue());
        }
        if (other.getKey() != false) {
          setKey(other.getKey());
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.hyperledger.protos.TableProto.ColumnDefinition parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.hyperledger.protos.TableProto.ColumnDefinition) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object name_ = "";
      /**
       * optional string name = 1;
       */
      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;
        }
      }
      /**
       * optional string name = 1;
       */
      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;
        }
      }
      /**
       * optional string name = 1;
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        name_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string name = 1;
       */
      public Builder clearName() {
        
        name_ = getDefaultInstance().getName();
        onChanged();
        return this;
      }
      /**
       * optional string name = 1;
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        name_ = value;
        onChanged();
        return this;
      }

      private int type_ = 0;
      /**
       * optional .shim.ColumnDefinition.Type type = 2;
       */
      public int getTypeValue() {
        return type_;
      }
      /**
       * optional .shim.ColumnDefinition.Type type = 2;
       */
      public Builder setTypeValue(int value) {
        type_ = value;
        onChanged();
        return this;
      }
      /**
       * optional .shim.ColumnDefinition.Type type = 2;
       */
      public org.hyperledger.protos.TableProto.ColumnDefinition.Type getType() {
        org.hyperledger.protos.TableProto.ColumnDefinition.Type result = org.hyperledger.protos.TableProto.ColumnDefinition.Type.valueOf(type_);
        return result == null ? org.hyperledger.protos.TableProto.ColumnDefinition.Type.UNRECOGNIZED : result;
      }
      /**
       * optional .shim.ColumnDefinition.Type type = 2;
       */
      public Builder setType(org.hyperledger.protos.TableProto.ColumnDefinition.Type value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        type_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * optional .shim.ColumnDefinition.Type type = 2;
       */
      public Builder clearType() {
        
        type_ = 0;
        onChanged();
        return this;
      }

      private boolean key_ ;
      /**
       * optional bool key = 3;
       */
      public boolean getKey() {
        return key_;
      }
      /**
       * optional bool key = 3;
       */
      public Builder setKey(boolean value) {
        
        key_ = value;
        onChanged();
        return this;
      }
      /**
       * optional bool key = 3;
       */
      public Builder clearKey() {
        
        key_ = false;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:shim.ColumnDefinition)
    }

    // @@protoc_insertion_point(class_scope:shim.ColumnDefinition)
    private static final org.hyperledger.protos.TableProto.ColumnDefinition DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.hyperledger.protos.TableProto.ColumnDefinition();
    }

    public static org.hyperledger.protos.TableProto.ColumnDefinition getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public org.hyperledger.protos.TableProto.ColumnDefinition getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface TableOrBuilder extends
      // @@protoc_insertion_point(interface_extends:shim.Table)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional string name = 1;
     */
    java.lang.String getName();
    /**
     * optional string name = 1;
     */
    com.google.protobuf.ByteString
        getNameBytes();

    /**
     * repeated .shim.ColumnDefinition columnDefinitions = 2;
     */
    java.util.List 
        getColumnDefinitionsList();
    /**
     * repeated .shim.ColumnDefinition columnDefinitions = 2;
     */
    org.hyperledger.protos.TableProto.ColumnDefinition getColumnDefinitions(int index);
    /**
     * repeated .shim.ColumnDefinition columnDefinitions = 2;
     */
    int getColumnDefinitionsCount();
    /**
     * repeated .shim.ColumnDefinition columnDefinitions = 2;
     */
    java.util.List 
        getColumnDefinitionsOrBuilderList();
    /**
     * repeated .shim.ColumnDefinition columnDefinitions = 2;
     */
    org.hyperledger.protos.TableProto.ColumnDefinitionOrBuilder getColumnDefinitionsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code shim.Table}
   */
  public  static final class Table extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:shim.Table)
      TableOrBuilder {
    // Use Table.newBuilder() to construct.
    private Table(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private Table() {
      name_ = "";
      columnDefinitions_ = java.util.Collections.emptyList();
    }

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

              name_ = s;
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                columnDefinitions_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              columnDefinitions_.add(
                  input.readMessage(org.hyperledger.protos.TableProto.ColumnDefinition.parser(), extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          columnDefinitions_ = java.util.Collections.unmodifiableList(columnDefinitions_);
        }
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.hyperledger.protos.TableProto.internal_static_shim_Table_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.hyperledger.protos.TableProto.internal_static_shim_Table_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.hyperledger.protos.TableProto.Table.class, org.hyperledger.protos.TableProto.Table.Builder.class);
    }

    private int bitField0_;
    public static final int NAME_FIELD_NUMBER = 1;
    private volatile java.lang.Object name_;
    /**
     * optional string name = 1;
     */
    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;
      }
    }
    /**
     * optional string name = 1;
     */
    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 COLUMNDEFINITIONS_FIELD_NUMBER = 2;
    private java.util.List columnDefinitions_;
    /**
     * repeated .shim.ColumnDefinition columnDefinitions = 2;
     */
    public java.util.List getColumnDefinitionsList() {
      return columnDefinitions_;
    }
    /**
     * repeated .shim.ColumnDefinition columnDefinitions = 2;
     */
    public java.util.List 
        getColumnDefinitionsOrBuilderList() {
      return columnDefinitions_;
    }
    /**
     * repeated .shim.ColumnDefinition columnDefinitions = 2;
     */
    public int getColumnDefinitionsCount() {
      return columnDefinitions_.size();
    }
    /**
     * repeated .shim.ColumnDefinition columnDefinitions = 2;
     */
    public org.hyperledger.protos.TableProto.ColumnDefinition getColumnDefinitions(int index) {
      return columnDefinitions_.get(index);
    }
    /**
     * repeated .shim.ColumnDefinition columnDefinitions = 2;
     */
    public org.hyperledger.protos.TableProto.ColumnDefinitionOrBuilder getColumnDefinitionsOrBuilder(
        int index) {
      return columnDefinitions_.get(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
      }
      for (int i = 0; i < columnDefinitions_.size(); i++) {
        output.writeMessage(2, columnDefinitions_.get(i));
      }
    }

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

      size = 0;
      if (!getNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
      }
      for (int i = 0; i < columnDefinitions_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, columnDefinitions_.get(i));
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof org.hyperledger.protos.TableProto.Table)) {
        return super.equals(obj);
      }
      org.hyperledger.protos.TableProto.Table other = (org.hyperledger.protos.TableProto.Table) obj;

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

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      hash = (37 * hash) + NAME_FIELD_NUMBER;
      hash = (53 * hash) + getName().hashCode();
      if (getColumnDefinitionsCount() > 0) {
        hash = (37 * hash) + COLUMNDEFINITIONS_FIELD_NUMBER;
        hash = (53 * hash) + getColumnDefinitionsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.hyperledger.protos.TableProto.Table parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.hyperledger.protos.TableProto.Table parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.hyperledger.protos.TableProto.Table parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.hyperledger.protos.TableProto.Table parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.hyperledger.protos.TableProto.Table parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.hyperledger.protos.TableProto.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 org.hyperledger.protos.TableProto.Table parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.hyperledger.protos.TableProto.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 org.hyperledger.protos.TableProto.Table parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.hyperledger.protos.TableProto.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);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(org.hyperledger.protos.TableProto.Table prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code shim.Table}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:shim.Table)
        org.hyperledger.protos.TableProto.TableOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.hyperledger.protos.TableProto.internal_static_shim_Table_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.hyperledger.protos.TableProto.internal_static_shim_Table_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.hyperledger.protos.TableProto.Table.class, org.hyperledger.protos.TableProto.Table.Builder.class);
      }

      // Construct using org.hyperledger.protos.TableProto.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) {
          getColumnDefinitionsFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        name_ = "";

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

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.hyperledger.protos.TableProto.internal_static_shim_Table_descriptor;
      }

      public org.hyperledger.protos.TableProto.Table getDefaultInstanceForType() {
        return org.hyperledger.protos.TableProto.Table.getDefaultInstance();
      }

      public org.hyperledger.protos.TableProto.Table build() {
        org.hyperledger.protos.TableProto.Table result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public org.hyperledger.protos.TableProto.Table buildPartial() {
        org.hyperledger.protos.TableProto.Table result = new org.hyperledger.protos.TableProto.Table(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.name_ = name_;
        if (columnDefinitionsBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002)) {
            columnDefinitions_ = java.util.Collections.unmodifiableList(columnDefinitions_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.columnDefinitions_ = columnDefinitions_;
        } else {
          result.columnDefinitions_ = columnDefinitionsBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof org.hyperledger.protos.TableProto.Table) {
          return mergeFrom((org.hyperledger.protos.TableProto.Table)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.hyperledger.protos.TableProto.Table other) {
        if (other == org.hyperledger.protos.TableProto.Table.getDefaultInstance()) return this;
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          onChanged();
        }
        if (columnDefinitionsBuilder_ == null) {
          if (!other.columnDefinitions_.isEmpty()) {
            if (columnDefinitions_.isEmpty()) {
              columnDefinitions_ = other.columnDefinitions_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureColumnDefinitionsIsMutable();
              columnDefinitions_.addAll(other.columnDefinitions_);
            }
            onChanged();
          }
        } else {
          if (!other.columnDefinitions_.isEmpty()) {
            if (columnDefinitionsBuilder_.isEmpty()) {
              columnDefinitionsBuilder_.dispose();
              columnDefinitionsBuilder_ = null;
              columnDefinitions_ = other.columnDefinitions_;
              bitField0_ = (bitField0_ & ~0x00000002);
              columnDefinitionsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getColumnDefinitionsFieldBuilder() : null;
            } else {
              columnDefinitionsBuilder_.addAllMessages(other.columnDefinitions_);
            }
          }
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.hyperledger.protos.TableProto.Table parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.hyperledger.protos.TableProto.Table) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object name_ = "";
      /**
       * optional string name = 1;
       */
      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;
        }
      }
      /**
       * optional string name = 1;
       */
      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;
        }
      }
      /**
       * optional string name = 1;
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        name_ = value;
        onChanged();
        return this;
      }
      /**
       * optional string name = 1;
       */
      public Builder clearName() {
        
        name_ = getDefaultInstance().getName();
        onChanged();
        return this;
      }
      /**
       * optional string name = 1;
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        name_ = value;
        onChanged();
        return this;
      }

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

      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.hyperledger.protos.TableProto.ColumnDefinition, org.hyperledger.protos.TableProto.ColumnDefinition.Builder, org.hyperledger.protos.TableProto.ColumnDefinitionOrBuilder> columnDefinitionsBuilder_;

      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public java.util.List getColumnDefinitionsList() {
        if (columnDefinitionsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(columnDefinitions_);
        } else {
          return columnDefinitionsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public int getColumnDefinitionsCount() {
        if (columnDefinitionsBuilder_ == null) {
          return columnDefinitions_.size();
        } else {
          return columnDefinitionsBuilder_.getCount();
        }
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public org.hyperledger.protos.TableProto.ColumnDefinition getColumnDefinitions(int index) {
        if (columnDefinitionsBuilder_ == null) {
          return columnDefinitions_.get(index);
        } else {
          return columnDefinitionsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public Builder setColumnDefinitions(
          int index, org.hyperledger.protos.TableProto.ColumnDefinition value) {
        if (columnDefinitionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureColumnDefinitionsIsMutable();
          columnDefinitions_.set(index, value);
          onChanged();
        } else {
          columnDefinitionsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public Builder setColumnDefinitions(
          int index, org.hyperledger.protos.TableProto.ColumnDefinition.Builder builderForValue) {
        if (columnDefinitionsBuilder_ == null) {
          ensureColumnDefinitionsIsMutable();
          columnDefinitions_.set(index, builderForValue.build());
          onChanged();
        } else {
          columnDefinitionsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public Builder addColumnDefinitions(org.hyperledger.protos.TableProto.ColumnDefinition value) {
        if (columnDefinitionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureColumnDefinitionsIsMutable();
          columnDefinitions_.add(value);
          onChanged();
        } else {
          columnDefinitionsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public Builder addColumnDefinitions(
          int index, org.hyperledger.protos.TableProto.ColumnDefinition value) {
        if (columnDefinitionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureColumnDefinitionsIsMutable();
          columnDefinitions_.add(index, value);
          onChanged();
        } else {
          columnDefinitionsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public Builder addColumnDefinitions(
          org.hyperledger.protos.TableProto.ColumnDefinition.Builder builderForValue) {
        if (columnDefinitionsBuilder_ == null) {
          ensureColumnDefinitionsIsMutable();
          columnDefinitions_.add(builderForValue.build());
          onChanged();
        } else {
          columnDefinitionsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public Builder addColumnDefinitions(
          int index, org.hyperledger.protos.TableProto.ColumnDefinition.Builder builderForValue) {
        if (columnDefinitionsBuilder_ == null) {
          ensureColumnDefinitionsIsMutable();
          columnDefinitions_.add(index, builderForValue.build());
          onChanged();
        } else {
          columnDefinitionsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public Builder addAllColumnDefinitions(
          java.lang.Iterable values) {
        if (columnDefinitionsBuilder_ == null) {
          ensureColumnDefinitionsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, columnDefinitions_);
          onChanged();
        } else {
          columnDefinitionsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public Builder clearColumnDefinitions() {
        if (columnDefinitionsBuilder_ == null) {
          columnDefinitions_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          columnDefinitionsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public Builder removeColumnDefinitions(int index) {
        if (columnDefinitionsBuilder_ == null) {
          ensureColumnDefinitionsIsMutable();
          columnDefinitions_.remove(index);
          onChanged();
        } else {
          columnDefinitionsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public org.hyperledger.protos.TableProto.ColumnDefinition.Builder getColumnDefinitionsBuilder(
          int index) {
        return getColumnDefinitionsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public org.hyperledger.protos.TableProto.ColumnDefinitionOrBuilder getColumnDefinitionsOrBuilder(
          int index) {
        if (columnDefinitionsBuilder_ == null) {
          return columnDefinitions_.get(index);  } else {
          return columnDefinitionsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public java.util.List 
           getColumnDefinitionsOrBuilderList() {
        if (columnDefinitionsBuilder_ != null) {
          return columnDefinitionsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(columnDefinitions_);
        }
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public org.hyperledger.protos.TableProto.ColumnDefinition.Builder addColumnDefinitionsBuilder() {
        return getColumnDefinitionsFieldBuilder().addBuilder(
            org.hyperledger.protos.TableProto.ColumnDefinition.getDefaultInstance());
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public org.hyperledger.protos.TableProto.ColumnDefinition.Builder addColumnDefinitionsBuilder(
          int index) {
        return getColumnDefinitionsFieldBuilder().addBuilder(
            index, org.hyperledger.protos.TableProto.ColumnDefinition.getDefaultInstance());
      }
      /**
       * repeated .shim.ColumnDefinition columnDefinitions = 2;
       */
      public java.util.List 
           getColumnDefinitionsBuilderList() {
        return getColumnDefinitionsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          org.hyperledger.protos.TableProto.ColumnDefinition, org.hyperledger.protos.TableProto.ColumnDefinition.Builder, org.hyperledger.protos.TableProto.ColumnDefinitionOrBuilder> 
          getColumnDefinitionsFieldBuilder() {
        if (columnDefinitionsBuilder_ == null) {
          columnDefinitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              org.hyperledger.protos.TableProto.ColumnDefinition, org.hyperledger.protos.TableProto.ColumnDefinition.Builder, org.hyperledger.protos.TableProto.ColumnDefinitionOrBuilder>(
                  columnDefinitions_,
                  ((bitField0_ & 0x00000002) == 0x00000002),
                  getParentForChildren(),
                  isClean());
          columnDefinitions_ = null;
        }
        return columnDefinitionsBuilder_;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:shim.Table)
    }

    // @@protoc_insertion_point(class_scope:shim.Table)
    private static final org.hyperledger.protos.TableProto.Table DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.hyperledger.protos.TableProto.Table();
    }

    public static org.hyperledger.protos.TableProto.Table getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser
() { 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; } public org.hyperledger.protos.TableProto.Table getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnOrBuilder extends // @@protoc_insertion_point(interface_extends:shim.Column) com.google.protobuf.MessageOrBuilder { /** * optional string string = 1; */ java.lang.String getString(); /** * optional string string = 1; */ com.google.protobuf.ByteString getStringBytes(); /** * optional int32 int32 = 2; */ int getInt32(); /** * optional int64 int64 = 3; */ long getInt64(); /** * optional uint32 uint32 = 4; */ int getUint32(); /** * optional uint64 uint64 = 5; */ long getUint64(); /** * optional bytes bytes = 6; */ com.google.protobuf.ByteString getBytes(); /** * optional bool bool = 7; */ boolean getBool(); public org.hyperledger.protos.TableProto.Column.ValueCase getValueCase(); } /** * Protobuf type {@code shim.Column} */ public static final class Column extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:shim.Column) ColumnOrBuilder { // Use Column.newBuilder() to construct. private Column(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Column() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private Column( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); valueCase_ = 1; value_ = s; break; } case 16: { valueCase_ = 2; value_ = input.readInt32(); break; } case 24: { valueCase_ = 3; value_ = input.readInt64(); break; } case 32: { valueCase_ = 4; value_ = input.readUInt32(); break; } case 40: { valueCase_ = 5; value_ = input.readUInt64(); break; } case 50: { valueCase_ = 6; value_ = input.readBytes(); break; } case 56: { valueCase_ = 7; value_ = input.readBool(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.protos.TableProto.internal_static_shim_Column_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.protos.TableProto.internal_static_shim_Column_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.protos.TableProto.Column.class, org.hyperledger.protos.TableProto.Column.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; public enum ValueCase implements com.google.protobuf.Internal.EnumLite { STRING(1), INT32(2), INT64(3), UINT32(4), UINT64(5), BYTES(6), BOOL(7), VALUE_NOT_SET(0); private final int value; private ValueCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ValueCase valueOf(int value) { return forNumber(value); } public static ValueCase forNumber(int value) { switch (value) { case 1: return STRING; case 2: return INT32; case 3: return INT64; case 4: return UINT32; case 5: return UINT64; case 6: return BYTES; case 7: return BOOL; case 0: return VALUE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ValueCase getValueCase() { return ValueCase.forNumber( valueCase_); } public static final int STRING_FIELD_NUMBER = 1; /** * optional string string = 1; */ public java.lang.String getString() { java.lang.Object ref = ""; if (valueCase_ == 1) { ref = value_; } if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 1) { value_ = s; } return s; } } /** * optional string string = 1; */ public com.google.protobuf.ByteString getStringBytes() { java.lang.Object ref = ""; if (valueCase_ == 1) { ref = value_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (valueCase_ == 1) { value_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INT32_FIELD_NUMBER = 2; /** * optional int32 int32 = 2; */ public int getInt32() { if (valueCase_ == 2) { return (java.lang.Integer) value_; } return 0; } public static final int INT64_FIELD_NUMBER = 3; /** * optional int64 int64 = 3; */ public long getInt64() { if (valueCase_ == 3) { return (java.lang.Long) value_; } return 0L; } public static final int UINT32_FIELD_NUMBER = 4; /** * optional uint32 uint32 = 4; */ public int getUint32() { if (valueCase_ == 4) { return (java.lang.Integer) value_; } return 0; } public static final int UINT64_FIELD_NUMBER = 5; /** * optional uint64 uint64 = 5; */ public long getUint64() { if (valueCase_ == 5) { return (java.lang.Long) value_; } return 0L; } public static final int BYTES_FIELD_NUMBER = 6; /** * optional bytes bytes = 6; */ public com.google.protobuf.ByteString getBytes() { if (valueCase_ == 6) { return (com.google.protobuf.ByteString) value_; } return com.google.protobuf.ByteString.EMPTY; } public static final int BOOL_FIELD_NUMBER = 7; /** * optional bool bool = 7; */ public boolean getBool() { if (valueCase_ == 7) { return (java.lang.Boolean) value_; } return false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (valueCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); } if (valueCase_ == 2) { output.writeInt32( 2, (int)((java.lang.Integer) value_)); } if (valueCase_ == 3) { output.writeInt64( 3, (long)((java.lang.Long) value_)); } if (valueCase_ == 4) { output.writeUInt32( 4, (int)((java.lang.Integer) value_)); } if (valueCase_ == 5) { output.writeUInt64( 5, (long)((java.lang.Long) value_)); } if (valueCase_ == 6) { output.writeBytes( 6, (com.google.protobuf.ByteString)((com.google.protobuf.ByteString) value_)); } if (valueCase_ == 7) { output.writeBool( 7, (boolean)((java.lang.Boolean) value_)); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (valueCase_ == 1) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); } if (valueCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeInt32Size( 2, (int)((java.lang.Integer) value_)); } if (valueCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeInt64Size( 3, (long)((java.lang.Long) value_)); } if (valueCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size( 4, (int)((java.lang.Integer) value_)); } if (valueCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size( 5, (long)((java.lang.Long) value_)); } if (valueCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeBytesSize( 6, (com.google.protobuf.ByteString)((com.google.protobuf.ByteString) value_)); } if (valueCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 7, (boolean)((java.lang.Boolean) value_)); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.protos.TableProto.Column)) { return super.equals(obj); } org.hyperledger.protos.TableProto.Column other = (org.hyperledger.protos.TableProto.Column) obj; boolean result = true; result = result && getValueCase().equals( other.getValueCase()); if (!result) return false; switch (valueCase_) { case 1: result = result && getString() .equals(other.getString()); break; case 2: result = result && (getInt32() == other.getInt32()); break; case 3: result = result && (getInt64() == other.getInt64()); break; case 4: result = result && (getUint32() == other.getUint32()); break; case 5: result = result && (getUint64() == other.getUint64()); break; case 6: result = result && getBytes() .equals(other.getBytes()); break; case 7: result = result && (getBool() == other.getBool()); break; case 0: default: } return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); switch (valueCase_) { case 1: hash = (37 * hash) + STRING_FIELD_NUMBER; hash = (53 * hash) + getString().hashCode(); break; case 2: hash = (37 * hash) + INT32_FIELD_NUMBER; hash = (53 * hash) + getInt32(); break; case 3: hash = (37 * hash) + INT64_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInt64()); break; case 4: hash = (37 * hash) + UINT32_FIELD_NUMBER; hash = (53 * hash) + getUint32(); break; case 5: hash = (37 * hash) + UINT64_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUint64()); break; case 6: hash = (37 * hash) + BYTES_FIELD_NUMBER; hash = (53 * hash) + getBytes().hashCode(); break; case 7: hash = (37 * hash) + BOOL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getBool()); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.hyperledger.protos.TableProto.Column parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.protos.TableProto.Column parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.protos.TableProto.Column parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.protos.TableProto.Column parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.protos.TableProto.Column parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.protos.TableProto.Column 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 org.hyperledger.protos.TableProto.Column parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.hyperledger.protos.TableProto.Column 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 org.hyperledger.protos.TableProto.Column parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.protos.TableProto.Column parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.hyperledger.protos.TableProto.Column prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code shim.Column} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:shim.Column) org.hyperledger.protos.TableProto.ColumnOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.protos.TableProto.internal_static_shim_Column_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.protos.TableProto.internal_static_shim_Column_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.protos.TableProto.Column.class, org.hyperledger.protos.TableProto.Column.Builder.class); } // Construct using org.hyperledger.protos.TableProto.Column.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); valueCase_ = 0; value_ = null; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.hyperledger.protos.TableProto.internal_static_shim_Column_descriptor; } public org.hyperledger.protos.TableProto.Column getDefaultInstanceForType() { return org.hyperledger.protos.TableProto.Column.getDefaultInstance(); } public org.hyperledger.protos.TableProto.Column build() { org.hyperledger.protos.TableProto.Column result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.hyperledger.protos.TableProto.Column buildPartial() { org.hyperledger.protos.TableProto.Column result = new org.hyperledger.protos.TableProto.Column(this); if (valueCase_ == 1) { result.value_ = value_; } if (valueCase_ == 2) { result.value_ = value_; } if (valueCase_ == 3) { result.value_ = value_; } if (valueCase_ == 4) { result.value_ = value_; } if (valueCase_ == 5) { result.value_ = value_; } if (valueCase_ == 6) { result.value_ = value_; } if (valueCase_ == 7) { result.value_ = value_; } result.valueCase_ = valueCase_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.protos.TableProto.Column) { return mergeFrom((org.hyperledger.protos.TableProto.Column)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.hyperledger.protos.TableProto.Column other) { if (other == org.hyperledger.protos.TableProto.Column.getDefaultInstance()) return this; switch (other.getValueCase()) { case STRING: { valueCase_ = 1; value_ = other.value_; onChanged(); break; } case INT32: { setInt32(other.getInt32()); break; } case INT64: { setInt64(other.getInt64()); break; } case UINT32: { setUint32(other.getUint32()); break; } case UINT64: { setUint64(other.getUint64()); break; } case BYTES: { setBytes(other.getBytes()); break; } case BOOL: { setBool(other.getBool()); break; } case VALUE_NOT_SET: { break; } } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.protos.TableProto.Column parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.protos.TableProto.Column) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int valueCase_ = 0; private java.lang.Object value_; public ValueCase getValueCase() { return ValueCase.forNumber( valueCase_); } public Builder clearValue() { valueCase_ = 0; value_ = null; onChanged(); return this; } /** * optional string string = 1; */ public java.lang.String getString() { java.lang.Object ref = ""; if (valueCase_ == 1) { ref = value_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 1) { value_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string string = 1; */ public com.google.protobuf.ByteString getStringBytes() { java.lang.Object ref = ""; if (valueCase_ == 1) { ref = value_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (valueCase_ == 1) { value_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string string = 1; */ public Builder setString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } valueCase_ = 1; value_ = value; onChanged(); return this; } /** * optional string string = 1; */ public Builder clearString() { if (valueCase_ == 1) { valueCase_ = 0; value_ = null; onChanged(); } return this; } /** * optional string string = 1; */ public Builder setStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); valueCase_ = 1; value_ = value; onChanged(); return this; } /** * optional int32 int32 = 2; */ public int getInt32() { if (valueCase_ == 2) { return (java.lang.Integer) value_; } return 0; } /** * optional int32 int32 = 2; */ public Builder setInt32(int value) { valueCase_ = 2; value_ = value; onChanged(); return this; } /** * optional int32 int32 = 2; */ public Builder clearInt32() { if (valueCase_ == 2) { valueCase_ = 0; value_ = null; onChanged(); } return this; } /** * optional int64 int64 = 3; */ public long getInt64() { if (valueCase_ == 3) { return (java.lang.Long) value_; } return 0L; } /** * optional int64 int64 = 3; */ public Builder setInt64(long value) { valueCase_ = 3; value_ = value; onChanged(); return this; } /** * optional int64 int64 = 3; */ public Builder clearInt64() { if (valueCase_ == 3) { valueCase_ = 0; value_ = null; onChanged(); } return this; } /** * optional uint32 uint32 = 4; */ public int getUint32() { if (valueCase_ == 4) { return (java.lang.Integer) value_; } return 0; } /** * optional uint32 uint32 = 4; */ public Builder setUint32(int value) { valueCase_ = 4; value_ = value; onChanged(); return this; } /** * optional uint32 uint32 = 4; */ public Builder clearUint32() { if (valueCase_ == 4) { valueCase_ = 0; value_ = null; onChanged(); } return this; } /** * optional uint64 uint64 = 5; */ public long getUint64() { if (valueCase_ == 5) { return (java.lang.Long) value_; } return 0L; } /** * optional uint64 uint64 = 5; */ public Builder setUint64(long value) { valueCase_ = 5; value_ = value; onChanged(); return this; } /** * optional uint64 uint64 = 5; */ public Builder clearUint64() { if (valueCase_ == 5) { valueCase_ = 0; value_ = null; onChanged(); } return this; } /** * optional bytes bytes = 6; */ public com.google.protobuf.ByteString getBytes() { if (valueCase_ == 6) { return (com.google.protobuf.ByteString) value_; } return com.google.protobuf.ByteString.EMPTY; } /** * optional bytes bytes = 6; */ public Builder setBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } valueCase_ = 6; value_ = value; onChanged(); return this; } /** * optional bytes bytes = 6; */ public Builder clearBytes() { if (valueCase_ == 6) { valueCase_ = 0; value_ = null; onChanged(); } return this; } /** * optional bool bool = 7; */ public boolean getBool() { if (valueCase_ == 7) { return (java.lang.Boolean) value_; } return false; } /** * optional bool bool = 7; */ public Builder setBool(boolean value) { valueCase_ = 7; value_ = value; onChanged(); return this; } /** * optional bool bool = 7; */ public Builder clearBool() { if (valueCase_ == 7) { valueCase_ = 0; value_ = null; onChanged(); } return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:shim.Column) } // @@protoc_insertion_point(class_scope:shim.Column) private static final org.hyperledger.protos.TableProto.Column DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.hyperledger.protos.TableProto.Column(); } public static org.hyperledger.protos.TableProto.Column getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Column parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Column(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.hyperledger.protos.TableProto.Column getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RowOrBuilder extends // @@protoc_insertion_point(interface_extends:shim.Row) com.google.protobuf.MessageOrBuilder { /** * repeated .shim.Column columns = 1; */ java.util.List getColumnsList(); /** * repeated .shim.Column columns = 1; */ org.hyperledger.protos.TableProto.Column getColumns(int index); /** * repeated .shim.Column columns = 1; */ int getColumnsCount(); /** * repeated .shim.Column columns = 1; */ java.util.List getColumnsOrBuilderList(); /** * repeated .shim.Column columns = 1; */ org.hyperledger.protos.TableProto.ColumnOrBuilder getColumnsOrBuilder( int index); } /** * Protobuf type {@code shim.Row} */ public static final class Row extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:shim.Row) RowOrBuilder { // Use Row.newBuilder() to construct. private Row(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Row() { columns_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private Row( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { columns_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } columns_.add( input.readMessage(org.hyperledger.protos.TableProto.Column.parser(), extensionRegistry)); 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) == 0x00000001)) { columns_ = java.util.Collections.unmodifiableList(columns_); } makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.protos.TableProto.internal_static_shim_Row_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.protos.TableProto.internal_static_shim_Row_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.protos.TableProto.Row.class, org.hyperledger.protos.TableProto.Row.Builder.class); } public static final int COLUMNS_FIELD_NUMBER = 1; private java.util.List columns_; /** * repeated .shim.Column columns = 1; */ public java.util.List getColumnsList() { return columns_; } /** * repeated .shim.Column columns = 1; */ public java.util.List getColumnsOrBuilderList() { return columns_; } /** * repeated .shim.Column columns = 1; */ public int getColumnsCount() { return columns_.size(); } /** * repeated .shim.Column columns = 1; */ public org.hyperledger.protos.TableProto.Column getColumns(int index) { return columns_.get(index); } /** * repeated .shim.Column columns = 1; */ public org.hyperledger.protos.TableProto.ColumnOrBuilder getColumnsOrBuilder( int index) { return columns_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < columns_.size(); i++) { output.writeMessage(1, columns_.get(i)); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < columns_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, columns_.get(i)); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.hyperledger.protos.TableProto.Row)) { return super.equals(obj); } org.hyperledger.protos.TableProto.Row other = (org.hyperledger.protos.TableProto.Row) obj; boolean result = true; result = result && getColumnsList() .equals(other.getColumnsList()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getColumnsCount() > 0) { hash = (37 * hash) + COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getColumnsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.hyperledger.protos.TableProto.Row parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.protos.TableProto.Row parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.protos.TableProto.Row parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.hyperledger.protos.TableProto.Row parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.hyperledger.protos.TableProto.Row parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.protos.TableProto.Row 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 org.hyperledger.protos.TableProto.Row parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.hyperledger.protos.TableProto.Row 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 org.hyperledger.protos.TableProto.Row parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.hyperledger.protos.TableProto.Row parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.hyperledger.protos.TableProto.Row prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code shim.Row} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:shim.Row) org.hyperledger.protos.TableProto.RowOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.hyperledger.protos.TableProto.internal_static_shim_Row_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.hyperledger.protos.TableProto.internal_static_shim_Row_fieldAccessorTable .ensureFieldAccessorsInitialized( org.hyperledger.protos.TableProto.Row.class, org.hyperledger.protos.TableProto.Row.Builder.class); } // Construct using org.hyperledger.protos.TableProto.Row.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getColumnsFieldBuilder(); } } public Builder clear() { super.clear(); if (columnsBuilder_ == null) { columns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { columnsBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.hyperledger.protos.TableProto.internal_static_shim_Row_descriptor; } public org.hyperledger.protos.TableProto.Row getDefaultInstanceForType() { return org.hyperledger.protos.TableProto.Row.getDefaultInstance(); } public org.hyperledger.protos.TableProto.Row build() { org.hyperledger.protos.TableProto.Row result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.hyperledger.protos.TableProto.Row buildPartial() { org.hyperledger.protos.TableProto.Row result = new org.hyperledger.protos.TableProto.Row(this); int from_bitField0_ = bitField0_; if (columnsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { columns_ = java.util.Collections.unmodifiableList(columns_); bitField0_ = (bitField0_ & ~0x00000001); } result.columns_ = columns_; } else { result.columns_ = columnsBuilder_.build(); } onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.hyperledger.protos.TableProto.Row) { return mergeFrom((org.hyperledger.protos.TableProto.Row)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.hyperledger.protos.TableProto.Row other) { if (other == org.hyperledger.protos.TableProto.Row.getDefaultInstance()) return this; if (columnsBuilder_ == null) { if (!other.columns_.isEmpty()) { if (columns_.isEmpty()) { columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureColumnsIsMutable(); columns_.addAll(other.columns_); } onChanged(); } } else { if (!other.columns_.isEmpty()) { if (columnsBuilder_.isEmpty()) { columnsBuilder_.dispose(); columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000001); columnsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnsFieldBuilder() : null; } else { columnsBuilder_.addAllMessages(other.columns_); } } } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.hyperledger.protos.TableProto.Row parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.hyperledger.protos.TableProto.Row) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List columns_ = java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.hyperledger.protos.TableProto.Column, org.hyperledger.protos.TableProto.Column.Builder, org.hyperledger.protos.TableProto.ColumnOrBuilder> columnsBuilder_; /** * repeated .shim.Column columns = 1; */ public java.util.List getColumnsList() { if (columnsBuilder_ == null) { return java.util.Collections.unmodifiableList(columns_); } else { return columnsBuilder_.getMessageList(); } } /** * repeated .shim.Column columns = 1; */ public int getColumnsCount() { if (columnsBuilder_ == null) { return columns_.size(); } else { return columnsBuilder_.getCount(); } } /** * repeated .shim.Column columns = 1; */ public org.hyperledger.protos.TableProto.Column getColumns(int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { return columnsBuilder_.getMessage(index); } } /** * repeated .shim.Column columns = 1; */ public Builder setColumns( int index, org.hyperledger.protos.TableProto.Column value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.set(index, value); onChanged(); } else { columnsBuilder_.setMessage(index, value); } return this; } /** * repeated .shim.Column columns = 1; */ public Builder setColumns( int index, org.hyperledger.protos.TableProto.Column.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.set(index, builderForValue.build()); onChanged(); } else { columnsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .shim.Column columns = 1; */ public Builder addColumns(org.hyperledger.protos.TableProto.Column value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); onChanged(); } else { columnsBuilder_.addMessage(value); } return this; } /** * repeated .shim.Column columns = 1; */ public Builder addColumns( int index, org.hyperledger.protos.TableProto.Column value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(index, value); onChanged(); } else { columnsBuilder_.addMessage(index, value); } return this; } /** * repeated .shim.Column columns = 1; */ public Builder addColumns( org.hyperledger.protos.TableProto.Column.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(builderForValue.build()); onChanged(); } else { columnsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .shim.Column columns = 1; */ public Builder addColumns( int index, org.hyperledger.protos.TableProto.Column.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(index, builderForValue.build()); onChanged(); } else { columnsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .shim.Column columns = 1; */ public Builder addAllColumns( java.lang.Iterable values) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, columns_); onChanged(); } else { columnsBuilder_.addAllMessages(values); } return this; } /** * repeated .shim.Column columns = 1; */ public Builder clearColumns() { if (columnsBuilder_ == null) { columns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { columnsBuilder_.clear(); } return this; } /** * repeated .shim.Column columns = 1; */ public Builder removeColumns(int index) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.remove(index); onChanged(); } else { columnsBuilder_.remove(index); } return this; } /** * repeated .shim.Column columns = 1; */ public org.hyperledger.protos.TableProto.Column.Builder getColumnsBuilder( int index) { return getColumnsFieldBuilder().getBuilder(index); } /** * repeated .shim.Column columns = 1; */ public org.hyperledger.protos.TableProto.ColumnOrBuilder getColumnsOrBuilder( int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** * repeated .shim.Column columns = 1; */ public java.util.List getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(columns_); } } /** * repeated .shim.Column columns = 1; */ public org.hyperledger.protos.TableProto.Column.Builder addColumnsBuilder() { return getColumnsFieldBuilder().addBuilder( org.hyperledger.protos.TableProto.Column.getDefaultInstance()); } /** * repeated .shim.Column columns = 1; */ public org.hyperledger.protos.TableProto.Column.Builder addColumnsBuilder( int index) { return getColumnsFieldBuilder().addBuilder( index, org.hyperledger.protos.TableProto.Column.getDefaultInstance()); } /** * repeated .shim.Column columns = 1; */ public java.util.List getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.hyperledger.protos.TableProto.Column, org.hyperledger.protos.TableProto.Column.Builder, org.hyperledger.protos.TableProto.ColumnOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.hyperledger.protos.TableProto.Column, org.hyperledger.protos.TableProto.Column.Builder, org.hyperledger.protos.TableProto.ColumnOrBuilder>( columns_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:shim.Row) } // @@protoc_insertion_point(class_scope:shim.Row) private static final org.hyperledger.protos.TableProto.Row DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.hyperledger.protos.TableProto.Row(); } public static org.hyperledger.protos.TableProto.Row getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Row parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Row(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.hyperledger.protos.TableProto.Row getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_shim_ColumnDefinition_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_shim_ColumnDefinition_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_shim_Table_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_shim_Table_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_shim_Column_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_shim_Column_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_shim_Row_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_shim_Row_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\013table.proto\022\004shim\"\257\001\n\020ColumnDefinition" + "\022\014\n\004name\030\001 \001(\t\022)\n\004type\030\002 \001(\0162\033.shim.Colu" + "mnDefinition.Type\022\013\n\003key\030\003 \001(\010\"U\n\004Type\022\n" + "\n\006STRING\020\000\022\t\n\005INT32\020\001\022\t\n\005INT64\020\002\022\n\n\006UINT" + "32\020\003\022\n\n\006UINT64\020\004\022\t\n\005BYTES\020\005\022\010\n\004BOOL\020\006\"H\n" + "\005Table\022\014\n\004name\030\001 \001(\t\0221\n\021columnDefinition" + "s\030\002 \003(\0132\026.shim.ColumnDefinition\"\212\001\n\006Colu" + "mn\022\020\n\006string\030\001 \001(\tH\000\022\017\n\005int32\030\002 \001(\005H\000\022\017\n" + "\005int64\030\003 \001(\003H\000\022\020\n\006uint32\030\004 \001(\rH\000\022\020\n\006uint" + "64\030\005 \001(\004H\000\022\017\n\005bytes\030\006 \001(\014H\000\022\016\n\004bool\030\007 \001(", "\010H\000B\007\n\005value\"$\n\003Row\022\035\n\007columns\030\001 \003(\0132\014.s" + "him.ColumnB$\n\026org.hyperledger.protosB\nTa" + "bleProtob\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); internal_static_shim_ColumnDefinition_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_shim_ColumnDefinition_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_shim_ColumnDefinition_descriptor, new java.lang.String[] { "Name", "Type", "Key", }); internal_static_shim_Table_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_shim_Table_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_shim_Table_descriptor, new java.lang.String[] { "Name", "ColumnDefinitions", }); internal_static_shim_Column_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_shim_Column_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_shim_Column_descriptor, new java.lang.String[] { "String", "Int32", "Int64", "Uint32", "Uint64", "Bytes", "Bool", "Value", }); internal_static_shim_Row_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_shim_Row_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_shim_Row_descriptor, new java.lang.String[] { "Columns", }); } // @@protoc_insertion_point(outer_class_scope) }