Package org.hertsstack.core.descriptor
Class CustomGrpcStreamingDescriptor
- java.lang.Object
-
- org.hertsstack.core.descriptor.CustomGrpcStreamingDescriptor
-
public class CustomGrpcStreamingDescriptor extends java.lang.Object
Herts gRPC streaming descriptor.
-
-
Constructor Summary
Constructors Constructor Description CustomGrpcStreamingDescriptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomGrpcStreamingDescriptor
createGrpcDescriptor(io.grpc.ServiceDescriptor serviceDescriptor, java.util.List<io.grpc.MethodDescriptor<java.lang.Object,java.lang.Object>> methodDescriptors)
Factory method.java.util.List<io.grpc.MethodDescriptor<java.lang.Object,java.lang.Object>>
getMethodDescriptors()
io.grpc.ServiceDescriptor
getServiceDescriptor()
void
setMethodDescriptors(java.util.List<io.grpc.MethodDescriptor<java.lang.Object,java.lang.Object>> methodDescriptors)
void
setServiceDescriptor(io.grpc.ServiceDescriptor serviceDescriptor)
-
-
-
Method Detail
-
createGrpcDescriptor
public static CustomGrpcStreamingDescriptor createGrpcDescriptor(io.grpc.ServiceDescriptor serviceDescriptor, java.util.List<io.grpc.MethodDescriptor<java.lang.Object,java.lang.Object>> methodDescriptors)
Factory method.- Parameters:
serviceDescriptor
- HertsService descriptormethodDescriptors
- HertsService method descriptor- Returns:
- HertsStreamingDescriptor
-
getServiceDescriptor
public io.grpc.ServiceDescriptor getServiceDescriptor()
-
setServiceDescriptor
public void setServiceDescriptor(io.grpc.ServiceDescriptor serviceDescriptor)
-
getMethodDescriptors
public java.util.List<io.grpc.MethodDescriptor<java.lang.Object,java.lang.Object>> getMethodDescriptors()
-
setMethodDescriptors
public void setMethodDescriptors(java.util.List<io.grpc.MethodDescriptor<java.lang.Object,java.lang.Object>> methodDescriptors)
-
-