Class ProgramsServiceGrpc (0.9.0)

public final class ProgramsServiceGrpc

Service for program management. Programs provide a mechanism for adding functionality to merchant accounts. A typical example of this is the Free product listings program, which enables products from a merchant's store to be shown across Google for free. This service exposes methods to retrieve a merchant's participation in all available programs, in addition to methods for explicitly enabling or disabling participation in each program.

Inheritance

java.lang.Object > ProgramsServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ProgramsServiceGrpc.AsyncService service)

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

getDisableProgramMethod()

public static MethodDescriptor<DisableProgramRequest,Program> getDisableProgramMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DisableProgramRequest,Program>

getEnableProgramMethod()

public static MethodDescriptor<EnableProgramRequest,Program> getEnableProgramMethod()
Returns
Type Description
io.grpc.MethodDescriptor<EnableProgramRequest,Program>

getGetProgramMethod()

public static MethodDescriptor<GetProgramRequest,Program> getGetProgramMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetProgramRequest,Program>

getListProgramsMethod()

public static MethodDescriptor<ListProgramsRequest,ListProgramsResponse> getListProgramsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListProgramsRequest,ListProgramsResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static ProgramsServiceGrpc.ProgramsServiceBlockingStub 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
ProgramsServiceGrpc.ProgramsServiceBlockingStub

newFutureStub(Channel channel)

public static ProgramsServiceGrpc.ProgramsServiceFutureStub 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
ProgramsServiceGrpc.ProgramsServiceFutureStub

newStub(Channel channel)

public static ProgramsServiceGrpc.ProgramsServiceStub 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
ProgramsServiceGrpc.ProgramsServiceStub