public alluxio.grpc.CommitBlockInUfsPResponse getDefaultInstanceForType() { return alluxio.grpc.CommitBlockInUfsPResponse.getDefaultInstance(); }
public alluxio.grpc.CommitBlockInUfsPResponse buildPartial() { alluxio.grpc.CommitBlockInUfsPResponse result = new alluxio.grpc.CommitBlockInUfsPResponse(this); onBuilt(); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
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.CommitBlockInUfsPResponse prototype) {
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public alluxio.grpc.CommitBlockInUfsPResponse build() { alluxio.grpc.CommitBlockInUfsPResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public static Builder newBuilder(alluxio.grpc.CommitBlockInUfsPResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public Builder mergeFrom(alluxio.grpc.CommitBlockInUfsPResponse other) { if (other == alluxio.grpc.CommitBlockInUfsPResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@Override public void commitBlockInUfs(CommitBlockInUfsPRequest request, StreamObserver<CommitBlockInUfsPResponse> responseObserver) { RpcUtils.call(LOG, (RpcUtils.RpcCallableThrowsIOException<CommitBlockInUfsPResponse>) () -> { mBlockMaster.commitBlockInUFS(request.getBlockId(), request.getLength()); return CommitBlockInUfsPResponse.getDefaultInstance(); }, "commitBlock", "request=%s", responseObserver, request); }
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CommitBlockInUfs", requestType = alluxio.grpc.CommitBlockInUfsPRequest.class, responseType = alluxio.grpc.CommitBlockInUfsPResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<alluxio.grpc.CommitBlockInUfsPRequest, alluxio.grpc.CommitBlockInUfsPResponse> getCommitBlockInUfsMethod() { io.grpc.MethodDescriptor<alluxio.grpc.CommitBlockInUfsPRequest, alluxio.grpc.CommitBlockInUfsPResponse> getCommitBlockInUfsMethod; if ((getCommitBlockInUfsMethod = BlockMasterWorkerServiceGrpc.getCommitBlockInUfsMethod) == null) { synchronized (BlockMasterWorkerServiceGrpc.class) { if ((getCommitBlockInUfsMethod = BlockMasterWorkerServiceGrpc.getCommitBlockInUfsMethod) == null) { BlockMasterWorkerServiceGrpc.getCommitBlockInUfsMethod = getCommitBlockInUfsMethod = io.grpc.MethodDescriptor.<alluxio.grpc.CommitBlockInUfsPRequest, alluxio.grpc.CommitBlockInUfsPResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "alluxio.grpc.block.BlockMasterWorkerService", "CommitBlockInUfs")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( alluxio.grpc.CommitBlockInUfsPRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( alluxio.grpc.CommitBlockInUfsPResponse.getDefaultInstance())) .setSchemaDescriptor(new BlockMasterWorkerServiceMethodDescriptorSupplier("CommitBlockInUfs")) .build(); } } } return getCommitBlockInUfsMethod; }