case 1: // TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.type = com.linecorp.centraldogma.internal.thrift.ChangeType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } else {
case 1: // TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.type = com.linecorp.centraldogma.internal.thrift.ChangeType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } else {
case 2: // TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.type = com.linecorp.centraldogma.internal.thrift.ChangeType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } else {
case 2: // TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.type = com.linecorp.centraldogma.internal.thrift.ChangeType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); } else {
@Override public void read(org.apache.thrift.protocol.TProtocol prot, DiffFileResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.type = com.linecorp.centraldogma.internal.thrift.ChangeType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); struct.content = iprot.readString(); struct.setContentIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, DiffFileResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.type = com.linecorp.centraldogma.internal.thrift.ChangeType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); struct.content = iprot.readString(); struct.setContentIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Change struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.path = iprot.readString(); struct.setPathIsSet(true); struct.type = com.linecorp.centraldogma.internal.thrift.ChangeType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.content = iprot.readString(); struct.setContentIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Change struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.path = iprot.readString(); struct.setPathIsSet(true); struct.type = com.linecorp.centraldogma.internal.thrift.ChangeType.findByValue(iprot.readI32()); struct.setTypeIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.content = iprot.readString(); struct.setContentIsSet(true); } } }