public void writeTo(Output output, RowType message) throws IOException { if(message.field != null) { for(com.dremio.service.namespace.dataset.proto.ViewFieldType field : message.field) { if(field != null) output.writeObject(1, field, com.dremio.service.namespace.dataset.proto.ViewFieldType.getSchema(), true); } } }
public void writeTo(Output output, RowType message) throws IOException { if(message.field != null) { for(com.dremio.service.namespace.dataset.proto.ViewFieldType field : message.field) { if(field != null) output.writeObject(1, field, com.dremio.service.namespace.dataset.proto.ViewFieldType.getSchema(), true); } } }
public void mergeFrom(Input input, RowType message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: if(message.field == null) message.field = new ArrayList<com.dremio.service.namespace.dataset.proto.ViewFieldType>(); message.field.add(input.mergeObject(null, com.dremio.service.namespace.dataset.proto.ViewFieldType.getSchema())); break; default: input.handleUnknownField(number, this); } } }
public void mergeFrom(Input input, RowType message) throws IOException { for(int number = input.readFieldNumber(this);; number = input.readFieldNumber(this)) { switch(number) { case 0: return; case 1: if(message.field == null) message.field = new ArrayList<com.dremio.service.namespace.dataset.proto.ViewFieldType>(); message.field.add(input.mergeObject(null, com.dremio.service.namespace.dataset.proto.ViewFieldType.getSchema())); break; default: input.handleUnknownField(number, this); } } }
if(message.sqlFields == null) message.sqlFields = new ArrayList<ViewFieldType>(); message.sqlFields.add(input.mergeObject(null, ViewFieldType.getSchema())); break; if(message.calciteFields == null) message.calciteFields = new ArrayList<ViewFieldType>(); message.calciteFields.add(input.mergeObject(null, ViewFieldType.getSchema())); break;
if(message.sqlFields == null) message.sqlFields = new ArrayList<com.dremio.service.namespace.dataset.proto.ViewFieldType>(); message.sqlFields.add(input.mergeObject(null, com.dremio.service.namespace.dataset.proto.ViewFieldType.getSchema())); break; if(message.calciteFields == null) message.calciteFields = new ArrayList<com.dremio.service.namespace.dataset.proto.ViewFieldType>(); message.calciteFields.add(input.mergeObject(null, com.dremio.service.namespace.dataset.proto.ViewFieldType.getSchema())); break;