public alluxio.grpc.WriteRequest getDefaultInstanceForType() { return alluxio.grpc.WriteRequest.getDefaultInstance(); }
public Builder mergeFrom(alluxio.grpc.WriteRequest other) { if (other == alluxio.grpc.WriteRequest.getDefaultInstance()) return this; switch (other.getValueCase()) { case COMMAND: { mergeCommand(other.getCommand()); break; } case CHUNK: { mergeChunk(other.getChunk()); break; } case VALUE_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "WriteBlock", requestType = alluxio.grpc.WriteRequest.class, responseType = alluxio.grpc.WriteResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) public static io.grpc.MethodDescriptor<alluxio.grpc.WriteRequest, alluxio.grpc.WriteResponse> getWriteBlockMethod() { io.grpc.MethodDescriptor<alluxio.grpc.WriteRequest, alluxio.grpc.WriteResponse> getWriteBlockMethod; if ((getWriteBlockMethod = BlockWorkerGrpc.getWriteBlockMethod) == null) { synchronized (BlockWorkerGrpc.class) { if ((getWriteBlockMethod = BlockWorkerGrpc.getWriteBlockMethod) == null) { BlockWorkerGrpc.getWriteBlockMethod = getWriteBlockMethod = io.grpc.MethodDescriptor.<alluxio.grpc.WriteRequest, alluxio.grpc.WriteResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) .setFullMethodName(generateFullMethodName( "alluxio.grpc.block.BlockWorker", "WriteBlock")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( alluxio.grpc.WriteRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( alluxio.grpc.WriteResponse.getDefaultInstance())) .setSchemaDescriptor(new BlockWorkerMethodDescriptorSupplier("WriteBlock")) .build(); } } } return getWriteBlockMethod; }