public Builder mergeFrom(org.apache.tajo.rpc.RpcProtos.RpcRequest other) { if (other == org.apache.tajo.rpc.RpcProtos.RpcRequest.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasMethodName()) { bitField0_ |= 0x00000002; methodName_ = other.methodName_; onChanged(); } if (other.hasRequestMessage()) { setRequestMessage(other.getRequestMessage()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.tajo.rpc.RpcProtos.RpcRequest other) { if (other == org.apache.tajo.rpc.RpcProtos.RpcRequest.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasMethodName()) { bitField0_ |= 0x00000002; methodName_ = other.methodName_; onChanged(); } if (other.hasRequestMessage()) { setRequestMessage(other.getRequestMessage()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.tajo.rpc.RpcProtos.RpcRequest other) { if (other == org.apache.tajo.rpc.RpcProtos.RpcRequest.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasMethodName()) { bitField0_ |= 0x00000002; methodName_ = other.methodName_; onChanged(); } if (other.hasRequestMessage()) { setRequestMessage(other.getRequestMessage()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
private Message buildRequest(int seqId, MethodDescriptor method, Message param) { RpcRequest.Builder requestBuilder = RpcRequest.newBuilder() .setId(seqId) .setMethodName(method.getName()); if (param != null) { requestBuilder.setRequestMessage(param.toByteString()); } return requestBuilder.build(); } }
private Message buildRequest(int seqId, MethodDescriptor method, Message param) { RpcRequest.Builder requestBuilder = RpcRequest.newBuilder() .setId(seqId) .setMethodName(method.getName()); if (param != null) { requestBuilder.setRequestMessage(param.toByteString()); } return requestBuilder.build(); } }
protected static RpcProtos.RpcRequest buildRequest(int seqId, Descriptors.MethodDescriptor method, Message param) { RpcProtos.RpcRequest.Builder requestBuilder = RpcProtos.RpcRequest.newBuilder() .setId(seqId) .setMethodName(method.getName()); if (param != null) { requestBuilder.setRequestMessage(param.toByteString()); } return requestBuilder.build(); }
protected static RpcProtos.RpcRequest buildRequest(int seqId, Descriptors.MethodDescriptor method, Message param) { RpcProtos.RpcRequest.Builder requestBuilder = RpcProtos.RpcRequest.newBuilder() .setId(seqId) .setMethodName(method.getName()); if (param != null) { requestBuilder.setRequestMessage(param.toByteString()); } return requestBuilder.build(); }