public Builder mergeFrom(org.apache.drill.exec.proto.UserProtos.CatalogMetadata other) { if (other == org.apache.drill.exec.proto.UserProtos.CatalogMetadata.getDefaultInstance()) return this; if (other.hasCatalogName()) { bitField0_ |= 0x00000001; catalogName_ = other.catalogName_; onChanged(); } if (other.hasDescription()) { bitField0_ |= 0x00000002; description_ = other.description_; onChanged(); } if (other.hasConnect()) { bitField0_ |= 0x00000004; connect_ = other.connect_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.CatalogMetadata message) throws java.io.IOException { if(message.hasCatalogName()) output.writeString(1, message.getCatalogName(), false); if(message.hasDescription()) output.writeString(2, message.getDescription(), false); if(message.hasConnect()) output.writeString(3, message.getConnect(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.CatalogMetadata message)
public Builder mergeFrom(org.apache.drill.exec.proto.UserProtos.CatalogMetadata other) { if (other == org.apache.drill.exec.proto.UserProtos.CatalogMetadata.getDefaultInstance()) return this; if (other.hasCatalogName()) { bitField0_ |= 0x00000001; catalogName_ = other.catalogName_; onChanged(); } if (other.hasDescription()) { bitField0_ |= 0x00000002; description_ = other.description_; onChanged(); } if (other.hasConnect()) { bitField0_ |= 0x00000004; connect_ = other.connect_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.CatalogMetadata message) throws java.io.IOException { if(message.hasCatalogName()) output.writeString(1, message.getCatalogName(), false); if(message.hasDescription()) output.writeString(2, message.getDescription(), false); if(message.hasConnect()) output.writeString(3, message.getConnect(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.CatalogMetadata message)