public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, getJobInfo()); } unknownFields.writeTo(output); }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getJobInfo()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof alluxio.grpc.GetJobStatusPResponse)) { return super.equals(obj); } alluxio.grpc.GetJobStatusPResponse other = (alluxio.grpc.GetJobStatusPResponse) obj; boolean result = true; result = result && (hasJobInfo() == other.hasJobInfo()); if (hasJobInfo()) { result = result && getJobInfo() .equals(other.getJobInfo()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasJobInfo()) { hash = (37 * hash) + JOBINFO_FIELD_NUMBER; hash = (53 * hash) + getJobInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public alluxio.grpc.JobInfo call() throws StatusRuntimeException { return mClient.getJobStatus(GetJobStatusPRequest.newBuilder().setJobId(jobId).build()) .getJobInfo(); } }));
public Builder mergeFrom(alluxio.grpc.GetJobStatusPResponse other) { if (other == alluxio.grpc.GetJobStatusPResponse.getDefaultInstance()) return this; if (other.hasJobInfo()) { mergeJobInfo(other.getJobInfo()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }