Class LintingServiceGrpc (0.1.0)

public final class LintingServiceGrpc

This service provides all methods related to the 1p Linter.

Inheritance

java.lang.Object > LintingServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(LintingServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(LintingServiceGrpc.AsyncService service)
Parameter
Name Description
service LintingServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getGetStyleGuideContentsMethod()

public static MethodDescriptor<GetStyleGuideContentsRequest,StyleGuideContents> getGetStyleGuideContentsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetStyleGuideContentsRequest,StyleGuideContents>

getGetStyleGuideMethod()

public static MethodDescriptor<GetStyleGuideRequest,StyleGuide> getGetStyleGuideMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetStyleGuideRequest,StyleGuide>

getLintSpecMethod()

public static MethodDescriptor<LintSpecRequest,Empty> getLintSpecMethod()
Returns
Type Description
io.grpc.MethodDescriptor<LintSpecRequest,Empty>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateStyleGuideMethod()

public static MethodDescriptor<UpdateStyleGuideRequest,StyleGuide> getUpdateStyleGuideMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateStyleGuideRequest,StyleGuide>

newBlockingStub(Channel channel)

public static LintingServiceGrpc.LintingServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
LintingServiceGrpc.LintingServiceBlockingStub

newFutureStub(Channel channel)

public static LintingServiceGrpc.LintingServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
LintingServiceGrpc.LintingServiceFutureStub

newStub(Channel channel)

public static LintingServiceGrpc.LintingServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
LintingServiceGrpc.LintingServiceStub