result = result && (hasReflectionId() == other.hasReflectionId()); if (hasReflectionId()) { result = result && getReflectionId() .equals(other.getReflectionId()); result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); result = result && (hasType() == other.hasType()); if (hasType()) { result = result && getType() .equals(other.getType()); result = result && (hasStatus() == other.hasStatus()); if (hasStatus()) { result = result && getStatus() .equals(other.getStatus()); result = result && (hasDataset() == other.hasDataset()); if (hasDataset()) { result = result && getDataset() .equals(other.getDataset()); result = result && (hasSortColumns() == other.hasSortColumns()); if (hasSortColumns()) { result = result && getSortColumns() .equals(other.getSortColumns());
public Builder mergeFrom(com.dremio.exec.proto.ReflectionRPC.ReflectionInfo other) { if (other == com.dremio.exec.proto.ReflectionRPC.ReflectionInfo.getDefaultInstance()) return this; if (other.hasReflectionId()) { bitField0_ |= 0x00000001; reflectionId_ = other.reflectionId_; onChanged(); if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); if (other.hasType()) { bitField0_ |= 0x00000004; type_ = other.type_; onChanged(); if (other.hasStatus()) { bitField0_ |= 0x00000008; status_ = other.status_; onChanged(); if (other.hasDataset()) { bitField0_ |= 0x00000010; dataset_ = other.dataset_; onChanged(); if (other.hasSortColumns()) { bitField0_ |= 0x00000020; sortColumns_ = other.sortColumns_;
hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasReflectionId()) { hash = (37 * hash) + REFLECTION_ID_FIELD_NUMBER; hash = (53 * hash) + getReflectionId().hashCode(); if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); if (hasDataset()) { hash = (37 * hash) + DATASET_FIELD_NUMBER; hash = (53 * hash) + getDataset().hashCode(); if (hasSortColumns()) { hash = (37 * hash) + SORTCOLUMNS_FIELD_NUMBER; hash = (53 * hash) + getSortColumns().hashCode(); if (hasPartitionColumns()) { hash = (37 * hash) + PARTITIONCOLUMNS_FIELD_NUMBER; hash = (53 * hash) + getPartitionColumns().hashCode();
if(message.hasReflectionId()) output.writeString(1, message.getReflectionId(), false); if(message.hasName()) output.writeString(2, message.getName(), false); if(message.hasType()) output.writeString(3, message.getType(), false); if(message.hasStatus()) output.writeString(4, message.getStatus(), false); if(message.hasDataset()) output.writeString(5, message.getDataset(), false); if(message.hasSortColumns()) output.writeString(6, message.getSortColumns(), false); if(message.hasPartitionColumns()) output.writeString(7, message.getPartitionColumns(), false); if(message.hasDistributionColumns()) output.writeString(8, message.getDistributionColumns(), false); if(message.hasDimensions()) output.writeString(9, message.getDimensions(), false); if(message.hasMeasures()) output.writeString(10, message.getMeasures(), false); if(message.hasDisplayColumns()) output.writeString(11, message.getDisplayColumns(), false); if(message.hasExternalReflection()) output.writeString(12, message.getExternalReflection(), false); if(message.hasNumFailures()) output.writeInt32(13, message.getNumFailures(), false); for(com.dremio.exec.proto.UserBitShared.MeasureColumn measureColumns : message.getMeasureColumnsList()) output.writeObject(14, measureColumns, com.dremio.exec.proto.SchemaUserBitShared.MeasureColumn.WRITE, true);
public static ReflectionInfo getReflectionInfo(ReflectionRPC.ReflectionInfo reflectionInfoProto) { return new ReflectionInfo(reflectionInfoProto.getReflectionId(), reflectionInfoProto.getName(), reflectionInfoProto.getType(), reflectionInfoProto.getStatus(), reflectionInfoProto.getNumFailures(), reflectionInfoProto.getDataset(), reflectionInfoProto.getSortColumns(), reflectionInfoProto.getPartitionColumns(), reflectionInfoProto.getDistributionColumns(), reflectionInfoProto.getDimensions(), reflectionInfoProto.getMeasures(), reflectionInfoProto.getDisplayColumns(), reflectionInfoProto.getExternalReflection()); } }
/** * <code>optional string name = 2;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>optional string reflection_id = 1;</code> */ public Builder clearReflectionId() { bitField0_ = (bitField0_ & ~0x00000001); reflectionId_ = getDefaultInstance().getReflectionId(); onChanged(); return this; } /**
/** * <code>optional string dimensions = 9;</code> */ public Builder clearDimensions() { bitField0_ = (bitField0_ & ~0x00000100); dimensions_ = getDefaultInstance().getDimensions(); onChanged(); return this; } /**
/** * <code>optional string partitionColumns = 7;</code> */ public Builder clearPartitionColumns() { bitField0_ = (bitField0_ & ~0x00000040); partitionColumns_ = getDefaultInstance().getPartitionColumns(); onChanged(); return this; } /**
/** * <code>optional string externalReflection = 12;</code> */ public Builder clearExternalReflection() { bitField0_ = (bitField0_ & ~0x00000800); externalReflection_ = getDefaultInstance().getExternalReflection(); onChanged(); return this; } /**
/** * <code>optional string distributionColumns = 8;</code> */ public Builder clearDistributionColumns() { bitField0_ = (bitField0_ & ~0x00000080); distributionColumns_ = getDefaultInstance().getDistributionColumns(); onChanged(); return this; } /**
/** * <code>optional string displayColumns = 11;</code> */ public Builder clearDisplayColumns() { bitField0_ = (bitField0_ & ~0x00000400); displayColumns_ = getDefaultInstance().getDisplayColumns(); onChanged(); return this; } /**
/** * <code>optional string measures = 10 [deprecated = true];</code> */ @java.lang.Deprecated public Builder clearMeasures() { bitField0_ = (bitField0_ & ~0x00000200); measures_ = getDefaultInstance().getMeasures(); onChanged(); return this; } /**
/** * <code>optional string dataset = 5;</code> */ public Builder clearDataset() { bitField0_ = (bitField0_ & ~0x00000010); dataset_ = getDefaultInstance().getDataset(); onChanged(); return this; } /**