Uses of Interface
io.grpc.MethodDescriptor.Marshaller
-
Packages that use MethodDescriptor.Marshaller Package Description io.grpc The gRPC core public API.io.grpc.protobuf API for gRPC over Protocol Buffers, including tools for serializing and de-serializing protobuf messages.io.grpc.protobuf.lite API for gRPC over Protocol Buffers with proto message classes generated by the Lite Runtime library.io.grpc.testing API that is useful for testing gRPC.io.grpc.xds Library for gPRC proxyless service mesh using Envoy xDS protocol. -
-
Uses of MethodDescriptor.Marshaller in io.grpc
Subinterfaces of MethodDescriptor.Marshaller in io.grpc Modifier and Type Interface Description static interfaceMethodDescriptor.PrototypeMarshaller<T>A marshaller that uses a fixed instance of the type it produces.static interfaceMethodDescriptor.ReflectableMarshaller<T>A marshaller that supports retrieving it's type parameterTat runtime.Methods in io.grpc that return MethodDescriptor.Marshaller Modifier and Type Method Description MethodDescriptor.Marshaller<ReqT>MethodDescriptor. getRequestMarshaller()Returns the marshaller for the request type.MethodDescriptor.Marshaller<RespT>MethodDescriptor. getResponseMarshaller()Returns the marshaller for the response type.Methods in io.grpc with parameters of type MethodDescriptor.Marshaller Modifier and Type Method Description static <RequestT,ResponseT>
MethodDescriptor<RequestT,ResponseT>MethodDescriptor. create(MethodDescriptor.MethodType type, java.lang.String fullMethodName, MethodDescriptor.Marshaller<RequestT> requestMarshaller, MethodDescriptor.Marshaller<ResponseT> responseMarshaller)Deprecated.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<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.<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.static <ReqT,RespT>
ServerServiceDefinitionServerInterceptors. useMarshalledMessages(ServerServiceDefinition serviceDef, MethodDescriptor.Marshaller<ReqT> requestMarshaller, MethodDescriptor.Marshaller<RespT> responseMarshaller)Create a newServerServiceDefinitionwithMethodDescriptorfor deserializing requests and separateMethodDescriptorfor serializing responses.static <T> ServerServiceDefinitionServerInterceptors. useMarshalledMessages(ServerServiceDefinition serviceDef, MethodDescriptor.Marshaller<T> marshaller)Create a newServerServiceDefinitionwhoseMethodDescriptorserializes to and from T for all methods. -
Uses of MethodDescriptor.Marshaller in io.grpc.protobuf
Methods in io.grpc.protobuf that return MethodDescriptor.Marshaller Modifier and Type Method Description static <T extends Message>
MethodDescriptor.Marshaller<T>ProtoUtils. marshaller(T defaultInstance)Create aMethodDescriptor.Marshallerfor protos of the same type asdefaultInstance.static <T extends Message>
MethodDescriptor.Marshaller<T>ProtoUtils. marshallerWithRecursionLimit(T defaultInstance, int recursionLimit)Creates aMethodDescriptor.Marshallerfor protos of the same type asdefaultInstanceand a custom limit for the recursion depth. -
Uses of MethodDescriptor.Marshaller in io.grpc.protobuf.lite
Methods in io.grpc.protobuf.lite that return MethodDescriptor.Marshaller Modifier and Type Method Description static <T extends MessageLite>
MethodDescriptor.Marshaller<T>ProtoLiteUtils. marshaller(T defaultInstance)Creates aMethodDescriptor.Marshallerfor protos of the same type asdefaultInstance.static <T extends MessageLite>
MethodDescriptor.Marshaller<T>ProtoLiteUtils. marshallerWithRecursionLimit(T defaultInstance, int recursionLimit)Creates aMethodDescriptor.Marshallerfor protos of the same type asdefaultInstanceand a custom limit for the recursion depth. -
Uses of MethodDescriptor.Marshaller in io.grpc.testing
Methods in io.grpc.testing that return MethodDescriptor.Marshaller Modifier and Type Method Description static MethodDescriptor.Marshaller<java.lang.Void>TestMethodDescriptors. voidMarshaller()Creates a new marshaller that does nothing. -
Uses of MethodDescriptor.Marshaller in io.grpc.xds
Methods in io.grpc.xds with parameters of type MethodDescriptor.Marshaller Modifier and Type Method Description <ReqT,RespT>
XdsTransportFactory.StreamingCall<ReqT,RespT>XdsTransportFactory.XdsTransport. createStreamingCall(java.lang.String fullMethodName, MethodDescriptor.Marshaller<ReqT> reqMarshaller, MethodDescriptor.Marshaller<RespT> respMarshaller)
-