static <ReqT,RespT> MethodDescriptor.Builder<ReqT,RespT> |
MethodDescriptor.newBuilder() |
|
static <ReqT,RespT> MethodDescriptor.Builder<ReqT,RespT> |
MethodDescriptor.newBuilder(MethodDescriptor.Marshaller<ReqT> requestMarshaller,
MethodDescriptor.Marshaller<RespT> responseMarshaller) |
|
MethodDescriptor.Builder<ReqT,RespT> |
MethodDescriptor.Builder.setFullMethodName(String fullMethodName) |
Sets the fully qualified (service and method) method name.
|
MethodDescriptor.Builder<ReqT,RespT> |
MethodDescriptor.Builder.setIdempotent(boolean idempotent) |
Sets whether the method is idempotent.
|
MethodDescriptor.Builder<ReqT,RespT> |
MethodDescriptor.Builder.setRequestMarshaller(MethodDescriptor.Marshaller<ReqT> requestMarshaller) |
Sets the request marshaller.
|
MethodDescriptor.Builder<ReqT,RespT> |
MethodDescriptor.Builder.setResponseMarshaller(MethodDescriptor.Marshaller<RespT> responseMarshaller) |
Sets the response marshaller.
|
MethodDescriptor.Builder<ReqT,RespT> |
MethodDescriptor.Builder.setSafe(boolean safe) |
Sets whether this method is safe.
|
MethodDescriptor.Builder<ReqT,RespT> |
MethodDescriptor.Builder.setSampledToLocalTracing(boolean value) |
Sets whether RPCs for this method may be sampled into the local tracing store.
|
MethodDescriptor.Builder<ReqT,RespT> |
MethodDescriptor.Builder.setSchemaDescriptor(Object schemaDescriptor) |
Sets the schema descriptor for this builder.
|
MethodDescriptor.Builder<ReqT,RespT> |
MethodDescriptor.Builder.setType(MethodDescriptor.MethodType type) |
Sets the method type.
|
MethodDescriptor.Builder<ReqT,RespT> |
MethodDescriptor.toBuilder() |
Turns this descriptor into a builder.
|
<NewReqT,NewRespT> MethodDescriptor.Builder<NewReqT,NewRespT> |
MethodDescriptor.toBuilder(MethodDescriptor.Marshaller<NewReqT> requestMarshaller,
MethodDescriptor.Marshaller<NewRespT> responseMarshaller) |
Turns this descriptor into a builder, replacing the request and response marshallers.
|