main.grpc.com.streamlayer.sports.events.EventsGrpc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
package com.streamlayer.sports.events;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.65.1)",
comments = "Source: streamlayer/sports/events/events.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class EventsGrpc {
private EventsGrpc() {}
public static final java.lang.String SERVICE_NAME = "streamlayer.sports.events.Events";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getListMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "List",
requestType = com.streamlayer.sports.events.ListRequest.class,
responseType = com.streamlayer.sports.events.ListResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListMethod() {
io.grpc.MethodDescriptor getListMethod;
if ((getListMethod = EventsGrpc.getListMethod) == null) {
synchronized (EventsGrpc.class) {
if ((getListMethod = EventsGrpc.getListMethod) == null) {
EventsGrpc.getListMethod = getListMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "List"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.ListRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.ListResponse.getDefaultInstance()))
.build();
}
}
}
return getListMethod;
}
private static volatile io.grpc.MethodDescriptor getDemoListMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DemoList",
requestType = com.streamlayer.sports.events.DemoListRequest.class,
responseType = com.streamlayer.sports.events.DemoListResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDemoListMethod() {
io.grpc.MethodDescriptor getDemoListMethod;
if ((getDemoListMethod = EventsGrpc.getDemoListMethod) == null) {
synchronized (EventsGrpc.class) {
if ((getDemoListMethod = EventsGrpc.getDemoListMethod) == null) {
EventsGrpc.getDemoListMethod = getDemoListMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DemoList"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.DemoListRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.DemoListResponse.getDefaultInstance()))
.build();
}
}
}
return getDemoListMethod;
}
private static volatile io.grpc.MethodDescriptor getSummaryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Summary",
requestType = com.streamlayer.sports.events.SummaryRequest.class,
responseType = com.streamlayer.sports.events.SummaryResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getSummaryMethod() {
io.grpc.MethodDescriptor getSummaryMethod;
if ((getSummaryMethod = EventsGrpc.getSummaryMethod) == null) {
synchronized (EventsGrpc.class) {
if ((getSummaryMethod = EventsGrpc.getSummaryMethod) == null) {
EventsGrpc.getSummaryMethod = getSummaryMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Summary"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.SummaryRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.SummaryResponse.getDefaultInstance()))
.build();
}
}
}
return getSummaryMethod;
}
private static volatile io.grpc.MethodDescriptor getAdminSummaryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "AdminSummary",
requestType = com.streamlayer.sports.events.AdminSummaryRequest.class,
responseType = com.streamlayer.sports.events.AdminSummaryResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getAdminSummaryMethod() {
io.grpc.MethodDescriptor getAdminSummaryMethod;
if ((getAdminSummaryMethod = EventsGrpc.getAdminSummaryMethod) == null) {
synchronized (EventsGrpc.class) {
if ((getAdminSummaryMethod = EventsGrpc.getAdminSummaryMethod) == null) {
EventsGrpc.getAdminSummaryMethod = getAdminSummaryMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "AdminSummary"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.AdminSummaryRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.AdminSummaryResponse.getDefaultInstance()))
.build();
}
}
}
return getAdminSummaryMethod;
}
private static volatile io.grpc.MethodDescriptor getBoxscoreMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Boxscore",
requestType = com.streamlayer.sports.events.BoxscoreRequest.class,
responseType = com.streamlayer.sports.events.BoxscoreResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getBoxscoreMethod() {
io.grpc.MethodDescriptor getBoxscoreMethod;
if ((getBoxscoreMethod = EventsGrpc.getBoxscoreMethod) == null) {
synchronized (EventsGrpc.class) {
if ((getBoxscoreMethod = EventsGrpc.getBoxscoreMethod) == null) {
EventsGrpc.getBoxscoreMethod = getBoxscoreMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Boxscore"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.BoxscoreRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.BoxscoreResponse.getDefaultInstance()))
.build();
}
}
}
return getBoxscoreMethod;
}
private static volatile io.grpc.MethodDescriptor getStandingsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Standings",
requestType = com.streamlayer.sports.events.StandingsRequest.class,
responseType = com.streamlayer.sports.events.StandingsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getStandingsMethod() {
io.grpc.MethodDescriptor getStandingsMethod;
if ((getStandingsMethod = EventsGrpc.getStandingsMethod) == null) {
synchronized (EventsGrpc.class) {
if ((getStandingsMethod = EventsGrpc.getStandingsMethod) == null) {
EventsGrpc.getStandingsMethod = getStandingsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Standings"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.StandingsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.StandingsResponse.getDefaultInstance()))
.build();
}
}
}
return getStandingsMethod;
}
private static volatile io.grpc.MethodDescriptor getPlayByPlayMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PlayByPlay",
requestType = com.streamlayer.sports.events.PlayByPlayRequest.class,
responseType = com.streamlayer.sports.events.PlayByPlayResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPlayByPlayMethod() {
io.grpc.MethodDescriptor getPlayByPlayMethod;
if ((getPlayByPlayMethod = EventsGrpc.getPlayByPlayMethod) == null) {
synchronized (EventsGrpc.class) {
if ((getPlayByPlayMethod = EventsGrpc.getPlayByPlayMethod) == null) {
EventsGrpc.getPlayByPlayMethod = getPlayByPlayMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PlayByPlay"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.PlayByPlayRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.PlayByPlayResponse.getDefaultInstance()))
.build();
}
}
}
return getPlayByPlayMethod;
}
private static volatile io.grpc.MethodDescriptor getScheduleMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Schedule",
requestType = com.streamlayer.sports.events.ScheduleRequest.class,
responseType = com.streamlayer.sports.events.ScheduleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getScheduleMethod() {
io.grpc.MethodDescriptor getScheduleMethod;
if ((getScheduleMethod = EventsGrpc.getScheduleMethod) == null) {
synchronized (EventsGrpc.class) {
if ((getScheduleMethod = EventsGrpc.getScheduleMethod) == null) {
EventsGrpc.getScheduleMethod = getScheduleMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Schedule"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.ScheduleRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.ScheduleResponse.getDefaultInstance()))
.build();
}
}
}
return getScheduleMethod;
}
private static volatile io.grpc.MethodDescriptor getScheduleDatesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ScheduleDates",
requestType = com.streamlayer.sports.events.ScheduleDatesRequest.class,
responseType = com.streamlayer.sports.events.ScheduleDatesResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getScheduleDatesMethod() {
io.grpc.MethodDescriptor getScheduleDatesMethod;
if ((getScheduleDatesMethod = EventsGrpc.getScheduleDatesMethod) == null) {
synchronized (EventsGrpc.class) {
if ((getScheduleDatesMethod = EventsGrpc.getScheduleDatesMethod) == null) {
EventsGrpc.getScheduleDatesMethod = getScheduleDatesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ScheduleDates"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.ScheduleDatesRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.ScheduleDatesResponse.getDefaultInstance()))
.build();
}
}
}
return getScheduleDatesMethod;
}
private static volatile io.grpc.MethodDescriptor getLineupMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Lineup",
requestType = com.streamlayer.sports.events.LineupRequest.class,
responseType = com.streamlayer.sports.events.LineupResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getLineupMethod() {
io.grpc.MethodDescriptor getLineupMethod;
if ((getLineupMethod = EventsGrpc.getLineupMethod) == null) {
synchronized (EventsGrpc.class) {
if ((getLineupMethod = EventsGrpc.getLineupMethod) == null) {
EventsGrpc.getLineupMethod = getLineupMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Lineup"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.LineupRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.LineupResponse.getDefaultInstance()))
.build();
}
}
}
return getLineupMethod;
}
private static volatile io.grpc.MethodDescriptor getRetrieveEventIdMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RetrieveEventId",
requestType = com.streamlayer.sports.events.RetrieveEventIdRequest.class,
responseType = com.streamlayer.sports.events.RetrieveEventIdResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRetrieveEventIdMethod() {
io.grpc.MethodDescriptor getRetrieveEventIdMethod;
if ((getRetrieveEventIdMethod = EventsGrpc.getRetrieveEventIdMethod) == null) {
synchronized (EventsGrpc.class) {
if ((getRetrieveEventIdMethod = EventsGrpc.getRetrieveEventIdMethod) == null) {
EventsGrpc.getRetrieveEventIdMethod = getRetrieveEventIdMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveEventId"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.RetrieveEventIdRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.RetrieveEventIdResponse.getDefaultInstance()))
.build();
}
}
}
return getRetrieveEventIdMethod;
}
private static volatile io.grpc.MethodDescriptor getLastGamesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "LastGames",
requestType = com.streamlayer.sports.events.LastGamesRequest.class,
responseType = com.streamlayer.sports.events.LastGamesResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getLastGamesMethod() {
io.grpc.MethodDescriptor getLastGamesMethod;
if ((getLastGamesMethod = EventsGrpc.getLastGamesMethod) == null) {
synchronized (EventsGrpc.class) {
if ((getLastGamesMethod = EventsGrpc.getLastGamesMethod) == null) {
EventsGrpc.getLastGamesMethod = getLastGamesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "LastGames"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.LastGamesRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.LastGamesResponse.getDefaultInstance()))
.build();
}
}
}
return getLastGamesMethod;
}
private static volatile io.grpc.MethodDescriptor getSummarySubscriptionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SummarySubscription",
requestType = com.streamlayer.sports.events.SummaryRequest.class,
responseType = com.streamlayer.sports.events.SummaryResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor getSummarySubscriptionMethod() {
io.grpc.MethodDescriptor getSummarySubscriptionMethod;
if ((getSummarySubscriptionMethod = EventsGrpc.getSummarySubscriptionMethod) == null) {
synchronized (EventsGrpc.class) {
if ((getSummarySubscriptionMethod = EventsGrpc.getSummarySubscriptionMethod) == null) {
EventsGrpc.getSummarySubscriptionMethod = getSummarySubscriptionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SummarySubscription"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.SummaryRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sports.events.SummaryResponse.getDefaultInstance()))
.build();
}
}
}
return getSummarySubscriptionMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static EventsStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public EventsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new EventsStub(channel, callOptions);
}
};
return EventsStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static EventsBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public EventsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new EventsBlockingStub(channel, callOptions);
}
};
return EventsBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static EventsFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public EventsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new EventsFutureStub(channel, callOptions);
}
};
return EventsFutureStub.newStub(factory, channel);
}
/**
*/
public interface AsyncService {
/**
*/
default void list(com.streamlayer.sports.events.ListRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMethod(), responseObserver);
}
/**
*/
default void demoList(com.streamlayer.sports.events.DemoListRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDemoListMethod(), responseObserver);
}
/**
*/
default void summary(com.streamlayer.sports.events.SummaryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSummaryMethod(), responseObserver);
}
/**
*/
default void adminSummary(com.streamlayer.sports.events.AdminSummaryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAdminSummaryMethod(), responseObserver);
}
/**
*/
default void boxscore(com.streamlayer.sports.events.BoxscoreRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBoxscoreMethod(), responseObserver);
}
/**
*/
default void standings(com.streamlayer.sports.events.StandingsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStandingsMethod(), responseObserver);
}
/**
*/
default void playByPlay(com.streamlayer.sports.events.PlayByPlayRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPlayByPlayMethod(), responseObserver);
}
/**
*/
default void schedule(com.streamlayer.sports.events.ScheduleRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getScheduleMethod(), responseObserver);
}
/**
*/
default void scheduleDates(com.streamlayer.sports.events.ScheduleDatesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getScheduleDatesMethod(), responseObserver);
}
/**
*/
default void lineup(com.streamlayer.sports.events.LineupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLineupMethod(), responseObserver);
}
/**
*/
default void retrieveEventId(com.streamlayer.sports.events.RetrieveEventIdRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveEventIdMethod(), responseObserver);
}
/**
*/
default void lastGames(com.streamlayer.sports.events.LastGamesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLastGamesMethod(), responseObserver);
}
/**
*/
default void summarySubscription(com.streamlayer.sports.events.SummaryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSummarySubscriptionMethod(), responseObserver);
}
}
/**
* Base class for the server implementation of the service Events.
*/
public static abstract class EventsImplBase
implements io.grpc.BindableService, AsyncService {
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return EventsGrpc.bindService(this);
}
}
/**
* A stub to allow clients to do asynchronous rpc calls to service Events.
*/
public static final class EventsStub
extends io.grpc.stub.AbstractAsyncStub {
private EventsStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected EventsStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new EventsStub(channel, callOptions);
}
/**
*/
public void list(com.streamlayer.sports.events.ListRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void demoList(com.streamlayer.sports.events.DemoListRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDemoListMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void summary(com.streamlayer.sports.events.SummaryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSummaryMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void adminSummary(com.streamlayer.sports.events.AdminSummaryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAdminSummaryMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void boxscore(com.streamlayer.sports.events.BoxscoreRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getBoxscoreMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void standings(com.streamlayer.sports.events.StandingsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getStandingsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void playByPlay(com.streamlayer.sports.events.PlayByPlayRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getPlayByPlayMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void schedule(com.streamlayer.sports.events.ScheduleRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getScheduleMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void scheduleDates(com.streamlayer.sports.events.ScheduleDatesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getScheduleDatesMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void lineup(com.streamlayer.sports.events.LineupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getLineupMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void retrieveEventId(com.streamlayer.sports.events.RetrieveEventIdRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRetrieveEventIdMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void lastGames(com.streamlayer.sports.events.LastGamesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getLastGamesMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void summarySubscription(com.streamlayer.sports.events.SummaryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getSummarySubscriptionMethod(), getCallOptions()), request, responseObserver);
}
}
/**
* A stub to allow clients to do synchronous rpc calls to service Events.
*/
public static final class EventsBlockingStub
extends io.grpc.stub.AbstractBlockingStub {
private EventsBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected EventsBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new EventsBlockingStub(channel, callOptions);
}
/**
*/
public com.streamlayer.sports.events.ListResponse list(com.streamlayer.sports.events.ListRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sports.events.DemoListResponse demoList(com.streamlayer.sports.events.DemoListRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDemoListMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sports.events.SummaryResponse summary(com.streamlayer.sports.events.SummaryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSummaryMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sports.events.AdminSummaryResponse adminSummary(com.streamlayer.sports.events.AdminSummaryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAdminSummaryMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sports.events.BoxscoreResponse boxscore(com.streamlayer.sports.events.BoxscoreRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getBoxscoreMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sports.events.StandingsResponse standings(com.streamlayer.sports.events.StandingsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getStandingsMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sports.events.PlayByPlayResponse playByPlay(com.streamlayer.sports.events.PlayByPlayRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getPlayByPlayMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sports.events.ScheduleResponse schedule(com.streamlayer.sports.events.ScheduleRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getScheduleMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sports.events.ScheduleDatesResponse scheduleDates(com.streamlayer.sports.events.ScheduleDatesRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getScheduleDatesMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sports.events.LineupResponse lineup(com.streamlayer.sports.events.LineupRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getLineupMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sports.events.RetrieveEventIdResponse retrieveEventId(com.streamlayer.sports.events.RetrieveEventIdRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRetrieveEventIdMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sports.events.LastGamesResponse lastGames(com.streamlayer.sports.events.LastGamesRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getLastGamesMethod(), getCallOptions(), request);
}
/**
*/
public java.util.Iterator summarySubscription(
com.streamlayer.sports.events.SummaryRequest request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getSummarySubscriptionMethod(), getCallOptions(), request);
}
}
/**
* A stub to allow clients to do ListenableFuture-style rpc calls to service Events.
*/
public static final class EventsFutureStub
extends io.grpc.stub.AbstractFutureStub {
private EventsFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected EventsFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new EventsFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture list(
com.streamlayer.sports.events.ListRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture demoList(
com.streamlayer.sports.events.DemoListRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDemoListMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture summary(
com.streamlayer.sports.events.SummaryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSummaryMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture adminSummary(
com.streamlayer.sports.events.AdminSummaryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAdminSummaryMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture boxscore(
com.streamlayer.sports.events.BoxscoreRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getBoxscoreMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture standings(
com.streamlayer.sports.events.StandingsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getStandingsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture playByPlay(
com.streamlayer.sports.events.PlayByPlayRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getPlayByPlayMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture schedule(
com.streamlayer.sports.events.ScheduleRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getScheduleMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture scheduleDates(
com.streamlayer.sports.events.ScheduleDatesRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getScheduleDatesMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture lineup(
com.streamlayer.sports.events.LineupRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getLineupMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture retrieveEventId(
com.streamlayer.sports.events.RetrieveEventIdRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRetrieveEventIdMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture lastGames(
com.streamlayer.sports.events.LastGamesRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getLastGamesMethod(), getCallOptions()), request);
}
}
private static final int METHODID_LIST = 0;
private static final int METHODID_DEMO_LIST = 1;
private static final int METHODID_SUMMARY = 2;
private static final int METHODID_ADMIN_SUMMARY = 3;
private static final int METHODID_BOXSCORE = 4;
private static final int METHODID_STANDINGS = 5;
private static final int METHODID_PLAY_BY_PLAY = 6;
private static final int METHODID_SCHEDULE = 7;
private static final int METHODID_SCHEDULE_DATES = 8;
private static final int METHODID_LINEUP = 9;
private static final int METHODID_RETRIEVE_EVENT_ID = 10;
private static final int METHODID_LAST_GAMES = 11;
private static final int METHODID_SUMMARY_SUBSCRIPTION = 12;
private static final class MethodHandlers implements
io.grpc.stub.ServerCalls.UnaryMethod,
io.grpc.stub.ServerCalls.ServerStreamingMethod,
io.grpc.stub.ServerCalls.ClientStreamingMethod,
io.grpc.stub.ServerCalls.BidiStreamingMethod {
private final AsyncService serviceImpl;
private final int methodId;
MethodHandlers(AsyncService serviceImpl, int methodId) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
case METHODID_LIST:
serviceImpl.list((com.streamlayer.sports.events.ListRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DEMO_LIST:
serviceImpl.demoList((com.streamlayer.sports.events.DemoListRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SUMMARY:
serviceImpl.summary((com.streamlayer.sports.events.SummaryRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_ADMIN_SUMMARY:
serviceImpl.adminSummary((com.streamlayer.sports.events.AdminSummaryRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_BOXSCORE:
serviceImpl.boxscore((com.streamlayer.sports.events.BoxscoreRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_STANDINGS:
serviceImpl.standings((com.streamlayer.sports.events.StandingsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_PLAY_BY_PLAY:
serviceImpl.playByPlay((com.streamlayer.sports.events.PlayByPlayRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SCHEDULE:
serviceImpl.schedule((com.streamlayer.sports.events.ScheduleRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SCHEDULE_DATES:
serviceImpl.scheduleDates((com.streamlayer.sports.events.ScheduleDatesRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LINEUP:
serviceImpl.lineup((com.streamlayer.sports.events.LineupRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_RETRIEVE_EVENT_ID:
serviceImpl.retrieveEventId((com.streamlayer.sports.events.RetrieveEventIdRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LAST_GAMES:
serviceImpl.lastGames((com.streamlayer.sports.events.LastGamesRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SUMMARY_SUBSCRIPTION:
serviceImpl.summarySubscription((com.streamlayer.sports.events.SummaryRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
default:
throw new AssertionError();
}
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public io.grpc.stub.StreamObserver invoke(
io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
default:
throw new AssertionError();
}
}
}
public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getListMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sports.events.ListRequest,
com.streamlayer.sports.events.ListResponse>(
service, METHODID_LIST)))
.addMethod(
getDemoListMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sports.events.DemoListRequest,
com.streamlayer.sports.events.DemoListResponse>(
service, METHODID_DEMO_LIST)))
.addMethod(
getSummaryMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sports.events.SummaryRequest,
com.streamlayer.sports.events.SummaryResponse>(
service, METHODID_SUMMARY)))
.addMethod(
getAdminSummaryMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sports.events.AdminSummaryRequest,
com.streamlayer.sports.events.AdminSummaryResponse>(
service, METHODID_ADMIN_SUMMARY)))
.addMethod(
getBoxscoreMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sports.events.BoxscoreRequest,
com.streamlayer.sports.events.BoxscoreResponse>(
service, METHODID_BOXSCORE)))
.addMethod(
getStandingsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sports.events.StandingsRequest,
com.streamlayer.sports.events.StandingsResponse>(
service, METHODID_STANDINGS)))
.addMethod(
getPlayByPlayMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sports.events.PlayByPlayRequest,
com.streamlayer.sports.events.PlayByPlayResponse>(
service, METHODID_PLAY_BY_PLAY)))
.addMethod(
getScheduleMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sports.events.ScheduleRequest,
com.streamlayer.sports.events.ScheduleResponse>(
service, METHODID_SCHEDULE)))
.addMethod(
getScheduleDatesMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sports.events.ScheduleDatesRequest,
com.streamlayer.sports.events.ScheduleDatesResponse>(
service, METHODID_SCHEDULE_DATES)))
.addMethod(
getLineupMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sports.events.LineupRequest,
com.streamlayer.sports.events.LineupResponse>(
service, METHODID_LINEUP)))
.addMethod(
getRetrieveEventIdMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sports.events.RetrieveEventIdRequest,
com.streamlayer.sports.events.RetrieveEventIdResponse>(
service, METHODID_RETRIEVE_EVENT_ID)))
.addMethod(
getLastGamesMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sports.events.LastGamesRequest,
com.streamlayer.sports.events.LastGamesResponse>(
service, METHODID_LAST_GAMES)))
.addMethod(
getSummarySubscriptionMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
com.streamlayer.sports.events.SummaryRequest,
com.streamlayer.sports.events.SummaryResponse>(
service, METHODID_SUMMARY_SUBSCRIPTION)))
.build();
}
private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
public static io.grpc.ServiceDescriptor getServiceDescriptor() {
io.grpc.ServiceDescriptor result = serviceDescriptor;
if (result == null) {
synchronized (EventsGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.addMethod(getListMethod())
.addMethod(getDemoListMethod())
.addMethod(getSummaryMethod())
.addMethod(getAdminSummaryMethod())
.addMethod(getBoxscoreMethod())
.addMethod(getStandingsMethod())
.addMethod(getPlayByPlayMethod())
.addMethod(getScheduleMethod())
.addMethod(getScheduleDatesMethod())
.addMethod(getLineupMethod())
.addMethod(getRetrieveEventIdMethod())
.addMethod(getLastGamesMethod())
.addMethod(getSummarySubscriptionMethod())
.build();
}
}
}
return result;
}
}