Uses of Class
io.grpc.MethodDescriptor.Builder
Packages that use MethodDescriptor.Builder
-
Uses of MethodDescriptor.Builder in io.grpc
Methods in io.grpc that return MethodDescriptor.BuilderModifier and TypeMethodDescriptionstatic <ReqT,
RespT>
MethodDescriptor.Builder<ReqT, RespT> MethodDescriptor.newBuilder()
Creates a new builder for aMethodDescriptor
.static <ReqT,
RespT>
MethodDescriptor.Builder<ReqT, RespT> MethodDescriptor.newBuilder
(MethodDescriptor.Marshaller<ReqT> requestMarshaller, MethodDescriptor.Marshaller<RespT> responseMarshaller) Creates a new builder for aMethodDescriptor
.MethodDescriptor.Builder.setFullMethodName
(String fullMethodName) Sets the fully qualified (service and method) method name.MethodDescriptor.Builder.setIdempotent
(boolean idempotent) Sets whether the method is idempotent.MethodDescriptor.Builder.setRequestMarshaller
(MethodDescriptor.Marshaller<ReqT> requestMarshaller) Sets the request marshaller.MethodDescriptor.Builder.setResponseMarshaller
(MethodDescriptor.Marshaller<RespT> responseMarshaller) Sets the response marshaller.MethodDescriptor.Builder.setSafe
(boolean safe) Sets whether this method is safe.MethodDescriptor.Builder.setSampledToLocalTracing
(boolean value) Sets whether RPCs for this method may be sampled into the local tracing store.MethodDescriptor.Builder.setSchemaDescriptor
(Object schemaDescriptor) Sets the schema descriptor for this builder.MethodDescriptor.Builder.setType
(MethodDescriptor.MethodType type) Sets the method type.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.