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

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

There is a newer version: 313
Show newest version
// Generated by the protocol buffer alluxio.shaded.client.com.iler.  DO NOT EDIT!
// source: grpc/table/table_master.proto

package alluxio.grpc.table;

/**
 * 
 * next available id: 12
 * 
* * Protobuf type {@code alluxio.grpc.table.TableInfo} */ public final class TableInfo extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:alluxio.grpc.table.TableInfo) TableInfoOrBuilder { private static final long serialVersionUID = 0L; // Use TableInfo.newBuilder() to construct. private TableInfo(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TableInfo() { dbName_ = ""; tableName_ = ""; type_ = 0; owner_ = ""; partitionCols_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TableInfo(); } @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_TableInfo_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 7: return internalGetParameters(); 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_TableInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.grpc.table.TableInfo.class, alluxio.grpc.table.TableInfo.Builder.class); } /** * Protobuf enum {@code alluxio.grpc.table.TableInfo.TableType} */ public enum TableType implements alluxio.shaded.client.com.google.protobuf.ProtocolMessageEnum { /** * NATIVE = 0; */ NATIVE(0), /** * IMPORTED = 1; */ IMPORTED(1), ; /** * NATIVE = 0; */ public static final int NATIVE_VALUE = 0; /** * IMPORTED = 1; */ public static final int IMPORTED_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 TableType 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 TableType forNumber(int value) { switch (value) { case 0: return NATIVE; case 1: return IMPORTED; default: return null; } } public static alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap< TableType> internalValueMap = new alluxio.shaded.client.com.google.protobuf.Internal.EnumLiteMap() { public TableType findValueByNumber(int number) { return TableType.forNumber(number); } }; public final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final alluxio.shaded.client.com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return alluxio.grpc.table.TableInfo.getDescriptor().getEnumTypes().get(0); } private static final TableType[] VALUES = values(); public static TableType valueOf( alluxio.shaded.client.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 TableType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:alluxio.grpc.table.TableInfo.TableType) } 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 TABLE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object tableName_; /** * optional string table_name = 2; * @return Whether the tableName field is set. */ @java.lang.Override public boolean hasTableName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string table_name = 2; * @return The tableName. */ @java.lang.Override public java.lang.String getTableName() { java.lang.Object ref = tableName_; 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()) { tableName_ = s; } return s; } } /** * optional string table_name = 2; * @return The bytes for tableName. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; 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); tableName_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 3; private int type_; /** * optional .alluxio.grpc.table.TableInfo.TableType type = 3; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .alluxio.grpc.table.TableInfo.TableType type = 3; * @return The type. */ @java.lang.Override public alluxio.grpc.table.TableInfo.TableType getType() { @SuppressWarnings("deprecation") alluxio.grpc.table.TableInfo.TableType result = alluxio.grpc.table.TableInfo.TableType.valueOf(type_); return result == null ? alluxio.grpc.table.TableInfo.TableType.NATIVE : result; } public static final int OWNER_FIELD_NUMBER = 4; private volatile java.lang.Object owner_; /** * optional string owner = 4; * @return Whether the owner field is set. */ @java.lang.Override public boolean hasOwner() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string owner = 4; * @return The owner. */ @java.lang.Override public java.lang.String getOwner() { java.lang.Object ref = owner_; 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()) { owner_ = s; } return s; } } /** * optional string owner = 4; * @return The bytes for owner. */ @java.lang.Override public alluxio.shaded.client.com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; 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); owner_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } public static final int SCHEMA_FIELD_NUMBER = 5; private alluxio.grpc.table.Schema schema_; /** * optional .alluxio.grpc.table.Schema schema = 5; * @return Whether the schema field is set. */ @java.lang.Override public boolean hasSchema() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .alluxio.grpc.table.Schema schema = 5; * @return The schema. */ @java.lang.Override public alluxio.grpc.table.Schema getSchema() { return schema_ == null ? alluxio.grpc.table.Schema.getDefaultInstance() : schema_; } /** * optional .alluxio.grpc.table.Schema schema = 5; */ @java.lang.Override public alluxio.grpc.table.SchemaOrBuilder getSchemaOrBuilder() { return schema_ == null ? alluxio.grpc.table.Schema.getDefaultInstance() : schema_; } public static final int LAYOUT_FIELD_NUMBER = 6; private alluxio.grpc.table.Layout layout_; /** * optional .alluxio.grpc.table.Layout layout = 6; * @return Whether the layout field is set. */ @java.lang.Override public boolean hasLayout() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .alluxio.grpc.table.Layout layout = 6; * @return The layout. */ @java.lang.Override public alluxio.grpc.table.Layout getLayout() { return layout_ == null ? alluxio.grpc.table.Layout.getDefaultInstance() : layout_; } /** * optional .alluxio.grpc.table.Layout layout = 6; */ @java.lang.Override public alluxio.grpc.table.LayoutOrBuilder getLayoutOrBuilder() { return layout_ == null ? alluxio.grpc.table.Layout.getDefaultInstance() : layout_; } public static final int PARAMETERS_FIELD_NUMBER = 7; private static final class ParametersDefaultEntryHolder { 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_TableInfo_ParametersEntry_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> parameters_; private alluxio.shaded.client.com.google.protobuf.MapField internalGetParameters() { if (parameters_ == null) { return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField( ParametersDefaultEntryHolder.defaultEntry); } return parameters_; } public int getParametersCount() { return internalGetParameters().getMap().size(); } /** * map<string, string> parameters = 7; */ @java.lang.Override public boolean containsParameters( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetParameters().getMap().containsKey(key); } /** * Use {@link #getParametersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getParameters() { return getParametersMap(); } /** * map<string, string> parameters = 7; */ @java.lang.Override public java.util.Map getParametersMap() { return internalGetParameters().getMap(); } /** * map<string, string> parameters = 7; */ @java.lang.Override public java.lang.String getParametersOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParameters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> parameters = 7; */ @java.lang.Override public java.lang.String getParametersOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParameters().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int PARTITION_COLS_FIELD_NUMBER = 8; private java.util.List partitionCols_; /** *
   * partitioning scheme
   * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ @java.lang.Override public java.util.List getPartitionColsList() { return partitionCols_; } /** *
   * partitioning scheme
   * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ @java.lang.Override public java.util.List getPartitionColsOrBuilderList() { return partitionCols_; } /** *
   * partitioning scheme
   * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ @java.lang.Override public int getPartitionColsCount() { return partitionCols_.size(); } /** *
   * partitioning scheme
   * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ @java.lang.Override public alluxio.grpc.table.FieldSchema getPartitionCols(int index) { return partitionCols_.get(index); } /** *
   * partitioning scheme
   * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ @java.lang.Override public alluxio.grpc.table.FieldSchemaOrBuilder getPartitionColsOrBuilder( int index) { return partitionCols_.get(index); } public static final int PREVIOUS_VERSION_FIELD_NUMBER = 9; private long previousVersion_; /** * optional int64 previous_version = 9; * @return Whether the previousVersion field is set. */ @java.lang.Override public boolean hasPreviousVersion() { return ((bitField0_ & 0x00000040) != 0); } /** * optional int64 previous_version = 9; * @return The previousVersion. */ @java.lang.Override public long getPreviousVersion() { return previousVersion_; } public static final int VERSION_FIELD_NUMBER = 10; private long version_; /** * optional int64 version = 10; * @return Whether the version field is set. */ @java.lang.Override public boolean hasVersion() { return ((bitField0_ & 0x00000080) != 0); } /** * optional int64 version = 10; * @return The version. */ @java.lang.Override public long getVersion() { return version_; } public static final int VERSION_CREATION_TIME_FIELD_NUMBER = 11; private long versionCreationTime_; /** * optional int64 version_creation_time = 11; * @return Whether the versionCreationTime field is set. */ @java.lang.Override public boolean hasVersionCreationTime() { return ((bitField0_ & 0x00000100) != 0); } /** * optional int64 version_creation_time = 11; * @return The versionCreationTime. */ @java.lang.Override public long getVersionCreationTime() { return versionCreationTime_; } 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 (hasLayout()) { if (!getLayout().isInitialized()) { memoizedIsInitialized = 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, tableName_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeEnum(3, type_); } if (((bitField0_ & 0x00000008) != 0)) { alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, owner_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(5, getSchema()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(6, getLayout()); } alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetParameters(), ParametersDefaultEntryHolder.defaultEntry, 7); for (int i = 0; i < partitionCols_.size(); i++) { output.writeMessage(8, partitionCols_.get(i)); } if (((bitField0_ & 0x00000040) != 0)) { output.writeInt64(9, previousVersion_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeInt64(10, version_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeInt64(11, versionCreationTime_); } 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, tableName_); } if (((bitField0_ & 0x00000004) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteEnumSize(3, type_); } if (((bitField0_ & 0x00000008) != 0)) { size += alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alluxio.shaded.client.com.uteStringSize(4, owner_); } if (((bitField0_ & 0x00000010) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteMessageSize(5, getSchema()); } if (((bitField0_ & 0x00000020) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteMessageSize(6, getLayout()); } for (java.util.Map.Entry entry : internalGetParameters().getMap().entrySet()) { alluxio.shaded.client.com.google.protobuf.MapEntry parameters__ = ParametersDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteMessageSize(7, parameters__); } for (int i = 0; i < partitionCols_.size(); i++) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteMessageSize(8, partitionCols_.get(i)); } if (((bitField0_ & 0x00000040) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteInt64Size(9, previousVersion_); } if (((bitField0_ & 0x00000080) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteInt64Size(10, version_); } if (((bitField0_ & 0x00000100) != 0)) { size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream .alluxio.shaded.client.com.uteInt64Size(11, versionCreationTime_); } 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.TableInfo)) { return super.equals(obj); } alluxio.grpc.table.TableInfo other = (alluxio.grpc.table.TableInfo) obj; if (hasDbName() != other.hasDbName()) return false; if (hasDbName()) { if (!getDbName() .equals(other.getDbName())) return false; } if (hasTableName() != other.hasTableName()) return false; if (hasTableName()) { if (!getTableName() .equals(other.getTableName())) return false; } if (hasType() != other.hasType()) return false; if (hasType()) { if (type_ != other.type_) return false; } if (hasOwner() != other.hasOwner()) return false; if (hasOwner()) { if (!getOwner() .equals(other.getOwner())) return false; } if (hasSchema() != other.hasSchema()) return false; if (hasSchema()) { if (!getSchema() .equals(other.getSchema())) return false; } if (hasLayout() != other.hasLayout()) return false; if (hasLayout()) { if (!getLayout() .equals(other.getLayout())) return false; } if (!internalGetParameters().equals( other.internalGetParameters())) return false; if (!getPartitionColsList() .equals(other.getPartitionColsList())) return false; if (hasPreviousVersion() != other.hasPreviousVersion()) return false; if (hasPreviousVersion()) { if (getPreviousVersion() != other.getPreviousVersion()) return false; } if (hasVersion() != other.hasVersion()) return false; if (hasVersion()) { if (getVersion() != other.getVersion()) return false; } if (hasVersionCreationTime() != other.hasVersionCreationTime()) return false; if (hasVersionCreationTime()) { if (getVersionCreationTime() != other.getVersionCreationTime()) 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 (hasTableName()) { hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTableName().hashCode(); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; } if (hasOwner()) { hash = (37 * hash) + OWNER_FIELD_NUMBER; hash = (53 * hash) + getOwner().hashCode(); } if (hasSchema()) { hash = (37 * hash) + SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getSchema().hashCode(); } if (hasLayout()) { hash = (37 * hash) + LAYOUT_FIELD_NUMBER; hash = (53 * hash) + getLayout().hashCode(); } if (!internalGetParameters().getMap().isEmpty()) { hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + internalGetParameters().hashCode(); } if (getPartitionColsCount() > 0) { hash = (37 * hash) + PARTITION_COLS_FIELD_NUMBER; hash = (53 * hash) + getPartitionColsList().hashCode(); } if (hasPreviousVersion()) { hash = (37 * hash) + PREVIOUS_VERSION_FIELD_NUMBER; hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong( getPreviousVersion()); } if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong( getVersion()); } if (hasVersionCreationTime()) { hash = (37 * hash) + VERSION_CREATION_TIME_FIELD_NUMBER; hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashLong( getVersionCreationTime()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static alluxio.grpc.table.TableInfo parseFrom( java.nio.ByteBuffer data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.grpc.table.TableInfo 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.TableInfo 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.TableInfo 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.TableInfo parseFrom(byte[] data) throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static alluxio.grpc.table.TableInfo 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.TableInfo 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.TableInfo 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.TableInfo 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.TableInfo 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.TableInfo 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.TableInfo 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.TableInfo 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; } /** *
   * next available id: 12
   * 
* * Protobuf type {@code alluxio.grpc.table.TableInfo} */ public static final class Builder extends alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:alluxio.grpc.table.TableInfo) alluxio.grpc.table.TableInfoOrBuilder { public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return alluxio.grpc.table.TableMasterProto.internal_static_alluxio_grpc_table_TableInfo_descriptor; } @SuppressWarnings({"rawtypes"}) protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 7: return internalGetParameters(); 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 7: return internalGetMutableParameters(); 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_TableInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( alluxio.grpc.table.TableInfo.class, alluxio.grpc.table.TableInfo.Builder.class); } // Construct using alluxio.grpc.table.TableInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSchemaFieldBuilder(); getLayoutFieldBuilder(); getPartitionColsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); dbName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); tableName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); type_ = 0; bitField0_ = (bitField0_ & ~0x00000004); owner_ = ""; bitField0_ = (bitField0_ & ~0x00000008); if (schemaBuilder_ == null) { schema_ = null; } else { schemaBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (layoutBuilder_ == null) { layout_ = null; } else { layoutBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); internalGetMutableParameters().clear(); if (partitionColsBuilder_ == null) { partitionCols_ = java.util.Collections.emptyList(); } else { partitionCols_ = null; partitionColsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); previousVersion_ = 0L; bitField0_ = (bitField0_ & ~0x00000100); version_ = 0L; bitField0_ = (bitField0_ & ~0x00000200); versionCreationTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000400); 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_TableInfo_descriptor; } @java.lang.Override public alluxio.grpc.table.TableInfo getDefaultInstanceForType() { return alluxio.grpc.table.TableInfo.getDefaultInstance(); } @java.lang.Override public alluxio.grpc.table.TableInfo build() { alluxio.grpc.table.TableInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public alluxio.grpc.table.TableInfo buildPartial() { alluxio.grpc.table.TableInfo result = new alluxio.grpc.table.TableInfo(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.tableName_ = tableName_; if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.type_ = type_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.owner_ = owner_; if (((from_bitField0_ & 0x00000010) != 0)) { if (schemaBuilder_ == null) { result.schema_ = schema_; } else { result.schema_ = schemaBuilder_.build(); } to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { if (layoutBuilder_ == null) { result.layout_ = layout_; } else { result.layout_ = layoutBuilder_.build(); } to_bitField0_ |= 0x00000020; } result.parameters_ = internalGetParameters(); result.parameters_.makeImmutable(); if (partitionColsBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { partitionCols_ = java.util.Collections.unmodifiableList(partitionCols_); bitField0_ = (bitField0_ & ~0x00000080); } result.partitionCols_ = partitionCols_; } else { result.partitionCols_ = partitionColsBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { result.previousVersion_ = previousVersion_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000200) != 0)) { result.version_ = version_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000400) != 0)) { result.versionCreationTime_ = versionCreationTime_; to_bitField0_ |= 0x00000100; } 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.TableInfo) { return mergeFrom((alluxio.grpc.table.TableInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(alluxio.grpc.table.TableInfo other) { if (other == alluxio.grpc.table.TableInfo.getDefaultInstance()) return this; if (other.hasDbName()) { bitField0_ |= 0x00000001; dbName_ = other.dbName_; onChanged(); } if (other.hasTableName()) { bitField0_ |= 0x00000002; tableName_ = other.tableName_; onChanged(); } if (other.hasType()) { setType(other.getType()); } if (other.hasOwner()) { bitField0_ |= 0x00000008; owner_ = other.owner_; onChanged(); } if (other.hasSchema()) { mergeSchema(other.getSchema()); } if (other.hasLayout()) { mergeLayout(other.getLayout()); } internalGetMutableParameters().mergeFrom( other.internalGetParameters()); if (partitionColsBuilder_ == null) { if (!other.partitionCols_.isEmpty()) { if (partitionCols_.isEmpty()) { partitionCols_ = other.partitionCols_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensurePartitionColsIsMutable(); partitionCols_.addAll(other.partitionCols_); } onChanged(); } } else { if (!other.partitionCols_.isEmpty()) { if (partitionColsBuilder_.isEmpty()) { partitionColsBuilder_.dispose(); partitionColsBuilder_ = null; partitionCols_ = other.partitionCols_; bitField0_ = (bitField0_ & ~0x00000080); partitionColsBuilder_ = alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPartitionColsFieldBuilder() : null; } else { partitionColsBuilder_.addAllMessages(other.partitionCols_); } } } if (other.hasPreviousVersion()) { setPreviousVersion(other.getPreviousVersion()); } if (other.hasVersion()) { setVersion(other.getVersion()); } if (other.hasVersionCreationTime()) { setVersionCreationTime(other.getVersionCreationTime()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasLayout()) { if (!getLayout().isInitialized()) { return false; } } 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: { tableName_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { int tmpRaw = input.readEnum(); alluxio.grpc.table.TableInfo.TableType tmpValue = alluxio.grpc.table.TableInfo.TableType.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(3, tmpRaw); } else { type_ = tmpRaw; bitField0_ |= 0x00000004; } break; } // case 24 case 34: { owner_ = input.readBytes(); bitField0_ |= 0x00000008; break; } // case 34 case 42: { input.readMessage( getSchemaFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage( getLayoutFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 58: { alluxio.shaded.client.com.google.protobuf.MapEntry parameters__ = input.readMessage( ParametersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableParameters().getMutableMap().put( parameters__.getKey(), parameters__.getValue()); break; } // case 58 case 66: { alluxio.grpc.table.FieldSchema m = input.readMessage( alluxio.grpc.table.FieldSchema.PARSER, extensionRegistry); if (partitionColsBuilder_ == null) { ensurePartitionColsIsMutable(); partitionCols_.add(m); } else { partitionColsBuilder_.addMessage(m); } break; } // case 66 case 72: { previousVersion_ = input.readInt64(); bitField0_ |= 0x00000100; break; } // case 72 case 80: { version_ = input.readInt64(); bitField0_ |= 0x00000200; break; } // case 80 case 88: { versionCreationTime_ = input.readInt64(); bitField0_ |= 0x00000400; break; } // case 88 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 tableName_ = ""; /** * optional string table_name = 2; * @return Whether the tableName field is set. */ public boolean hasTableName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string table_name = 2; * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; 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()) { tableName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string table_name = 2; * @return The bytes for tableName. */ public alluxio.shaded.client.com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tableName_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string table_name = 2; * @param value The tableName to set. * @return This builder for chaining. */ public Builder setTableName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; tableName_ = value; onChanged(); return this; } /** * optional string table_name = 2; * @return This builder for chaining. */ public Builder clearTableName() { bitField0_ = (bitField0_ & ~0x00000002); tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** * optional string table_name = 2; * @param value The bytes for tableName to set. * @return This builder for chaining. */ public Builder setTableNameBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; tableName_ = value; onChanged(); return this; } private int type_ = 0; /** * optional .alluxio.grpc.table.TableInfo.TableType type = 3; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .alluxio.grpc.table.TableInfo.TableType type = 3; * @return The type. */ @java.lang.Override public alluxio.grpc.table.TableInfo.TableType getType() { @SuppressWarnings("deprecation") alluxio.grpc.table.TableInfo.TableType result = alluxio.grpc.table.TableInfo.TableType.valueOf(type_); return result == null ? alluxio.grpc.table.TableInfo.TableType.NATIVE : result; } /** * optional .alluxio.grpc.table.TableInfo.TableType type = 3; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(alluxio.grpc.table.TableInfo.TableType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; type_ = value.getNumber(); onChanged(); return this; } /** * optional .alluxio.grpc.table.TableInfo.TableType type = 3; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000004); type_ = 0; onChanged(); return this; } private java.lang.Object owner_ = ""; /** * optional string owner = 4; * @return Whether the owner field is set. */ public boolean hasOwner() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string owner = 4; * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; 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()) { owner_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string owner = 4; * @return The bytes for owner. */ public alluxio.shaded.client.com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { alluxio.shaded.client.com.google.protobuf.ByteString b = alluxio.shaded.client.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); owner_ = b; return b; } else { return (alluxio.shaded.client.com.google.protobuf.ByteString) ref; } } /** * optional string owner = 4; * @param value The owner to set. * @return This builder for chaining. */ public Builder setOwner( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; owner_ = value; onChanged(); return this; } /** * optional string owner = 4; * @return This builder for chaining. */ public Builder clearOwner() { bitField0_ = (bitField0_ & ~0x00000008); owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** * optional string owner = 4; * @param value The bytes for owner to set. * @return This builder for chaining. */ public Builder setOwnerBytes( alluxio.shaded.client.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; owner_ = value; onChanged(); return this; } private alluxio.grpc.table.Schema schema_; private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3< alluxio.grpc.table.Schema, alluxio.grpc.table.Schema.Builder, alluxio.grpc.table.SchemaOrBuilder> schemaBuilder_; /** * optional .alluxio.grpc.table.Schema schema = 5; * @return Whether the schema field is set. */ public boolean hasSchema() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .alluxio.grpc.table.Schema schema = 5; * @return The schema. */ public alluxio.grpc.table.Schema getSchema() { if (schemaBuilder_ == null) { return schema_ == null ? alluxio.grpc.table.Schema.getDefaultInstance() : schema_; } else { return schemaBuilder_.getMessage(); } } /** * optional .alluxio.grpc.table.Schema schema = 5; */ public Builder setSchema(alluxio.grpc.table.Schema value) { if (schemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } schema_ = value; onChanged(); } else { schemaBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .alluxio.grpc.table.Schema schema = 5; */ public Builder setSchema( alluxio.grpc.table.Schema.Builder builderForValue) { if (schemaBuilder_ == null) { schema_ = builderForValue.build(); onChanged(); } else { schemaBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .alluxio.grpc.table.Schema schema = 5; */ public Builder mergeSchema(alluxio.grpc.table.Schema value) { if (schemaBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && schema_ != null && schema_ != alluxio.grpc.table.Schema.getDefaultInstance()) { schema_ = alluxio.grpc.table.Schema.newBuilder(schema_).mergeFrom(value).buildPartial(); } else { schema_ = value; } onChanged(); } else { schemaBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .alluxio.grpc.table.Schema schema = 5; */ public Builder clearSchema() { if (schemaBuilder_ == null) { schema_ = null; onChanged(); } else { schemaBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .alluxio.grpc.table.Schema schema = 5; */ public alluxio.grpc.table.Schema.Builder getSchemaBuilder() { bitField0_ |= 0x00000010; onChanged(); return getSchemaFieldBuilder().getBuilder(); } /** * optional .alluxio.grpc.table.Schema schema = 5; */ public alluxio.grpc.table.SchemaOrBuilder getSchemaOrBuilder() { if (schemaBuilder_ != null) { return schemaBuilder_.getMessageOrBuilder(); } else { return schema_ == null ? alluxio.grpc.table.Schema.getDefaultInstance() : schema_; } } /** * optional .alluxio.grpc.table.Schema schema = 5; */ private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3< alluxio.grpc.table.Schema, alluxio.grpc.table.Schema.Builder, alluxio.grpc.table.SchemaOrBuilder> getSchemaFieldBuilder() { if (schemaBuilder_ == null) { schemaBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3< alluxio.grpc.table.Schema, alluxio.grpc.table.Schema.Builder, alluxio.grpc.table.SchemaOrBuilder>( getSchema(), getParentForChildren(), isClean()); schema_ = null; } return schemaBuilder_; } private alluxio.grpc.table.Layout layout_; private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3< alluxio.grpc.table.Layout, alluxio.grpc.table.Layout.Builder, alluxio.grpc.table.LayoutOrBuilder> layoutBuilder_; /** * optional .alluxio.grpc.table.Layout layout = 6; * @return Whether the layout field is set. */ public boolean hasLayout() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .alluxio.grpc.table.Layout layout = 6; * @return The layout. */ public alluxio.grpc.table.Layout getLayout() { if (layoutBuilder_ == null) { return layout_ == null ? alluxio.grpc.table.Layout.getDefaultInstance() : layout_; } else { return layoutBuilder_.getMessage(); } } /** * optional .alluxio.grpc.table.Layout layout = 6; */ public Builder setLayout(alluxio.grpc.table.Layout value) { if (layoutBuilder_ == null) { if (value == null) { throw new NullPointerException(); } layout_ = value; onChanged(); } else { layoutBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .alluxio.grpc.table.Layout layout = 6; */ public Builder setLayout( alluxio.grpc.table.Layout.Builder builderForValue) { if (layoutBuilder_ == null) { layout_ = builderForValue.build(); onChanged(); } else { layoutBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .alluxio.grpc.table.Layout layout = 6; */ public Builder mergeLayout(alluxio.grpc.table.Layout value) { if (layoutBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && layout_ != null && layout_ != alluxio.grpc.table.Layout.getDefaultInstance()) { layout_ = alluxio.grpc.table.Layout.newBuilder(layout_).mergeFrom(value).buildPartial(); } else { layout_ = value; } onChanged(); } else { layoutBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .alluxio.grpc.table.Layout layout = 6; */ public Builder clearLayout() { if (layoutBuilder_ == null) { layout_ = null; onChanged(); } else { layoutBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .alluxio.grpc.table.Layout layout = 6; */ public alluxio.grpc.table.Layout.Builder getLayoutBuilder() { bitField0_ |= 0x00000020; onChanged(); return getLayoutFieldBuilder().getBuilder(); } /** * optional .alluxio.grpc.table.Layout layout = 6; */ public alluxio.grpc.table.LayoutOrBuilder getLayoutOrBuilder() { if (layoutBuilder_ != null) { return layoutBuilder_.getMessageOrBuilder(); } else { return layout_ == null ? alluxio.grpc.table.Layout.getDefaultInstance() : layout_; } } /** * optional .alluxio.grpc.table.Layout layout = 6; */ private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3< alluxio.grpc.table.Layout, alluxio.grpc.table.Layout.Builder, alluxio.grpc.table.LayoutOrBuilder> getLayoutFieldBuilder() { if (layoutBuilder_ == null) { layoutBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3< alluxio.grpc.table.Layout, alluxio.grpc.table.Layout.Builder, alluxio.grpc.table.LayoutOrBuilder>( getLayout(), getParentForChildren(), isClean()); layout_ = null; } return layoutBuilder_; } private alluxio.shaded.client.com.google.protobuf.MapField< java.lang.String, java.lang.String> parameters_; private alluxio.shaded.client.com.google.protobuf.MapField internalGetParameters() { if (parameters_ == null) { return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField( ParametersDefaultEntryHolder.defaultEntry); } return parameters_; } private alluxio.shaded.client.com.google.protobuf.MapField internalGetMutableParameters() { onChanged();; if (parameters_ == null) { parameters_ = alluxio.shaded.client.com.google.protobuf.MapField.newMapField( ParametersDefaultEntryHolder.defaultEntry); } if (!parameters_.isMutable()) { parameters_ = parameters_.copy(); } return parameters_; } public int getParametersCount() { return internalGetParameters().getMap().size(); } /** * map<string, string> parameters = 7; */ @java.lang.Override public boolean containsParameters( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetParameters().getMap().containsKey(key); } /** * Use {@link #getParametersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getParameters() { return getParametersMap(); } /** * map<string, string> parameters = 7; */ @java.lang.Override public java.util.Map getParametersMap() { return internalGetParameters().getMap(); } /** * map<string, string> parameters = 7; */ @java.lang.Override public java.lang.String getParametersOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParameters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> parameters = 7; */ @java.lang.Override public java.lang.String getParametersOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetParameters().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearParameters() { internalGetMutableParameters().getMutableMap() .clear(); return this; } /** * map<string, string> parameters = 7; */ public Builder removeParameters( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableParameters().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableParameters() { return internalGetMutableParameters().getMutableMap(); } /** * map<string, string> parameters = 7; */ public Builder putParameters( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableParameters().getMutableMap() .put(key, value); return this; } /** * map<string, string> parameters = 7; */ public Builder putAllParameters( java.util.Map values) { internalGetMutableParameters().getMutableMap() .putAll(values); return this; } private java.util.List partitionCols_ = java.util.Collections.emptyList(); private void ensurePartitionColsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { partitionCols_ = new java.util.ArrayList(partitionCols_); bitField0_ |= 0x00000080; } } private alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3< alluxio.grpc.table.FieldSchema, alluxio.grpc.table.FieldSchema.Builder, alluxio.grpc.table.FieldSchemaOrBuilder> partitionColsBuilder_; /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public java.util.List getPartitionColsList() { if (partitionColsBuilder_ == null) { return java.util.Collections.unmodifiableList(partitionCols_); } else { return partitionColsBuilder_.getMessageList(); } } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public int getPartitionColsCount() { if (partitionColsBuilder_ == null) { return partitionCols_.size(); } else { return partitionColsBuilder_.getCount(); } } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public alluxio.grpc.table.FieldSchema getPartitionCols(int index) { if (partitionColsBuilder_ == null) { return partitionCols_.get(index); } else { return partitionColsBuilder_.getMessage(index); } } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public Builder setPartitionCols( int index, alluxio.grpc.table.FieldSchema value) { if (partitionColsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionColsIsMutable(); partitionCols_.set(index, value); onChanged(); } else { partitionColsBuilder_.setMessage(index, value); } return this; } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public Builder setPartitionCols( int index, alluxio.grpc.table.FieldSchema.Builder builderForValue) { if (partitionColsBuilder_ == null) { ensurePartitionColsIsMutable(); partitionCols_.set(index, builderForValue.build()); onChanged(); } else { partitionColsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public Builder addPartitionCols(alluxio.grpc.table.FieldSchema value) { if (partitionColsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionColsIsMutable(); partitionCols_.add(value); onChanged(); } else { partitionColsBuilder_.addMessage(value); } return this; } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public Builder addPartitionCols( int index, alluxio.grpc.table.FieldSchema value) { if (partitionColsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionColsIsMutable(); partitionCols_.add(index, value); onChanged(); } else { partitionColsBuilder_.addMessage(index, value); } return this; } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public Builder addPartitionCols( alluxio.grpc.table.FieldSchema.Builder builderForValue) { if (partitionColsBuilder_ == null) { ensurePartitionColsIsMutable(); partitionCols_.add(builderForValue.build()); onChanged(); } else { partitionColsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public Builder addPartitionCols( int index, alluxio.grpc.table.FieldSchema.Builder builderForValue) { if (partitionColsBuilder_ == null) { ensurePartitionColsIsMutable(); partitionCols_.add(index, builderForValue.build()); onChanged(); } else { partitionColsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public Builder addAllPartitionCols( java.lang.Iterable values) { if (partitionColsBuilder_ == null) { ensurePartitionColsIsMutable(); alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, partitionCols_); onChanged(); } else { partitionColsBuilder_.addAllMessages(values); } return this; } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public Builder clearPartitionCols() { if (partitionColsBuilder_ == null) { partitionCols_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { partitionColsBuilder_.clear(); } return this; } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public Builder removePartitionCols(int index) { if (partitionColsBuilder_ == null) { ensurePartitionColsIsMutable(); partitionCols_.remove(index); onChanged(); } else { partitionColsBuilder_.remove(index); } return this; } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public alluxio.grpc.table.FieldSchema.Builder getPartitionColsBuilder( int index) { return getPartitionColsFieldBuilder().getBuilder(index); } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public alluxio.grpc.table.FieldSchemaOrBuilder getPartitionColsOrBuilder( int index) { if (partitionColsBuilder_ == null) { return partitionCols_.get(index); } else { return partitionColsBuilder_.getMessageOrBuilder(index); } } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public java.util.List getPartitionColsOrBuilderList() { if (partitionColsBuilder_ != null) { return partitionColsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(partitionCols_); } } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public alluxio.grpc.table.FieldSchema.Builder addPartitionColsBuilder() { return getPartitionColsFieldBuilder().addBuilder( alluxio.grpc.table.FieldSchema.getDefaultInstance()); } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public alluxio.grpc.table.FieldSchema.Builder addPartitionColsBuilder( int index) { return getPartitionColsFieldBuilder().addBuilder( index, alluxio.grpc.table.FieldSchema.getDefaultInstance()); } /** *
     * partitioning scheme
     * 
* * repeated .alluxio.grpc.table.FieldSchema partition_cols = 8; */ public java.util.List getPartitionColsBuilderList() { return getPartitionColsFieldBuilder().getBuilderList(); } private alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3< alluxio.grpc.table.FieldSchema, alluxio.grpc.table.FieldSchema.Builder, alluxio.grpc.table.FieldSchemaOrBuilder> getPartitionColsFieldBuilder() { if (partitionColsBuilder_ == null) { partitionColsBuilder_ = new alluxio.shaded.client.com.google.protobuf.RepeatedFieldBuilderV3< alluxio.grpc.table.FieldSchema, alluxio.grpc.table.FieldSchema.Builder, alluxio.grpc.table.FieldSchemaOrBuilder>( partitionCols_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); partitionCols_ = null; } return partitionColsBuilder_; } private long previousVersion_ ; /** * optional int64 previous_version = 9; * @return Whether the previousVersion field is set. */ @java.lang.Override public boolean hasPreviousVersion() { return ((bitField0_ & 0x00000100) != 0); } /** * optional int64 previous_version = 9; * @return The previousVersion. */ @java.lang.Override public long getPreviousVersion() { return previousVersion_; } /** * optional int64 previous_version = 9; * @param value The previousVersion to set. * @return This builder for chaining. */ public Builder setPreviousVersion(long value) { bitField0_ |= 0x00000100; previousVersion_ = value; onChanged(); return this; } /** * optional int64 previous_version = 9; * @return This builder for chaining. */ public Builder clearPreviousVersion() { bitField0_ = (bitField0_ & ~0x00000100); previousVersion_ = 0L; onChanged(); return this; } private long version_ ; /** * optional int64 version = 10; * @return Whether the version field is set. */ @java.lang.Override public boolean hasVersion() { return ((bitField0_ & 0x00000200) != 0); } /** * optional int64 version = 10; * @return The version. */ @java.lang.Override public long getVersion() { return version_; } /** * optional int64 version = 10; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion(long value) { bitField0_ |= 0x00000200; version_ = value; onChanged(); return this; } /** * optional int64 version = 10; * @return This builder for chaining. */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000200); version_ = 0L; onChanged(); return this; } private long versionCreationTime_ ; /** * optional int64 version_creation_time = 11; * @return Whether the versionCreationTime field is set. */ @java.lang.Override public boolean hasVersionCreationTime() { return ((bitField0_ & 0x00000400) != 0); } /** * optional int64 version_creation_time = 11; * @return The versionCreationTime. */ @java.lang.Override public long getVersionCreationTime() { return versionCreationTime_; } /** * optional int64 version_creation_time = 11; * @param value The versionCreationTime to set. * @return This builder for chaining. */ public Builder setVersionCreationTime(long value) { bitField0_ |= 0x00000400; versionCreationTime_ = value; onChanged(); return this; } /** * optional int64 version_creation_time = 11; * @return This builder for chaining. */ public Builder clearVersionCreationTime() { bitField0_ = (bitField0_ & ~0x00000400); versionCreationTime_ = 0L; 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.TableInfo) } // @@protoc_insertion_point(class_scope:alluxio.grpc.table.TableInfo) private static final alluxio.grpc.table.TableInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new alluxio.grpc.table.TableInfo(); } public static alluxio.grpc.table.TableInfo 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 TableInfo 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.TableInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy