All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.grpc.com.streamlayer.sportsdata.client.bets.BetsGrpc Maven / Gradle / Ivy

There is a newer version: 5.133.1
Show newest version
package com.streamlayer.sportsdata.client.bets;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 */
@javax.annotation.Generated(
    value = "by gRPC proto compiler (version 1.65.1)",
    comments = "Source: streamlayer/sportsdata/client/bets/bets.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class BetsGrpc {

  private BetsGrpc() {}

  public static final java.lang.String SERVICE_NAME = "streamlayer.sportsdata.client.bets.Bets";

  // Static method descriptors that strictly reflect the proto.
  private static volatile io.grpc.MethodDescriptor getGamePropsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GameProps",
      requestType = com.streamlayer.sportsdata.client.bets.GamePropsRequest.class,
      responseType = com.streamlayer.sportsdata.client.bets.GamePropsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGamePropsMethod() {
    io.grpc.MethodDescriptor getGamePropsMethod;
    if ((getGamePropsMethod = BetsGrpc.getGamePropsMethod) == null) {
      synchronized (BetsGrpc.class) {
        if ((getGamePropsMethod = BetsGrpc.getGamePropsMethod) == null) {
          BetsGrpc.getGamePropsMethod = getGamePropsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GameProps"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GamePropsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GamePropsResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getGamePropsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGameMarketsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GameMarkets",
      requestType = com.streamlayer.sportsdata.client.bets.GameMarketsRequest.class,
      responseType = com.streamlayer.sportsdata.client.bets.GameMarketsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGameMarketsMethod() {
    io.grpc.MethodDescriptor getGameMarketsMethod;
    if ((getGameMarketsMethod = BetsGrpc.getGameMarketsMethod) == null) {
      synchronized (BetsGrpc.class) {
        if ((getGameMarketsMethod = BetsGrpc.getGameMarketsMethod) == null) {
          BetsGrpc.getGameMarketsMethod = getGameMarketsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GameMarkets"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GameMarketsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GameMarketsResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getGameMarketsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getFuturesMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Futures",
      requestType = com.streamlayer.sportsdata.client.bets.FuturesRequest.class,
      responseType = com.streamlayer.sportsdata.client.bets.FuturesResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getFuturesMethod() {
    io.grpc.MethodDescriptor getFuturesMethod;
    if ((getFuturesMethod = BetsGrpc.getFuturesMethod) == null) {
      synchronized (BetsGrpc.class) {
        if ((getFuturesMethod = BetsGrpc.getFuturesMethod) == null) {
          BetsGrpc.getFuturesMethod = getFuturesMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Futures"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.FuturesRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.FuturesResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getFuturesMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGameOddsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GameOdds",
      requestType = com.streamlayer.sportsdata.client.bets.GameOddsRequest.class,
      responseType = com.streamlayer.sportsdata.client.bets.GameOddsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGameOddsMethod() {
    io.grpc.MethodDescriptor getGameOddsMethod;
    if ((getGameOddsMethod = BetsGrpc.getGameOddsMethod) == null) {
      synchronized (BetsGrpc.class) {
        if ((getGameOddsMethod = BetsGrpc.getGameOddsMethod) == null) {
          BetsGrpc.getGameOddsMethod = getGameOddsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GameOdds"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GameOddsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GameOddsResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getGameOddsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGameLineMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GameLine",
      requestType = com.streamlayer.sportsdata.client.bets.GameLineRequest.class,
      responseType = com.streamlayer.sportsdata.client.bets.GameLineResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGameLineMethod() {
    io.grpc.MethodDescriptor getGameLineMethod;
    if ((getGameLineMethod = BetsGrpc.getGameLineMethod) == null) {
      synchronized (BetsGrpc.class) {
        if ((getGameLineMethod = BetsGrpc.getGameLineMethod) == null) {
          BetsGrpc.getGameLineMethod = getGameLineMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GameLine"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GameLineRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GameLineResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getGameLineMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGameOddsSubscriptionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GameOddsSubscription",
      requestType = com.streamlayer.sportsdata.client.bets.GameOddsSubscriptionRequest.class,
      responseType = com.streamlayer.sportsdata.client.bets.GameOddsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getGameOddsSubscriptionMethod() {
    io.grpc.MethodDescriptor getGameOddsSubscriptionMethod;
    if ((getGameOddsSubscriptionMethod = BetsGrpc.getGameOddsSubscriptionMethod) == null) {
      synchronized (BetsGrpc.class) {
        if ((getGameOddsSubscriptionMethod = BetsGrpc.getGameOddsSubscriptionMethod) == null) {
          BetsGrpc.getGameOddsSubscriptionMethod = getGameOddsSubscriptionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GameOddsSubscription"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GameOddsSubscriptionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GameOddsResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getGameOddsSubscriptionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGameLineSubscriptionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GameLineSubscription",
      requestType = com.streamlayer.sportsdata.client.bets.GameLineSubscriptionRequest.class,
      responseType = com.streamlayer.sportsdata.client.bets.GameLineResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getGameLineSubscriptionMethod() {
    io.grpc.MethodDescriptor getGameLineSubscriptionMethod;
    if ((getGameLineSubscriptionMethod = BetsGrpc.getGameLineSubscriptionMethod) == null) {
      synchronized (BetsGrpc.class) {
        if ((getGameLineSubscriptionMethod = BetsGrpc.getGameLineSubscriptionMethod) == null) {
          BetsGrpc.getGameLineSubscriptionMethod = getGameLineSubscriptionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GameLineSubscription"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GameLineSubscriptionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GameLineResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getGameLineSubscriptionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGamePropsSubscriptionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GamePropsSubscription",
      requestType = com.streamlayer.sportsdata.client.bets.GamePropsSubscriptionRequest.class,
      responseType = com.streamlayer.sportsdata.client.bets.GamePropsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getGamePropsSubscriptionMethod() {
    io.grpc.MethodDescriptor getGamePropsSubscriptionMethod;
    if ((getGamePropsSubscriptionMethod = BetsGrpc.getGamePropsSubscriptionMethod) == null) {
      synchronized (BetsGrpc.class) {
        if ((getGamePropsSubscriptionMethod = BetsGrpc.getGamePropsSubscriptionMethod) == null) {
          BetsGrpc.getGamePropsSubscriptionMethod = getGamePropsSubscriptionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GamePropsSubscription"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GamePropsSubscriptionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GamePropsResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getGamePropsSubscriptionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGameMarketsSubscriptionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GameMarketsSubscription",
      requestType = com.streamlayer.sportsdata.client.bets.GameMarketsSubscriptionRequest.class,
      responseType = com.streamlayer.sportsdata.client.bets.GameMarketsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getGameMarketsSubscriptionMethod() {
    io.grpc.MethodDescriptor getGameMarketsSubscriptionMethod;
    if ((getGameMarketsSubscriptionMethod = BetsGrpc.getGameMarketsSubscriptionMethod) == null) {
      synchronized (BetsGrpc.class) {
        if ((getGameMarketsSubscriptionMethod = BetsGrpc.getGameMarketsSubscriptionMethod) == null) {
          BetsGrpc.getGameMarketsSubscriptionMethod = getGameMarketsSubscriptionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GameMarketsSubscription"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GameMarketsSubscriptionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.GameMarketsResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getGameMarketsSubscriptionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getFuturesSubscriptionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "FuturesSubscription",
      requestType = com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.class,
      responseType = com.streamlayer.sportsdata.client.bets.FuturesResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getFuturesSubscriptionMethod() {
    io.grpc.MethodDescriptor getFuturesSubscriptionMethod;
    if ((getFuturesSubscriptionMethod = BetsGrpc.getFuturesSubscriptionMethod) == null) {
      synchronized (BetsGrpc.class) {
        if ((getFuturesSubscriptionMethod = BetsGrpc.getFuturesSubscriptionMethod) == null) {
          BetsGrpc.getFuturesSubscriptionMethod = getFuturesSubscriptionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FuturesSubscription"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.sportsdata.client.bets.FuturesResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getFuturesSubscriptionMethod;
  }

  /**
   * Creates a new async stub that supports all call types for the service
   */
  public static BetsStub newStub(io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public BetsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new BetsStub(channel, callOptions);
        }
      };
    return BetsStub.newStub(factory, channel);
  }

  /**
   * Creates a new blocking-style stub that supports unary and streaming output calls on the service
   */
  public static BetsBlockingStub newBlockingStub(
      io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public BetsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new BetsBlockingStub(channel, callOptions);
        }
      };
    return BetsBlockingStub.newStub(factory, channel);
  }

  /**
   * Creates a new ListenableFuture-style stub that supports unary calls on the service
   */
  public static BetsFutureStub newFutureStub(
      io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public BetsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new BetsFutureStub(channel, callOptions);
        }
      };
    return BetsFutureStub.newStub(factory, channel);
  }

  /**
   */
  public interface AsyncService {

    /**
     */
    default void gameProps(com.streamlayer.sportsdata.client.bets.GamePropsRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGamePropsMethod(), responseObserver);
    }

    /**
     */
    default void gameMarkets(com.streamlayer.sportsdata.client.bets.GameMarketsRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGameMarketsMethod(), responseObserver);
    }

    /**
     */
    default void futures(com.streamlayer.sportsdata.client.bets.FuturesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFuturesMethod(), responseObserver);
    }

    /**
     * 
     *on game page
     * 
*/ default void gameOdds(com.streamlayer.sportsdata.client.bets.GameOddsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGameOddsMethod(), responseObserver); } /** *
     *on game page new version
     * 
*/ default void gameLine(com.streamlayer.sportsdata.client.bets.GameLineRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGameLineMethod(), responseObserver); } /** */ default void gameOddsSubscription(com.streamlayer.sportsdata.client.bets.GameOddsSubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGameOddsSubscriptionMethod(), responseObserver); } /** */ default void gameLineSubscription(com.streamlayer.sportsdata.client.bets.GameLineSubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGameLineSubscriptionMethod(), responseObserver); } /** */ default void gamePropsSubscription(com.streamlayer.sportsdata.client.bets.GamePropsSubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGamePropsSubscriptionMethod(), responseObserver); } /** */ default void gameMarketsSubscription(com.streamlayer.sportsdata.client.bets.GameMarketsSubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGameMarketsSubscriptionMethod(), responseObserver); } /** */ default void futuresSubscription(com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFuturesSubscriptionMethod(), responseObserver); } } /** * Base class for the server implementation of the service Bets. */ public static abstract class BetsImplBase implements io.grpc.BindableService, AsyncService { @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return BetsGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service Bets. */ public static final class BetsStub extends io.grpc.stub.AbstractAsyncStub { private BetsStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected BetsStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new BetsStub(channel, callOptions); } /** */ public void gameProps(com.streamlayer.sportsdata.client.bets.GamePropsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGamePropsMethod(), getCallOptions()), request, responseObserver); } /** */ public void gameMarkets(com.streamlayer.sportsdata.client.bets.GameMarketsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGameMarketsMethod(), getCallOptions()), request, responseObserver); } /** */ public void futures(com.streamlayer.sportsdata.client.bets.FuturesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getFuturesMethod(), getCallOptions()), request, responseObserver); } /** *
     *on game page
     * 
*/ public void gameOdds(com.streamlayer.sportsdata.client.bets.GameOddsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGameOddsMethod(), getCallOptions()), request, responseObserver); } /** *
     *on game page new version
     * 
*/ public void gameLine(com.streamlayer.sportsdata.client.bets.GameLineRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGameLineMethod(), getCallOptions()), request, responseObserver); } /** */ public void gameOddsSubscription(com.streamlayer.sportsdata.client.bets.GameOddsSubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getGameOddsSubscriptionMethod(), getCallOptions()), request, responseObserver); } /** */ public void gameLineSubscription(com.streamlayer.sportsdata.client.bets.GameLineSubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getGameLineSubscriptionMethod(), getCallOptions()), request, responseObserver); } /** */ public void gamePropsSubscription(com.streamlayer.sportsdata.client.bets.GamePropsSubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getGamePropsSubscriptionMethod(), getCallOptions()), request, responseObserver); } /** */ public void gameMarketsSubscription(com.streamlayer.sportsdata.client.bets.GameMarketsSubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getGameMarketsSubscriptionMethod(), getCallOptions()), request, responseObserver); } /** */ public void futuresSubscription(com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getFuturesSubscriptionMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service Bets. */ public static final class BetsBlockingStub extends io.grpc.stub.AbstractBlockingStub { private BetsBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected BetsBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new BetsBlockingStub(channel, callOptions); } /** */ public com.streamlayer.sportsdata.client.bets.GamePropsResponse gameProps(com.streamlayer.sportsdata.client.bets.GamePropsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGamePropsMethod(), getCallOptions(), request); } /** */ public com.streamlayer.sportsdata.client.bets.GameMarketsResponse gameMarkets(com.streamlayer.sportsdata.client.bets.GameMarketsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGameMarketsMethod(), getCallOptions(), request); } /** */ public com.streamlayer.sportsdata.client.bets.FuturesResponse futures(com.streamlayer.sportsdata.client.bets.FuturesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getFuturesMethod(), getCallOptions(), request); } /** *
     *on game page
     * 
*/ public com.streamlayer.sportsdata.client.bets.GameOddsResponse gameOdds(com.streamlayer.sportsdata.client.bets.GameOddsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGameOddsMethod(), getCallOptions(), request); } /** *
     *on game page new version
     * 
*/ public com.streamlayer.sportsdata.client.bets.GameLineResponse gameLine(com.streamlayer.sportsdata.client.bets.GameLineRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGameLineMethod(), getCallOptions(), request); } /** */ public java.util.Iterator gameOddsSubscription( com.streamlayer.sportsdata.client.bets.GameOddsSubscriptionRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getGameOddsSubscriptionMethod(), getCallOptions(), request); } /** */ public java.util.Iterator gameLineSubscription( com.streamlayer.sportsdata.client.bets.GameLineSubscriptionRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getGameLineSubscriptionMethod(), getCallOptions(), request); } /** */ public java.util.Iterator gamePropsSubscription( com.streamlayer.sportsdata.client.bets.GamePropsSubscriptionRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getGamePropsSubscriptionMethod(), getCallOptions(), request); } /** */ public java.util.Iterator gameMarketsSubscription( com.streamlayer.sportsdata.client.bets.GameMarketsSubscriptionRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getGameMarketsSubscriptionMethod(), getCallOptions(), request); } /** */ public java.util.Iterator futuresSubscription( com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getFuturesSubscriptionMethod(), getCallOptions(), request); } } /** * A stub to allow clients to do ListenableFuture-style rpc calls to service Bets. */ public static final class BetsFutureStub extends io.grpc.stub.AbstractFutureStub { private BetsFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected BetsFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new BetsFutureStub(channel, callOptions); } /** */ public com.google.common.util.concurrent.ListenableFuture gameProps( com.streamlayer.sportsdata.client.bets.GamePropsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGamePropsMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture gameMarkets( com.streamlayer.sportsdata.client.bets.GameMarketsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGameMarketsMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture futures( com.streamlayer.sportsdata.client.bets.FuturesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getFuturesMethod(), getCallOptions()), request); } /** *
     *on game page
     * 
*/ public com.google.common.util.concurrent.ListenableFuture gameOdds( com.streamlayer.sportsdata.client.bets.GameOddsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGameOddsMethod(), getCallOptions()), request); } /** *
     *on game page new version
     * 
*/ public com.google.common.util.concurrent.ListenableFuture gameLine( com.streamlayer.sportsdata.client.bets.GameLineRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGameLineMethod(), getCallOptions()), request); } } private static final int METHODID_GAME_PROPS = 0; private static final int METHODID_GAME_MARKETS = 1; private static final int METHODID_FUTURES = 2; private static final int METHODID_GAME_ODDS = 3; private static final int METHODID_GAME_LINE = 4; private static final int METHODID_GAME_ODDS_SUBSCRIPTION = 5; private static final int METHODID_GAME_LINE_SUBSCRIPTION = 6; private static final int METHODID_GAME_PROPS_SUBSCRIPTION = 7; private static final int METHODID_GAME_MARKETS_SUBSCRIPTION = 8; private static final int METHODID_FUTURES_SUBSCRIPTION = 9; 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_GAME_PROPS: serviceImpl.gameProps((com.streamlayer.sportsdata.client.bets.GamePropsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GAME_MARKETS: serviceImpl.gameMarkets((com.streamlayer.sportsdata.client.bets.GameMarketsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_FUTURES: serviceImpl.futures((com.streamlayer.sportsdata.client.bets.FuturesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GAME_ODDS: serviceImpl.gameOdds((com.streamlayer.sportsdata.client.bets.GameOddsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GAME_LINE: serviceImpl.gameLine((com.streamlayer.sportsdata.client.bets.GameLineRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GAME_ODDS_SUBSCRIPTION: serviceImpl.gameOddsSubscription((com.streamlayer.sportsdata.client.bets.GameOddsSubscriptionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GAME_LINE_SUBSCRIPTION: serviceImpl.gameLineSubscription((com.streamlayer.sportsdata.client.bets.GameLineSubscriptionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GAME_PROPS_SUBSCRIPTION: serviceImpl.gamePropsSubscription((com.streamlayer.sportsdata.client.bets.GamePropsSubscriptionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GAME_MARKETS_SUBSCRIPTION: serviceImpl.gameMarketsSubscription((com.streamlayer.sportsdata.client.bets.GameMarketsSubscriptionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_FUTURES_SUBSCRIPTION: serviceImpl.futuresSubscription((com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest) 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( getGamePropsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.sportsdata.client.bets.GamePropsRequest, com.streamlayer.sportsdata.client.bets.GamePropsResponse>( service, METHODID_GAME_PROPS))) .addMethod( getGameMarketsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.sportsdata.client.bets.GameMarketsRequest, com.streamlayer.sportsdata.client.bets.GameMarketsResponse>( service, METHODID_GAME_MARKETS))) .addMethod( getFuturesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.sportsdata.client.bets.FuturesRequest, com.streamlayer.sportsdata.client.bets.FuturesResponse>( service, METHODID_FUTURES))) .addMethod( getGameOddsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.sportsdata.client.bets.GameOddsRequest, com.streamlayer.sportsdata.client.bets.GameOddsResponse>( service, METHODID_GAME_ODDS))) .addMethod( getGameLineMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.sportsdata.client.bets.GameLineRequest, com.streamlayer.sportsdata.client.bets.GameLineResponse>( service, METHODID_GAME_LINE))) .addMethod( getGameOddsSubscriptionMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< com.streamlayer.sportsdata.client.bets.GameOddsSubscriptionRequest, com.streamlayer.sportsdata.client.bets.GameOddsResponse>( service, METHODID_GAME_ODDS_SUBSCRIPTION))) .addMethod( getGameLineSubscriptionMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< com.streamlayer.sportsdata.client.bets.GameLineSubscriptionRequest, com.streamlayer.sportsdata.client.bets.GameLineResponse>( service, METHODID_GAME_LINE_SUBSCRIPTION))) .addMethod( getGamePropsSubscriptionMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< com.streamlayer.sportsdata.client.bets.GamePropsSubscriptionRequest, com.streamlayer.sportsdata.client.bets.GamePropsResponse>( service, METHODID_GAME_PROPS_SUBSCRIPTION))) .addMethod( getGameMarketsSubscriptionMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< com.streamlayer.sportsdata.client.bets.GameMarketsSubscriptionRequest, com.streamlayer.sportsdata.client.bets.GameMarketsResponse>( service, METHODID_GAME_MARKETS_SUBSCRIPTION))) .addMethod( getFuturesSubscriptionMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< com.streamlayer.sportsdata.client.bets.FuturesSubscriptionRequest, com.streamlayer.sportsdata.client.bets.FuturesResponse>( service, METHODID_FUTURES_SUBSCRIPTION))) .build(); } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (BetsGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .addMethod(getGamePropsMethod()) .addMethod(getGameMarketsMethod()) .addMethod(getFuturesMethod()) .addMethod(getGameOddsMethod()) .addMethod(getGameLineMethod()) .addMethod(getGameOddsSubscriptionMethod()) .addMethod(getGameLineSubscriptionMethod()) .addMethod(getGamePropsSubscriptionMethod()) .addMethod(getGameMarketsSubscriptionMethod()) .addMethod(getFuturesSubscriptionMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy