public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasFrom()) { memoizedIsInitialized = 0; return false; } if (!hasTo()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public Builder mergeFrom(org.apache.drill.exec.proto.UserProtos.ConvertSupport other) { if (other == org.apache.drill.exec.proto.UserProtos.ConvertSupport.getDefaultInstance()) return this; if (other.hasFrom()) { setFrom(other.getFrom()); } if (other.hasTo()) { setTo(other.getTo()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.ConvertSupport message) throws java.io.IOException { if(message.hasFrom()) output.writeEnum(1, message.getFrom().getNumber(), false); if(message.hasTo()) output.writeEnum(2, message.getTo().getNumber(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.ConvertSupport message)
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasFrom()) { memoizedIsInitialized = 0; return false; } if (!hasTo()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public Builder mergeFrom(org.apache.drill.exec.proto.UserProtos.ConvertSupport other) { if (other == org.apache.drill.exec.proto.UserProtos.ConvertSupport.getDefaultInstance()) return this; if (other.hasFrom()) { setFrom(other.getFrom()); } if (other.hasTo()) { setTo(other.getTo()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.ConvertSupport message) throws java.io.IOException { if(message.hasFrom()) output.writeEnum(1, message.getFrom().getNumber(), false); if(message.hasTo()) output.writeEnum(2, message.getTo().getNumber(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.ConvertSupport message)