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

main.grpc.com.streamlayer.interactive.feed.FeedGrpc Maven / Gradle / Ivy

There is a newer version: 5.133.1
Show newest version
package com.streamlayer.interactive.feed;

import static io.grpc.MethodDescriptor.generateFullMethodName;

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

  private FeedGrpc() {}

  public static final java.lang.String SERVICE_NAME = "streamlayer.interactive.feed.Feed";

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

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Get",
      requestType = com.streamlayer.interactive.feed.GetRequest.class,
      responseType = com.streamlayer.interactive.feed.GetResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetMethod() {
    io.grpc.MethodDescriptor getGetMethod;
    if ((getGetMethod = FeedGrpc.getGetMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getGetMethod = FeedGrpc.getGetMethod) == null) {
          FeedGrpc.getGetMethod = getGetMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Get"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.GetRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.GetResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getGetMethod;
  }

  private static volatile io.grpc.MethodDescriptor getSubscriptionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Subscription",
      requestType = com.streamlayer.interactive.feed.SubscriptionRequest.class,
      responseType = com.streamlayer.interactive.feed.SubscriptionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getSubscriptionMethod() {
    io.grpc.MethodDescriptor getSubscriptionMethod;
    if ((getSubscriptionMethod = FeedGrpc.getSubscriptionMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getSubscriptionMethod = FeedGrpc.getSubscriptionMethod) == null) {
          FeedGrpc.getSubscriptionMethod = getSubscriptionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Subscription"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.SubscriptionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.SubscriptionResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getSubscriptionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getVotingSubscriptionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "VotingSubscription",
      requestType = com.streamlayer.interactive.feed.VotingSubscriptionRequest.class,
      responseType = com.streamlayer.interactive.feed.VotingSubscriptionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getVotingSubscriptionMethod() {
    io.grpc.MethodDescriptor getVotingSubscriptionMethod;
    if ((getVotingSubscriptionMethod = FeedGrpc.getVotingSubscriptionMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getVotingSubscriptionMethod = FeedGrpc.getVotingSubscriptionMethod) == null) {
          FeedGrpc.getVotingSubscriptionMethod = getVotingSubscriptionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "VotingSubscription"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.VotingSubscriptionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.VotingSubscriptionResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getVotingSubscriptionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getQuestionSubscriptionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "QuestionSubscription",
      requestType = com.streamlayer.interactive.feed.QuestionSubscriptionRequest.class,
      responseType = com.streamlayer.interactive.feed.QuestionSubscriptionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getQuestionSubscriptionMethod() {
    io.grpc.MethodDescriptor getQuestionSubscriptionMethod;
    if ((getQuestionSubscriptionMethod = FeedGrpc.getQuestionSubscriptionMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getQuestionSubscriptionMethod = FeedGrpc.getQuestionSubscriptionMethod) == null) {
          FeedGrpc.getQuestionSubscriptionMethod = getQuestionSubscriptionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QuestionSubscription"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.QuestionSubscriptionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.QuestionSubscriptionResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getQuestionSubscriptionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getQuestionByUserMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "QuestionByUser",
      requestType = com.streamlayer.interactive.feed.QuestionByUserRequest.class,
      responseType = com.streamlayer.interactive.feed.QuestionByUserResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getQuestionByUserMethod() {
    io.grpc.MethodDescriptor getQuestionByUserMethod;
    if ((getQuestionByUserMethod = FeedGrpc.getQuestionByUserMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getQuestionByUserMethod = FeedGrpc.getQuestionByUserMethod) == null) {
          FeedGrpc.getQuestionByUserMethod = getQuestionByUserMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QuestionByUser"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.QuestionByUserRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.QuestionByUserResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getQuestionByUserMethod;
  }

  private static volatile io.grpc.MethodDescriptor getSyncQuestionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "SyncQuestion",
      requestType = com.streamlayer.interactive.feed.SyncQuestionRequest.class,
      responseType = com.streamlayer.interactive.feed.SyncQuestionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getSyncQuestionMethod() {
    io.grpc.MethodDescriptor getSyncQuestionMethod;
    if ((getSyncQuestionMethod = FeedGrpc.getSyncQuestionMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getSyncQuestionMethod = FeedGrpc.getSyncQuestionMethod) == null) {
          FeedGrpc.getSyncQuestionMethod = getSyncQuestionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SyncQuestion"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.SyncQuestionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.SyncQuestionResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getSyncQuestionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetQuestionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetQuestion",
      requestType = com.streamlayer.interactive.feed.GetQuestionRequest.class,
      responseType = com.streamlayer.interactive.feed.GetQuestionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetQuestionMethod() {
    io.grpc.MethodDescriptor getGetQuestionMethod;
    if ((getGetQuestionMethod = FeedGrpc.getGetQuestionMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getGetQuestionMethod = FeedGrpc.getGetQuestionMethod) == null) {
          FeedGrpc.getGetQuestionMethod = getGetQuestionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQuestion"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.GetQuestionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.GetQuestionResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getGetQuestionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getQuestionDetailMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "QuestionDetail",
      requestType = com.streamlayer.interactive.feed.QuestionDetailRequest.class,
      responseType = com.streamlayer.interactive.feed.QuestionDetailResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getQuestionDetailMethod() {
    io.grpc.MethodDescriptor getQuestionDetailMethod;
    if ((getQuestionDetailMethod = FeedGrpc.getQuestionDetailMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getQuestionDetailMethod = FeedGrpc.getQuestionDetailMethod) == null) {
          FeedGrpc.getQuestionDetailMethod = getQuestionDetailMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QuestionDetail"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.QuestionDetailRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.QuestionDetailResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getQuestionDetailMethod;
  }

  private static volatile io.grpc.MethodDescriptor getSubmitAnswerMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "SubmitAnswer",
      requestType = com.streamlayer.interactive.feed.SubmitAnswerRequest.class,
      responseType = com.streamlayer.interactive.feed.SubmitAnswerResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getSubmitAnswerMethod() {
    io.grpc.MethodDescriptor getSubmitAnswerMethod;
    if ((getSubmitAnswerMethod = FeedGrpc.getSubmitAnswerMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getSubmitAnswerMethod = FeedGrpc.getSubmitAnswerMethod) == null) {
          FeedGrpc.getSubmitAnswerMethod = getSubmitAnswerMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SubmitAnswer"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.SubmitAnswerRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.SubmitAnswerResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getSubmitAnswerMethod;
  }

  private static volatile io.grpc.MethodDescriptor getSubmitInplayMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "SubmitInplay",
      requestType = com.streamlayer.interactive.feed.SubmitInplayRequest.class,
      responseType = com.streamlayer.interactive.feed.SubmitInplayResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getSubmitInplayMethod() {
    io.grpc.MethodDescriptor getSubmitInplayMethod;
    if ((getSubmitInplayMethod = FeedGrpc.getSubmitInplayMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getSubmitInplayMethod = FeedGrpc.getSubmitInplayMethod) == null) {
          FeedGrpc.getSubmitInplayMethod = getSubmitInplayMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SubmitInplay"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.SubmitInplayRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.SubmitInplayResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getSubmitInplayMethod;
  }

  private static volatile io.grpc.MethodDescriptor getSkipQuestionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "SkipQuestion",
      requestType = com.streamlayer.interactive.feed.SkipQuestionRequest.class,
      responseType = com.streamlayer.interactive.feed.SkipQuestionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getSkipQuestionMethod() {
    io.grpc.MethodDescriptor getSkipQuestionMethod;
    if ((getSkipQuestionMethod = FeedGrpc.getSkipQuestionMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getSkipQuestionMethod = FeedGrpc.getSkipQuestionMethod) == null) {
          FeedGrpc.getSkipQuestionMethod = getSkipQuestionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SkipQuestion"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.SkipQuestionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.SkipQuestionResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getSkipQuestionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getPickHistoryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "PickHistory",
      requestType = com.streamlayer.interactive.feed.PickHistoryRequest.class,
      responseType = com.streamlayer.interactive.feed.PickHistoryResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getPickHistoryMethod() {
    io.grpc.MethodDescriptor getPickHistoryMethod;
    if ((getPickHistoryMethod = FeedGrpc.getPickHistoryMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getPickHistoryMethod = FeedGrpc.getPickHistoryMethod) == null) {
          FeedGrpc.getPickHistoryMethod = getPickHistoryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PickHistory"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.PickHistoryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.PickHistoryResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getPickHistoryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getInsightHistoryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "InsightHistory",
      requestType = com.streamlayer.interactive.feed.InsightHistoryRequest.class,
      responseType = com.streamlayer.interactive.feed.InsightHistoryResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getInsightHistoryMethod() {
    io.grpc.MethodDescriptor getInsightHistoryMethod;
    if ((getInsightHistoryMethod = FeedGrpc.getInsightHistoryMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getInsightHistoryMethod = FeedGrpc.getInsightHistoryMethod) == null) {
          FeedGrpc.getInsightHistoryMethod = getInsightHistoryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InsightHistory"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.InsightHistoryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.InsightHistoryResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getInsightHistoryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getTweetHistoryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "TweetHistory",
      requestType = com.streamlayer.interactive.feed.TweetHistoryRequest.class,
      responseType = com.streamlayer.interactive.feed.TweetHistoryResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getTweetHistoryMethod() {
    io.grpc.MethodDescriptor getTweetHistoryMethod;
    if ((getTweetHistoryMethod = FeedGrpc.getTweetHistoryMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getTweetHistoryMethod = FeedGrpc.getTweetHistoryMethod) == null) {
          FeedGrpc.getTweetHistoryMethod = getTweetHistoryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TweetHistory"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.TweetHistoryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.TweetHistoryResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getTweetHistoryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getPromotionHistoryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "PromotionHistory",
      requestType = com.streamlayer.interactive.feed.PromotionHistoryRequest.class,
      responseType = com.streamlayer.interactive.feed.PromotionHistoryResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getPromotionHistoryMethod() {
    io.grpc.MethodDescriptor getPromotionHistoryMethod;
    if ((getPromotionHistoryMethod = FeedGrpc.getPromotionHistoryMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getPromotionHistoryMethod = FeedGrpc.getPromotionHistoryMethod) == null) {
          FeedGrpc.getPromotionHistoryMethod = getPromotionHistoryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PromotionHistory"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.PromotionHistoryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.PromotionHistoryResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getPromotionHistoryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "List",
      requestType = com.streamlayer.interactive.feed.FeedListRequest.class,
      responseType = com.streamlayer.interactive.feed.FeedListResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getListMethod() {
    io.grpc.MethodDescriptor getListMethod;
    if ((getListMethod = FeedGrpc.getListMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getListMethod = FeedGrpc.getListMethod) == null) {
          FeedGrpc.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.interactive.feed.FeedListRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.FeedListResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getListMethod;
  }

  private static volatile io.grpc.MethodDescriptor getFeedSubscriptionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "FeedSubscription",
      requestType = com.streamlayer.interactive.feed.FeedSubscriptionRequest.class,
      responseType = com.streamlayer.interactive.feed.FeedSubscriptionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getFeedSubscriptionMethod() {
    io.grpc.MethodDescriptor getFeedSubscriptionMethod;
    if ((getFeedSubscriptionMethod = FeedGrpc.getFeedSubscriptionMethod) == null) {
      synchronized (FeedGrpc.class) {
        if ((getFeedSubscriptionMethod = FeedGrpc.getFeedSubscriptionMethod) == null) {
          FeedGrpc.getFeedSubscriptionMethod = getFeedSubscriptionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FeedSubscription"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.FeedSubscriptionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
                  com.streamlayer.interactive.feed.FeedSubscriptionResponse.getDefaultInstance()))
              .build();
        }
      }
    }
    return getFeedSubscriptionMethod;
  }

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

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

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

  /**
   */
  public interface AsyncService {

    /**
     */
    default void get(com.streamlayer.interactive.feed.GetRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMethod(), responseObserver);
    }

    /**
     */
    default void subscription(com.streamlayer.interactive.feed.SubscriptionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubscriptionMethod(), responseObserver);
    }

    /**
     */
    default void votingSubscription(com.streamlayer.interactive.feed.VotingSubscriptionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getVotingSubscriptionMethod(), responseObserver);
    }

    /**
     */
    default void questionSubscription(com.streamlayer.interactive.feed.QuestionSubscriptionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQuestionSubscriptionMethod(), responseObserver);
    }

    /**
     */
    default void questionByUser(com.streamlayer.interactive.feed.QuestionByUserRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQuestionByUserMethod(), responseObserver);
    }

    /**
     */
    default void syncQuestion(com.streamlayer.interactive.feed.SyncQuestionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSyncQuestionMethod(), responseObserver);
    }

    /**
     */
    default void getQuestion(com.streamlayer.interactive.feed.GetQuestionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQuestionMethod(), responseObserver);
    }

    /**
     */
    default void questionDetail(com.streamlayer.interactive.feed.QuestionDetailRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQuestionDetailMethod(), responseObserver);
    }

    /**
     */
    default void submitAnswer(com.streamlayer.interactive.feed.SubmitAnswerRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubmitAnswerMethod(), responseObserver);
    }

    /**
     */
    default void submitInplay(com.streamlayer.interactive.feed.SubmitInplayRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubmitInplayMethod(), responseObserver);
    }

    /**
     */
    default void skipQuestion(com.streamlayer.interactive.feed.SkipQuestionRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSkipQuestionMethod(), responseObserver);
    }

    /**
     */
    default void pickHistory(com.streamlayer.interactive.feed.PickHistoryRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPickHistoryMethod(), responseObserver);
    }

    /**
     */
    default void insightHistory(com.streamlayer.interactive.feed.InsightHistoryRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInsightHistoryMethod(), responseObserver);
    }

    /**
     */
    default void tweetHistory(com.streamlayer.interactive.feed.TweetHistoryRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTweetHistoryMethod(), responseObserver);
    }

    /**
     */
    default void promotionHistory(com.streamlayer.interactive.feed.PromotionHistoryRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPromotionHistoryMethod(), responseObserver);
    }

    /**
     */
    default void list(com.streamlayer.interactive.feed.FeedListRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMethod(), responseObserver);
    }

    /**
     * 
     * not implemented!!!
     * 
*/ default void feedSubscription(com.streamlayer.interactive.feed.FeedSubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFeedSubscriptionMethod(), responseObserver); } } /** * Base class for the server implementation of the service Feed. */ public static abstract class FeedImplBase implements io.grpc.BindableService, AsyncService { @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return FeedGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service Feed. */ public static final class FeedStub extends io.grpc.stub.AbstractAsyncStub { private FeedStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected FeedStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new FeedStub(channel, callOptions); } /** */ public void get(com.streamlayer.interactive.feed.GetRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetMethod(), getCallOptions()), request, responseObserver); } /** */ public void subscription(com.streamlayer.interactive.feed.SubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getSubscriptionMethod(), getCallOptions()), request, responseObserver); } /** */ public void votingSubscription(com.streamlayer.interactive.feed.VotingSubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getVotingSubscriptionMethod(), getCallOptions()), request, responseObserver); } /** */ public void questionSubscription(com.streamlayer.interactive.feed.QuestionSubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getQuestionSubscriptionMethod(), getCallOptions()), request, responseObserver); } /** */ public void questionByUser(com.streamlayer.interactive.feed.QuestionByUserRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getQuestionByUserMethod(), getCallOptions()), request, responseObserver); } /** */ public void syncQuestion(com.streamlayer.interactive.feed.SyncQuestionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSyncQuestionMethod(), getCallOptions()), request, responseObserver); } /** */ public void getQuestion(com.streamlayer.interactive.feed.GetQuestionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQuestionMethod(), getCallOptions()), request, responseObserver); } /** */ public void questionDetail(com.streamlayer.interactive.feed.QuestionDetailRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getQuestionDetailMethod(), getCallOptions()), request, responseObserver); } /** */ public void submitAnswer(com.streamlayer.interactive.feed.SubmitAnswerRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSubmitAnswerMethod(), getCallOptions()), request, responseObserver); } /** */ public void submitInplay(com.streamlayer.interactive.feed.SubmitInplayRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSubmitInplayMethod(), getCallOptions()), request, responseObserver); } /** */ public void skipQuestion(com.streamlayer.interactive.feed.SkipQuestionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSkipQuestionMethod(), getCallOptions()), request, responseObserver); } /** */ public void pickHistory(com.streamlayer.interactive.feed.PickHistoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPickHistoryMethod(), getCallOptions()), request, responseObserver); } /** */ public void insightHistory(com.streamlayer.interactive.feed.InsightHistoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getInsightHistoryMethod(), getCallOptions()), request, responseObserver); } /** */ public void tweetHistory(com.streamlayer.interactive.feed.TweetHistoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getTweetHistoryMethod(), getCallOptions()), request, responseObserver); } /** */ public void promotionHistory(com.streamlayer.interactive.feed.PromotionHistoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPromotionHistoryMethod(), getCallOptions()), request, responseObserver); } /** */ public void list(com.streamlayer.interactive.feed.FeedListRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListMethod(), getCallOptions()), request, responseObserver); } /** *
     * not implemented!!!
     * 
*/ public void feedSubscription(com.streamlayer.interactive.feed.FeedSubscriptionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getFeedSubscriptionMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service Feed. */ public static final class FeedBlockingStub extends io.grpc.stub.AbstractBlockingStub { private FeedBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected FeedBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new FeedBlockingStub(channel, callOptions); } /** */ public com.streamlayer.interactive.feed.GetResponse get(com.streamlayer.interactive.feed.GetRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetMethod(), getCallOptions(), request); } /** */ public java.util.Iterator subscription( com.streamlayer.interactive.feed.SubscriptionRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getSubscriptionMethod(), getCallOptions(), request); } /** */ public java.util.Iterator votingSubscription( com.streamlayer.interactive.feed.VotingSubscriptionRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getVotingSubscriptionMethod(), getCallOptions(), request); } /** */ public java.util.Iterator questionSubscription( com.streamlayer.interactive.feed.QuestionSubscriptionRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getQuestionSubscriptionMethod(), getCallOptions(), request); } /** */ public com.streamlayer.interactive.feed.QuestionByUserResponse questionByUser(com.streamlayer.interactive.feed.QuestionByUserRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getQuestionByUserMethod(), getCallOptions(), request); } /** */ public com.streamlayer.interactive.feed.SyncQuestionResponse syncQuestion(com.streamlayer.interactive.feed.SyncQuestionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSyncQuestionMethod(), getCallOptions(), request); } /** */ public com.streamlayer.interactive.feed.GetQuestionResponse getQuestion(com.streamlayer.interactive.feed.GetQuestionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQuestionMethod(), getCallOptions(), request); } /** */ public com.streamlayer.interactive.feed.QuestionDetailResponse questionDetail(com.streamlayer.interactive.feed.QuestionDetailRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getQuestionDetailMethod(), getCallOptions(), request); } /** */ public com.streamlayer.interactive.feed.SubmitAnswerResponse submitAnswer(com.streamlayer.interactive.feed.SubmitAnswerRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSubmitAnswerMethod(), getCallOptions(), request); } /** */ public com.streamlayer.interactive.feed.SubmitInplayResponse submitInplay(com.streamlayer.interactive.feed.SubmitInplayRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSubmitInplayMethod(), getCallOptions(), request); } /** */ public com.streamlayer.interactive.feed.SkipQuestionResponse skipQuestion(com.streamlayer.interactive.feed.SkipQuestionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSkipQuestionMethod(), getCallOptions(), request); } /** */ public com.streamlayer.interactive.feed.PickHistoryResponse pickHistory(com.streamlayer.interactive.feed.PickHistoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPickHistoryMethod(), getCallOptions(), request); } /** */ public com.streamlayer.interactive.feed.InsightHistoryResponse insightHistory(com.streamlayer.interactive.feed.InsightHistoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getInsightHistoryMethod(), getCallOptions(), request); } /** */ public com.streamlayer.interactive.feed.TweetHistoryResponse tweetHistory(com.streamlayer.interactive.feed.TweetHistoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTweetHistoryMethod(), getCallOptions(), request); } /** */ public com.streamlayer.interactive.feed.PromotionHistoryResponse promotionHistory(com.streamlayer.interactive.feed.PromotionHistoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPromotionHistoryMethod(), getCallOptions(), request); } /** */ public com.streamlayer.interactive.feed.FeedListResponse list(com.streamlayer.interactive.feed.FeedListRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListMethod(), getCallOptions(), request); } /** *
     * not implemented!!!
     * 
*/ public java.util.Iterator feedSubscription( com.streamlayer.interactive.feed.FeedSubscriptionRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getFeedSubscriptionMethod(), getCallOptions(), request); } } /** * A stub to allow clients to do ListenableFuture-style rpc calls to service Feed. */ public static final class FeedFutureStub extends io.grpc.stub.AbstractFutureStub { private FeedFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected FeedFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new FeedFutureStub(channel, callOptions); } /** */ public com.google.common.util.concurrent.ListenableFuture get( com.streamlayer.interactive.feed.GetRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture questionByUser( com.streamlayer.interactive.feed.QuestionByUserRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getQuestionByUserMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture syncQuestion( com.streamlayer.interactive.feed.SyncQuestionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSyncQuestionMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getQuestion( com.streamlayer.interactive.feed.GetQuestionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQuestionMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture questionDetail( com.streamlayer.interactive.feed.QuestionDetailRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getQuestionDetailMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture submitAnswer( com.streamlayer.interactive.feed.SubmitAnswerRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSubmitAnswerMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture submitInplay( com.streamlayer.interactive.feed.SubmitInplayRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSubmitInplayMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture skipQuestion( com.streamlayer.interactive.feed.SkipQuestionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSkipQuestionMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture pickHistory( com.streamlayer.interactive.feed.PickHistoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPickHistoryMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture insightHistory( com.streamlayer.interactive.feed.InsightHistoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getInsightHistoryMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture tweetHistory( com.streamlayer.interactive.feed.TweetHistoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTweetHistoryMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture promotionHistory( com.streamlayer.interactive.feed.PromotionHistoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPromotionHistoryMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture list( com.streamlayer.interactive.feed.FeedListRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListMethod(), getCallOptions()), request); } } private static final int METHODID_GET = 0; private static final int METHODID_SUBSCRIPTION = 1; private static final int METHODID_VOTING_SUBSCRIPTION = 2; private static final int METHODID_QUESTION_SUBSCRIPTION = 3; private static final int METHODID_QUESTION_BY_USER = 4; private static final int METHODID_SYNC_QUESTION = 5; private static final int METHODID_GET_QUESTION = 6; private static final int METHODID_QUESTION_DETAIL = 7; private static final int METHODID_SUBMIT_ANSWER = 8; private static final int METHODID_SUBMIT_INPLAY = 9; private static final int METHODID_SKIP_QUESTION = 10; private static final int METHODID_PICK_HISTORY = 11; private static final int METHODID_INSIGHT_HISTORY = 12; private static final int METHODID_TWEET_HISTORY = 13; private static final int METHODID_PROMOTION_HISTORY = 14; private static final int METHODID_LIST = 15; private static final int METHODID_FEED_SUBSCRIPTION = 16; 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_GET: serviceImpl.get((com.streamlayer.interactive.feed.GetRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUBSCRIPTION: serviceImpl.subscription((com.streamlayer.interactive.feed.SubscriptionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_VOTING_SUBSCRIPTION: serviceImpl.votingSubscription((com.streamlayer.interactive.feed.VotingSubscriptionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_QUESTION_SUBSCRIPTION: serviceImpl.questionSubscription((com.streamlayer.interactive.feed.QuestionSubscriptionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_QUESTION_BY_USER: serviceImpl.questionByUser((com.streamlayer.interactive.feed.QuestionByUserRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SYNC_QUESTION: serviceImpl.syncQuestion((com.streamlayer.interactive.feed.SyncQuestionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_QUESTION: serviceImpl.getQuestion((com.streamlayer.interactive.feed.GetQuestionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_QUESTION_DETAIL: serviceImpl.questionDetail((com.streamlayer.interactive.feed.QuestionDetailRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUBMIT_ANSWER: serviceImpl.submitAnswer((com.streamlayer.interactive.feed.SubmitAnswerRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SUBMIT_INPLAY: serviceImpl.submitInplay((com.streamlayer.interactive.feed.SubmitInplayRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SKIP_QUESTION: serviceImpl.skipQuestion((com.streamlayer.interactive.feed.SkipQuestionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_PICK_HISTORY: serviceImpl.pickHistory((com.streamlayer.interactive.feed.PickHistoryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_INSIGHT_HISTORY: serviceImpl.insightHistory((com.streamlayer.interactive.feed.InsightHistoryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TWEET_HISTORY: serviceImpl.tweetHistory((com.streamlayer.interactive.feed.TweetHistoryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_PROMOTION_HISTORY: serviceImpl.promotionHistory((com.streamlayer.interactive.feed.PromotionHistoryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST: serviceImpl.list((com.streamlayer.interactive.feed.FeedListRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_FEED_SUBSCRIPTION: serviceImpl.feedSubscription((com.streamlayer.interactive.feed.FeedSubscriptionRequest) 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( getGetMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.interactive.feed.GetRequest, com.streamlayer.interactive.feed.GetResponse>( service, METHODID_GET))) .addMethod( getSubscriptionMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< com.streamlayer.interactive.feed.SubscriptionRequest, com.streamlayer.interactive.feed.SubscriptionResponse>( service, METHODID_SUBSCRIPTION))) .addMethod( getVotingSubscriptionMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< com.streamlayer.interactive.feed.VotingSubscriptionRequest, com.streamlayer.interactive.feed.VotingSubscriptionResponse>( service, METHODID_VOTING_SUBSCRIPTION))) .addMethod( getQuestionSubscriptionMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< com.streamlayer.interactive.feed.QuestionSubscriptionRequest, com.streamlayer.interactive.feed.QuestionSubscriptionResponse>( service, METHODID_QUESTION_SUBSCRIPTION))) .addMethod( getQuestionByUserMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.interactive.feed.QuestionByUserRequest, com.streamlayer.interactive.feed.QuestionByUserResponse>( service, METHODID_QUESTION_BY_USER))) .addMethod( getSyncQuestionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.interactive.feed.SyncQuestionRequest, com.streamlayer.interactive.feed.SyncQuestionResponse>( service, METHODID_SYNC_QUESTION))) .addMethod( getGetQuestionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.interactive.feed.GetQuestionRequest, com.streamlayer.interactive.feed.GetQuestionResponse>( service, METHODID_GET_QUESTION))) .addMethod( getQuestionDetailMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.interactive.feed.QuestionDetailRequest, com.streamlayer.interactive.feed.QuestionDetailResponse>( service, METHODID_QUESTION_DETAIL))) .addMethod( getSubmitAnswerMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.interactive.feed.SubmitAnswerRequest, com.streamlayer.interactive.feed.SubmitAnswerResponse>( service, METHODID_SUBMIT_ANSWER))) .addMethod( getSubmitInplayMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.interactive.feed.SubmitInplayRequest, com.streamlayer.interactive.feed.SubmitInplayResponse>( service, METHODID_SUBMIT_INPLAY))) .addMethod( getSkipQuestionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.interactive.feed.SkipQuestionRequest, com.streamlayer.interactive.feed.SkipQuestionResponse>( service, METHODID_SKIP_QUESTION))) .addMethod( getPickHistoryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.interactive.feed.PickHistoryRequest, com.streamlayer.interactive.feed.PickHistoryResponse>( service, METHODID_PICK_HISTORY))) .addMethod( getInsightHistoryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.interactive.feed.InsightHistoryRequest, com.streamlayer.interactive.feed.InsightHistoryResponse>( service, METHODID_INSIGHT_HISTORY))) .addMethod( getTweetHistoryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.interactive.feed.TweetHistoryRequest, com.streamlayer.interactive.feed.TweetHistoryResponse>( service, METHODID_TWEET_HISTORY))) .addMethod( getPromotionHistoryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.interactive.feed.PromotionHistoryRequest, com.streamlayer.interactive.feed.PromotionHistoryResponse>( service, METHODID_PROMOTION_HISTORY))) .addMethod( getListMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.streamlayer.interactive.feed.FeedListRequest, com.streamlayer.interactive.feed.FeedListResponse>( service, METHODID_LIST))) .addMethod( getFeedSubscriptionMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< com.streamlayer.interactive.feed.FeedSubscriptionRequest, com.streamlayer.interactive.feed.FeedSubscriptionResponse>( service, METHODID_FEED_SUBSCRIPTION))) .build(); } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (FeedGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .addMethod(getGetMethod()) .addMethod(getSubscriptionMethod()) .addMethod(getVotingSubscriptionMethod()) .addMethod(getQuestionSubscriptionMethod()) .addMethod(getQuestionByUserMethod()) .addMethod(getSyncQuestionMethod()) .addMethod(getGetQuestionMethod()) .addMethod(getQuestionDetailMethod()) .addMethod(getSubmitAnswerMethod()) .addMethod(getSubmitInplayMethod()) .addMethod(getSkipQuestionMethod()) .addMethod(getPickHistoryMethod()) .addMethod(getInsightHistoryMethod()) .addMethod(getTweetHistoryMethod()) .addMethod(getPromotionHistoryMethod()) .addMethod(getListMethod()) .addMethod(getFeedSubscriptionMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy