@CheckReturnValue
  public <NewReqT, NewRespT> Builder<NewReqT, NewRespT> toBuilder(
      Marshaller<NewReqT> requestMarshaller, Marshaller<NewRespT> responseMarshaller) {
    return MethodDescriptor.<NewReqT, NewRespT>newBuilder()
        .setRequestMarshaller(requestMarshaller)
        .setResponseMarshaller(responseMarshaller)
        .setType(type)
        .setFullMethodName(fullMethodName)
        .setIdempotent(idempotent)
        .setSafe(safe)
        .setSampledToLocalTracing(sampledToLocalTracing)
        .setSchemaDescriptor(schemaDescriptor);
  }
@ CheckReturnValue public < NewReqT , NewRespT > Builder < NewReqT , NewRespT > toBuilder ( Marshaller < NewReqT > requestMarshaller , Marshaller < NewRespT > responseMarshaller ) { return MethodDescriptor . < NewReqT , NewRespT > newBuilder ( ) . setRequestMarshaller ( requestMarshaller ) . setResponseMarshaller ( responseMarshaller ) . setType ( type ) . setFullMethodName ( fullMethodName ) . setIdempotent ( idempotent ) . setSafe ( safe ) . setSampledToLocalTracing ( sampledToLocalTracing ) . setSchemaDescriptor ( schemaDescriptor ) ; }
Turns this descriptor into a builder, replacing the request and response marshallers.

@since 1.1.0