public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, responseMessage_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getErrorClassBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getErrorMessageBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getErrorTraceBytes()); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, responseMessage_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getErrorClassBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getErrorMessageBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getErrorTraceBytes()); } getUnknownFields().writeTo(output); }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, responseMessage_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getErrorClassBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getErrorMessageBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getErrorTraceBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, responseMessage_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getErrorClassBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getErrorMessageBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getErrorTraceBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, responseMessage_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getErrorClassBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getErrorMessageBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getErrorTraceBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public Builder mergeFrom(org.apache.tajo.rpc.RpcProtos.RpcResponse other) { if (other == org.apache.tajo.rpc.RpcProtos.RpcResponse.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasResponseMessage()) { setResponseMessage(other.getResponseMessage()); } if (other.hasErrorClass()) { bitField0_ |= 0x00000004; errorClass_ = other.errorClass_; onChanged(); } if (other.hasErrorMessage()) { bitField0_ |= 0x00000008; errorMessage_ = other.errorMessage_; onChanged(); } if (other.hasErrorTrace()) { bitField0_ |= 0x00000010; errorTrace_ = other.errorTrace_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.tajo.rpc.RpcProtos.RpcResponse other) { if (other == org.apache.tajo.rpc.RpcProtos.RpcResponse.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasResponseMessage()) { setResponseMessage(other.getResponseMessage()); } if (other.hasErrorClass()) { bitField0_ |= 0x00000004; errorClass_ = other.errorClass_; onChanged(); } if (other.hasErrorMessage()) { bitField0_ |= 0x00000008; errorMessage_ = other.errorMessage_; onChanged(); } if (other.hasErrorTrace()) { bitField0_ |= 0x00000010; errorTrace_ = other.errorTrace_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.tajo.rpc.RpcProtos.RpcResponse other) { if (other == org.apache.tajo.rpc.RpcProtos.RpcResponse.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasResponseMessage()) { setResponseMessage(other.getResponseMessage()); } if (other.hasErrorClass()) { bitField0_ |= 0x00000004; errorClass_ = other.errorClass_; onChanged(); } if (other.hasErrorMessage()) { bitField0_ |= 0x00000008; errorMessage_ = other.errorMessage_; onChanged(); } if (other.hasErrorTrace()) { bitField0_ |= 0x00000010; errorTrace_ = other.errorTrace_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, responseMessage_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getErrorClassBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getErrorMessageBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getErrorTraceBytes()); } getUnknownFields().writeTo(output); }