public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getDatabaseNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getTableNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, dbId_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, tid_); } getUnknownFields().writeTo(output); }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getDatabaseNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getTableNameBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, dbId_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, tid_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasDatabaseName()) { hash = (37 * hash) + DATABASE_NAME_FIELD_NUMBER; hash = (53 * hash) + getDatabaseName().hashCode(); } if (hasTableName()) { hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTableName().hashCode(); } if (hasDbId()) { hash = (37 * hash) + DBID_FIELD_NUMBER; hash = (53 * hash) + getDbId(); } if (hasTid()) { hash = (37 * hash) + TID_FIELD_NUMBER; hash = (53 * hash) + getTid(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
getUnknownFields().equals(other.getUnknownFields()); return result;
public Builder mergeFrom(org.apache.tajo.catalog.proto.CatalogProtos.TableIdentifierProto other) { if (other == org.apache.tajo.catalog.proto.CatalogProtos.TableIdentifierProto.getDefaultInstance()) return this; if (other.hasDatabaseName()) { bitField0_ |= 0x00000001; databaseName_ = other.databaseName_; onChanged(); } if (other.hasTableName()) { bitField0_ |= 0x00000002; tableName_ = other.tableName_; onChanged(); } if (other.hasDbId()) { setDbId(other.getDbId()); } if (other.hasTid()) { setTid(other.getTid()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }