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

alluxio.grpc.table.Database Maven / Gradle / Ivy

// Generated by the protocol buffer alluxio.shaded.client.com.iler.  DO NOT EDIT!
// source: grpc/table/table_master.proto

package alluxio.grpc.table;

/**
 * Protobuf type {@code alluxio.grpc.table.Database}
 */
public final class Database extends
    alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:alluxio.grpc.table.Database)
    DatabaseOrBuilder {
private static final long serialVersionUID = 0L;
  // Use Database.newBuilder() to construct.
  private Database(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private Database() {
    dbName_ = "";
    description_ = "";
    location_ = "";
    ownerName_ = "";
    ownerType_ = 0;
    alluxio.shaded.client.com.ent_ = "";
  }

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

  @java.lang.Override
  public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return alluxio.grpc.table.TableMasterProto.internal_static_alluxio_grpc_table_Database_descriptor;
  }

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField(
      int number) {
    switch (number) {
      case 4:
        return internalGetParameter();
      default:
        throw new RuntimeException(
            "Invalid map field number: " + number);
    }
  }
  @java.lang.Override
  protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return alluxio.grpc.table.TableMasterProto.internal_static_alluxio_grpc_table_Database_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            alluxio.grpc.table.Database.class, alluxio.grpc.table.Database.Builder.class);
  }

  private int bitField0_;
  public static final int DB_NAME_FIELD_NUMBER = 1;
  private volatile java.lang.Object dbName_;
  /**
   * optional string db_name = 1;
   * @return Whether the dbName field is set.
   */
  @java.lang.Override
  public boolean hasDbName() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * optional string db_name = 1;
   * @return The dbName.
   */
  @java.lang.Override
  public java.lang.String getDbName() {
    java.lang.Object ref = dbName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      alluxio.shaded.client.com.google.protobuf.ByteString bs = 
          (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      if (bs.isValidUtf8()) {
        dbName_ = s;
      }
      return s;
    }
  }
  /**
   * optional string db_name = 1;
   * @return The bytes for dbName.
   */
  @java.lang.Override
  public alluxio.shaded.client.com.google.protobuf.ByteString
      getDbNameBytes() {
    java.lang.Object ref = dbName_;
    if (ref instanceof java.lang.String) {
      alluxio.shaded.client.com.google.protobuf.ByteString b = 
          alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      dbName_ = b;
      return b;
    } else {
      return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DESCRIPTION_FIELD_NUMBER = 2;
  private volatile java.lang.Object description_;
  /**
   * optional string description = 2;
   * @return Whether the description field is set.
   */
  @java.lang.Override
  public boolean hasDescription() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * optional string description = 2;
   * @return The description.
   */
  @java.lang.Override
  public java.lang.String getDescription() {
    java.lang.Object ref = description_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      alluxio.shaded.client.com.google.protobuf.ByteString bs = 
          (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      if (bs.isValidUtf8()) {
        description_ = s;
      }
      return s;
    }
  }
  /**
   * optional string description = 2;
   * @return The bytes for description.
   */
  @java.lang.Override
  public alluxio.shaded.client.com.google.protobuf.ByteString
      getDescriptionBytes() {
    java.lang.Object ref = description_;
    if (ref instanceof java.lang.String) {
      alluxio.shaded.client.com.google.protobuf.ByteString b = 
          alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      description_ = b;
      return b;
    } else {
      return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
    }
  }

  public static final int LOCATION_FIELD_NUMBER = 3;
  private volatile java.lang.Object location_;
  /**
   * optional string location = 3;
   * @return Whether the location field is set.
   */
  @java.lang.Override
  public boolean hasLocation() {
    return ((bitField0_ & 0x00000004) != 0);
  }
  /**
   * optional string location = 3;
   * @return The location.
   */
  @java.lang.Override
  public java.lang.String getLocation() {
    java.lang.Object ref = location_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      alluxio.shaded.client.com.google.protobuf.ByteString bs = 
          (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      if (bs.isValidUtf8()) {
        location_ = s;
      }
      return s;
    }
  }
  /**
   * optional string location = 3;
   * @return The bytes for location.
   */
  @java.lang.Override
  public alluxio.shaded.client.com.google.protobuf.ByteString
      getLocationBytes() {
    java.lang.Object ref = location_;
    if (ref instanceof java.lang.String) {
      alluxio.shaded.client.com.google.protobuf.ByteString b = 
          alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      location_ = b;
      return b;
    } else {
      return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PARAMETER_FIELD_NUMBER = 4;
  private static final class ParameterDefaultEntryHolder {
    static final alluxio.shaded.client.com.google.protobuf.MapEntry<
        java.lang.String, java.lang.String> defaultEntry =
            alluxio.shaded.client.com.google.protobuf.MapEntry
            .newDefaultInstance(
                alluxio.grpc.table.TableMasterProto.internal_static_alluxio_grpc_table_Database_ParameterEntry_descriptor, 
                alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.STRING,
                "",
                alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.STRING,
                "");
  }
  private alluxio.shaded.client.com.google.protobuf.MapField<
      java.lang.String, java.lang.String> parameter_;
  private alluxio.shaded.client.com.google.protobuf.MapField
  internalGetParameter() {
    if (parameter_ == null) {
      return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
          ParameterDefaultEntryHolder.defaultEntry);
    }
    return parameter_;
  }

  public int getParameterCount() {
    return internalGetParameter().getMap().size();
  }
  /**
   * map<string, string> parameter = 4;
   */

  @java.lang.Override
  public boolean containsParameter(
      java.lang.String key) {
    if (key == null) { throw new NullPointerException("map key"); }
    return internalGetParameter().getMap().containsKey(key);
  }
  /**
   * Use {@link #getParameterMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map getParameter() {
    return getParameterMap();
  }
  /**
   * map<string, string> parameter = 4;
   */
  @java.lang.Override

  public java.util.Map getParameterMap() {
    return internalGetParameter().getMap();
  }
  /**
   * map<string, string> parameter = 4;
   */
  @java.lang.Override

  public java.lang.String getParameterOrDefault(
      java.lang.String key,
      java.lang.String defaultValue) {
    if (key == null) { throw new NullPointerException("map key"); }
    java.util.Map map =
        internalGetParameter().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * map<string, string> parameter = 4;
   */
  @java.lang.Override

  public java.lang.String getParameterOrThrow(
      java.lang.String key) {
    if (key == null) { throw new NullPointerException("map key"); }
    java.util.Map map =
        internalGetParameter().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int OWNER_NAME_FIELD_NUMBER = 5;
  private volatile java.lang.Object ownerName_;
  /**
   * optional string owner_name = 5;
   * @return Whether the ownerName field is set.
   */
  @java.lang.Override
  public boolean hasOwnerName() {
    return ((bitField0_ & 0x00000008) != 0);
  }
  /**
   * optional string owner_name = 5;
   * @return The ownerName.
   */
  @java.lang.Override
  public java.lang.String getOwnerName() {
    java.lang.Object ref = ownerName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      alluxio.shaded.client.com.google.protobuf.ByteString bs = 
          (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      if (bs.isValidUtf8()) {
        ownerName_ = s;
      }
      return s;
    }
  }
  /**
   * optional string owner_name = 5;
   * @return The bytes for ownerName.
   */
  @java.lang.Override
  public alluxio.shaded.client.com.google.protobuf.ByteString
      getOwnerNameBytes() {
    java.lang.Object ref = ownerName_;
    if (ref instanceof java.lang.String) {
      alluxio.shaded.client.com.google.protobuf.ByteString b = 
          alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      ownerName_ = b;
      return b;
    } else {
      return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
    }
  }

  public static final int OWNER_TYPE_FIELD_NUMBER = 6;
  private int ownerType_;
  /**
   * optional .alluxio.grpc.table.PrincipalType owner_type = 6;
   * @return Whether the ownerType field is set.
   */
  @java.lang.Override public boolean hasOwnerType() {
    return ((bitField0_ & 0x00000010) != 0);
  }
  /**
   * optional .alluxio.grpc.table.PrincipalType owner_type = 6;
   * @return The ownerType.
   */
  @java.lang.Override public alluxio.grpc.table.PrincipalType getOwnerType() {
    @SuppressWarnings("deprecation")
    alluxio.grpc.table.PrincipalType result = alluxio.grpc.table.PrincipalType.valueOf(ownerType_);
    return result == null ? alluxio.grpc.table.PrincipalType.USER : result;
  }

  public static final int COMMENT_FIELD_NUMBER = 7;
  private volatile java.lang.Object alluxio.shaded.client.com.ent_;
  /**
   * optional string alluxio.shaded.client.com.ent = 7;
   * @return Whether the alluxio.shaded.client.com.ent field is set.
   */
  @java.lang.Override
  public boolean hasComment() {
    return ((bitField0_ & 0x00000020) != 0);
  }
  /**
   * optional string alluxio.shaded.client.com.ent = 7;
   * @return The alluxio.shaded.client.com.ent.
   */
  @java.lang.Override
  public java.lang.String getComment() {
    java.lang.Object ref = alluxio.shaded.client.com.ent_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      alluxio.shaded.client.com.google.protobuf.ByteString bs = 
          (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      if (bs.isValidUtf8()) {
        alluxio.shaded.client.com.ent_ = s;
      }
      return s;
    }
  }
  /**
   * optional string alluxio.shaded.client.com.ent = 7;
   * @return The bytes for alluxio.shaded.client.com.ent.
   */
  @java.lang.Override
  public alluxio.shaded.client.com.google.protobuf.ByteString
      getCommentBytes() {
    java.lang.Object ref = alluxio.shaded.client.com.ent_;
    if (ref instanceof java.lang.String) {
      alluxio.shaded.client.com.google.protobuf.ByteString b = 
          alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      alluxio.shaded.client.com.ent_ = b;
      return b;
    } else {
      return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
    }
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
                      throws java.alluxio.shaded.client.io.IOException {
    if (((bitField0_ & 0x00000001) != 0)) {
      alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dbName_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, location_);
    }
    alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
      .serializeStringMapTo(
        output,
        internalGetParameter(),
        ParameterDefaultEntryHolder.defaultEntry,
        4);
    if (((bitField0_ & 0x00000008) != 0)) {
      alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ownerName_);
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      output.writeEnum(6, ownerType_);
    }
    if (((bitField0_ & 0x00000020) != 0)) {
      alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 7, alluxio.shaded.client.com.ent_);
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (((bitField0_ & 0x00000001) != 0)) {
      size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(1, dbName_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(2, description_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(3, location_);
    }
    for (java.util.Map.Entry entry
         : internalGetParameter().getMap().entrySet()) {
      alluxio.shaded.client.com.google.protobuf.MapEntry
      parameter__ = ParameterDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
          .alluxio.shaded.client.com.uteMessageSize(4, parameter__);
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(5, ownerName_);
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
        .alluxio.shaded.client.com.uteEnumSize(6, ownerType_);
    }
    if (((bitField0_ & 0x00000020) != 0)) {
      size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(7, alluxio.shaded.client.com.ent_);
    }
    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 alluxio.grpc.table.Database)) {
      return super.equals(obj);
    }
    alluxio.grpc.table.Database other = (alluxio.grpc.table.Database) obj;

    if (hasDbName() != other.hasDbName()) return false;
    if (hasDbName()) {
      if (!getDbName()
          .equals(other.getDbName())) return false;
    }
    if (hasDescription() != other.hasDescription()) return false;
    if (hasDescription()) {
      if (!getDescription()
          .equals(other.getDescription())) return false;
    }
    if (hasLocation() != other.hasLocation()) return false;
    if (hasLocation()) {
      if (!getLocation()
          .equals(other.getLocation())) return false;
    }
    if (!internalGetParameter().equals(
        other.internalGetParameter())) return false;
    if (hasOwnerName() != other.hasOwnerName()) return false;
    if (hasOwnerName()) {
      if (!getOwnerName()
          .equals(other.getOwnerName())) return false;
    }
    if (hasOwnerType() != other.hasOwnerType()) return false;
    if (hasOwnerType()) {
      if (ownerType_ != other.ownerType_) return false;
    }
    if (hasComment() != other.hasComment()) return false;
    if (hasComment()) {
      if (!getComment()
          .equals(other.getComment())) 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 (hasDbName()) {
      hash = (37 * hash) + DB_NAME_FIELD_NUMBER;
      hash = (53 * hash) + getDbName().hashCode();
    }
    if (hasDescription()) {
      hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
      hash = (53 * hash) + getDescription().hashCode();
    }
    if (hasLocation()) {
      hash = (37 * hash) + LOCATION_FIELD_NUMBER;
      hash = (53 * hash) + getLocation().hashCode();
    }
    if (!internalGetParameter().getMap().isEmpty()) {
      hash = (37 * hash) + PARAMETER_FIELD_NUMBER;
      hash = (53 * hash) + internalGetParameter().hashCode();
    }
    if (hasOwnerName()) {
      hash = (37 * hash) + OWNER_NAME_FIELD_NUMBER;
      hash = (53 * hash) + getOwnerName().hashCode();
    }
    if (hasOwnerType()) {
      hash = (37 * hash) + OWNER_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + ownerType_;
    }
    if (hasComment()) {
      hash = (37 * hash) + COMMENT_FIELD_NUMBER;
      hash = (53 * hash) + getComment().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static alluxio.grpc.table.Database parseFrom(
      java.nio.ByteBuffer data)
      throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static alluxio.grpc.table.Database parseFrom(
      java.nio.ByteBuffer data,
      alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static alluxio.grpc.table.Database parseFrom(
      alluxio.shaded.client.com.google.protobuf.ByteString data)
      throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static alluxio.grpc.table.Database parseFrom(
      alluxio.shaded.client.com.google.protobuf.ByteString data,
      alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static alluxio.grpc.table.Database parseFrom(byte[] data)
      throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static alluxio.grpc.table.Database parseFrom(
      byte[] data,
      alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static alluxio.grpc.table.Database parseFrom(java.alluxio.shaded.client.io.InputStream input)
      throws java.alluxio.shaded.client.io.IOException {
    return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static alluxio.grpc.table.Database parseFrom(
      java.alluxio.shaded.client.io.InputStream input,
      alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.alluxio.shaded.client.io.IOException {
    return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static alluxio.grpc.table.Database parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
      throws java.alluxio.shaded.client.io.IOException {
    return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static alluxio.grpc.table.Database parseDelimitedFrom(
      java.alluxio.shaded.client.io.InputStream input,
      alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.alluxio.shaded.client.io.IOException {
    return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static alluxio.grpc.table.Database parseFrom(
      alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
      throws java.alluxio.shaded.client.io.IOException {
    return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static alluxio.grpc.table.Database parseFrom(
      alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
      alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.alluxio.shaded.client.io.IOException {
    return alluxio.shaded.client.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(alluxio.grpc.table.Database 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(
      alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code alluxio.grpc.table.Database}
   */
  public static final class Builder extends
      alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:alluxio.grpc.table.Database)
      alluxio.grpc.table.DatabaseOrBuilder {
    public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return alluxio.grpc.table.TableMasterProto.internal_static_alluxio_grpc_table_Database_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 4:
          return internalGetParameter();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @SuppressWarnings({"rawtypes"})
    protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMutableMapField(
        int number) {
      switch (number) {
        case 4:
          return internalGetMutableParameter();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return alluxio.grpc.table.TableMasterProto.internal_static_alluxio_grpc_table_Database_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              alluxio.grpc.table.Database.class, alluxio.grpc.table.Database.Builder.class);
    }

    // Construct using alluxio.grpc.table.Database.newBuilder()
    private Builder() {

    }

    private Builder(
        alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      dbName_ = "";
      bitField0_ = (bitField0_ & ~0x00000001);
      description_ = "";
      bitField0_ = (bitField0_ & ~0x00000002);
      location_ = "";
      bitField0_ = (bitField0_ & ~0x00000004);
      internalGetMutableParameter().clear();
      ownerName_ = "";
      bitField0_ = (bitField0_ & ~0x00000010);
      ownerType_ = 0;
      bitField0_ = (bitField0_ & ~0x00000020);
      alluxio.shaded.client.com.ent_ = "";
      bitField0_ = (bitField0_ & ~0x00000040);
      return this;
    }

    @java.lang.Override
    public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return alluxio.grpc.table.TableMasterProto.internal_static_alluxio_grpc_table_Database_descriptor;
    }

    @java.lang.Override
    public alluxio.grpc.table.Database getDefaultInstanceForType() {
      return alluxio.grpc.table.Database.getDefaultInstance();
    }

    @java.lang.Override
    public alluxio.grpc.table.Database build() {
      alluxio.grpc.table.Database result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public alluxio.grpc.table.Database buildPartial() {
      alluxio.grpc.table.Database result = new alluxio.grpc.table.Database(this);
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        to_bitField0_ |= 0x00000001;
      }
      result.dbName_ = dbName_;
      if (((from_bitField0_ & 0x00000002) != 0)) {
        to_bitField0_ |= 0x00000002;
      }
      result.description_ = description_;
      if (((from_bitField0_ & 0x00000004) != 0)) {
        to_bitField0_ |= 0x00000004;
      }
      result.location_ = location_;
      result.parameter_ = internalGetParameter();
      result.parameter_.makeImmutable();
      if (((from_bitField0_ & 0x00000010) != 0)) {
        to_bitField0_ |= 0x00000008;
      }
      result.ownerName_ = ownerName_;
      if (((from_bitField0_ & 0x00000020) != 0)) {
        to_bitField0_ |= 0x00000010;
      }
      result.ownerType_ = ownerType_;
      if (((from_bitField0_ & 0x00000040) != 0)) {
        to_bitField0_ |= 0x00000020;
      }
      result.alluxio.shaded.client.com.ent_ = alluxio.shaded.client.com.ent_;
      result.bitField0_ = to_bitField0_;
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
      if (other instanceof alluxio.grpc.table.Database) {
        return mergeFrom((alluxio.grpc.table.Database)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(alluxio.grpc.table.Database other) {
      if (other == alluxio.grpc.table.Database.getDefaultInstance()) return this;
      if (other.hasDbName()) {
        bitField0_ |= 0x00000001;
        dbName_ = other.dbName_;
        onChanged();
      }
      if (other.hasDescription()) {
        bitField0_ |= 0x00000002;
        description_ = other.description_;
        onChanged();
      }
      if (other.hasLocation()) {
        bitField0_ |= 0x00000004;
        location_ = other.location_;
        onChanged();
      }
      internalGetMutableParameter().mergeFrom(
          other.internalGetParameter());
      if (other.hasOwnerName()) {
        bitField0_ |= 0x00000010;
        ownerName_ = other.ownerName_;
        onChanged();
      }
      if (other.hasOwnerType()) {
        setOwnerType(other.getOwnerType());
      }
      if (other.hasComment()) {
        bitField0_ |= 0x00000040;
        alluxio.shaded.client.com.ent_ = other.alluxio.shaded.client.com.ent_;
        onChanged();
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }

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

    @java.lang.Override
    public Builder mergeFrom(
        alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
        alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.alluxio.shaded.client.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: {
              dbName_ = input.readBytes();
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              description_ = input.readBytes();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 26: {
              location_ = input.readBytes();
              bitField0_ |= 0x00000004;
              break;
            } // case 26
            case 34: {
              alluxio.shaded.client.com.google.protobuf.MapEntry
              parameter__ = input.readMessage(
                  ParameterDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              internalGetMutableParameter().getMutableMap().put(
                  parameter__.getKey(), parameter__.getValue());
              break;
            } // case 34
            case 42: {
              ownerName_ = input.readBytes();
              bitField0_ |= 0x00000010;
              break;
            } // case 42
            case 48: {
              int tmpRaw = input.readEnum();
              alluxio.grpc.table.PrincipalType tmpValue =
                  alluxio.grpc.table.PrincipalType.forNumber(tmpRaw);
              if (tmpValue == null) {
                mergeUnknownVarintField(6, tmpRaw);
              } else {
                ownerType_ = tmpRaw;
                bitField0_ |= 0x00000020;
              }
              break;
            } // case 48
            case 58: {
              alluxio.shaded.client.com.ent_ = input.readBytes();
              bitField0_ |= 0x00000040;
              break;
            } // case 58
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

    private java.lang.Object dbName_ = "";
    /**
     * optional string db_name = 1;
     * @return Whether the dbName field is set.
     */
    public boolean hasDbName() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional string db_name = 1;
     * @return The dbName.
     */
    public java.lang.String getDbName() {
      java.lang.Object ref = dbName_;
      if (!(ref instanceof java.lang.String)) {
        alluxio.shaded.client.com.google.protobuf.ByteString bs =
            (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          dbName_ = s;
        }
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * optional string db_name = 1;
     * @return The bytes for dbName.
     */
    public alluxio.shaded.client.com.google.protobuf.ByteString
        getDbNameBytes() {
      java.lang.Object ref = dbName_;
      if (ref instanceof String) {
        alluxio.shaded.client.com.google.protobuf.ByteString b = 
            alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        dbName_ = b;
        return b;
      } else {
        return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * optional string db_name = 1;
     * @param value The dbName to set.
     * @return This builder for chaining.
     */
    public Builder setDbName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
      dbName_ = value;
      onChanged();
      return this;
    }
    /**
     * optional string db_name = 1;
     * @return This builder for chaining.
     */
    public Builder clearDbName() {
      bitField0_ = (bitField0_ & ~0x00000001);
      dbName_ = getDefaultInstance().getDbName();
      onChanged();
      return this;
    }
    /**
     * optional string db_name = 1;
     * @param value The bytes for dbName to set.
     * @return This builder for chaining.
     */
    public Builder setDbNameBytes(
        alluxio.shaded.client.com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
      dbName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object description_ = "";
    /**
     * optional string description = 2;
     * @return Whether the description field is set.
     */
    public boolean hasDescription() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional string description = 2;
     * @return The description.
     */
    public java.lang.String getDescription() {
      java.lang.Object ref = description_;
      if (!(ref instanceof java.lang.String)) {
        alluxio.shaded.client.com.google.protobuf.ByteString bs =
            (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          description_ = s;
        }
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * optional string description = 2;
     * @return The bytes for description.
     */
    public alluxio.shaded.client.com.google.protobuf.ByteString
        getDescriptionBytes() {
      java.lang.Object ref = description_;
      if (ref instanceof String) {
        alluxio.shaded.client.com.google.protobuf.ByteString b = 
            alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        description_ = b;
        return b;
      } else {
        return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * optional string description = 2;
     * @param value The description to set.
     * @return This builder for chaining.
     */
    public Builder setDescription(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
      description_ = value;
      onChanged();
      return this;
    }
    /**
     * optional string description = 2;
     * @return This builder for chaining.
     */
    public Builder clearDescription() {
      bitField0_ = (bitField0_ & ~0x00000002);
      description_ = getDefaultInstance().getDescription();
      onChanged();
      return this;
    }
    /**
     * optional string description = 2;
     * @param value The bytes for description to set.
     * @return This builder for chaining.
     */
    public Builder setDescriptionBytes(
        alluxio.shaded.client.com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
      description_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object location_ = "";
    /**
     * optional string location = 3;
     * @return Whether the location field is set.
     */
    public boolean hasLocation() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * optional string location = 3;
     * @return The location.
     */
    public java.lang.String getLocation() {
      java.lang.Object ref = location_;
      if (!(ref instanceof java.lang.String)) {
        alluxio.shaded.client.com.google.protobuf.ByteString bs =
            (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          location_ = s;
        }
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * optional string location = 3;
     * @return The bytes for location.
     */
    public alluxio.shaded.client.com.google.protobuf.ByteString
        getLocationBytes() {
      java.lang.Object ref = location_;
      if (ref instanceof String) {
        alluxio.shaded.client.com.google.protobuf.ByteString b = 
            alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        location_ = b;
        return b;
      } else {
        return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * optional string location = 3;
     * @param value The location to set.
     * @return This builder for chaining.
     */
    public Builder setLocation(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
      location_ = value;
      onChanged();
      return this;
    }
    /**
     * optional string location = 3;
     * @return This builder for chaining.
     */
    public Builder clearLocation() {
      bitField0_ = (bitField0_ & ~0x00000004);
      location_ = getDefaultInstance().getLocation();
      onChanged();
      return this;
    }
    /**
     * optional string location = 3;
     * @param value The bytes for location to set.
     * @return This builder for chaining.
     */
    public Builder setLocationBytes(
        alluxio.shaded.client.com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
      location_ = value;
      onChanged();
      return this;
    }

    private alluxio.shaded.client.com.google.protobuf.MapField<
        java.lang.String, java.lang.String> parameter_;
    private alluxio.shaded.client.com.google.protobuf.MapField
    internalGetParameter() {
      if (parameter_ == null) {
        return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
            ParameterDefaultEntryHolder.defaultEntry);
      }
      return parameter_;
    }
    private alluxio.shaded.client.com.google.protobuf.MapField
    internalGetMutableParameter() {
      onChanged();;
      if (parameter_ == null) {
        parameter_ = alluxio.shaded.client.com.google.protobuf.MapField.newMapField(
            ParameterDefaultEntryHolder.defaultEntry);
      }
      if (!parameter_.isMutable()) {
        parameter_ = parameter_.copy();
      }
      return parameter_;
    }

    public int getParameterCount() {
      return internalGetParameter().getMap().size();
    }
    /**
     * map<string, string> parameter = 4;
     */

    @java.lang.Override
    public boolean containsParameter(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      return internalGetParameter().getMap().containsKey(key);
    }
    /**
     * Use {@link #getParameterMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map getParameter() {
      return getParameterMap();
    }
    /**
     * map<string, string> parameter = 4;
     */
    @java.lang.Override

    public java.util.Map getParameterMap() {
      return internalGetParameter().getMap();
    }
    /**
     * map<string, string> parameter = 4;
     */
    @java.lang.Override

    public java.lang.String getParameterOrDefault(
        java.lang.String key,
        java.lang.String defaultValue) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map =
          internalGetParameter().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * map<string, string> parameter = 4;
     */
    @java.lang.Override

    public java.lang.String getParameterOrThrow(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map =
          internalGetParameter().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public Builder clearParameter() {
      internalGetMutableParameter().getMutableMap()
          .clear();
      return this;
    }
    /**
     * map<string, string> parameter = 4;
     */

    public Builder removeParameter(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      internalGetMutableParameter().getMutableMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map
    getMutableParameter() {
      return internalGetMutableParameter().getMutableMap();
    }
    /**
     * map<string, string> parameter = 4;
     */
    public Builder putParameter(
        java.lang.String key,
        java.lang.String value) {
      if (key == null) { throw new NullPointerException("map key"); }
      if (value == null) {
  throw new NullPointerException("map value");
}

      internalGetMutableParameter().getMutableMap()
          .put(key, value);
      return this;
    }
    /**
     * map<string, string> parameter = 4;
     */

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

    private java.lang.Object ownerName_ = "";
    /**
     * optional string owner_name = 5;
     * @return Whether the ownerName field is set.
     */
    public boolean hasOwnerName() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * optional string owner_name = 5;
     * @return The ownerName.
     */
    public java.lang.String getOwnerName() {
      java.lang.Object ref = ownerName_;
      if (!(ref instanceof java.lang.String)) {
        alluxio.shaded.client.com.google.protobuf.ByteString bs =
            (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          ownerName_ = s;
        }
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * optional string owner_name = 5;
     * @return The bytes for ownerName.
     */
    public alluxio.shaded.client.com.google.protobuf.ByteString
        getOwnerNameBytes() {
      java.lang.Object ref = ownerName_;
      if (ref instanceof String) {
        alluxio.shaded.client.com.google.protobuf.ByteString b = 
            alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ownerName_ = b;
        return b;
      } else {
        return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * optional string owner_name = 5;
     * @param value The ownerName to set.
     * @return This builder for chaining.
     */
    public Builder setOwnerName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000010;
      ownerName_ = value;
      onChanged();
      return this;
    }
    /**
     * optional string owner_name = 5;
     * @return This builder for chaining.
     */
    public Builder clearOwnerName() {
      bitField0_ = (bitField0_ & ~0x00000010);
      ownerName_ = getDefaultInstance().getOwnerName();
      onChanged();
      return this;
    }
    /**
     * optional string owner_name = 5;
     * @param value The bytes for ownerName to set.
     * @return This builder for chaining.
     */
    public Builder setOwnerNameBytes(
        alluxio.shaded.client.com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000010;
      ownerName_ = value;
      onChanged();
      return this;
    }

    private int ownerType_ = 0;
    /**
     * optional .alluxio.grpc.table.PrincipalType owner_type = 6;
     * @return Whether the ownerType field is set.
     */
    @java.lang.Override public boolean hasOwnerType() {
      return ((bitField0_ & 0x00000020) != 0);
    }
    /**
     * optional .alluxio.grpc.table.PrincipalType owner_type = 6;
     * @return The ownerType.
     */
    @java.lang.Override
    public alluxio.grpc.table.PrincipalType getOwnerType() {
      @SuppressWarnings("deprecation")
      alluxio.grpc.table.PrincipalType result = alluxio.grpc.table.PrincipalType.valueOf(ownerType_);
      return result == null ? alluxio.grpc.table.PrincipalType.USER : result;
    }
    /**
     * optional .alluxio.grpc.table.PrincipalType owner_type = 6;
     * @param value The ownerType to set.
     * @return This builder for chaining.
     */
    public Builder setOwnerType(alluxio.grpc.table.PrincipalType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000020;
      ownerType_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * optional .alluxio.grpc.table.PrincipalType owner_type = 6;
     * @return This builder for chaining.
     */
    public Builder clearOwnerType() {
      bitField0_ = (bitField0_ & ~0x00000020);
      ownerType_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object alluxio.shaded.client.com.ent_ = "";
    /**
     * optional string alluxio.shaded.client.com.ent = 7;
     * @return Whether the alluxio.shaded.client.com.ent field is set.
     */
    public boolean hasComment() {
      return ((bitField0_ & 0x00000040) != 0);
    }
    /**
     * optional string alluxio.shaded.client.com.ent = 7;
     * @return The alluxio.shaded.client.com.ent.
     */
    public java.lang.String getComment() {
      java.lang.Object ref = alluxio.shaded.client.com.ent_;
      if (!(ref instanceof java.lang.String)) {
        alluxio.shaded.client.com.google.protobuf.ByteString bs =
            (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          alluxio.shaded.client.com.ent_ = s;
        }
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * optional string alluxio.shaded.client.com.ent = 7;
     * @return The bytes for alluxio.shaded.client.com.ent.
     */
    public alluxio.shaded.client.com.google.protobuf.ByteString
        getCommentBytes() {
      java.lang.Object ref = alluxio.shaded.client.com.ent_;
      if (ref instanceof String) {
        alluxio.shaded.client.com.google.protobuf.ByteString b = 
            alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        alluxio.shaded.client.com.ent_ = b;
        return b;
      } else {
        return (alluxio.shaded.client.com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * optional string alluxio.shaded.client.com.ent = 7;
     * @param value The alluxio.shaded.client.com.ent to set.
     * @return This builder for chaining.
     */
    public Builder setComment(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000040;
      alluxio.shaded.client.com.ent_ = value;
      onChanged();
      return this;
    }
    /**
     * optional string alluxio.shaded.client.com.ent = 7;
     * @return This builder for chaining.
     */
    public Builder clearComment() {
      bitField0_ = (bitField0_ & ~0x00000040);
      alluxio.shaded.client.com.ent_ = getDefaultInstance().getComment();
      onChanged();
      return this;
    }
    /**
     * optional string alluxio.shaded.client.com.ent = 7;
     * @param value The bytes for alluxio.shaded.client.com.ent to set.
     * @return This builder for chaining.
     */
    public Builder setCommentBytes(
        alluxio.shaded.client.com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000040;
      alluxio.shaded.client.com.ent_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:alluxio.grpc.table.Database)
  }

  // @@protoc_insertion_point(class_scope:alluxio.grpc.table.Database)
  private static final alluxio.grpc.table.Database DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new alluxio.grpc.table.Database();
  }

  public static alluxio.grpc.table.Database getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  @java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
      PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public Database parsePartialFrom(
        alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
        alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
      Builder builder = newBuilder();
      try {
        builder.mergeFrom(input, extensionRegistry);
      } catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(builder.buildPartial());
      } catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
      } catch (java.alluxio.shaded.client.io.IOException e) {
        throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
            .setUnfinishedMessage(builder.buildPartial());
      }
      return builder.buildPartial();
    }
  };

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

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

  @java.lang.Override
  public alluxio.grpc.table.Database getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy