@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 Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public alluxio.grpc.GetJobStatusPResponse getDefaultInstanceForType() { return alluxio.grpc.GetJobStatusPResponse.getDefaultInstance(); }
@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; }
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; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, getJobInfo()); } unknownFields.writeTo(output); }
break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(alluxio.grpc.GetJobStatusPResponse prototype) {
public alluxio.grpc.GetJobStatusPResponse buildPartial() { alluxio.grpc.GetJobStatusPResponse result = new alluxio.grpc.GetJobStatusPResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (jobInfoBuilder_ == null) { result.jobInfo_ = jobInfo_; } else { result.jobInfo_ = jobInfoBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public alluxio.grpc.GetJobStatusPResponse build() { alluxio.grpc.GetJobStatusPResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
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; }
public static Builder newBuilder(alluxio.grpc.GetJobStatusPResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public alluxio.grpc.JobInfo call() throws StatusRuntimeException { return mClient.getJobStatus(GetJobStatusPRequest.newBuilder().setJobId(jobId).build()) .getJobInfo(); } }));
@Override public void getJobStatus(GetJobStatusPRequest request, StreamObserver<GetJobStatusPResponse> responseObserver) { RpcUtils.call(LOG, (RpcUtils.RpcCallableThrowsIOException<GetJobStatusPResponse>) () -> { return GetJobStatusPResponse.newBuilder() .setJobInfo(mJobMaster.getStatus(request.getJobId()).toProto()).build(); }, "getJobStatus", "request=%s", responseObserver, request); }
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetJobStatus", requestType = alluxio.grpc.GetJobStatusPRequest.class, responseType = alluxio.grpc.GetJobStatusPResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<alluxio.grpc.GetJobStatusPRequest, alluxio.grpc.GetJobStatusPResponse> getGetJobStatusMethod() { io.grpc.MethodDescriptor<alluxio.grpc.GetJobStatusPRequest, alluxio.grpc.GetJobStatusPResponse> getGetJobStatusMethod; if ((getGetJobStatusMethod = JobMasterClientServiceGrpc.getGetJobStatusMethod) == null) { synchronized (JobMasterClientServiceGrpc.class) { if ((getGetJobStatusMethod = JobMasterClientServiceGrpc.getGetJobStatusMethod) == null) { JobMasterClientServiceGrpc.getGetJobStatusMethod = getGetJobStatusMethod = io.grpc.MethodDescriptor.<alluxio.grpc.GetJobStatusPRequest, alluxio.grpc.GetJobStatusPResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "alluxio.grpc.job.JobMasterClientService", "GetJobStatus")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( alluxio.grpc.GetJobStatusPRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( alluxio.grpc.GetJobStatusPResponse.getDefaultInstance())) .setSchemaDescriptor(new JobMasterClientServiceMethodDescriptorSupplier("GetJobStatus")) .build(); } } } return getGetJobStatusMethod; }