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

com.palantir.atlasdb.protos.generated.TableMetadataPersistence Maven / Gradle / Ivy

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

// Protobuf Java Version: 3.25.3
package com.palantir.atlasdb.protos.generated;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code com.palantir.atlasdb.protos.generated.ValueType}
   */
  public enum ValueType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * VAR_LONG = 1;
     */
    VAR_LONG(1),
    /**
     * FIXED_LONG = 2;
     */
    FIXED_LONG(2),
    /**
     * STRING = 3;
     */
    STRING(3),
    /**
     * BLOB = 4;
     */
    BLOB(4),
    /**
     * VAR_SIGNED_LONG = 5;
     */
    VAR_SIGNED_LONG(5),
    /**
     * FIXED_LONG_LITTLE_ENDIAN = 6;
     */
    FIXED_LONG_LITTLE_ENDIAN(6),
    /**
     * SHA256HASH = 7;
     */
    SHA256HASH(7),
    /**
     * VAR_STRING = 8;
     */
    VAR_STRING(8),
    /**
     * NULLABLE_FIXED_LONG = 9;
     */
    NULLABLE_FIXED_LONG(9),
    /**
     * SIZED_BLOB = 10;
     */
    SIZED_BLOB(10),
    /**
     * UUID = 11;
     */
    UUID(11),
    ;

    /**
     * VAR_LONG = 1;
     */
    public static final int VAR_LONG_VALUE = 1;
    /**
     * FIXED_LONG = 2;
     */
    public static final int FIXED_LONG_VALUE = 2;
    /**
     * STRING = 3;
     */
    public static final int STRING_VALUE = 3;
    /**
     * BLOB = 4;
     */
    public static final int BLOB_VALUE = 4;
    /**
     * VAR_SIGNED_LONG = 5;
     */
    public static final int VAR_SIGNED_LONG_VALUE = 5;
    /**
     * FIXED_LONG_LITTLE_ENDIAN = 6;
     */
    public static final int FIXED_LONG_LITTLE_ENDIAN_VALUE = 6;
    /**
     * SHA256HASH = 7;
     */
    public static final int SHA256HASH_VALUE = 7;
    /**
     * VAR_STRING = 8;
     */
    public static final int VAR_STRING_VALUE = 8;
    /**
     * NULLABLE_FIXED_LONG = 9;
     */
    public static final int NULLABLE_FIXED_LONG_VALUE = 9;
    /**
     * SIZED_BLOB = 10;
     */
    public static final int SIZED_BLOB_VALUE = 10;
    /**
     * UUID = 11;
     */
    public static final int UUID_VALUE = 11;


    public final int getNumber() {
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ValueType valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static ValueType forNumber(int value) {
      switch (value) {
        case 1: return VAR_LONG;
        case 2: return FIXED_LONG;
        case 3: return STRING;
        case 4: return BLOB;
        case 5: return VAR_SIGNED_LONG;
        case 6: return FIXED_LONG_LITTLE_ENDIAN;
        case 7: return SHA256HASH;
        case 8: return VAR_STRING;
        case 9: return NULLABLE_FIXED_LONG;
        case 10: return SIZED_BLOB;
        case 11: return UUID;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ValueType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public ValueType findValueByNumber(int number) {
              return ValueType.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 com.palantir.atlasdb.protos.generated.TableMetadataPersistence.getDescriptor().getEnumTypes().get(0);
    }

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

    public static ValueType valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private ValueType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:com.palantir.atlasdb.protos.generated.ValueType)
  }

  /**
   * Protobuf enum {@code com.palantir.atlasdb.protos.generated.Compression}
   */
  public enum Compression
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * NONE = 1;
     */
    NONE(1),
    /**
     * SNAPPY = 2;
     */
    SNAPPY(2),
    ;

    /**
     * NONE = 1;
     */
    public static final int NONE_VALUE = 1;
    /**
     * SNAPPY = 2;
     */
    public static final int SNAPPY_VALUE = 2;


    public final int getNumber() {
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static Compression valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static Compression forNumber(int value) {
      switch (value) {
        case 1: return NONE;
        case 2: return SNAPPY;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        Compression> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public Compression findValueByNumber(int number) {
              return Compression.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 com.palantir.atlasdb.protos.generated.TableMetadataPersistence.getDescriptor().getEnumTypes().get(1);
    }

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

    public static Compression valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private Compression(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:com.palantir.atlasdb.protos.generated.Compression)
  }

  /**
   * Protobuf enum {@code com.palantir.atlasdb.protos.generated.ColumnValueFormat}
   */
  public enum ColumnValueFormat
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * PROTO = 1;
     */
    PROTO(1),
    /**
     * PERSISTABLE = 2;
     */
    PERSISTABLE(2),
    /**
     * VALUE_TYPE = 3;
     */
    VALUE_TYPE(3),
    /**
     * PERSISTER = 4;
     */
    PERSISTER(4),
    ;

    /**
     * PROTO = 1;
     */
    public static final int PROTO_VALUE = 1;
    /**
     * PERSISTABLE = 2;
     */
    public static final int PERSISTABLE_VALUE = 2;
    /**
     * VALUE_TYPE = 3;
     */
    public static final int VALUE_TYPE_VALUE = 3;
    /**
     * PERSISTER = 4;
     */
    public static final int PERSISTER_VALUE = 4;


    public final int getNumber() {
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ColumnValueFormat valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static ColumnValueFormat forNumber(int value) {
      switch (value) {
        case 1: return PROTO;
        case 2: return PERSISTABLE;
        case 3: return VALUE_TYPE;
        case 4: return PERSISTER;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ColumnValueFormat> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public ColumnValueFormat findValueByNumber(int number) {
              return ColumnValueFormat.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 com.palantir.atlasdb.protos.generated.TableMetadataPersistence.getDescriptor().getEnumTypes().get(2);
    }

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

    public static ColumnValueFormat valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private ColumnValueFormat(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:com.palantir.atlasdb.protos.generated.ColumnValueFormat)
  }

  /**
   * Protobuf enum {@code com.palantir.atlasdb.protos.generated.ValueByteOrder}
   */
  public enum ValueByteOrder
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * ASCENDING = 1;
     */
    ASCENDING(1),
    /**
     * DESCENDING = 2;
     */
    DESCENDING(2),
    ;

    /**
     * ASCENDING = 1;
     */
    public static final int ASCENDING_VALUE = 1;
    /**
     * DESCENDING = 2;
     */
    public static final int DESCENDING_VALUE = 2;


    public final int getNumber() {
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ValueByteOrder valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static ValueByteOrder forNumber(int value) {
      switch (value) {
        case 1: return ASCENDING;
        case 2: return DESCENDING;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ValueByteOrder> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public ValueByteOrder findValueByNumber(int number) {
              return ValueByteOrder.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 com.palantir.atlasdb.protos.generated.TableMetadataPersistence.getDescriptor().getEnumTypes().get(3);
    }

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

    public static ValueByteOrder valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private ValueByteOrder(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:com.palantir.atlasdb.protos.generated.ValueByteOrder)
  }

  /**
   * Protobuf enum {@code com.palantir.atlasdb.protos.generated.TableConflictHandler}
   */
  public enum TableConflictHandler
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * IGNORE_ALL = 1;
     */
    IGNORE_ALL(1),
    /**
     * RETRY_ON_WRITE_WRITE = 2;
     */
    RETRY_ON_WRITE_WRITE(2),
    /**
     * RETRY_ON_VALUE_CHANGED = 3;
     */
    RETRY_ON_VALUE_CHANGED(3),
    /**
     * SERIALIZABLE = 4;
     */
    SERIALIZABLE(4),
    /**
     * RETRY_ON_WRITE_WRITE_CELL = 5;
     */
    RETRY_ON_WRITE_WRITE_CELL(5),
    /**
     * SERIALIZABLE_CELL = 6;
     */
    SERIALIZABLE_CELL(6),
    /**
     * SERIALIZABLE_INDEX = 7;
     */
    SERIALIZABLE_INDEX(7),
    /**
     * SERIALIZABLE_LOCK_LEVEL_MIGRATION = 8;
     */
    SERIALIZABLE_LOCK_LEVEL_MIGRATION(8),
    /**
     * RETRY_ON_WRITE_WRITE_MIGRATION = 9;
     */
    RETRY_ON_WRITE_WRITE_MIGRATION(9),
    ;

    /**
     * IGNORE_ALL = 1;
     */
    public static final int IGNORE_ALL_VALUE = 1;
    /**
     * RETRY_ON_WRITE_WRITE = 2;
     */
    public static final int RETRY_ON_WRITE_WRITE_VALUE = 2;
    /**
     * RETRY_ON_VALUE_CHANGED = 3;
     */
    public static final int RETRY_ON_VALUE_CHANGED_VALUE = 3;
    /**
     * SERIALIZABLE = 4;
     */
    public static final int SERIALIZABLE_VALUE = 4;
    /**
     * RETRY_ON_WRITE_WRITE_CELL = 5;
     */
    public static final int RETRY_ON_WRITE_WRITE_CELL_VALUE = 5;
    /**
     * SERIALIZABLE_CELL = 6;
     */
    public static final int SERIALIZABLE_CELL_VALUE = 6;
    /**
     * SERIALIZABLE_INDEX = 7;
     */
    public static final int SERIALIZABLE_INDEX_VALUE = 7;
    /**
     * SERIALIZABLE_LOCK_LEVEL_MIGRATION = 8;
     */
    public static final int SERIALIZABLE_LOCK_LEVEL_MIGRATION_VALUE = 8;
    /**
     * RETRY_ON_WRITE_WRITE_MIGRATION = 9;
     */
    public static final int RETRY_ON_WRITE_WRITE_MIGRATION_VALUE = 9;


    public final int getNumber() {
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static TableConflictHandler valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static TableConflictHandler forNumber(int value) {
      switch (value) {
        case 1: return IGNORE_ALL;
        case 2: return RETRY_ON_WRITE_WRITE;
        case 3: return RETRY_ON_VALUE_CHANGED;
        case 4: return SERIALIZABLE;
        case 5: return RETRY_ON_WRITE_WRITE_CELL;
        case 6: return SERIALIZABLE_CELL;
        case 7: return SERIALIZABLE_INDEX;
        case 8: return SERIALIZABLE_LOCK_LEVEL_MIGRATION;
        case 9: return RETRY_ON_WRITE_WRITE_MIGRATION;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        TableConflictHandler> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public TableConflictHandler findValueByNumber(int number) {
              return TableConflictHandler.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 com.palantir.atlasdb.protos.generated.TableMetadataPersistence.getDescriptor().getEnumTypes().get(4);
    }

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

    public static TableConflictHandler valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private TableConflictHandler(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:com.palantir.atlasdb.protos.generated.TableConflictHandler)
  }

  /**
   * Protobuf enum {@code com.palantir.atlasdb.protos.generated.CachePriority}
   */
  public enum CachePriority
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * COLDEST = 0;
     */
    COLDEST(0),
    /**
     * COLD = 32;
     */
    COLD(32),
    /**
     * WARM = 64;
     */
    WARM(64),
    /**
     * HOT = 96;
     */
    HOT(96),
    /**
     * HOTTEST = 127;
     */
    HOTTEST(127),
    ;

    /**
     * COLDEST = 0;
     */
    public static final int COLDEST_VALUE = 0;
    /**
     * COLD = 32;
     */
    public static final int COLD_VALUE = 32;
    /**
     * WARM = 64;
     */
    public static final int WARM_VALUE = 64;
    /**
     * HOT = 96;
     */
    public static final int HOT_VALUE = 96;
    /**
     * HOTTEST = 127;
     */
    public static final int HOTTEST_VALUE = 127;


    public final int getNumber() {
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static CachePriority valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static CachePriority forNumber(int value) {
      switch (value) {
        case 0: return COLDEST;
        case 32: return COLD;
        case 64: return WARM;
        case 96: return HOT;
        case 127: return HOTTEST;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        CachePriority> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public CachePriority findValueByNumber(int number) {
              return CachePriority.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 com.palantir.atlasdb.protos.generated.TableMetadataPersistence.getDescriptor().getEnumTypes().get(5);
    }

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

    public static CachePriority valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private CachePriority(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:com.palantir.atlasdb.protos.generated.CachePriority)
  }

  /**
   * Protobuf enum {@code com.palantir.atlasdb.protos.generated.SweepStrategy}
   */
  public enum SweepStrategy
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * NOTHING = 0;
     */
    NOTHING(0),
    /**
     * CONSERVATIVE = 1;
     */
    CONSERVATIVE(1),
    /**
     * THOROUGH = 2;
     */
    THOROUGH(2),
    /**
     * THOROUGH_MIGRATION = 3;
     */
    THOROUGH_MIGRATION(3),
    ;

    /**
     * NOTHING = 0;
     */
    public static final int NOTHING_VALUE = 0;
    /**
     * CONSERVATIVE = 1;
     */
    public static final int CONSERVATIVE_VALUE = 1;
    /**
     * THOROUGH = 2;
     */
    public static final int THOROUGH_VALUE = 2;
    /**
     * THOROUGH_MIGRATION = 3;
     */
    public static final int THOROUGH_MIGRATION_VALUE = 3;


    public final int getNumber() {
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static SweepStrategy valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static SweepStrategy forNumber(int value) {
      switch (value) {
        case 0: return NOTHING;
        case 1: return CONSERVATIVE;
        case 2: return THOROUGH;
        case 3: return THOROUGH_MIGRATION;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        SweepStrategy> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public SweepStrategy findValueByNumber(int number) {
              return SweepStrategy.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 com.palantir.atlasdb.protos.generated.TableMetadataPersistence.getDescriptor().getEnumTypes().get(6);
    }

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

    public static SweepStrategy valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private SweepStrategy(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:com.palantir.atlasdb.protos.generated.SweepStrategy)
  }

  /**
   * Protobuf enum {@code com.palantir.atlasdb.protos.generated.LogSafety}
   */
  public enum LogSafety
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * SAFE = 0;
     */
    SAFE(0),
    /**
     * UNSAFE = 1;
     */
    UNSAFE(1),
    ;

    /**
     * SAFE = 0;
     */
    public static final int SAFE_VALUE = 0;
    /**
     * UNSAFE = 1;
     */
    public static final int UNSAFE_VALUE = 1;


    public final int getNumber() {
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static LogSafety valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static LogSafety forNumber(int value) {
      switch (value) {
        case 0: return SAFE;
        case 1: return UNSAFE;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        LogSafety> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public LogSafety findValueByNumber(int number) {
              return LogSafety.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 com.palantir.atlasdb.protos.generated.TableMetadataPersistence.getDescriptor().getEnumTypes().get(7);
    }

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

    public static LogSafety valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private LogSafety(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:com.palantir.atlasdb.protos.generated.LogSafety)
  }

  public interface TableMetadataOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.palantir.atlasdb.protos.generated.TableMetadata)
      com.google.protobuf.MessageOrBuilder {

    /**
     * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1;
     * @return Whether the rowName field is set.
     */
    boolean hasRowName();
    /**
     * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1;
     * @return The rowName.
     */
    com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription getRowName();
    /**
     * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1;
     */
    com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescriptionOrBuilder getRowNameOrBuilder();

    /**
     * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2;
     * @return Whether the columns field is set.
     */
    boolean hasColumns();
    /**
     * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2;
     * @return The columns.
     */
    com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription getColumns();
    /**
     * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2;
     */
    com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescriptionOrBuilder getColumnsOrBuilder();

    /**
     * required .com.palantir.atlasdb.protos.generated.TableConflictHandler conflictHandler = 3;
     * @return Whether the conflictHandler field is set.
     */
    boolean hasConflictHandler();
    /**
     * required .com.palantir.atlasdb.protos.generated.TableConflictHandler conflictHandler = 3;
     * @return The conflictHandler.
     */
    com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableConflictHandler getConflictHandler();

    /**
     * optional .com.palantir.atlasdb.protos.generated.CachePriority cachePriority = 4;
     * @return Whether the cachePriority field is set.
     */
    boolean hasCachePriority();
    /**
     * optional .com.palantir.atlasdb.protos.generated.CachePriority cachePriority = 4;
     * @return The cachePriority.
     */
    com.palantir.atlasdb.protos.generated.TableMetadataPersistence.CachePriority getCachePriority();

    /**
     * 
     * Tag number 5 was previously used.
     * 
* * optional bool rangeScanAllowed = 6; * @return Whether the rangeScanAllowed field is set. */ boolean hasRangeScanAllowed(); /** *
     * Tag number 5 was previously used.
     * 
* * optional bool rangeScanAllowed = 6; * @return The rangeScanAllowed. */ boolean getRangeScanAllowed(); /** * optional bool explicitCompression = 7 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.TableMetadata.explicitCompression is deprecated. * See TableMetadataPersistence.proto;l=9 * @return Whether the explicitCompression field is set. */ @java.lang.Deprecated boolean hasExplicitCompression(); /** * optional bool explicitCompression = 7 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.TableMetadata.explicitCompression is deprecated. * See TableMetadataPersistence.proto;l=9 * @return The explicitCompression. */ @java.lang.Deprecated boolean getExplicitCompression(); /** * optional bool negativeLookups = 8; * @return Whether the negativeLookups field is set. */ boolean hasNegativeLookups(); /** * optional bool negativeLookups = 8; * @return The negativeLookups. */ boolean getNegativeLookups(); /** * optional .com.palantir.atlasdb.protos.generated.SweepStrategy sweepStrategy = 9; * @return Whether the sweepStrategy field is set. */ boolean hasSweepStrategy(); /** * optional .com.palantir.atlasdb.protos.generated.SweepStrategy sweepStrategy = 9; * @return The sweepStrategy. */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.SweepStrategy getSweepStrategy(); /** * optional int32 explicitCompressionBlockSizeKiloBytes = 10; * @return Whether the explicitCompressionBlockSizeKiloBytes field is set. */ boolean hasExplicitCompressionBlockSizeKiloBytes(); /** * optional int32 explicitCompressionBlockSizeKiloBytes = 10; * @return The explicitCompressionBlockSizeKiloBytes. */ int getExplicitCompressionBlockSizeKiloBytes(); /** * optional bool appendHeavyAndReadLight = 11; * @return Whether the appendHeavyAndReadLight field is set. */ boolean hasAppendHeavyAndReadLight(); /** * optional bool appendHeavyAndReadLight = 11; * @return The appendHeavyAndReadLight. */ boolean getAppendHeavyAndReadLight(); /** * optional .com.palantir.atlasdb.protos.generated.LogSafety nameLogSafety = 12 [default = UNSAFE]; * @return Whether the nameLogSafety field is set. */ boolean hasNameLogSafety(); /** * optional .com.palantir.atlasdb.protos.generated.LogSafety nameLogSafety = 12 [default = UNSAFE]; * @return The nameLogSafety. */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety getNameLogSafety(); /** * optional bool denselyAccessedWideRows = 13; * @return Whether the denselyAccessedWideRows field is set. */ boolean hasDenselyAccessedWideRows(); /** * optional bool denselyAccessedWideRows = 13; * @return The denselyAccessedWideRows. */ boolean getDenselyAccessedWideRows(); } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.TableMetadata} */ public static final class TableMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.palantir.atlasdb.protos.generated.TableMetadata) TableMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use TableMetadata.newBuilder() to construct. private TableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TableMetadata() { conflictHandler_ = 1; cachePriority_ = 0; sweepStrategy_ = 0; nameLogSafety_ = 1; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TableMetadata(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_TableMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_TableMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata.Builder.class); } private int bitField0_; public static final int ROWNAME_FIELD_NUMBER = 1; private com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription rowName_; /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1; * @return Whether the rowName field is set. */ @java.lang.Override public boolean hasRowName() { return ((bitField0_ & 0x00000001) != 0); } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1; * @return The rowName. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription getRowName() { return rowName_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.getDefaultInstance() : rowName_; } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1; */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescriptionOrBuilder getRowNameOrBuilder() { return rowName_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.getDefaultInstance() : rowName_; } public static final int COLUMNS_FIELD_NUMBER = 2; private com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription columns_; /** * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2; * @return Whether the columns field is set. */ @java.lang.Override public boolean hasColumns() { return ((bitField0_ & 0x00000002) != 0); } /** * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2; * @return The columns. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription getColumns() { return columns_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.getDefaultInstance() : columns_; } /** * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2; */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescriptionOrBuilder getColumnsOrBuilder() { return columns_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.getDefaultInstance() : columns_; } public static final int CONFLICTHANDLER_FIELD_NUMBER = 3; private int conflictHandler_ = 1; /** * required .com.palantir.atlasdb.protos.generated.TableConflictHandler conflictHandler = 3; * @return Whether the conflictHandler field is set. */ @java.lang.Override public boolean hasConflictHandler() { return ((bitField0_ & 0x00000004) != 0); } /** * required .com.palantir.atlasdb.protos.generated.TableConflictHandler conflictHandler = 3; * @return The conflictHandler. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableConflictHandler getConflictHandler() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableConflictHandler result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableConflictHandler.forNumber(conflictHandler_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableConflictHandler.IGNORE_ALL : result; } public static final int CACHEPRIORITY_FIELD_NUMBER = 4; private int cachePriority_ = 0; /** * optional .com.palantir.atlasdb.protos.generated.CachePriority cachePriority = 4; * @return Whether the cachePriority field is set. */ @java.lang.Override public boolean hasCachePriority() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.CachePriority cachePriority = 4; * @return The cachePriority. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.CachePriority getCachePriority() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.CachePriority result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.CachePriority.forNumber(cachePriority_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.CachePriority.COLDEST : result; } public static final int RANGESCANALLOWED_FIELD_NUMBER = 6; private boolean rangeScanAllowed_ = false; /** *
     * Tag number 5 was previously used.
     * 
* * optional bool rangeScanAllowed = 6; * @return Whether the rangeScanAllowed field is set. */ @java.lang.Override public boolean hasRangeScanAllowed() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Tag number 5 was previously used.
     * 
* * optional bool rangeScanAllowed = 6; * @return The rangeScanAllowed. */ @java.lang.Override public boolean getRangeScanAllowed() { return rangeScanAllowed_; } public static final int EXPLICITCOMPRESSION_FIELD_NUMBER = 7; private boolean explicitCompression_ = false; /** * optional bool explicitCompression = 7 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.TableMetadata.explicitCompression is deprecated. * See TableMetadataPersistence.proto;l=9 * @return Whether the explicitCompression field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasExplicitCompression() { return ((bitField0_ & 0x00000020) != 0); } /** * optional bool explicitCompression = 7 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.TableMetadata.explicitCompression is deprecated. * See TableMetadataPersistence.proto;l=9 * @return The explicitCompression. */ @java.lang.Override @java.lang.Deprecated public boolean getExplicitCompression() { return explicitCompression_; } public static final int NEGATIVELOOKUPS_FIELD_NUMBER = 8; private boolean negativeLookups_ = false; /** * optional bool negativeLookups = 8; * @return Whether the negativeLookups field is set. */ @java.lang.Override public boolean hasNegativeLookups() { return ((bitField0_ & 0x00000040) != 0); } /** * optional bool negativeLookups = 8; * @return The negativeLookups. */ @java.lang.Override public boolean getNegativeLookups() { return negativeLookups_; } public static final int SWEEPSTRATEGY_FIELD_NUMBER = 9; private int sweepStrategy_ = 0; /** * optional .com.palantir.atlasdb.protos.generated.SweepStrategy sweepStrategy = 9; * @return Whether the sweepStrategy field is set. */ @java.lang.Override public boolean hasSweepStrategy() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.SweepStrategy sweepStrategy = 9; * @return The sweepStrategy. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.SweepStrategy getSweepStrategy() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.SweepStrategy result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.SweepStrategy.forNumber(sweepStrategy_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.SweepStrategy.NOTHING : result; } public static final int EXPLICITCOMPRESSIONBLOCKSIZEKILOBYTES_FIELD_NUMBER = 10; private int explicitCompressionBlockSizeKiloBytes_ = 0; /** * optional int32 explicitCompressionBlockSizeKiloBytes = 10; * @return Whether the explicitCompressionBlockSizeKiloBytes field is set. */ @java.lang.Override public boolean hasExplicitCompressionBlockSizeKiloBytes() { return ((bitField0_ & 0x00000100) != 0); } /** * optional int32 explicitCompressionBlockSizeKiloBytes = 10; * @return The explicitCompressionBlockSizeKiloBytes. */ @java.lang.Override public int getExplicitCompressionBlockSizeKiloBytes() { return explicitCompressionBlockSizeKiloBytes_; } public static final int APPENDHEAVYANDREADLIGHT_FIELD_NUMBER = 11; private boolean appendHeavyAndReadLight_ = false; /** * optional bool appendHeavyAndReadLight = 11; * @return Whether the appendHeavyAndReadLight field is set. */ @java.lang.Override public boolean hasAppendHeavyAndReadLight() { return ((bitField0_ & 0x00000200) != 0); } /** * optional bool appendHeavyAndReadLight = 11; * @return The appendHeavyAndReadLight. */ @java.lang.Override public boolean getAppendHeavyAndReadLight() { return appendHeavyAndReadLight_; } public static final int NAMELOGSAFETY_FIELD_NUMBER = 12; private int nameLogSafety_ = 1; /** * optional .com.palantir.atlasdb.protos.generated.LogSafety nameLogSafety = 12 [default = UNSAFE]; * @return Whether the nameLogSafety field is set. */ @java.lang.Override public boolean hasNameLogSafety() { return ((bitField0_ & 0x00000400) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.LogSafety nameLogSafety = 12 [default = UNSAFE]; * @return The nameLogSafety. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety getNameLogSafety() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.forNumber(nameLogSafety_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.UNSAFE : result; } public static final int DENSELYACCESSEDWIDEROWS_FIELD_NUMBER = 13; private boolean denselyAccessedWideRows_ = false; /** * optional bool denselyAccessedWideRows = 13; * @return Whether the denselyAccessedWideRows field is set. */ @java.lang.Override public boolean hasDenselyAccessedWideRows() { return ((bitField0_ & 0x00000800) != 0); } /** * optional bool denselyAccessedWideRows = 13; * @return The denselyAccessedWideRows. */ @java.lang.Override public boolean getDenselyAccessedWideRows() { return denselyAccessedWideRows_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasRowName()) { memoizedIsInitialized = 0; return false; } if (!hasColumns()) { memoizedIsInitialized = 0; return false; } if (!hasConflictHandler()) { memoizedIsInitialized = 0; return false; } if (!getRowName().isInitialized()) { memoizedIsInitialized = 0; return false; } if (!getColumns().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getRowName()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getColumns()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeEnum(3, conflictHandler_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeEnum(4, cachePriority_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeBool(6, rangeScanAllowed_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeBool(7, explicitCompression_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(8, negativeLookups_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeEnum(9, sweepStrategy_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeInt32(10, explicitCompressionBlockSizeKiloBytes_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeBool(11, appendHeavyAndReadLight_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeEnum(12, nameLogSafety_); } if (((bitField0_ & 0x00000800) != 0)) { output.writeBool(13, denselyAccessedWideRows_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRowName()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getColumns()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, conflictHandler_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, cachePriority_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, rangeScanAllowed_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, explicitCompression_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, negativeLookups_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(9, sweepStrategy_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(10, explicitCompressionBlockSizeKiloBytes_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, appendHeavyAndReadLight_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(12, nameLogSafety_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(13, denselyAccessedWideRows_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata)) { return super.equals(obj); } com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata other = (com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata) obj; if (hasRowName() != other.hasRowName()) return false; if (hasRowName()) { if (!getRowName() .equals(other.getRowName())) return false; } if (hasColumns() != other.hasColumns()) return false; if (hasColumns()) { if (!getColumns() .equals(other.getColumns())) return false; } if (hasConflictHandler() != other.hasConflictHandler()) return false; if (hasConflictHandler()) { if (conflictHandler_ != other.conflictHandler_) return false; } if (hasCachePriority() != other.hasCachePriority()) return false; if (hasCachePriority()) { if (cachePriority_ != other.cachePriority_) return false; } if (hasRangeScanAllowed() != other.hasRangeScanAllowed()) return false; if (hasRangeScanAllowed()) { if (getRangeScanAllowed() != other.getRangeScanAllowed()) return false; } if (hasExplicitCompression() != other.hasExplicitCompression()) return false; if (hasExplicitCompression()) { if (getExplicitCompression() != other.getExplicitCompression()) return false; } if (hasNegativeLookups() != other.hasNegativeLookups()) return false; if (hasNegativeLookups()) { if (getNegativeLookups() != other.getNegativeLookups()) return false; } if (hasSweepStrategy() != other.hasSweepStrategy()) return false; if (hasSweepStrategy()) { if (sweepStrategy_ != other.sweepStrategy_) return false; } if (hasExplicitCompressionBlockSizeKiloBytes() != other.hasExplicitCompressionBlockSizeKiloBytes()) return false; if (hasExplicitCompressionBlockSizeKiloBytes()) { if (getExplicitCompressionBlockSizeKiloBytes() != other.getExplicitCompressionBlockSizeKiloBytes()) return false; } if (hasAppendHeavyAndReadLight() != other.hasAppendHeavyAndReadLight()) return false; if (hasAppendHeavyAndReadLight()) { if (getAppendHeavyAndReadLight() != other.getAppendHeavyAndReadLight()) return false; } if (hasNameLogSafety() != other.hasNameLogSafety()) return false; if (hasNameLogSafety()) { if (nameLogSafety_ != other.nameLogSafety_) return false; } if (hasDenselyAccessedWideRows() != other.hasDenselyAccessedWideRows()) return false; if (hasDenselyAccessedWideRows()) { if (getDenselyAccessedWideRows() != other.getDenselyAccessedWideRows()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasRowName()) { hash = (37 * hash) + ROWNAME_FIELD_NUMBER; hash = (53 * hash) + getRowName().hashCode(); } if (hasColumns()) { hash = (37 * hash) + COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getColumns().hashCode(); } if (hasConflictHandler()) { hash = (37 * hash) + CONFLICTHANDLER_FIELD_NUMBER; hash = (53 * hash) + conflictHandler_; } if (hasCachePriority()) { hash = (37 * hash) + CACHEPRIORITY_FIELD_NUMBER; hash = (53 * hash) + cachePriority_; } if (hasRangeScanAllowed()) { hash = (37 * hash) + RANGESCANALLOWED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRangeScanAllowed()); } if (hasExplicitCompression()) { hash = (37 * hash) + EXPLICITCOMPRESSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getExplicitCompression()); } if (hasNegativeLookups()) { hash = (37 * hash) + NEGATIVELOOKUPS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNegativeLookups()); } if (hasSweepStrategy()) { hash = (37 * hash) + SWEEPSTRATEGY_FIELD_NUMBER; hash = (53 * hash) + sweepStrategy_; } if (hasExplicitCompressionBlockSizeKiloBytes()) { hash = (37 * hash) + EXPLICITCOMPRESSIONBLOCKSIZEKILOBYTES_FIELD_NUMBER; hash = (53 * hash) + getExplicitCompressionBlockSizeKiloBytes(); } if (hasAppendHeavyAndReadLight()) { hash = (37 * hash) + APPENDHEAVYANDREADLIGHT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAppendHeavyAndReadLight()); } if (hasNameLogSafety()) { hash = (37 * hash) + NAMELOGSAFETY_FIELD_NUMBER; hash = (53 * hash) + nameLogSafety_; } if (hasDenselyAccessedWideRows()) { hash = (37 * hash) + DENSELYACCESSEDWIDEROWS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDenselyAccessedWideRows()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.TableMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.palantir.atlasdb.protos.generated.TableMetadata) com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_TableMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_TableMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata.Builder.class); } // Construct using com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRowNameFieldBuilder(); getColumnsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; rowName_ = null; if (rowNameBuilder_ != null) { rowNameBuilder_.dispose(); rowNameBuilder_ = null; } columns_ = null; if (columnsBuilder_ != null) { columnsBuilder_.dispose(); columnsBuilder_ = null; } conflictHandler_ = 1; cachePriority_ = 0; rangeScanAllowed_ = false; explicitCompression_ = false; negativeLookups_ = false; sweepStrategy_ = 0; explicitCompressionBlockSizeKiloBytes_ = 0; appendHeavyAndReadLight_ = false; nameLogSafety_ = 1; denselyAccessedWideRows_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_TableMetadata_descriptor; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata getDefaultInstanceForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata.getDefaultInstance(); } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata build() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata buildPartial() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata result = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.rowName_ = rowNameBuilder_ == null ? rowName_ : rowNameBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.columns_ = columnsBuilder_ == null ? columns_ : columnsBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.conflictHandler_ = conflictHandler_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.cachePriority_ = cachePriority_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.rangeScanAllowed_ = rangeScanAllowed_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.explicitCompression_ = explicitCompression_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.negativeLookups_ = negativeLookups_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.sweepStrategy_ = sweepStrategy_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { result.explicitCompressionBlockSizeKiloBytes_ = explicitCompressionBlockSizeKiloBytes_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { result.appendHeavyAndReadLight_ = appendHeavyAndReadLight_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { result.nameLogSafety_ = nameLogSafety_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { result.denselyAccessedWideRows_ = denselyAccessedWideRows_; to_bitField0_ |= 0x00000800; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata) { return mergeFrom((com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata other) { if (other == com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata.getDefaultInstance()) return this; if (other.hasRowName()) { mergeRowName(other.getRowName()); } if (other.hasColumns()) { mergeColumns(other.getColumns()); } if (other.hasConflictHandler()) { setConflictHandler(other.getConflictHandler()); } if (other.hasCachePriority()) { setCachePriority(other.getCachePriority()); } if (other.hasRangeScanAllowed()) { setRangeScanAllowed(other.getRangeScanAllowed()); } if (other.hasExplicitCompression()) { setExplicitCompression(other.getExplicitCompression()); } if (other.hasNegativeLookups()) { setNegativeLookups(other.getNegativeLookups()); } if (other.hasSweepStrategy()) { setSweepStrategy(other.getSweepStrategy()); } if (other.hasExplicitCompressionBlockSizeKiloBytes()) { setExplicitCompressionBlockSizeKiloBytes(other.getExplicitCompressionBlockSizeKiloBytes()); } if (other.hasAppendHeavyAndReadLight()) { setAppendHeavyAndReadLight(other.getAppendHeavyAndReadLight()); } if (other.hasNameLogSafety()) { setNameLogSafety(other.getNameLogSafety()); } if (other.hasDenselyAccessedWideRows()) { setDenselyAccessedWideRows(other.getDenselyAccessedWideRows()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasRowName()) { return false; } if (!hasColumns()) { return false; } if (!hasConflictHandler()) { return false; } if (!getRowName().isInitialized()) { return false; } if (!getColumns().isInitialized()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getRowNameFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getColumnsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 24: { int tmpRaw = input.readEnum(); com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableConflictHandler tmpValue = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableConflictHandler.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(3, tmpRaw); } else { conflictHandler_ = tmpRaw; bitField0_ |= 0x00000004; } break; } // case 24 case 32: { int tmpRaw = input.readEnum(); com.palantir.atlasdb.protos.generated.TableMetadataPersistence.CachePriority tmpValue = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.CachePriority.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(4, tmpRaw); } else { cachePriority_ = tmpRaw; bitField0_ |= 0x00000008; } break; } // case 32 case 48: { rangeScanAllowed_ = input.readBool(); bitField0_ |= 0x00000010; break; } // case 48 case 56: { explicitCompression_ = input.readBool(); bitField0_ |= 0x00000020; break; } // case 56 case 64: { negativeLookups_ = input.readBool(); bitField0_ |= 0x00000040; break; } // case 64 case 72: { int tmpRaw = input.readEnum(); com.palantir.atlasdb.protos.generated.TableMetadataPersistence.SweepStrategy tmpValue = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.SweepStrategy.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(9, tmpRaw); } else { sweepStrategy_ = tmpRaw; bitField0_ |= 0x00000080; } break; } // case 72 case 80: { explicitCompressionBlockSizeKiloBytes_ = input.readInt32(); bitField0_ |= 0x00000100; break; } // case 80 case 88: { appendHeavyAndReadLight_ = input.readBool(); bitField0_ |= 0x00000200; break; } // case 88 case 96: { int tmpRaw = input.readEnum(); com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety tmpValue = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(12, tmpRaw); } else { nameLogSafety_ = tmpRaw; bitField0_ |= 0x00000400; } break; } // case 96 case 104: { denselyAccessedWideRows_ = input.readBool(); bitField0_ |= 0x00000800; break; } // case 104 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription rowName_; private com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescriptionOrBuilder> rowNameBuilder_; /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1; * @return Whether the rowName field is set. */ public boolean hasRowName() { return ((bitField0_ & 0x00000001) != 0); } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1; * @return The rowName. */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription getRowName() { if (rowNameBuilder_ == null) { return rowName_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.getDefaultInstance() : rowName_; } else { return rowNameBuilder_.getMessage(); } } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1; */ public Builder setRowName(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription value) { if (rowNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rowName_ = value; } else { rowNameBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1; */ public Builder setRowName( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.Builder builderForValue) { if (rowNameBuilder_ == null) { rowName_ = builderForValue.build(); } else { rowNameBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1; */ public Builder mergeRowName(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription value) { if (rowNameBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && rowName_ != null && rowName_ != com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.getDefaultInstance()) { getRowNameBuilder().mergeFrom(value); } else { rowName_ = value; } } else { rowNameBuilder_.mergeFrom(value); } if (rowName_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1; */ public Builder clearRowName() { bitField0_ = (bitField0_ & ~0x00000001); rowName_ = null; if (rowNameBuilder_ != null) { rowNameBuilder_.dispose(); rowNameBuilder_ = null; } onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.Builder getRowNameBuilder() { bitField0_ |= 0x00000001; onChanged(); return getRowNameFieldBuilder().getBuilder(); } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescriptionOrBuilder getRowNameOrBuilder() { if (rowNameBuilder_ != null) { return rowNameBuilder_.getMessageOrBuilder(); } else { return rowName_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.getDefaultInstance() : rowName_; } } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription rowName = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescriptionOrBuilder> getRowNameFieldBuilder() { if (rowNameBuilder_ == null) { rowNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescriptionOrBuilder>( getRowName(), getParentForChildren(), isClean()); rowName_ = null; } return rowNameBuilder_; } private com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription columns_; private com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescriptionOrBuilder> columnsBuilder_; /** * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2; * @return Whether the columns field is set. */ public boolean hasColumns() { return ((bitField0_ & 0x00000002) != 0); } /** * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2; * @return The columns. */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription getColumns() { if (columnsBuilder_ == null) { return columns_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.getDefaultInstance() : columns_; } else { return columnsBuilder_.getMessage(); } } /** * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2; */ public Builder setColumns(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } columns_ = value; } else { columnsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2; */ public Builder setColumns( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.Builder builderForValue) { if (columnsBuilder_ == null) { columns_ = builderForValue.build(); } else { columnsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2; */ public Builder mergeColumns(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription value) { if (columnsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && columns_ != null && columns_ != com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.getDefaultInstance()) { getColumnsBuilder().mergeFrom(value); } else { columns_ = value; } } else { columnsBuilder_.mergeFrom(value); } if (columns_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2; */ public Builder clearColumns() { bitField0_ = (bitField0_ & ~0x00000002); columns_ = null; if (columnsBuilder_ != null) { columnsBuilder_.dispose(); columnsBuilder_ = null; } onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.Builder getColumnsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getColumnsFieldBuilder().getBuilder(); } /** * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescriptionOrBuilder getColumnsOrBuilder() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilder(); } else { return columns_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.getDefaultInstance() : columns_; } } /** * required .com.palantir.atlasdb.protos.generated.ColumnMetadataDescription columns = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescriptionOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { columnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescriptionOrBuilder>( getColumns(), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } private int conflictHandler_ = 1; /** * required .com.palantir.atlasdb.protos.generated.TableConflictHandler conflictHandler = 3; * @return Whether the conflictHandler field is set. */ @java.lang.Override public boolean hasConflictHandler() { return ((bitField0_ & 0x00000004) != 0); } /** * required .com.palantir.atlasdb.protos.generated.TableConflictHandler conflictHandler = 3; * @return The conflictHandler. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableConflictHandler getConflictHandler() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableConflictHandler result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableConflictHandler.forNumber(conflictHandler_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableConflictHandler.IGNORE_ALL : result; } /** * required .com.palantir.atlasdb.protos.generated.TableConflictHandler conflictHandler = 3; * @param value The conflictHandler to set. * @return This builder for chaining. */ public Builder setConflictHandler(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableConflictHandler value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; conflictHandler_ = value.getNumber(); onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.TableConflictHandler conflictHandler = 3; * @return This builder for chaining. */ public Builder clearConflictHandler() { bitField0_ = (bitField0_ & ~0x00000004); conflictHandler_ = 1; onChanged(); return this; } private int cachePriority_ = 0; /** * optional .com.palantir.atlasdb.protos.generated.CachePriority cachePriority = 4; * @return Whether the cachePriority field is set. */ @java.lang.Override public boolean hasCachePriority() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.CachePriority cachePriority = 4; * @return The cachePriority. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.CachePriority getCachePriority() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.CachePriority result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.CachePriority.forNumber(cachePriority_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.CachePriority.COLDEST : result; } /** * optional .com.palantir.atlasdb.protos.generated.CachePriority cachePriority = 4; * @param value The cachePriority to set. * @return This builder for chaining. */ public Builder setCachePriority(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.CachePriority value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; cachePriority_ = value.getNumber(); onChanged(); return this; } /** * optional .com.palantir.atlasdb.protos.generated.CachePriority cachePriority = 4; * @return This builder for chaining. */ public Builder clearCachePriority() { bitField0_ = (bitField0_ & ~0x00000008); cachePriority_ = 0; onChanged(); return this; } private boolean rangeScanAllowed_ ; /** *
       * Tag number 5 was previously used.
       * 
* * optional bool rangeScanAllowed = 6; * @return Whether the rangeScanAllowed field is set. */ @java.lang.Override public boolean hasRangeScanAllowed() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * Tag number 5 was previously used.
       * 
* * optional bool rangeScanAllowed = 6; * @return The rangeScanAllowed. */ @java.lang.Override public boolean getRangeScanAllowed() { return rangeScanAllowed_; } /** *
       * Tag number 5 was previously used.
       * 
* * optional bool rangeScanAllowed = 6; * @param value The rangeScanAllowed to set. * @return This builder for chaining. */ public Builder setRangeScanAllowed(boolean value) { rangeScanAllowed_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * Tag number 5 was previously used.
       * 
* * optional bool rangeScanAllowed = 6; * @return This builder for chaining. */ public Builder clearRangeScanAllowed() { bitField0_ = (bitField0_ & ~0x00000010); rangeScanAllowed_ = false; onChanged(); return this; } private boolean explicitCompression_ ; /** * optional bool explicitCompression = 7 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.TableMetadata.explicitCompression is deprecated. * See TableMetadataPersistence.proto;l=9 * @return Whether the explicitCompression field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasExplicitCompression() { return ((bitField0_ & 0x00000020) != 0); } /** * optional bool explicitCompression = 7 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.TableMetadata.explicitCompression is deprecated. * See TableMetadataPersistence.proto;l=9 * @return The explicitCompression. */ @java.lang.Override @java.lang.Deprecated public boolean getExplicitCompression() { return explicitCompression_; } /** * optional bool explicitCompression = 7 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.TableMetadata.explicitCompression is deprecated. * See TableMetadataPersistence.proto;l=9 * @param value The explicitCompression to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setExplicitCompression(boolean value) { explicitCompression_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * optional bool explicitCompression = 7 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.TableMetadata.explicitCompression is deprecated. * See TableMetadataPersistence.proto;l=9 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearExplicitCompression() { bitField0_ = (bitField0_ & ~0x00000020); explicitCompression_ = false; onChanged(); return this; } private boolean negativeLookups_ ; /** * optional bool negativeLookups = 8; * @return Whether the negativeLookups field is set. */ @java.lang.Override public boolean hasNegativeLookups() { return ((bitField0_ & 0x00000040) != 0); } /** * optional bool negativeLookups = 8; * @return The negativeLookups. */ @java.lang.Override public boolean getNegativeLookups() { return negativeLookups_; } /** * optional bool negativeLookups = 8; * @param value The negativeLookups to set. * @return This builder for chaining. */ public Builder setNegativeLookups(boolean value) { negativeLookups_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** * optional bool negativeLookups = 8; * @return This builder for chaining. */ public Builder clearNegativeLookups() { bitField0_ = (bitField0_ & ~0x00000040); negativeLookups_ = false; onChanged(); return this; } private int sweepStrategy_ = 0; /** * optional .com.palantir.atlasdb.protos.generated.SweepStrategy sweepStrategy = 9; * @return Whether the sweepStrategy field is set. */ @java.lang.Override public boolean hasSweepStrategy() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.SweepStrategy sweepStrategy = 9; * @return The sweepStrategy. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.SweepStrategy getSweepStrategy() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.SweepStrategy result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.SweepStrategy.forNumber(sweepStrategy_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.SweepStrategy.NOTHING : result; } /** * optional .com.palantir.atlasdb.protos.generated.SweepStrategy sweepStrategy = 9; * @param value The sweepStrategy to set. * @return This builder for chaining. */ public Builder setSweepStrategy(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.SweepStrategy value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; sweepStrategy_ = value.getNumber(); onChanged(); return this; } /** * optional .com.palantir.atlasdb.protos.generated.SweepStrategy sweepStrategy = 9; * @return This builder for chaining. */ public Builder clearSweepStrategy() { bitField0_ = (bitField0_ & ~0x00000080); sweepStrategy_ = 0; onChanged(); return this; } private int explicitCompressionBlockSizeKiloBytes_ ; /** * optional int32 explicitCompressionBlockSizeKiloBytes = 10; * @return Whether the explicitCompressionBlockSizeKiloBytes field is set. */ @java.lang.Override public boolean hasExplicitCompressionBlockSizeKiloBytes() { return ((bitField0_ & 0x00000100) != 0); } /** * optional int32 explicitCompressionBlockSizeKiloBytes = 10; * @return The explicitCompressionBlockSizeKiloBytes. */ @java.lang.Override public int getExplicitCompressionBlockSizeKiloBytes() { return explicitCompressionBlockSizeKiloBytes_; } /** * optional int32 explicitCompressionBlockSizeKiloBytes = 10; * @param value The explicitCompressionBlockSizeKiloBytes to set. * @return This builder for chaining. */ public Builder setExplicitCompressionBlockSizeKiloBytes(int value) { explicitCompressionBlockSizeKiloBytes_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** * optional int32 explicitCompressionBlockSizeKiloBytes = 10; * @return This builder for chaining. */ public Builder clearExplicitCompressionBlockSizeKiloBytes() { bitField0_ = (bitField0_ & ~0x00000100); explicitCompressionBlockSizeKiloBytes_ = 0; onChanged(); return this; } private boolean appendHeavyAndReadLight_ ; /** * optional bool appendHeavyAndReadLight = 11; * @return Whether the appendHeavyAndReadLight field is set. */ @java.lang.Override public boolean hasAppendHeavyAndReadLight() { return ((bitField0_ & 0x00000200) != 0); } /** * optional bool appendHeavyAndReadLight = 11; * @return The appendHeavyAndReadLight. */ @java.lang.Override public boolean getAppendHeavyAndReadLight() { return appendHeavyAndReadLight_; } /** * optional bool appendHeavyAndReadLight = 11; * @param value The appendHeavyAndReadLight to set. * @return This builder for chaining. */ public Builder setAppendHeavyAndReadLight(boolean value) { appendHeavyAndReadLight_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** * optional bool appendHeavyAndReadLight = 11; * @return This builder for chaining. */ public Builder clearAppendHeavyAndReadLight() { bitField0_ = (bitField0_ & ~0x00000200); appendHeavyAndReadLight_ = false; onChanged(); return this; } private int nameLogSafety_ = 1; /** * optional .com.palantir.atlasdb.protos.generated.LogSafety nameLogSafety = 12 [default = UNSAFE]; * @return Whether the nameLogSafety field is set. */ @java.lang.Override public boolean hasNameLogSafety() { return ((bitField0_ & 0x00000400) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.LogSafety nameLogSafety = 12 [default = UNSAFE]; * @return The nameLogSafety. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety getNameLogSafety() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.forNumber(nameLogSafety_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.UNSAFE : result; } /** * optional .com.palantir.atlasdb.protos.generated.LogSafety nameLogSafety = 12 [default = UNSAFE]; * @param value The nameLogSafety to set. * @return This builder for chaining. */ public Builder setNameLogSafety(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; nameLogSafety_ = value.getNumber(); onChanged(); return this; } /** * optional .com.palantir.atlasdb.protos.generated.LogSafety nameLogSafety = 12 [default = UNSAFE]; * @return This builder for chaining. */ public Builder clearNameLogSafety() { bitField0_ = (bitField0_ & ~0x00000400); nameLogSafety_ = 1; onChanged(); return this; } private boolean denselyAccessedWideRows_ ; /** * optional bool denselyAccessedWideRows = 13; * @return Whether the denselyAccessedWideRows field is set. */ @java.lang.Override public boolean hasDenselyAccessedWideRows() { return ((bitField0_ & 0x00000800) != 0); } /** * optional bool denselyAccessedWideRows = 13; * @return The denselyAccessedWideRows. */ @java.lang.Override public boolean getDenselyAccessedWideRows() { return denselyAccessedWideRows_; } /** * optional bool denselyAccessedWideRows = 13; * @param value The denselyAccessedWideRows to set. * @return This builder for chaining. */ public Builder setDenselyAccessedWideRows(boolean value) { denselyAccessedWideRows_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** * optional bool denselyAccessedWideRows = 13; * @return This builder for chaining. */ public Builder clearDenselyAccessedWideRows() { bitField0_ = (bitField0_ & ~0x00000800); denselyAccessedWideRows_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.palantir.atlasdb.protos.generated.TableMetadata) } // @@protoc_insertion_point(class_scope:com.palantir.atlasdb.protos.generated.TableMetadata) private static final com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata(); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TableMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.TableMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface NameMetadataDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:com.palantir.atlasdb.protos.generated.NameMetadataDescription) com.google.protobuf.MessageOrBuilder { /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ java.util.List getNamePartsList(); /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription getNameParts(int index); /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ int getNamePartsCount(); /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ java.util.List getNamePartsOrBuilderList(); /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescriptionOrBuilder getNamePartsOrBuilder( int index); /** * optional bool hasFirstComponentHash = 2 [default = false, deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.NameMetadataDescription.hasFirstComponentHash is deprecated. * See TableMetadataPersistence.proto;l=20 * @return Whether the hasFirstComponentHash field is set. */ @java.lang.Deprecated boolean hasHasFirstComponentHash(); /** * optional bool hasFirstComponentHash = 2 [default = false, deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.NameMetadataDescription.hasFirstComponentHash is deprecated. * See TableMetadataPersistence.proto;l=20 * @return The hasFirstComponentHash. */ @java.lang.Deprecated boolean getHasFirstComponentHash(); /** * optional int32 numberOfComponentsHashed = 3 [default = 0]; * @return Whether the numberOfComponentsHashed field is set. */ boolean hasNumberOfComponentsHashed(); /** * optional int32 numberOfComponentsHashed = 3 [default = 0]; * @return The numberOfComponentsHashed. */ int getNumberOfComponentsHashed(); } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.NameMetadataDescription} */ public static final class NameMetadataDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.palantir.atlasdb.protos.generated.NameMetadataDescription) NameMetadataDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use NameMetadataDescription.newBuilder() to construct. private NameMetadataDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NameMetadataDescription() { nameParts_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new NameMetadataDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NameMetadataDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NameMetadataDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.Builder.class); } private int bitField0_; public static final int NAMEPARTS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List nameParts_; /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ @java.lang.Override public java.util.List getNamePartsList() { return nameParts_; } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ @java.lang.Override public java.util.List getNamePartsOrBuilderList() { return nameParts_; } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ @java.lang.Override public int getNamePartsCount() { return nameParts_.size(); } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription getNameParts(int index) { return nameParts_.get(index); } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescriptionOrBuilder getNamePartsOrBuilder( int index) { return nameParts_.get(index); } public static final int HASFIRSTCOMPONENTHASH_FIELD_NUMBER = 2; private boolean hasFirstComponentHash_ = false; /** * optional bool hasFirstComponentHash = 2 [default = false, deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.NameMetadataDescription.hasFirstComponentHash is deprecated. * See TableMetadataPersistence.proto;l=20 * @return Whether the hasFirstComponentHash field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasHasFirstComponentHash() { return ((bitField0_ & 0x00000001) != 0); } /** * optional bool hasFirstComponentHash = 2 [default = false, deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.NameMetadataDescription.hasFirstComponentHash is deprecated. * See TableMetadataPersistence.proto;l=20 * @return The hasFirstComponentHash. */ @java.lang.Override @java.lang.Deprecated public boolean getHasFirstComponentHash() { return hasFirstComponentHash_; } public static final int NUMBEROFCOMPONENTSHASHED_FIELD_NUMBER = 3; private int numberOfComponentsHashed_ = 0; /** * optional int32 numberOfComponentsHashed = 3 [default = 0]; * @return Whether the numberOfComponentsHashed field is set. */ @java.lang.Override public boolean hasNumberOfComponentsHashed() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 numberOfComponentsHashed = 3 [default = 0]; * @return The numberOfComponentsHashed. */ @java.lang.Override public int getNumberOfComponentsHashed() { return numberOfComponentsHashed_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getNamePartsCount(); i++) { if (!getNameParts(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < nameParts_.size(); i++) { output.writeMessage(1, nameParts_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(2, hasFirstComponentHash_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(3, numberOfComponentsHashed_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < nameParts_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, nameParts_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, hasFirstComponentHash_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, numberOfComponentsHashed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription)) { return super.equals(obj); } com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription other = (com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription) obj; if (!getNamePartsList() .equals(other.getNamePartsList())) return false; if (hasHasFirstComponentHash() != other.hasHasFirstComponentHash()) return false; if (hasHasFirstComponentHash()) { if (getHasFirstComponentHash() != other.getHasFirstComponentHash()) return false; } if (hasNumberOfComponentsHashed() != other.hasNumberOfComponentsHashed()) return false; if (hasNumberOfComponentsHashed()) { if (getNumberOfComponentsHashed() != other.getNumberOfComponentsHashed()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getNamePartsCount() > 0) { hash = (37 * hash) + NAMEPARTS_FIELD_NUMBER; hash = (53 * hash) + getNamePartsList().hashCode(); } if (hasHasFirstComponentHash()) { hash = (37 * hash) + HASFIRSTCOMPONENTHASH_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasFirstComponentHash()); } if (hasNumberOfComponentsHashed()) { hash = (37 * hash) + NUMBEROFCOMPONENTSHASHED_FIELD_NUMBER; hash = (53 * hash) + getNumberOfComponentsHashed(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.NameMetadataDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.palantir.atlasdb.protos.generated.NameMetadataDescription) com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NameMetadataDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NameMetadataDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.Builder.class); } // Construct using com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (namePartsBuilder_ == null) { nameParts_ = java.util.Collections.emptyList(); } else { nameParts_ = null; namePartsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); hasFirstComponentHash_ = false; numberOfComponentsHashed_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NameMetadataDescription_descriptor; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription getDefaultInstanceForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.getDefaultInstance(); } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription build() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription buildPartial() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription result = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription result) { if (namePartsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { nameParts_ = java.util.Collections.unmodifiableList(nameParts_); bitField0_ = (bitField0_ & ~0x00000001); } result.nameParts_ = nameParts_; } else { result.nameParts_ = namePartsBuilder_.build(); } } private void buildPartial0(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.hasFirstComponentHash_ = hasFirstComponentHash_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.numberOfComponentsHashed_ = numberOfComponentsHashed_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription) { return mergeFrom((com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription other) { if (other == com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.getDefaultInstance()) return this; if (namePartsBuilder_ == null) { if (!other.nameParts_.isEmpty()) { if (nameParts_.isEmpty()) { nameParts_ = other.nameParts_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureNamePartsIsMutable(); nameParts_.addAll(other.nameParts_); } onChanged(); } } else { if (!other.nameParts_.isEmpty()) { if (namePartsBuilder_.isEmpty()) { namePartsBuilder_.dispose(); namePartsBuilder_ = null; nameParts_ = other.nameParts_; bitField0_ = (bitField0_ & ~0x00000001); namePartsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getNamePartsFieldBuilder() : null; } else { namePartsBuilder_.addAllMessages(other.nameParts_); } } } if (other.hasHasFirstComponentHash()) { setHasFirstComponentHash(other.getHasFirstComponentHash()); } if (other.hasNumberOfComponentsHashed()) { setNumberOfComponentsHashed(other.getNumberOfComponentsHashed()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getNamePartsCount(); i++) { if (!getNameParts(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription m = input.readMessage( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.PARSER, extensionRegistry); if (namePartsBuilder_ == null) { ensureNamePartsIsMutable(); nameParts_.add(m); } else { namePartsBuilder_.addMessage(m); } break; } // case 10 case 16: { hasFirstComponentHash_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { numberOfComponentsHashed_ = input.readInt32(); bitField0_ |= 0x00000004; break; } // case 24 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List nameParts_ = java.util.Collections.emptyList(); private void ensureNamePartsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nameParts_ = new java.util.ArrayList(nameParts_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescriptionOrBuilder> namePartsBuilder_; /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public java.util.List getNamePartsList() { if (namePartsBuilder_ == null) { return java.util.Collections.unmodifiableList(nameParts_); } else { return namePartsBuilder_.getMessageList(); } } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public int getNamePartsCount() { if (namePartsBuilder_ == null) { return nameParts_.size(); } else { return namePartsBuilder_.getCount(); } } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription getNameParts(int index) { if (namePartsBuilder_ == null) { return nameParts_.get(index); } else { return namePartsBuilder_.getMessage(index); } } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public Builder setNameParts( int index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription value) { if (namePartsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNamePartsIsMutable(); nameParts_.set(index, value); onChanged(); } else { namePartsBuilder_.setMessage(index, value); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public Builder setNameParts( int index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.Builder builderForValue) { if (namePartsBuilder_ == null) { ensureNamePartsIsMutable(); nameParts_.set(index, builderForValue.build()); onChanged(); } else { namePartsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public Builder addNameParts(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription value) { if (namePartsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNamePartsIsMutable(); nameParts_.add(value); onChanged(); } else { namePartsBuilder_.addMessage(value); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public Builder addNameParts( int index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription value) { if (namePartsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNamePartsIsMutable(); nameParts_.add(index, value); onChanged(); } else { namePartsBuilder_.addMessage(index, value); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public Builder addNameParts( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.Builder builderForValue) { if (namePartsBuilder_ == null) { ensureNamePartsIsMutable(); nameParts_.add(builderForValue.build()); onChanged(); } else { namePartsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public Builder addNameParts( int index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.Builder builderForValue) { if (namePartsBuilder_ == null) { ensureNamePartsIsMutable(); nameParts_.add(index, builderForValue.build()); onChanged(); } else { namePartsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public Builder addAllNameParts( java.lang.Iterable values) { if (namePartsBuilder_ == null) { ensureNamePartsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, nameParts_); onChanged(); } else { namePartsBuilder_.addAllMessages(values); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public Builder clearNameParts() { if (namePartsBuilder_ == null) { nameParts_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { namePartsBuilder_.clear(); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public Builder removeNameParts(int index) { if (namePartsBuilder_ == null) { ensureNamePartsIsMutable(); nameParts_.remove(index); onChanged(); } else { namePartsBuilder_.remove(index); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.Builder getNamePartsBuilder( int index) { return getNamePartsFieldBuilder().getBuilder(index); } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescriptionOrBuilder getNamePartsOrBuilder( int index) { if (namePartsBuilder_ == null) { return nameParts_.get(index); } else { return namePartsBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public java.util.List getNamePartsOrBuilderList() { if (namePartsBuilder_ != null) { return namePartsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(nameParts_); } } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.Builder addNamePartsBuilder() { return getNamePartsFieldBuilder().addBuilder( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.getDefaultInstance()); } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.Builder addNamePartsBuilder( int index) { return getNamePartsFieldBuilder().addBuilder( index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.getDefaultInstance()); } /** * repeated .com.palantir.atlasdb.protos.generated.NameComponentDescription nameParts = 1; */ public java.util.List getNamePartsBuilderList() { return getNamePartsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescriptionOrBuilder> getNamePartsFieldBuilder() { if (namePartsBuilder_ == null) { namePartsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescriptionOrBuilder>( nameParts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); nameParts_ = null; } return namePartsBuilder_; } private boolean hasFirstComponentHash_ ; /** * optional bool hasFirstComponentHash = 2 [default = false, deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.NameMetadataDescription.hasFirstComponentHash is deprecated. * See TableMetadataPersistence.proto;l=20 * @return Whether the hasFirstComponentHash field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasHasFirstComponentHash() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool hasFirstComponentHash = 2 [default = false, deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.NameMetadataDescription.hasFirstComponentHash is deprecated. * See TableMetadataPersistence.proto;l=20 * @return The hasFirstComponentHash. */ @java.lang.Override @java.lang.Deprecated public boolean getHasFirstComponentHash() { return hasFirstComponentHash_; } /** * optional bool hasFirstComponentHash = 2 [default = false, deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.NameMetadataDescription.hasFirstComponentHash is deprecated. * See TableMetadataPersistence.proto;l=20 * @param value The hasFirstComponentHash to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setHasFirstComponentHash(boolean value) { hasFirstComponentHash_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional bool hasFirstComponentHash = 2 [default = false, deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.NameMetadataDescription.hasFirstComponentHash is deprecated. * See TableMetadataPersistence.proto;l=20 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearHasFirstComponentHash() { bitField0_ = (bitField0_ & ~0x00000002); hasFirstComponentHash_ = false; onChanged(); return this; } private int numberOfComponentsHashed_ ; /** * optional int32 numberOfComponentsHashed = 3 [default = 0]; * @return Whether the numberOfComponentsHashed field is set. */ @java.lang.Override public boolean hasNumberOfComponentsHashed() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 numberOfComponentsHashed = 3 [default = 0]; * @return The numberOfComponentsHashed. */ @java.lang.Override public int getNumberOfComponentsHashed() { return numberOfComponentsHashed_; } /** * optional int32 numberOfComponentsHashed = 3 [default = 0]; * @param value The numberOfComponentsHashed to set. * @return This builder for chaining. */ public Builder setNumberOfComponentsHashed(int value) { numberOfComponentsHashed_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * optional int32 numberOfComponentsHashed = 3 [default = 0]; * @return This builder for chaining. */ public Builder clearNumberOfComponentsHashed() { bitField0_ = (bitField0_ & ~0x00000004); numberOfComponentsHashed_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.palantir.atlasdb.protos.generated.NameMetadataDescription) } // @@protoc_insertion_point(class_scope:com.palantir.atlasdb.protos.generated.NameMetadataDescription) private static final com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription(); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NameMetadataDescription parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface NameComponentDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:com.palantir.atlasdb.protos.generated.NameComponentDescription) com.google.protobuf.MessageOrBuilder { /** * required string componentName = 1; * @return Whether the componentName field is set. */ boolean hasComponentName(); /** * required string componentName = 1; * @return The componentName. */ java.lang.String getComponentName(); /** * required string componentName = 1; * @return The bytes for componentName. */ com.google.protobuf.ByteString getComponentNameBytes(); /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 2; * @return Whether the type field is set. */ boolean hasType(); /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 2; * @return The type. */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType getType(); /** * required .com.palantir.atlasdb.protos.generated.ValueByteOrder order = 3; * @return Whether the order field is set. */ boolean hasOrder(); /** * required .com.palantir.atlasdb.protos.generated.ValueByteOrder order = 3; * @return The order. */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueByteOrder getOrder(); /** * optional bool hasUniformPartitioner = 4; * @return Whether the hasUniformPartitioner field is set. */ boolean hasHasUniformPartitioner(); /** * optional bool hasUniformPartitioner = 4; * @return The hasUniformPartitioner. */ boolean getHasUniformPartitioner(); /** * repeated string explicitPartitions = 5; * @return A list containing the explicitPartitions. */ java.util.List getExplicitPartitionsList(); /** * repeated string explicitPartitions = 5; * @return The count of explicitPartitions. */ int getExplicitPartitionsCount(); /** * repeated string explicitPartitions = 5; * @param index The index of the element to return. * @return The explicitPartitions at the given index. */ java.lang.String getExplicitPartitions(int index); /** * repeated string explicitPartitions = 5; * @param index The index of the value to return. * @return The bytes of the explicitPartitions at the given index. */ com.google.protobuf.ByteString getExplicitPartitionsBytes(int index); /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 6 [default = UNSAFE]; * @return Whether the logSafety field is set. */ boolean hasLogSafety(); /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 6 [default = UNSAFE]; * @return The logSafety. */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety getLogSafety(); } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.NameComponentDescription} */ public static final class NameComponentDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.palantir.atlasdb.protos.generated.NameComponentDescription) NameComponentDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use NameComponentDescription.newBuilder() to construct. private NameComponentDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NameComponentDescription() { componentName_ = ""; type_ = 1; order_ = 1; explicitPartitions_ = com.google.protobuf.LazyStringArrayList.emptyList(); logSafety_ = 1; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new NameComponentDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NameComponentDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NameComponentDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.Builder.class); } private int bitField0_; public static final int COMPONENTNAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object componentName_ = ""; /** * required string componentName = 1; * @return Whether the componentName field is set. */ @java.lang.Override public boolean hasComponentName() { return ((bitField0_ & 0x00000001) != 0); } /** * required string componentName = 1; * @return The componentName. */ @java.lang.Override public java.lang.String getComponentName() { java.lang.Object ref = componentName_; 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 (bs.isValidUtf8()) { componentName_ = s; } return s; } } /** * required string componentName = 1; * @return The bytes for componentName. */ @java.lang.Override public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 1; /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 2; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000002) != 0); } /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 2; * @return The type. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType getType() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType.forNumber(type_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType.VAR_LONG : result; } public static final int ORDER_FIELD_NUMBER = 3; private int order_ = 1; /** * required .com.palantir.atlasdb.protos.generated.ValueByteOrder order = 3; * @return Whether the order field is set. */ @java.lang.Override public boolean hasOrder() { return ((bitField0_ & 0x00000004) != 0); } /** * required .com.palantir.atlasdb.protos.generated.ValueByteOrder order = 3; * @return The order. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueByteOrder getOrder() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueByteOrder result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueByteOrder.forNumber(order_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueByteOrder.ASCENDING : result; } public static final int HASUNIFORMPARTITIONER_FIELD_NUMBER = 4; private boolean hasUniformPartitioner_ = false; /** * optional bool hasUniformPartitioner = 4; * @return Whether the hasUniformPartitioner field is set. */ @java.lang.Override public boolean hasHasUniformPartitioner() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool hasUniformPartitioner = 4; * @return The hasUniformPartitioner. */ @java.lang.Override public boolean getHasUniformPartitioner() { return hasUniformPartitioner_; } public static final int EXPLICITPARTITIONS_FIELD_NUMBER = 5; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList explicitPartitions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string explicitPartitions = 5; * @return A list containing the explicitPartitions. */ public com.google.protobuf.ProtocolStringList getExplicitPartitionsList() { return explicitPartitions_; } /** * repeated string explicitPartitions = 5; * @return The count of explicitPartitions. */ public int getExplicitPartitionsCount() { return explicitPartitions_.size(); } /** * repeated string explicitPartitions = 5; * @param index The index of the element to return. * @return The explicitPartitions at the given index. */ public java.lang.String getExplicitPartitions(int index) { return explicitPartitions_.get(index); } /** * repeated string explicitPartitions = 5; * @param index The index of the value to return. * @return The bytes of the explicitPartitions at the given index. */ public com.google.protobuf.ByteString getExplicitPartitionsBytes(int index) { return explicitPartitions_.getByteString(index); } public static final int LOGSAFETY_FIELD_NUMBER = 6; private int logSafety_ = 1; /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 6 [default = UNSAFE]; * @return Whether the logSafety field is set. */ @java.lang.Override public boolean hasLogSafety() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 6 [default = UNSAFE]; * @return The logSafety. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety getLogSafety() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.forNumber(logSafety_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.UNSAFE : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasComponentName()) { memoizedIsInitialized = 0; return false; } if (!hasType()) { memoizedIsInitialized = 0; return false; } if (!hasOrder()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, componentName_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeEnum(2, type_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeEnum(3, order_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(4, hasUniformPartitioner_); } for (int i = 0; i < explicitPartitions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, explicitPartitions_.getRaw(i)); } if (((bitField0_ & 0x00000010) != 0)) { output.writeEnum(6, logSafety_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, componentName_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, type_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, order_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, hasUniformPartitioner_); } { int dataSize = 0; for (int i = 0; i < explicitPartitions_.size(); i++) { dataSize += computeStringSizeNoTag(explicitPartitions_.getRaw(i)); } size += dataSize; size += 1 * getExplicitPartitionsList().size(); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, logSafety_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription)) { return super.equals(obj); } com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription other = (com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription) obj; if (hasComponentName() != other.hasComponentName()) return false; if (hasComponentName()) { if (!getComponentName() .equals(other.getComponentName())) return false; } if (hasType() != other.hasType()) return false; if (hasType()) { if (type_ != other.type_) return false; } if (hasOrder() != other.hasOrder()) return false; if (hasOrder()) { if (order_ != other.order_) return false; } if (hasHasUniformPartitioner() != other.hasHasUniformPartitioner()) return false; if (hasHasUniformPartitioner()) { if (getHasUniformPartitioner() != other.getHasUniformPartitioner()) return false; } if (!getExplicitPartitionsList() .equals(other.getExplicitPartitionsList())) return false; if (hasLogSafety() != other.hasLogSafety()) return false; if (hasLogSafety()) { if (logSafety_ != other.logSafety_) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasComponentName()) { hash = (37 * hash) + COMPONENTNAME_FIELD_NUMBER; hash = (53 * hash) + getComponentName().hashCode(); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; } if (hasOrder()) { hash = (37 * hash) + ORDER_FIELD_NUMBER; hash = (53 * hash) + order_; } if (hasHasUniformPartitioner()) { hash = (37 * hash) + HASUNIFORMPARTITIONER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasUniformPartitioner()); } if (getExplicitPartitionsCount() > 0) { hash = (37 * hash) + EXPLICITPARTITIONS_FIELD_NUMBER; hash = (53 * hash) + getExplicitPartitionsList().hashCode(); } if (hasLogSafety()) { hash = (37 * hash) + LOGSAFETY_FIELD_NUMBER; hash = (53 * hash) + logSafety_; } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.NameComponentDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.palantir.atlasdb.protos.generated.NameComponentDescription) com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NameComponentDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NameComponentDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.Builder.class); } // Construct using com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; componentName_ = ""; type_ = 1; order_ = 1; hasUniformPartitioner_ = false; explicitPartitions_ = com.google.protobuf.LazyStringArrayList.emptyList(); logSafety_ = 1; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NameComponentDescription_descriptor; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription getDefaultInstanceForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.getDefaultInstance(); } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription build() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription buildPartial() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription result = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.componentName_ = componentName_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.type_ = type_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.order_ = order_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.hasUniformPartitioner_ = hasUniformPartitioner_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { explicitPartitions_.makeImmutable(); result.explicitPartitions_ = explicitPartitions_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.logSafety_ = logSafety_; to_bitField0_ |= 0x00000010; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription) { return mergeFrom((com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription other) { if (other == com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription.getDefaultInstance()) return this; if (other.hasComponentName()) { componentName_ = other.componentName_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasType()) { setType(other.getType()); } if (other.hasOrder()) { setOrder(other.getOrder()); } if (other.hasHasUniformPartitioner()) { setHasUniformPartitioner(other.getHasUniformPartitioner()); } if (!other.explicitPartitions_.isEmpty()) { if (explicitPartitions_.isEmpty()) { explicitPartitions_ = other.explicitPartitions_; bitField0_ |= 0x00000010; } else { ensureExplicitPartitionsIsMutable(); explicitPartitions_.addAll(other.explicitPartitions_); } onChanged(); } if (other.hasLogSafety()) { setLogSafety(other.getLogSafety()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasComponentName()) { return false; } if (!hasType()) { return false; } if (!hasOrder()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { componentName_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { int tmpRaw = input.readEnum(); com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType tmpValue = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(2, tmpRaw); } else { type_ = tmpRaw; bitField0_ |= 0x00000002; } break; } // case 16 case 24: { int tmpRaw = input.readEnum(); com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueByteOrder tmpValue = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueByteOrder.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(3, tmpRaw); } else { order_ = tmpRaw; bitField0_ |= 0x00000004; } break; } // case 24 case 32: { hasUniformPartitioner_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 32 case 42: { com.google.protobuf.ByteString bs = input.readBytes(); ensureExplicitPartitionsIsMutable(); explicitPartitions_.add(bs); break; } // case 42 case 48: { int tmpRaw = input.readEnum(); com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety tmpValue = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(6, tmpRaw); } else { logSafety_ = tmpRaw; bitField0_ |= 0x00000020; } break; } // case 48 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object componentName_ = ""; /** * required string componentName = 1; * @return Whether the componentName field is set. */ public boolean hasComponentName() { return ((bitField0_ & 0x00000001) != 0); } /** * required string componentName = 1; * @return The componentName. */ public java.lang.String getComponentName() { java.lang.Object ref = componentName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { componentName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string componentName = 1; * @return The bytes for componentName. */ public com.google.protobuf.ByteString getComponentNameBytes() { java.lang.Object ref = componentName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); componentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string componentName = 1; * @param value The componentName to set. * @return This builder for chaining. */ public Builder setComponentName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } componentName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * required string componentName = 1; * @return This builder for chaining. */ public Builder clearComponentName() { componentName_ = getDefaultInstance().getComponentName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * required string componentName = 1; * @param value The bytes for componentName to set. * @return This builder for chaining. */ public Builder setComponentNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } componentName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private int type_ = 1; /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 2; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000002) != 0); } /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 2; * @return The type. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType getType() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType.forNumber(type_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType.VAR_LONG : result; } /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 2; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; type_ = value.getNumber(); onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 2; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000002); type_ = 1; onChanged(); return this; } private int order_ = 1; /** * required .com.palantir.atlasdb.protos.generated.ValueByteOrder order = 3; * @return Whether the order field is set. */ @java.lang.Override public boolean hasOrder() { return ((bitField0_ & 0x00000004) != 0); } /** * required .com.palantir.atlasdb.protos.generated.ValueByteOrder order = 3; * @return The order. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueByteOrder getOrder() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueByteOrder result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueByteOrder.forNumber(order_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueByteOrder.ASCENDING : result; } /** * required .com.palantir.atlasdb.protos.generated.ValueByteOrder order = 3; * @param value The order to set. * @return This builder for chaining. */ public Builder setOrder(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueByteOrder value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; order_ = value.getNumber(); onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.ValueByteOrder order = 3; * @return This builder for chaining. */ public Builder clearOrder() { bitField0_ = (bitField0_ & ~0x00000004); order_ = 1; onChanged(); return this; } private boolean hasUniformPartitioner_ ; /** * optional bool hasUniformPartitioner = 4; * @return Whether the hasUniformPartitioner field is set. */ @java.lang.Override public boolean hasHasUniformPartitioner() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bool hasUniformPartitioner = 4; * @return The hasUniformPartitioner. */ @java.lang.Override public boolean getHasUniformPartitioner() { return hasUniformPartitioner_; } /** * optional bool hasUniformPartitioner = 4; * @param value The hasUniformPartitioner to set. * @return This builder for chaining. */ public Builder setHasUniformPartitioner(boolean value) { hasUniformPartitioner_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * optional bool hasUniformPartitioner = 4; * @return This builder for chaining. */ public Builder clearHasUniformPartitioner() { bitField0_ = (bitField0_ & ~0x00000008); hasUniformPartitioner_ = false; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList explicitPartitions_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureExplicitPartitionsIsMutable() { if (!explicitPartitions_.isModifiable()) { explicitPartitions_ = new com.google.protobuf.LazyStringArrayList(explicitPartitions_); } bitField0_ |= 0x00000010; } /** * repeated string explicitPartitions = 5; * @return A list containing the explicitPartitions. */ public com.google.protobuf.ProtocolStringList getExplicitPartitionsList() { explicitPartitions_.makeImmutable(); return explicitPartitions_; } /** * repeated string explicitPartitions = 5; * @return The count of explicitPartitions. */ public int getExplicitPartitionsCount() { return explicitPartitions_.size(); } /** * repeated string explicitPartitions = 5; * @param index The index of the element to return. * @return The explicitPartitions at the given index. */ public java.lang.String getExplicitPartitions(int index) { return explicitPartitions_.get(index); } /** * repeated string explicitPartitions = 5; * @param index The index of the value to return. * @return The bytes of the explicitPartitions at the given index. */ public com.google.protobuf.ByteString getExplicitPartitionsBytes(int index) { return explicitPartitions_.getByteString(index); } /** * repeated string explicitPartitions = 5; * @param index The index to set the value at. * @param value The explicitPartitions to set. * @return This builder for chaining. */ public Builder setExplicitPartitions( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureExplicitPartitionsIsMutable(); explicitPartitions_.set(index, value); bitField0_ |= 0x00000010; onChanged(); return this; } /** * repeated string explicitPartitions = 5; * @param value The explicitPartitions to add. * @return This builder for chaining. */ public Builder addExplicitPartitions( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureExplicitPartitionsIsMutable(); explicitPartitions_.add(value); bitField0_ |= 0x00000010; onChanged(); return this; } /** * repeated string explicitPartitions = 5; * @param values The explicitPartitions to add. * @return This builder for chaining. */ public Builder addAllExplicitPartitions( java.lang.Iterable values) { ensureExplicitPartitionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, explicitPartitions_); bitField0_ |= 0x00000010; onChanged(); return this; } /** * repeated string explicitPartitions = 5; * @return This builder for chaining. */ public Builder clearExplicitPartitions() { explicitPartitions_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000010);; onChanged(); return this; } /** * repeated string explicitPartitions = 5; * @param value The bytes of the explicitPartitions to add. * @return This builder for chaining. */ public Builder addExplicitPartitionsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureExplicitPartitionsIsMutable(); explicitPartitions_.add(value); bitField0_ |= 0x00000010; onChanged(); return this; } private int logSafety_ = 1; /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 6 [default = UNSAFE]; * @return Whether the logSafety field is set. */ @java.lang.Override public boolean hasLogSafety() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 6 [default = UNSAFE]; * @return The logSafety. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety getLogSafety() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.forNumber(logSafety_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.UNSAFE : result; } /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 6 [default = UNSAFE]; * @param value The logSafety to set. * @return This builder for chaining. */ public Builder setLogSafety(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; logSafety_ = value.getNumber(); onChanged(); return this; } /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 6 [default = UNSAFE]; * @return This builder for chaining. */ public Builder clearLogSafety() { bitField0_ = (bitField0_ & ~0x00000020); logSafety_ = 1; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.palantir.atlasdb.protos.generated.NameComponentDescription) } // @@protoc_insertion_point(class_scope:com.palantir.atlasdb.protos.generated.NameComponentDescription) private static final com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription(); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NameComponentDescription parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameComponentDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnMetadataDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:com.palantir.atlasdb.protos.generated.ColumnMetadataDescription) com.google.protobuf.MessageOrBuilder { /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ java.util.List getNamedColumnsList(); /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription getNamedColumns(int index); /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ int getNamedColumnsCount(); /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ java.util.List getNamedColumnsOrBuilderList(); /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescriptionOrBuilder getNamedColumnsOrBuilder( int index); /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; * @return Whether the dynamicColumn field is set. */ boolean hasDynamicColumn(); /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; * @return The dynamicColumn. */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription getDynamicColumn(); /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescriptionOrBuilder getDynamicColumnOrBuilder(); } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.ColumnMetadataDescription} */ public static final class ColumnMetadataDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.palantir.atlasdb.protos.generated.ColumnMetadataDescription) ColumnMetadataDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use ColumnMetadataDescription.newBuilder() to construct. private ColumnMetadataDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ColumnMetadataDescription() { namedColumns_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ColumnMetadataDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_ColumnMetadataDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_ColumnMetadataDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.Builder.class); } private int bitField0_; public static final int NAMEDCOLUMNS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List namedColumns_; /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ @java.lang.Override public java.util.List getNamedColumnsList() { return namedColumns_; } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ @java.lang.Override public java.util.List getNamedColumnsOrBuilderList() { return namedColumns_; } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ @java.lang.Override public int getNamedColumnsCount() { return namedColumns_.size(); } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription getNamedColumns(int index) { return namedColumns_.get(index); } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescriptionOrBuilder getNamedColumnsOrBuilder( int index) { return namedColumns_.get(index); } public static final int DYNAMICCOLUMN_FIELD_NUMBER = 2; private com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription dynamicColumn_; /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; * @return Whether the dynamicColumn field is set. */ @java.lang.Override public boolean hasDynamicColumn() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; * @return The dynamicColumn. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription getDynamicColumn() { return dynamicColumn_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.getDefaultInstance() : dynamicColumn_; } /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescriptionOrBuilder getDynamicColumnOrBuilder() { return dynamicColumn_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.getDefaultInstance() : dynamicColumn_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getNamedColumnsCount(); i++) { if (!getNamedColumns(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasDynamicColumn()) { if (!getDynamicColumn().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < namedColumns_.size(); i++) { output.writeMessage(1, namedColumns_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getDynamicColumn()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < namedColumns_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, namedColumns_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getDynamicColumn()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription)) { return super.equals(obj); } com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription other = (com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription) obj; if (!getNamedColumnsList() .equals(other.getNamedColumnsList())) return false; if (hasDynamicColumn() != other.hasDynamicColumn()) return false; if (hasDynamicColumn()) { if (!getDynamicColumn() .equals(other.getDynamicColumn())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getNamedColumnsCount() > 0) { hash = (37 * hash) + NAMEDCOLUMNS_FIELD_NUMBER; hash = (53 * hash) + getNamedColumnsList().hashCode(); } if (hasDynamicColumn()) { hash = (37 * hash) + DYNAMICCOLUMN_FIELD_NUMBER; hash = (53 * hash) + getDynamicColumn().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.ColumnMetadataDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.palantir.atlasdb.protos.generated.ColumnMetadataDescription) com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_ColumnMetadataDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_ColumnMetadataDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.Builder.class); } // Construct using com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getNamedColumnsFieldBuilder(); getDynamicColumnFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (namedColumnsBuilder_ == null) { namedColumns_ = java.util.Collections.emptyList(); } else { namedColumns_ = null; namedColumnsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); dynamicColumn_ = null; if (dynamicColumnBuilder_ != null) { dynamicColumnBuilder_.dispose(); dynamicColumnBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_ColumnMetadataDescription_descriptor; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription getDefaultInstanceForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.getDefaultInstance(); } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription build() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription buildPartial() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription result = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription result) { if (namedColumnsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { namedColumns_ = java.util.Collections.unmodifiableList(namedColumns_); bitField0_ = (bitField0_ & ~0x00000001); } result.namedColumns_ = namedColumns_; } else { result.namedColumns_ = namedColumnsBuilder_.build(); } } private void buildPartial0(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.dynamicColumn_ = dynamicColumnBuilder_ == null ? dynamicColumn_ : dynamicColumnBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription) { return mergeFrom((com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription other) { if (other == com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription.getDefaultInstance()) return this; if (namedColumnsBuilder_ == null) { if (!other.namedColumns_.isEmpty()) { if (namedColumns_.isEmpty()) { namedColumns_ = other.namedColumns_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureNamedColumnsIsMutable(); namedColumns_.addAll(other.namedColumns_); } onChanged(); } } else { if (!other.namedColumns_.isEmpty()) { if (namedColumnsBuilder_.isEmpty()) { namedColumnsBuilder_.dispose(); namedColumnsBuilder_ = null; namedColumns_ = other.namedColumns_; bitField0_ = (bitField0_ & ~0x00000001); namedColumnsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getNamedColumnsFieldBuilder() : null; } else { namedColumnsBuilder_.addAllMessages(other.namedColumns_); } } } if (other.hasDynamicColumn()) { mergeDynamicColumn(other.getDynamicColumn()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getNamedColumnsCount(); i++) { if (!getNamedColumns(i).isInitialized()) { return false; } } if (hasDynamicColumn()) { if (!getDynamicColumn().isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription m = input.readMessage( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.PARSER, extensionRegistry); if (namedColumnsBuilder_ == null) { ensureNamedColumnsIsMutable(); namedColumns_.add(m); } else { namedColumnsBuilder_.addMessage(m); } break; } // case 10 case 18: { input.readMessage( getDynamicColumnFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List namedColumns_ = java.util.Collections.emptyList(); private void ensureNamedColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { namedColumns_ = new java.util.ArrayList(namedColumns_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescriptionOrBuilder> namedColumnsBuilder_; /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public java.util.List getNamedColumnsList() { if (namedColumnsBuilder_ == null) { return java.util.Collections.unmodifiableList(namedColumns_); } else { return namedColumnsBuilder_.getMessageList(); } } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public int getNamedColumnsCount() { if (namedColumnsBuilder_ == null) { return namedColumns_.size(); } else { return namedColumnsBuilder_.getCount(); } } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription getNamedColumns(int index) { if (namedColumnsBuilder_ == null) { return namedColumns_.get(index); } else { return namedColumnsBuilder_.getMessage(index); } } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public Builder setNamedColumns( int index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription value) { if (namedColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNamedColumnsIsMutable(); namedColumns_.set(index, value); onChanged(); } else { namedColumnsBuilder_.setMessage(index, value); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public Builder setNamedColumns( int index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.Builder builderForValue) { if (namedColumnsBuilder_ == null) { ensureNamedColumnsIsMutable(); namedColumns_.set(index, builderForValue.build()); onChanged(); } else { namedColumnsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public Builder addNamedColumns(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription value) { if (namedColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNamedColumnsIsMutable(); namedColumns_.add(value); onChanged(); } else { namedColumnsBuilder_.addMessage(value); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public Builder addNamedColumns( int index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription value) { if (namedColumnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNamedColumnsIsMutable(); namedColumns_.add(index, value); onChanged(); } else { namedColumnsBuilder_.addMessage(index, value); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public Builder addNamedColumns( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.Builder builderForValue) { if (namedColumnsBuilder_ == null) { ensureNamedColumnsIsMutable(); namedColumns_.add(builderForValue.build()); onChanged(); } else { namedColumnsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public Builder addNamedColumns( int index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.Builder builderForValue) { if (namedColumnsBuilder_ == null) { ensureNamedColumnsIsMutable(); namedColumns_.add(index, builderForValue.build()); onChanged(); } else { namedColumnsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public Builder addAllNamedColumns( java.lang.Iterable values) { if (namedColumnsBuilder_ == null) { ensureNamedColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, namedColumns_); onChanged(); } else { namedColumnsBuilder_.addAllMessages(values); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public Builder clearNamedColumns() { if (namedColumnsBuilder_ == null) { namedColumns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { namedColumnsBuilder_.clear(); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public Builder removeNamedColumns(int index) { if (namedColumnsBuilder_ == null) { ensureNamedColumnsIsMutable(); namedColumns_.remove(index); onChanged(); } else { namedColumnsBuilder_.remove(index); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.Builder getNamedColumnsBuilder( int index) { return getNamedColumnsFieldBuilder().getBuilder(index); } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescriptionOrBuilder getNamedColumnsOrBuilder( int index) { if (namedColumnsBuilder_ == null) { return namedColumns_.get(index); } else { return namedColumnsBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public java.util.List getNamedColumnsOrBuilderList() { if (namedColumnsBuilder_ != null) { return namedColumnsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(namedColumns_); } } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.Builder addNamedColumnsBuilder() { return getNamedColumnsFieldBuilder().addBuilder( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.getDefaultInstance()); } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.Builder addNamedColumnsBuilder( int index) { return getNamedColumnsFieldBuilder().addBuilder( index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.getDefaultInstance()); } /** * repeated .com.palantir.atlasdb.protos.generated.NamedColumnDescription namedColumns = 1; */ public java.util.List getNamedColumnsBuilderList() { return getNamedColumnsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescriptionOrBuilder> getNamedColumnsFieldBuilder() { if (namedColumnsBuilder_ == null) { namedColumnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescriptionOrBuilder>( namedColumns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); namedColumns_ = null; } return namedColumnsBuilder_; } private com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription dynamicColumn_; private com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescriptionOrBuilder> dynamicColumnBuilder_; /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; * @return Whether the dynamicColumn field is set. */ public boolean hasDynamicColumn() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; * @return The dynamicColumn. */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription getDynamicColumn() { if (dynamicColumnBuilder_ == null) { return dynamicColumn_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.getDefaultInstance() : dynamicColumn_; } else { return dynamicColumnBuilder_.getMessage(); } } /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; */ public Builder setDynamicColumn(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription value) { if (dynamicColumnBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dynamicColumn_ = value; } else { dynamicColumnBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; */ public Builder setDynamicColumn( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.Builder builderForValue) { if (dynamicColumnBuilder_ == null) { dynamicColumn_ = builderForValue.build(); } else { dynamicColumnBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; */ public Builder mergeDynamicColumn(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription value) { if (dynamicColumnBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && dynamicColumn_ != null && dynamicColumn_ != com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.getDefaultInstance()) { getDynamicColumnBuilder().mergeFrom(value); } else { dynamicColumn_ = value; } } else { dynamicColumnBuilder_.mergeFrom(value); } if (dynamicColumn_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; */ public Builder clearDynamicColumn() { bitField0_ = (bitField0_ & ~0x00000002); dynamicColumn_ = null; if (dynamicColumnBuilder_ != null) { dynamicColumnBuilder_.dispose(); dynamicColumnBuilder_ = null; } onChanged(); return this; } /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.Builder getDynamicColumnBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDynamicColumnFieldBuilder().getBuilder(); } /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescriptionOrBuilder getDynamicColumnOrBuilder() { if (dynamicColumnBuilder_ != null) { return dynamicColumnBuilder_.getMessageOrBuilder(); } else { return dynamicColumn_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.getDefaultInstance() : dynamicColumn_; } } /** * optional .com.palantir.atlasdb.protos.generated.DynamicColumnDescription dynamicColumn = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescriptionOrBuilder> getDynamicColumnFieldBuilder() { if (dynamicColumnBuilder_ == null) { dynamicColumnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescriptionOrBuilder>( getDynamicColumn(), getParentForChildren(), isClean()); dynamicColumn_ = null; } return dynamicColumnBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.palantir.atlasdb.protos.generated.ColumnMetadataDescription) } // @@protoc_insertion_point(class_scope:com.palantir.atlasdb.protos.generated.ColumnMetadataDescription) private static final com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription(); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ColumnMetadataDescription parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnMetadataDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DynamicColumnDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:com.palantir.atlasdb.protos.generated.DynamicColumnDescription) com.google.protobuf.MessageOrBuilder { /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; * @return Whether the columnNameDesc field is set. */ boolean hasColumnNameDesc(); /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; * @return The columnNameDesc. */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription getColumnNameDesc(); /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescriptionOrBuilder getColumnNameDescOrBuilder(); /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; * @return Whether the value field is set. */ boolean hasValue(); /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; * @return The value. */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription getValue(); /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescriptionOrBuilder getValueOrBuilder(); } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.DynamicColumnDescription} */ public static final class DynamicColumnDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.palantir.atlasdb.protos.generated.DynamicColumnDescription) DynamicColumnDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use DynamicColumnDescription.newBuilder() to construct. private DynamicColumnDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DynamicColumnDescription() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DynamicColumnDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_DynamicColumnDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_DynamicColumnDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.Builder.class); } private int bitField0_; public static final int COLUMNNAMEDESC_FIELD_NUMBER = 1; private com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription columnNameDesc_; /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; * @return Whether the columnNameDesc field is set. */ @java.lang.Override public boolean hasColumnNameDesc() { return ((bitField0_ & 0x00000001) != 0); } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; * @return The columnNameDesc. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription getColumnNameDesc() { return columnNameDesc_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.getDefaultInstance() : columnNameDesc_; } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescriptionOrBuilder getColumnNameDescOrBuilder() { return columnNameDesc_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.getDefaultInstance() : columnNameDesc_; } public static final int VALUE_FIELD_NUMBER = 2; private com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription value_; /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; * @return The value. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription getValue() { return value_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.getDefaultInstance() : value_; } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescriptionOrBuilder getValueOrBuilder() { return value_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.getDefaultInstance() : value_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasColumnNameDesc()) { memoizedIsInitialized = 0; return false; } if (!hasValue()) { memoizedIsInitialized = 0; return false; } if (!getColumnNameDesc().isInitialized()) { memoizedIsInitialized = 0; return false; } if (!getValue().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getColumnNameDesc()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getValue()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getColumnNameDesc()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription)) { return super.equals(obj); } com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription other = (com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription) obj; if (hasColumnNameDesc() != other.hasColumnNameDesc()) return false; if (hasColumnNameDesc()) { if (!getColumnNameDesc() .equals(other.getColumnNameDesc())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (!getValue() .equals(other.getValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasColumnNameDesc()) { hash = (37 * hash) + COLUMNNAMEDESC_FIELD_NUMBER; hash = (53 * hash) + getColumnNameDesc().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.DynamicColumnDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.palantir.atlasdb.protos.generated.DynamicColumnDescription) com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_DynamicColumnDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_DynamicColumnDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.Builder.class); } // Construct using com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getColumnNameDescFieldBuilder(); getValueFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; columnNameDesc_ = null; if (columnNameDescBuilder_ != null) { columnNameDescBuilder_.dispose(); columnNameDescBuilder_ = null; } value_ = null; if (valueBuilder_ != null) { valueBuilder_.dispose(); valueBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_DynamicColumnDescription_descriptor; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription getDefaultInstanceForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.getDefaultInstance(); } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription build() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription buildPartial() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription result = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.columnNameDesc_ = columnNameDescBuilder_ == null ? columnNameDesc_ : columnNameDescBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription) { return mergeFrom((com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription other) { if (other == com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription.getDefaultInstance()) return this; if (other.hasColumnNameDesc()) { mergeColumnNameDesc(other.getColumnNameDesc()); } if (other.hasValue()) { mergeValue(other.getValue()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasColumnNameDesc()) { return false; } if (!hasValue()) { return false; } if (!getColumnNameDesc().isInitialized()) { return false; } if (!getValue().isInitialized()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getColumnNameDescFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getValueFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription columnNameDesc_; private com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescriptionOrBuilder> columnNameDescBuilder_; /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; * @return Whether the columnNameDesc field is set. */ public boolean hasColumnNameDesc() { return ((bitField0_ & 0x00000001) != 0); } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; * @return The columnNameDesc. */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription getColumnNameDesc() { if (columnNameDescBuilder_ == null) { return columnNameDesc_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.getDefaultInstance() : columnNameDesc_; } else { return columnNameDescBuilder_.getMessage(); } } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; */ public Builder setColumnNameDesc(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription value) { if (columnNameDescBuilder_ == null) { if (value == null) { throw new NullPointerException(); } columnNameDesc_ = value; } else { columnNameDescBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; */ public Builder setColumnNameDesc( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.Builder builderForValue) { if (columnNameDescBuilder_ == null) { columnNameDesc_ = builderForValue.build(); } else { columnNameDescBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; */ public Builder mergeColumnNameDesc(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription value) { if (columnNameDescBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && columnNameDesc_ != null && columnNameDesc_ != com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.getDefaultInstance()) { getColumnNameDescBuilder().mergeFrom(value); } else { columnNameDesc_ = value; } } else { columnNameDescBuilder_.mergeFrom(value); } if (columnNameDesc_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; */ public Builder clearColumnNameDesc() { bitField0_ = (bitField0_ & ~0x00000001); columnNameDesc_ = null; if (columnNameDescBuilder_ != null) { columnNameDescBuilder_.dispose(); columnNameDescBuilder_ = null; } onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.Builder getColumnNameDescBuilder() { bitField0_ |= 0x00000001; onChanged(); return getColumnNameDescFieldBuilder().getBuilder(); } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescriptionOrBuilder getColumnNameDescOrBuilder() { if (columnNameDescBuilder_ != null) { return columnNameDescBuilder_.getMessageOrBuilder(); } else { return columnNameDesc_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.getDefaultInstance() : columnNameDesc_; } } /** * required .com.palantir.atlasdb.protos.generated.NameMetadataDescription columnNameDesc = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescriptionOrBuilder> getColumnNameDescFieldBuilder() { if (columnNameDescBuilder_ == null) { columnNameDescBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NameMetadataDescriptionOrBuilder>( getColumnNameDesc(), getParentForChildren(), isClean()); columnNameDesc_ = null; } return columnNameDescBuilder_; } private com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription value_; private com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescriptionOrBuilder> valueBuilder_; /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; * @return The value. */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription getValue() { if (valueBuilder_ == null) { return value_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; */ public Builder setValue(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; } else { valueBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; */ public Builder setValue( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); } else { valueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; */ public Builder mergeValue(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription value) { if (valueBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && value_ != null && value_ != com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; } } else { valueBuilder_.mergeFrom(value); } if (value_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = null; if (valueBuilder_ != null) { valueBuilder_.dispose(); valueBuilder_ = null; } onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.Builder getValueBuilder() { bitField0_ |= 0x00000002; onChanged(); return getValueFieldBuilder().getBuilder(); } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescriptionOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { return value_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.getDefaultInstance() : value_; } } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescriptionOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescriptionOrBuilder>( getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.palantir.atlasdb.protos.generated.DynamicColumnDescription) } // @@protoc_insertion_point(class_scope:com.palantir.atlasdb.protos.generated.DynamicColumnDescription) private static final com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription(); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DynamicColumnDescription parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.DynamicColumnDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface NamedColumnDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:com.palantir.atlasdb.protos.generated.NamedColumnDescription) com.google.protobuf.MessageOrBuilder { /** * required string shortName = 1; * @return Whether the shortName field is set. */ boolean hasShortName(); /** * required string shortName = 1; * @return The shortName. */ java.lang.String getShortName(); /** * required string shortName = 1; * @return The bytes for shortName. */ com.google.protobuf.ByteString getShortNameBytes(); /** * required string longName = 2; * @return Whether the longName field is set. */ boolean hasLongName(); /** * required string longName = 2; * @return The longName. */ java.lang.String getLongName(); /** * required string longName = 2; * @return The bytes for longName. */ com.google.protobuf.ByteString getLongNameBytes(); /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; * @return Whether the value field is set. */ boolean hasValue(); /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; * @return The value. */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription getValue(); /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescriptionOrBuilder getValueOrBuilder(); /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 4 [default = UNSAFE]; * @return Whether the logSafety field is set. */ boolean hasLogSafety(); /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 4 [default = UNSAFE]; * @return The logSafety. */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety getLogSafety(); } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.NamedColumnDescription} */ public static final class NamedColumnDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.palantir.atlasdb.protos.generated.NamedColumnDescription) NamedColumnDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use NamedColumnDescription.newBuilder() to construct. private NamedColumnDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NamedColumnDescription() { shortName_ = ""; longName_ = ""; logSafety_ = 1; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new NamedColumnDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NamedColumnDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NamedColumnDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.Builder.class); } private int bitField0_; public static final int SHORTNAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object shortName_ = ""; /** * required string shortName = 1; * @return Whether the shortName field is set. */ @java.lang.Override public boolean hasShortName() { return ((bitField0_ & 0x00000001) != 0); } /** * required string shortName = 1; * @return The shortName. */ @java.lang.Override public java.lang.String getShortName() { java.lang.Object ref = shortName_; 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 (bs.isValidUtf8()) { shortName_ = s; } return s; } } /** * required string shortName = 1; * @return The bytes for shortName. */ @java.lang.Override public com.google.protobuf.ByteString getShortNameBytes() { java.lang.Object ref = shortName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LONGNAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object longName_ = ""; /** * required string longName = 2; * @return Whether the longName field is set. */ @java.lang.Override public boolean hasLongName() { return ((bitField0_ & 0x00000002) != 0); } /** * required string longName = 2; * @return The longName. */ @java.lang.Override public java.lang.String getLongName() { java.lang.Object ref = longName_; 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 (bs.isValidUtf8()) { longName_ = s; } return s; } } /** * required string longName = 2; * @return The bytes for longName. */ @java.lang.Override public com.google.protobuf.ByteString getLongNameBytes() { java.lang.Object ref = longName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 3; private com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription value_; /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; * @return Whether the value field is set. */ @java.lang.Override public boolean hasValue() { return ((bitField0_ & 0x00000004) != 0); } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; * @return The value. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription getValue() { return value_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.getDefaultInstance() : value_; } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescriptionOrBuilder getValueOrBuilder() { return value_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.getDefaultInstance() : value_; } public static final int LOGSAFETY_FIELD_NUMBER = 4; private int logSafety_ = 1; /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 4 [default = UNSAFE]; * @return Whether the logSafety field is set. */ @java.lang.Override public boolean hasLogSafety() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 4 [default = UNSAFE]; * @return The logSafety. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety getLogSafety() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.forNumber(logSafety_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.UNSAFE : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasShortName()) { memoizedIsInitialized = 0; return false; } if (!hasLongName()) { memoizedIsInitialized = 0; return false; } if (!hasValue()) { memoizedIsInitialized = 0; return false; } if (!getValue().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, shortName_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, longName_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getValue()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeEnum(4, logSafety_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, shortName_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, longName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getValue()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, logSafety_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription)) { return super.equals(obj); } com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription other = (com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription) obj; if (hasShortName() != other.hasShortName()) return false; if (hasShortName()) { if (!getShortName() .equals(other.getShortName())) return false; } if (hasLongName() != other.hasLongName()) return false; if (hasLongName()) { if (!getLongName() .equals(other.getLongName())) return false; } if (hasValue() != other.hasValue()) return false; if (hasValue()) { if (!getValue() .equals(other.getValue())) return false; } if (hasLogSafety() != other.hasLogSafety()) return false; if (hasLogSafety()) { if (logSafety_ != other.logSafety_) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasShortName()) { hash = (37 * hash) + SHORTNAME_FIELD_NUMBER; hash = (53 * hash) + getShortName().hashCode(); } if (hasLongName()) { hash = (37 * hash) + LONGNAME_FIELD_NUMBER; hash = (53 * hash) + getLongName().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } if (hasLogSafety()) { hash = (37 * hash) + LOGSAFETY_FIELD_NUMBER; hash = (53 * hash) + logSafety_; } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.NamedColumnDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.palantir.atlasdb.protos.generated.NamedColumnDescription) com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NamedColumnDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NamedColumnDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.Builder.class); } // Construct using com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getValueFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; shortName_ = ""; longName_ = ""; value_ = null; if (valueBuilder_ != null) { valueBuilder_.dispose(); valueBuilder_ = null; } logSafety_ = 1; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_NamedColumnDescription_descriptor; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription getDefaultInstanceForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.getDefaultInstance(); } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription build() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription buildPartial() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription result = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.shortName_ = shortName_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.longName_ = longName_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.logSafety_ = logSafety_; to_bitField0_ |= 0x00000008; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription) { return mergeFrom((com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription other) { if (other == com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription.getDefaultInstance()) return this; if (other.hasShortName()) { shortName_ = other.shortName_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasLongName()) { longName_ = other.longName_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasValue()) { mergeValue(other.getValue()); } if (other.hasLogSafety()) { setLogSafety(other.getLogSafety()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasShortName()) { return false; } if (!hasLongName()) { return false; } if (!hasValue()) { return false; } if (!getValue().isInitialized()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { shortName_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { longName_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getValueFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 32: { int tmpRaw = input.readEnum(); com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety tmpValue = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(4, tmpRaw); } else { logSafety_ = tmpRaw; bitField0_ |= 0x00000008; } break; } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object shortName_ = ""; /** * required string shortName = 1; * @return Whether the shortName field is set. */ public boolean hasShortName() { return ((bitField0_ & 0x00000001) != 0); } /** * required string shortName = 1; * @return The shortName. */ public java.lang.String getShortName() { java.lang.Object ref = shortName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { shortName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string shortName = 1; * @return The bytes for shortName. */ public com.google.protobuf.ByteString getShortNameBytes() { java.lang.Object ref = shortName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shortName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string shortName = 1; * @param value The shortName to set. * @return This builder for chaining. */ public Builder setShortName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } shortName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * required string shortName = 1; * @return This builder for chaining. */ public Builder clearShortName() { shortName_ = getDefaultInstance().getShortName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * required string shortName = 1; * @param value The bytes for shortName to set. * @return This builder for chaining. */ public Builder setShortNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } shortName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object longName_ = ""; /** * required string longName = 2; * @return Whether the longName field is set. */ public boolean hasLongName() { return ((bitField0_ & 0x00000002) != 0); } /** * required string longName = 2; * @return The longName. */ public java.lang.String getLongName() { java.lang.Object ref = longName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { longName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string longName = 2; * @return The bytes for longName. */ public com.google.protobuf.ByteString getLongNameBytes() { java.lang.Object ref = longName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); longName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string longName = 2; * @param value The longName to set. * @return This builder for chaining. */ public Builder setLongName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } longName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * required string longName = 2; * @return This builder for chaining. */ public Builder clearLongName() { longName_ = getDefaultInstance().getLongName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * required string longName = 2; * @param value The bytes for longName to set. * @return This builder for chaining. */ public Builder setLongNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } longName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription value_; private com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescriptionOrBuilder> valueBuilder_; /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000004) != 0); } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; * @return The value. */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription getValue() { if (valueBuilder_ == null) { return value_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; */ public Builder setValue(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; } else { valueBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; */ public Builder setValue( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); } else { valueBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; */ public Builder mergeValue(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription value) { if (valueBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && value_ != null && value_ != com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; } } else { valueBuilder_.mergeFrom(value); } if (value_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000004); value_ = null; if (valueBuilder_ != null) { valueBuilder_.dispose(); valueBuilder_ = null; } onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.Builder getValueBuilder() { bitField0_ |= 0x00000004; onChanged(); return getValueFieldBuilder().getBuilder(); } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescriptionOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { return value_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.getDefaultInstance() : value_; } } /** * required .com.palantir.atlasdb.protos.generated.ColumnValueDescription value = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescriptionOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescriptionOrBuilder>( getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } private int logSafety_ = 1; /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 4 [default = UNSAFE]; * @return Whether the logSafety field is set. */ @java.lang.Override public boolean hasLogSafety() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 4 [default = UNSAFE]; * @return The logSafety. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety getLogSafety() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.forNumber(logSafety_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety.UNSAFE : result; } /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 4 [default = UNSAFE]; * @param value The logSafety to set. * @return This builder for chaining. */ public Builder setLogSafety(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.LogSafety value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; logSafety_ = value.getNumber(); onChanged(); return this; } /** * optional .com.palantir.atlasdb.protos.generated.LogSafety logSafety = 4 [default = UNSAFE]; * @return This builder for chaining. */ public Builder clearLogSafety() { bitField0_ = (bitField0_ & ~0x00000008); logSafety_ = 1; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.palantir.atlasdb.protos.generated.NamedColumnDescription) } // @@protoc_insertion_point(class_scope:com.palantir.atlasdb.protos.generated.NamedColumnDescription) private static final com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription(); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NamedColumnDescription parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.NamedColumnDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnValueDescriptionOrBuilder extends // @@protoc_insertion_point(interface_extends:com.palantir.atlasdb.protos.generated.ColumnValueDescription) com.google.protobuf.MessageOrBuilder { /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 1; * @return Whether the type field is set. */ boolean hasType(); /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 1; * @return The type. */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType getType(); /** * optional string className = 2; * @return Whether the className field is set. */ boolean hasClassName(); /** * optional string className = 2; * @return The className. */ java.lang.String getClassName(); /** * optional string className = 2; * @return The bytes for className. */ com.google.protobuf.ByteString getClassNameBytes(); /** * optional .com.palantir.atlasdb.protos.generated.Compression compression = 3 [default = NONE]; * @return Whether the compression field is set. */ boolean hasCompression(); /** * optional .com.palantir.atlasdb.protos.generated.Compression compression = 3 [default = NONE]; * @return The compression. */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.Compression getCompression(); /** * optional .com.palantir.atlasdb.protos.generated.ColumnValueFormat format = 4; * @return Whether the format field is set. */ boolean hasFormat(); /** * optional .com.palantir.atlasdb.protos.generated.ColumnValueFormat format = 4; * @return The format. */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueFormat getFormat(); /** * optional string canonicalClassName = 5; * @return Whether the canonicalClassName field is set. */ boolean hasCanonicalClassName(); /** * optional string canonicalClassName = 5; * @return The canonicalClassName. */ java.lang.String getCanonicalClassName(); /** * optional string canonicalClassName = 5; * @return The bytes for canonicalClassName. */ com.google.protobuf.ByteString getCanonicalClassNameBytes(); /** *
     * This is the proto descriptor so we can render the message without the compiled proto files.
     * 
* * optional bytes protoFileDescriptor = 6 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.ColumnValueDescription.protoFileDescriptor is deprecated. * See TableMetadataPersistence.proto;l=58 * @return Whether the protoFileDescriptor field is set. */ @java.lang.Deprecated boolean hasProtoFileDescriptor(); /** *
     * This is the proto descriptor so we can render the message without the compiled proto files.
     * 
* * optional bytes protoFileDescriptor = 6 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.ColumnValueDescription.protoFileDescriptor is deprecated. * See TableMetadataPersistence.proto;l=58 * @return The protoFileDescriptor. */ @java.lang.Deprecated com.google.protobuf.ByteString getProtoFileDescriptor(); /** *
     * This protoName is the name of the message in the protoFileDescriptor.
     * 
* * optional string protoMessageName = 7; * @return Whether the protoMessageName field is set. */ boolean hasProtoMessageName(); /** *
     * This protoName is the name of the message in the protoFileDescriptor.
     * 
* * optional string protoMessageName = 7; * @return The protoMessageName. */ java.lang.String getProtoMessageName(); /** *
     * This protoName is the name of the message in the protoFileDescriptor.
     * 
* * optional string protoMessageName = 7; * @return The bytes for protoMessageName. */ com.google.protobuf.ByteString getProtoMessageNameBytes(); /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; * @return Whether the protoFileDescriptorTree field is set. */ boolean hasProtoFileDescriptorTree(); /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; * @return The protoFileDescriptorTree. */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto getProtoFileDescriptorTree(); /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProtoOrBuilder getProtoFileDescriptorTreeOrBuilder(); } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.ColumnValueDescription} */ public static final class ColumnValueDescription extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.palantir.atlasdb.protos.generated.ColumnValueDescription) ColumnValueDescriptionOrBuilder { private static final long serialVersionUID = 0L; // Use ColumnValueDescription.newBuilder() to construct. private ColumnValueDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ColumnValueDescription() { type_ = 1; className_ = ""; compression_ = 1; format_ = 1; canonicalClassName_ = ""; protoFileDescriptor_ = com.google.protobuf.ByteString.EMPTY; protoMessageName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ColumnValueDescription(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_ColumnValueDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_ColumnValueDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private int type_ = 1; /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 1; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 1; * @return The type. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType getType() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType.forNumber(type_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType.VAR_LONG : result; } public static final int CLASSNAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object className_ = ""; /** * optional string className = 2; * @return Whether the className field is set. */ @java.lang.Override public boolean hasClassName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string className = 2; * @return The className. */ @java.lang.Override public java.lang.String getClassName() { java.lang.Object ref = className_; 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 (bs.isValidUtf8()) { className_ = s; } return s; } } /** * optional string className = 2; * @return The bytes for className. */ @java.lang.Override public com.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); className_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COMPRESSION_FIELD_NUMBER = 3; private int compression_ = 1; /** * optional .com.palantir.atlasdb.protos.generated.Compression compression = 3 [default = NONE]; * @return Whether the compression field is set. */ @java.lang.Override public boolean hasCompression() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.Compression compression = 3 [default = NONE]; * @return The compression. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.Compression getCompression() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.Compression result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.Compression.forNumber(compression_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.Compression.NONE : result; } public static final int FORMAT_FIELD_NUMBER = 4; private int format_ = 1; /** * optional .com.palantir.atlasdb.protos.generated.ColumnValueFormat format = 4; * @return Whether the format field is set. */ @java.lang.Override public boolean hasFormat() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.ColumnValueFormat format = 4; * @return The format. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueFormat getFormat() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueFormat result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueFormat.forNumber(format_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueFormat.PROTO : result; } public static final int CANONICALCLASSNAME_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object canonicalClassName_ = ""; /** * optional string canonicalClassName = 5; * @return Whether the canonicalClassName field is set. */ @java.lang.Override public boolean hasCanonicalClassName() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string canonicalClassName = 5; * @return The canonicalClassName. */ @java.lang.Override public java.lang.String getCanonicalClassName() { java.lang.Object ref = canonicalClassName_; 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 (bs.isValidUtf8()) { canonicalClassName_ = s; } return s; } } /** * optional string canonicalClassName = 5; * @return The bytes for canonicalClassName. */ @java.lang.Override public com.google.protobuf.ByteString getCanonicalClassNameBytes() { java.lang.Object ref = canonicalClassName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); canonicalClassName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROTOFILEDESCRIPTOR_FIELD_NUMBER = 6; private com.google.protobuf.ByteString protoFileDescriptor_ = com.google.protobuf.ByteString.EMPTY; /** *
     * This is the proto descriptor so we can render the message without the compiled proto files.
     * 
* * optional bytes protoFileDescriptor = 6 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.ColumnValueDescription.protoFileDescriptor is deprecated. * See TableMetadataPersistence.proto;l=58 * @return Whether the protoFileDescriptor field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasProtoFileDescriptor() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * This is the proto descriptor so we can render the message without the compiled proto files.
     * 
* * optional bytes protoFileDescriptor = 6 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.ColumnValueDescription.protoFileDescriptor is deprecated. * See TableMetadataPersistence.proto;l=58 * @return The protoFileDescriptor. */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProtoFileDescriptor() { return protoFileDescriptor_; } public static final int PROTOMESSAGENAME_FIELD_NUMBER = 7; @SuppressWarnings("serial") private volatile java.lang.Object protoMessageName_ = ""; /** *
     * This protoName is the name of the message in the protoFileDescriptor.
     * 
* * optional string protoMessageName = 7; * @return Whether the protoMessageName field is set. */ @java.lang.Override public boolean hasProtoMessageName() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * This protoName is the name of the message in the protoFileDescriptor.
     * 
* * optional string protoMessageName = 7; * @return The protoMessageName. */ @java.lang.Override public java.lang.String getProtoMessageName() { java.lang.Object ref = protoMessageName_; 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 (bs.isValidUtf8()) { protoMessageName_ = s; } return s; } } /** *
     * This protoName is the name of the message in the protoFileDescriptor.
     * 
* * optional string protoMessageName = 7; * @return The bytes for protoMessageName. */ @java.lang.Override public com.google.protobuf.ByteString getProtoMessageNameBytes() { java.lang.Object ref = protoMessageName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); protoMessageName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROTOFILEDESCRIPTORTREE_FIELD_NUMBER = 8; private com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto protoFileDescriptorTree_; /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; * @return Whether the protoFileDescriptorTree field is set. */ @java.lang.Override public boolean hasProtoFileDescriptorTree() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; * @return The protoFileDescriptorTree. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto getProtoFileDescriptorTree() { return protoFileDescriptorTree_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.getDefaultInstance() : protoFileDescriptorTree_; } /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProtoOrBuilder getProtoFileDescriptorTreeOrBuilder() { return protoFileDescriptorTree_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.getDefaultInstance() : protoFileDescriptorTree_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasType()) { memoizedIsInitialized = 0; return false; } if (hasProtoFileDescriptorTree()) { if (!getProtoFileDescriptorTree().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, type_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, className_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeEnum(3, compression_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeEnum(4, format_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, canonicalClassName_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeBytes(6, protoFileDescriptor_); } if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, protoMessageName_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(8, getProtoFileDescriptorTree()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, className_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, compression_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, format_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, canonicalClassName_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, protoFileDescriptor_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, protoMessageName_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getProtoFileDescriptorTree()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription)) { return super.equals(obj); } com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription other = (com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription) obj; if (hasType() != other.hasType()) return false; if (hasType()) { if (type_ != other.type_) return false; } if (hasClassName() != other.hasClassName()) return false; if (hasClassName()) { if (!getClassName() .equals(other.getClassName())) return false; } if (hasCompression() != other.hasCompression()) return false; if (hasCompression()) { if (compression_ != other.compression_) return false; } if (hasFormat() != other.hasFormat()) return false; if (hasFormat()) { if (format_ != other.format_) return false; } if (hasCanonicalClassName() != other.hasCanonicalClassName()) return false; if (hasCanonicalClassName()) { if (!getCanonicalClassName() .equals(other.getCanonicalClassName())) return false; } if (hasProtoFileDescriptor() != other.hasProtoFileDescriptor()) return false; if (hasProtoFileDescriptor()) { if (!getProtoFileDescriptor() .equals(other.getProtoFileDescriptor())) return false; } if (hasProtoMessageName() != other.hasProtoMessageName()) return false; if (hasProtoMessageName()) { if (!getProtoMessageName() .equals(other.getProtoMessageName())) return false; } if (hasProtoFileDescriptorTree() != other.hasProtoFileDescriptorTree()) return false; if (hasProtoFileDescriptorTree()) { if (!getProtoFileDescriptorTree() .equals(other.getProtoFileDescriptorTree())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; } if (hasClassName()) { hash = (37 * hash) + CLASSNAME_FIELD_NUMBER; hash = (53 * hash) + getClassName().hashCode(); } if (hasCompression()) { hash = (37 * hash) + COMPRESSION_FIELD_NUMBER; hash = (53 * hash) + compression_; } if (hasFormat()) { hash = (37 * hash) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + format_; } if (hasCanonicalClassName()) { hash = (37 * hash) + CANONICALCLASSNAME_FIELD_NUMBER; hash = (53 * hash) + getCanonicalClassName().hashCode(); } if (hasProtoFileDescriptor()) { hash = (37 * hash) + PROTOFILEDESCRIPTOR_FIELD_NUMBER; hash = (53 * hash) + getProtoFileDescriptor().hashCode(); } if (hasProtoMessageName()) { hash = (37 * hash) + PROTOMESSAGENAME_FIELD_NUMBER; hash = (53 * hash) + getProtoMessageName().hashCode(); } if (hasProtoFileDescriptorTree()) { hash = (37 * hash) + PROTOFILEDESCRIPTORTREE_FIELD_NUMBER; hash = (53 * hash) + getProtoFileDescriptorTree().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.ColumnValueDescription} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.palantir.atlasdb.protos.generated.ColumnValueDescription) com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_ColumnValueDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_ColumnValueDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.Builder.class); } // Construct using com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getProtoFileDescriptorTreeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; type_ = 1; className_ = ""; compression_ = 1; format_ = 1; canonicalClassName_ = ""; protoFileDescriptor_ = com.google.protobuf.ByteString.EMPTY; protoMessageName_ = ""; protoFileDescriptorTree_ = null; if (protoFileDescriptorTreeBuilder_ != null) { protoFileDescriptorTreeBuilder_.dispose(); protoFileDescriptorTreeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_ColumnValueDescription_descriptor; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription getDefaultInstanceForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.getDefaultInstance(); } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription build() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription buildPartial() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription result = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.type_ = type_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.className_ = className_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.compression_ = compression_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.format_ = format_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.canonicalClassName_ = canonicalClassName_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.protoFileDescriptor_ = protoFileDescriptor_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.protoMessageName_ = protoMessageName_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.protoFileDescriptorTree_ = protoFileDescriptorTreeBuilder_ == null ? protoFileDescriptorTree_ : protoFileDescriptorTreeBuilder_.build(); to_bitField0_ |= 0x00000080; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription) { return mergeFrom((com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription other) { if (other == com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasClassName()) { className_ = other.className_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasCompression()) { setCompression(other.getCompression()); } if (other.hasFormat()) { setFormat(other.getFormat()); } if (other.hasCanonicalClassName()) { canonicalClassName_ = other.canonicalClassName_; bitField0_ |= 0x00000010; onChanged(); } if (other.hasProtoFileDescriptor()) { setProtoFileDescriptor(other.getProtoFileDescriptor()); } if (other.hasProtoMessageName()) { protoMessageName_ = other.protoMessageName_; bitField0_ |= 0x00000040; onChanged(); } if (other.hasProtoFileDescriptorTree()) { mergeProtoFileDescriptorTree(other.getProtoFileDescriptorTree()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasType()) { return false; } if (hasProtoFileDescriptorTree()) { if (!getProtoFileDescriptorTree().isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int tmpRaw = input.readEnum(); com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType tmpValue = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(1, tmpRaw); } else { type_ = tmpRaw; bitField0_ |= 0x00000001; } break; } // case 8 case 18: { className_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { int tmpRaw = input.readEnum(); com.palantir.atlasdb.protos.generated.TableMetadataPersistence.Compression tmpValue = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.Compression.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(3, tmpRaw); } else { compression_ = tmpRaw; bitField0_ |= 0x00000004; } break; } // case 24 case 32: { int tmpRaw = input.readEnum(); com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueFormat tmpValue = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueFormat.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(4, tmpRaw); } else { format_ = tmpRaw; bitField0_ |= 0x00000008; } break; } // case 32 case 42: { canonicalClassName_ = input.readBytes(); bitField0_ |= 0x00000010; break; } // case 42 case 50: { protoFileDescriptor_ = input.readBytes(); bitField0_ |= 0x00000020; break; } // case 50 case 58: { protoMessageName_ = input.readBytes(); bitField0_ |= 0x00000040; break; } // case 58 case 66: { input.readMessage( getProtoFileDescriptorTreeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 66 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int type_ = 1; /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 1; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 1; * @return The type. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType getType() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType.forNumber(type_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType.VAR_LONG : result; } /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 1; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ValueType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value.getNumber(); onChanged(); return this; } /** * required .com.palantir.atlasdb.protos.generated.ValueType type = 1; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 1; onChanged(); return this; } private java.lang.Object className_ = ""; /** * optional string className = 2; * @return Whether the className field is set. */ public boolean hasClassName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string className = 2; * @return The className. */ public java.lang.String getClassName() { java.lang.Object ref = className_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { className_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string className = 2; * @return The bytes for className. */ public com.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); className_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string className = 2; * @param value The className to set. * @return This builder for chaining. */ public Builder setClassName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } className_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional string className = 2; * @return This builder for chaining. */ public Builder clearClassName() { className_ = getDefaultInstance().getClassName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * optional string className = 2; * @param value The bytes for className to set. * @return This builder for chaining. */ public Builder setClassNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } className_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private int compression_ = 1; /** * optional .com.palantir.atlasdb.protos.generated.Compression compression = 3 [default = NONE]; * @return Whether the compression field is set. */ @java.lang.Override public boolean hasCompression() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.Compression compression = 3 [default = NONE]; * @return The compression. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.Compression getCompression() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.Compression result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.Compression.forNumber(compression_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.Compression.NONE : result; } /** * optional .com.palantir.atlasdb.protos.generated.Compression compression = 3 [default = NONE]; * @param value The compression to set. * @return This builder for chaining. */ public Builder setCompression(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.Compression value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; compression_ = value.getNumber(); onChanged(); return this; } /** * optional .com.palantir.atlasdb.protos.generated.Compression compression = 3 [default = NONE]; * @return This builder for chaining. */ public Builder clearCompression() { bitField0_ = (bitField0_ & ~0x00000004); compression_ = 1; onChanged(); return this; } private int format_ = 1; /** * optional .com.palantir.atlasdb.protos.generated.ColumnValueFormat format = 4; * @return Whether the format field is set. */ @java.lang.Override public boolean hasFormat() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.ColumnValueFormat format = 4; * @return The format. */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueFormat getFormat() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueFormat result = com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueFormat.forNumber(format_); return result == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueFormat.PROTO : result; } /** * optional .com.palantir.atlasdb.protos.generated.ColumnValueFormat format = 4; * @param value The format to set. * @return This builder for chaining. */ public Builder setFormat(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueFormat value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; format_ = value.getNumber(); onChanged(); return this; } /** * optional .com.palantir.atlasdb.protos.generated.ColumnValueFormat format = 4; * @return This builder for chaining. */ public Builder clearFormat() { bitField0_ = (bitField0_ & ~0x00000008); format_ = 1; onChanged(); return this; } private java.lang.Object canonicalClassName_ = ""; /** * optional string canonicalClassName = 5; * @return Whether the canonicalClassName field is set. */ public boolean hasCanonicalClassName() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string canonicalClassName = 5; * @return The canonicalClassName. */ public java.lang.String getCanonicalClassName() { java.lang.Object ref = canonicalClassName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { canonicalClassName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string canonicalClassName = 5; * @return The bytes for canonicalClassName. */ public com.google.protobuf.ByteString getCanonicalClassNameBytes() { java.lang.Object ref = canonicalClassName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); canonicalClassName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string canonicalClassName = 5; * @param value The canonicalClassName to set. * @return This builder for chaining. */ public Builder setCanonicalClassName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } canonicalClassName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * optional string canonicalClassName = 5; * @return This builder for chaining. */ public Builder clearCanonicalClassName() { canonicalClassName_ = getDefaultInstance().getCanonicalClassName(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** * optional string canonicalClassName = 5; * @param value The bytes for canonicalClassName to set. * @return This builder for chaining. */ public Builder setCanonicalClassNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } canonicalClassName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private com.google.protobuf.ByteString protoFileDescriptor_ = com.google.protobuf.ByteString.EMPTY; /** *
       * This is the proto descriptor so we can render the message without the compiled proto files.
       * 
* * optional bytes protoFileDescriptor = 6 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.ColumnValueDescription.protoFileDescriptor is deprecated. * See TableMetadataPersistence.proto;l=58 * @return Whether the protoFileDescriptor field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasProtoFileDescriptor() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * This is the proto descriptor so we can render the message without the compiled proto files.
       * 
* * optional bytes protoFileDescriptor = 6 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.ColumnValueDescription.protoFileDescriptor is deprecated. * See TableMetadataPersistence.proto;l=58 * @return The protoFileDescriptor. */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProtoFileDescriptor() { return protoFileDescriptor_; } /** *
       * This is the proto descriptor so we can render the message without the compiled proto files.
       * 
* * optional bytes protoFileDescriptor = 6 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.ColumnValueDescription.protoFileDescriptor is deprecated. * See TableMetadataPersistence.proto;l=58 * @param value The protoFileDescriptor to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setProtoFileDescriptor(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } protoFileDescriptor_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * This is the proto descriptor so we can render the message without the compiled proto files.
       * 
* * optional bytes protoFileDescriptor = 6 [deprecated = true]; * @deprecated com.palantir.atlasdb.protos.generated.ColumnValueDescription.protoFileDescriptor is deprecated. * See TableMetadataPersistence.proto;l=58 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearProtoFileDescriptor() { bitField0_ = (bitField0_ & ~0x00000020); protoFileDescriptor_ = getDefaultInstance().getProtoFileDescriptor(); onChanged(); return this; } private java.lang.Object protoMessageName_ = ""; /** *
       * This protoName is the name of the message in the protoFileDescriptor.
       * 
* * optional string protoMessageName = 7; * @return Whether the protoMessageName field is set. */ public boolean hasProtoMessageName() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * This protoName is the name of the message in the protoFileDescriptor.
       * 
* * optional string protoMessageName = 7; * @return The protoMessageName. */ public java.lang.String getProtoMessageName() { java.lang.Object ref = protoMessageName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { protoMessageName_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * This protoName is the name of the message in the protoFileDescriptor.
       * 
* * optional string protoMessageName = 7; * @return The bytes for protoMessageName. */ public com.google.protobuf.ByteString getProtoMessageNameBytes() { java.lang.Object ref = protoMessageName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); protoMessageName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * This protoName is the name of the message in the protoFileDescriptor.
       * 
* * optional string protoMessageName = 7; * @param value The protoMessageName to set. * @return This builder for chaining. */ public Builder setProtoMessageName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } protoMessageName_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * This protoName is the name of the message in the protoFileDescriptor.
       * 
* * optional string protoMessageName = 7; * @return This builder for chaining. */ public Builder clearProtoMessageName() { protoMessageName_ = getDefaultInstance().getProtoMessageName(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** *
       * This protoName is the name of the message in the protoFileDescriptor.
       * 
* * optional string protoMessageName = 7; * @param value The bytes for protoMessageName to set. * @return This builder for chaining. */ public Builder setProtoMessageNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } protoMessageName_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } private com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto protoFileDescriptorTree_; private com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProtoOrBuilder> protoFileDescriptorTreeBuilder_; /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; * @return Whether the protoFileDescriptorTree field is set. */ public boolean hasProtoFileDescriptorTree() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; * @return The protoFileDescriptorTree. */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto getProtoFileDescriptorTree() { if (protoFileDescriptorTreeBuilder_ == null) { return protoFileDescriptorTree_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.getDefaultInstance() : protoFileDescriptorTree_; } else { return protoFileDescriptorTreeBuilder_.getMessage(); } } /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; */ public Builder setProtoFileDescriptorTree(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto value) { if (protoFileDescriptorTreeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } protoFileDescriptorTree_ = value; } else { protoFileDescriptorTreeBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; */ public Builder setProtoFileDescriptorTree( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder builderForValue) { if (protoFileDescriptorTreeBuilder_ == null) { protoFileDescriptorTree_ = builderForValue.build(); } else { protoFileDescriptorTreeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; */ public Builder mergeProtoFileDescriptorTree(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto value) { if (protoFileDescriptorTreeBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && protoFileDescriptorTree_ != null && protoFileDescriptorTree_ != com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.getDefaultInstance()) { getProtoFileDescriptorTreeBuilder().mergeFrom(value); } else { protoFileDescriptorTree_ = value; } } else { protoFileDescriptorTreeBuilder_.mergeFrom(value); } if (protoFileDescriptorTree_ != null) { bitField0_ |= 0x00000080; onChanged(); } return this; } /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; */ public Builder clearProtoFileDescriptorTree() { bitField0_ = (bitField0_ & ~0x00000080); protoFileDescriptorTree_ = null; if (protoFileDescriptorTreeBuilder_ != null) { protoFileDescriptorTreeBuilder_.dispose(); protoFileDescriptorTreeBuilder_ = null; } onChanged(); return this; } /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder getProtoFileDescriptorTreeBuilder() { bitField0_ |= 0x00000080; onChanged(); return getProtoFileDescriptorTreeFieldBuilder().getBuilder(); } /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProtoOrBuilder getProtoFileDescriptorTreeOrBuilder() { if (protoFileDescriptorTreeBuilder_ != null) { return protoFileDescriptorTreeBuilder_.getMessageOrBuilder(); } else { return protoFileDescriptorTree_ == null ? com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.getDefaultInstance() : protoFileDescriptorTree_; } } /** * optional .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto protoFileDescriptorTree = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProtoOrBuilder> getProtoFileDescriptorTreeFieldBuilder() { if (protoFileDescriptorTreeBuilder_ == null) { protoFileDescriptorTreeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProtoOrBuilder>( getProtoFileDescriptorTree(), getParentForChildren(), isClean()); protoFileDescriptorTree_ = null; } return protoFileDescriptorTreeBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.palantir.atlasdb.protos.generated.ColumnValueDescription) } // @@protoc_insertion_point(class_scope:com.palantir.atlasdb.protos.generated.ColumnValueDescription) private static final com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription(); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ColumnValueDescription parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.ColumnValueDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FileDescriptorTreeProtoOrBuilder extends // @@protoc_insertion_point(interface_extends:com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto) com.google.protobuf.MessageOrBuilder { /** * required bytes protoFileDescriptor = 1; * @return Whether the protoFileDescriptor field is set. */ boolean hasProtoFileDescriptor(); /** * required bytes protoFileDescriptor = 1; * @return The protoFileDescriptor. */ com.google.protobuf.ByteString getProtoFileDescriptor(); /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ java.util.List getDependenciesList(); /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto getDependencies(int index); /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ int getDependenciesCount(); /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ java.util.List getDependenciesOrBuilderList(); /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProtoOrBuilder getDependenciesOrBuilder( int index); } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto} */ public static final class FileDescriptorTreeProto extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto) FileDescriptorTreeProtoOrBuilder { private static final long serialVersionUID = 0L; // Use FileDescriptorTreeProto.newBuilder() to construct. private FileDescriptorTreeProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FileDescriptorTreeProto() { protoFileDescriptor_ = com.google.protobuf.ByteString.EMPTY; dependencies_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FileDescriptorTreeProto(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_FileDescriptorTreeProto_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_FileDescriptorTreeProto_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder.class); } private int bitField0_; public static final int PROTOFILEDESCRIPTOR_FIELD_NUMBER = 1; private com.google.protobuf.ByteString protoFileDescriptor_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes protoFileDescriptor = 1; * @return Whether the protoFileDescriptor field is set. */ @java.lang.Override public boolean hasProtoFileDescriptor() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes protoFileDescriptor = 1; * @return The protoFileDescriptor. */ @java.lang.Override public com.google.protobuf.ByteString getProtoFileDescriptor() { return protoFileDescriptor_; } public static final int DEPENDENCIES_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List dependencies_; /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ @java.lang.Override public java.util.List getDependenciesList() { return dependencies_; } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ @java.lang.Override public java.util.List getDependenciesOrBuilderList() { return dependencies_; } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ @java.lang.Override public int getDependenciesCount() { return dependencies_.size(); } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto getDependencies(int index) { return dependencies_.get(index); } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProtoOrBuilder getDependenciesOrBuilder( int index) { return dependencies_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasProtoFileDescriptor()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getDependenciesCount(); i++) { if (!getDependencies(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, protoFileDescriptor_); } for (int i = 0; i < dependencies_.size(); i++) { output.writeMessage(2, dependencies_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, protoFileDescriptor_); } for (int i = 0; i < dependencies_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, dependencies_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto)) { return super.equals(obj); } com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto other = (com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto) obj; if (hasProtoFileDescriptor() != other.hasProtoFileDescriptor()) return false; if (hasProtoFileDescriptor()) { if (!getProtoFileDescriptor() .equals(other.getProtoFileDescriptor())) return false; } if (!getDependenciesList() .equals(other.getDependenciesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasProtoFileDescriptor()) { hash = (37 * hash) + PROTOFILEDESCRIPTOR_FIELD_NUMBER; hash = (53 * hash) + getProtoFileDescriptor().hashCode(); } if (getDependenciesCount() > 0) { hash = (37 * hash) + DEPENDENCIES_FIELD_NUMBER; hash = (53 * hash) + getDependenciesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto) com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProtoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_FileDescriptorTreeProto_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_FileDescriptorTreeProto_fieldAccessorTable .ensureFieldAccessorsInitialized( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.class, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder.class); } // Construct using com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; protoFileDescriptor_ = com.google.protobuf.ByteString.EMPTY; if (dependenciesBuilder_ == null) { dependencies_ = java.util.Collections.emptyList(); } else { dependencies_ = null; dependenciesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.internal_static_com_palantir_atlasdb_protos_generated_FileDescriptorTreeProto_descriptor; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto getDefaultInstanceForType() { return com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.getDefaultInstance(); } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto build() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto buildPartial() { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto result = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto result) { if (dependenciesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { dependencies_ = java.util.Collections.unmodifiableList(dependencies_); bitField0_ = (bitField0_ & ~0x00000002); } result.dependencies_ = dependencies_; } else { result.dependencies_ = dependenciesBuilder_.build(); } } private void buildPartial0(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.protoFileDescriptor_ = protoFileDescriptor_; to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto) { return mergeFrom((com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto other) { if (other == com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.getDefaultInstance()) return this; if (other.hasProtoFileDescriptor()) { setProtoFileDescriptor(other.getProtoFileDescriptor()); } if (dependenciesBuilder_ == null) { if (!other.dependencies_.isEmpty()) { if (dependencies_.isEmpty()) { dependencies_ = other.dependencies_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureDependenciesIsMutable(); dependencies_.addAll(other.dependencies_); } onChanged(); } } else { if (!other.dependencies_.isEmpty()) { if (dependenciesBuilder_.isEmpty()) { dependenciesBuilder_.dispose(); dependenciesBuilder_ = null; dependencies_ = other.dependencies_; bitField0_ = (bitField0_ & ~0x00000002); dependenciesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDependenciesFieldBuilder() : null; } else { dependenciesBuilder_.addAllMessages(other.dependencies_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasProtoFileDescriptor()) { return false; } for (int i = 0; i < getDependenciesCount(); i++) { if (!getDependencies(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { protoFileDescriptor_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto m = input.readMessage( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.PARSER, extensionRegistry); if (dependenciesBuilder_ == null) { ensureDependenciesIsMutable(); dependencies_.add(m); } else { dependenciesBuilder_.addMessage(m); } break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.ByteString protoFileDescriptor_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes protoFileDescriptor = 1; * @return Whether the protoFileDescriptor field is set. */ @java.lang.Override public boolean hasProtoFileDescriptor() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes protoFileDescriptor = 1; * @return The protoFileDescriptor. */ @java.lang.Override public com.google.protobuf.ByteString getProtoFileDescriptor() { return protoFileDescriptor_; } /** * required bytes protoFileDescriptor = 1; * @param value The protoFileDescriptor to set. * @return This builder for chaining. */ public Builder setProtoFileDescriptor(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } protoFileDescriptor_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * required bytes protoFileDescriptor = 1; * @return This builder for chaining. */ public Builder clearProtoFileDescriptor() { bitField0_ = (bitField0_ & ~0x00000001); protoFileDescriptor_ = getDefaultInstance().getProtoFileDescriptor(); onChanged(); return this; } private java.util.List dependencies_ = java.util.Collections.emptyList(); private void ensureDependenciesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { dependencies_ = new java.util.ArrayList(dependencies_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProtoOrBuilder> dependenciesBuilder_; /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public java.util.List getDependenciesList() { if (dependenciesBuilder_ == null) { return java.util.Collections.unmodifiableList(dependencies_); } else { return dependenciesBuilder_.getMessageList(); } } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public int getDependenciesCount() { if (dependenciesBuilder_ == null) { return dependencies_.size(); } else { return dependenciesBuilder_.getCount(); } } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto getDependencies(int index) { if (dependenciesBuilder_ == null) { return dependencies_.get(index); } else { return dependenciesBuilder_.getMessage(index); } } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public Builder setDependencies( int index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto value) { if (dependenciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDependenciesIsMutable(); dependencies_.set(index, value); onChanged(); } else { dependenciesBuilder_.setMessage(index, value); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public Builder setDependencies( int index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder builderForValue) { if (dependenciesBuilder_ == null) { ensureDependenciesIsMutable(); dependencies_.set(index, builderForValue.build()); onChanged(); } else { dependenciesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public Builder addDependencies(com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto value) { if (dependenciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDependenciesIsMutable(); dependencies_.add(value); onChanged(); } else { dependenciesBuilder_.addMessage(value); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public Builder addDependencies( int index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto value) { if (dependenciesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDependenciesIsMutable(); dependencies_.add(index, value); onChanged(); } else { dependenciesBuilder_.addMessage(index, value); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public Builder addDependencies( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder builderForValue) { if (dependenciesBuilder_ == null) { ensureDependenciesIsMutable(); dependencies_.add(builderForValue.build()); onChanged(); } else { dependenciesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public Builder addDependencies( int index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder builderForValue) { if (dependenciesBuilder_ == null) { ensureDependenciesIsMutable(); dependencies_.add(index, builderForValue.build()); onChanged(); } else { dependenciesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public Builder addAllDependencies( java.lang.Iterable values) { if (dependenciesBuilder_ == null) { ensureDependenciesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dependencies_); onChanged(); } else { dependenciesBuilder_.addAllMessages(values); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public Builder clearDependencies() { if (dependenciesBuilder_ == null) { dependencies_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { dependenciesBuilder_.clear(); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public Builder removeDependencies(int index) { if (dependenciesBuilder_ == null) { ensureDependenciesIsMutable(); dependencies_.remove(index); onChanged(); } else { dependenciesBuilder_.remove(index); } return this; } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder getDependenciesBuilder( int index) { return getDependenciesFieldBuilder().getBuilder(index); } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProtoOrBuilder getDependenciesOrBuilder( int index) { if (dependenciesBuilder_ == null) { return dependencies_.get(index); } else { return dependenciesBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public java.util.List getDependenciesOrBuilderList() { if (dependenciesBuilder_ != null) { return dependenciesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dependencies_); } } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder addDependenciesBuilder() { return getDependenciesFieldBuilder().addBuilder( com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.getDefaultInstance()); } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder addDependenciesBuilder( int index) { return getDependenciesFieldBuilder().addBuilder( index, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.getDefaultInstance()); } /** * repeated .com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto dependencies = 2; */ public java.util.List getDependenciesBuilderList() { return getDependenciesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProtoOrBuilder> getDependenciesFieldBuilder() { if (dependenciesBuilder_ == null) { dependenciesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto.Builder, com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProtoOrBuilder>( dependencies_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); dependencies_ = null; } return dependenciesBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto) } // @@protoc_insertion_point(class_scope:com.palantir.atlasdb.protos.generated.FileDescriptorTreeProto) private static final com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto(); } public static com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FileDescriptorTreeProto parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.palantir.atlasdb.protos.generated.TableMetadataPersistence.FileDescriptorTreeProto getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_palantir_atlasdb_protos_generated_TableMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_palantir_atlasdb_protos_generated_TableMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_palantir_atlasdb_protos_generated_NameMetadataDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_palantir_atlasdb_protos_generated_NameMetadataDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_palantir_atlasdb_protos_generated_NameComponentDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_palantir_atlasdb_protos_generated_NameComponentDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_palantir_atlasdb_protos_generated_ColumnMetadataDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_palantir_atlasdb_protos_generated_ColumnMetadataDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_palantir_atlasdb_protos_generated_DynamicColumnDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_palantir_atlasdb_protos_generated_DynamicColumnDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_palantir_atlasdb_protos_generated_NamedColumnDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_palantir_atlasdb_protos_generated_NamedColumnDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_palantir_atlasdb_protos_generated_ColumnValueDescription_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_palantir_atlasdb_protos_generated_ColumnValueDescription_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_palantir_atlasdb_protos_generated_FileDescriptorTreeProto_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_palantir_atlasdb_protos_generated_FileDescriptorTreeProto_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\036TableMetadataPersistence.proto\022%com.pa" + "lantir.atlasdb.protos.generated\"\271\005\n\rTabl" + "eMetadata\022O\n\007rowName\030\001 \002(\0132>.com.palanti" + "r.atlasdb.protos.generated.NameMetadataD" + "escription\022Q\n\007columns\030\002 \002(\[email protected]" + "ir.atlasdb.protos.generated.ColumnMetada" + "taDescription\022T\n\017conflictHandler\030\003 \002(\0162;" + ".com.palantir.atlasdb.protos.generated.T" + "ableConflictHandler\022K\n\rcachePriority\030\004 \001" + "(\01624.com.palantir.atlasdb.protos.generat" + "ed.CachePriority\022\030\n\020rangeScanAllowed\030\006 \001" + "(\010\022\037\n\023explicitCompression\030\007 \001(\010B\002\030\001\022\027\n\017n" + "egativeLookups\030\010 \001(\010\022K\n\rsweepStrategy\030\t " + "\001(\01624.com.palantir.atlasdb.protos.genera" + "ted.SweepStrategy\022-\n%explicitCompression" + "BlockSizeKiloBytes\030\n \001(\005\022\037\n\027appendHeavyA" + "ndReadLight\030\013 \001(\010\022O\n\rnameLogSafety\030\014 \001(\016" + "20.com.palantir.atlasdb.protos.generated" + ".LogSafety:\006UNSAFE\022\037\n\027denselyAccessedWid" + "eRows\030\r \001(\010\"\274\001\n\027NameMetadataDescription\022" + "R\n\tnameParts\030\001 \003(\0132?.com.palantir.atlasd" + "b.protos.generated.NameComponentDescript" + "ion\022(\n\025hasFirstComponentHash\030\002 \001(\010:\005fals" + "eB\002\030\001\022#\n\030numberOfComponentsHashed\030\003 \001(\005:" + "\0010\"\277\002\n\030NameComponentDescription\022\025\n\rcompo" + "nentName\030\001 \002(\t\022>\n\004type\030\002 \002(\01620.com.palan" + "tir.atlasdb.protos.generated.ValueType\022D" + "\n\005order\030\003 \002(\01625.com.palantir.atlasdb.pro" + "tos.generated.ValueByteOrder\022\035\n\025hasUnifo" + "rmPartitioner\030\004 \001(\010\022\032\n\022explicitPartition" + "s\030\005 \003(\t\022K\n\tlogSafety\030\006 \001(\01620.com.palanti" + "r.atlasdb.protos.generated.LogSafety:\006UN" + "SAFE\"\310\001\n\031ColumnMetadataDescription\022S\n\014na" + "medColumns\030\001 \003(\0132=.com.palantir.atlasdb." + "protos.generated.NamedColumnDescription\022" + "V\n\rdynamicColumn\030\002 \001(\0132?.com.palantir.at" + "lasdb.protos.generated.DynamicColumnDesc" + "ription\"\300\001\n\030DynamicColumnDescription\022V\n\016" + "columnNameDesc\030\001 \002(\0132>.com.palantir.atla" + "sdb.protos.generated.NameMetadataDescrip" + "tion\022L\n\005value\030\002 \002(\0132=.com.palantir.atlas" + "db.protos.generated.ColumnValueDescripti" + "on\"\330\001\n\026NamedColumnDescription\022\021\n\tshortNa" + "me\030\001 \002(\t\022\020\n\010longName\030\002 \002(\t\022L\n\005value\030\003 \002(" + "\0132=.com.palantir.atlasdb.protos.generate" + "d.ColumnValueDescription\022K\n\tlogSafety\030\004 " + "\001(\01620.com.palantir.atlasdb.protos.genera" + "ted.LogSafety:\006UNSAFE\"\274\003\n\026ColumnValueDes" + "cription\022>\n\004type\030\001 \002(\01620.com.palantir.at" + "lasdb.protos.generated.ValueType\022\021\n\tclas" + "sName\030\002 \001(\t\022M\n\013compression\030\003 \001(\01622.com.p" + "alantir.atlasdb.protos.generated.Compres" + "sion:\004NONE\022H\n\006format\030\004 \001(\01628.com.palanti" + "r.atlasdb.protos.generated.ColumnValueFo" + "rmat\022\032\n\022canonicalClassName\030\005 \001(\t\022\037\n\023prot" + "oFileDescriptor\030\006 \001(\014B\002\030\001\022\030\n\020protoMessag" + "eName\030\007 \001(\t\022_\n\027protoFileDescriptorTree\030\010" + " \001(\0132>.com.palantir.atlasdb.protos.gener" + "ated.FileDescriptorTreeProto\"\214\001\n\027FileDes" + "criptorTreeProto\022\033\n\023protoFileDescriptor\030" + "\001 \002(\014\022T\n\014dependencies\030\002 \003(\0132>.com.palant" + "ir.atlasdb.protos.generated.FileDescript" + "orTreeProto*\305\001\n\tValueType\022\014\n\010VAR_LONG\020\001\022" + "\016\n\nFIXED_LONG\020\002\022\n\n\006STRING\020\003\022\010\n\004BLOB\020\004\022\023\n" + "\017VAR_SIGNED_LONG\020\005\022\034\n\030FIXED_LONG_LITTLE_" + "ENDIAN\020\006\022\016\n\nSHA256HASH\020\007\022\016\n\nVAR_STRING\020\010" + "\022\027\n\023NULLABLE_FIXED_LONG\020\t\022\016\n\nSIZED_BLOB\020" + "\n\022\010\n\004UUID\020\013*#\n\013Compression\022\010\n\004NONE\020\001\022\n\n\006" + "SNAPPY\020\002*N\n\021ColumnValueFormat\022\t\n\005PROTO\020\001" + "\022\017\n\013PERSISTABLE\020\002\022\016\n\nVALUE_TYPE\020\003\022\r\n\tPER" + "SISTER\020\004*/\n\016ValueByteOrder\022\r\n\tASCENDING\020" + "\001\022\016\n\nDESCENDING\020\002*\207\002\n\024TableConflictHandl" + "er\022\016\n\nIGNORE_ALL\020\001\022\030\n\024RETRY_ON_WRITE_WRI" + "TE\020\002\022\032\n\026RETRY_ON_VALUE_CHANGED\020\003\022\020\n\014SERI" + "ALIZABLE\020\004\022\035\n\031RETRY_ON_WRITE_WRITE_CELL\020" + "\005\022\025\n\021SERIALIZABLE_CELL\020\006\022\026\n\022SERIALIZABLE" + "_INDEX\020\007\022%\n!SERIALIZABLE_LOCK_LEVEL_MIGR" + "ATION\020\010\022\"\n\036RETRY_ON_WRITE_WRITE_MIGRATIO" + "N\020\t*F\n\rCachePriority\022\013\n\007COLDEST\020\000\022\010\n\004COL" + "D\020 \022\010\n\004WARM\020@\022\007\n\003HOT\020`\022\013\n\007HOTTEST\020\177*T\n\rS" + "weepStrategy\022\013\n\007NOTHING\020\000\022\020\n\014CONSERVATIV" + "E\020\001\022\014\n\010THOROUGH\020\002\022\026\n\022THOROUGH_MIGRATION\020" + "\003*!\n\tLogSafety\022\010\n\004SAFE\020\000\022\n\n\006UNSAFE\020\001" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_com_palantir_atlasdb_protos_generated_TableMetadata_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_com_palantir_atlasdb_protos_generated_TableMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_palantir_atlasdb_protos_generated_TableMetadata_descriptor, new java.lang.String[] { "RowName", "Columns", "ConflictHandler", "CachePriority", "RangeScanAllowed", "ExplicitCompression", "NegativeLookups", "SweepStrategy", "ExplicitCompressionBlockSizeKiloBytes", "AppendHeavyAndReadLight", "NameLogSafety", "DenselyAccessedWideRows", }); internal_static_com_palantir_atlasdb_protos_generated_NameMetadataDescription_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_com_palantir_atlasdb_protos_generated_NameMetadataDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_palantir_atlasdb_protos_generated_NameMetadataDescription_descriptor, new java.lang.String[] { "NameParts", "HasFirstComponentHash", "NumberOfComponentsHashed", }); internal_static_com_palantir_atlasdb_protos_generated_NameComponentDescription_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_com_palantir_atlasdb_protos_generated_NameComponentDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_palantir_atlasdb_protos_generated_NameComponentDescription_descriptor, new java.lang.String[] { "ComponentName", "Type", "Order", "HasUniformPartitioner", "ExplicitPartitions", "LogSafety", }); internal_static_com_palantir_atlasdb_protos_generated_ColumnMetadataDescription_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_com_palantir_atlasdb_protos_generated_ColumnMetadataDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_palantir_atlasdb_protos_generated_ColumnMetadataDescription_descriptor, new java.lang.String[] { "NamedColumns", "DynamicColumn", }); internal_static_com_palantir_atlasdb_protos_generated_DynamicColumnDescription_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_com_palantir_atlasdb_protos_generated_DynamicColumnDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_palantir_atlasdb_protos_generated_DynamicColumnDescription_descriptor, new java.lang.String[] { "ColumnNameDesc", "Value", }); internal_static_com_palantir_atlasdb_protos_generated_NamedColumnDescription_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_com_palantir_atlasdb_protos_generated_NamedColumnDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_palantir_atlasdb_protos_generated_NamedColumnDescription_descriptor, new java.lang.String[] { "ShortName", "LongName", "Value", "LogSafety", }); internal_static_com_palantir_atlasdb_protos_generated_ColumnValueDescription_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_com_palantir_atlasdb_protos_generated_ColumnValueDescription_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_palantir_atlasdb_protos_generated_ColumnValueDescription_descriptor, new java.lang.String[] { "Type", "ClassName", "Compression", "Format", "CanonicalClassName", "ProtoFileDescriptor", "ProtoMessageName", "ProtoFileDescriptorTree", }); internal_static_com_palantir_atlasdb_protos_generated_FileDescriptorTreeProto_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_com_palantir_atlasdb_protos_generated_FileDescriptorTreeProto_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_palantir_atlasdb_protos_generated_FileDescriptorTreeProto_descriptor, new java.lang.String[] { "ProtoFileDescriptor", "Dependencies", }); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy