main.grpc.com.streamlayer.analytics.studio.v2.DashboardGrpc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
package com.streamlayer.analytics.studio.v2;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.65.1)",
comments = "Source: streamlayer/analytics/v2/studio/dashboard.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class DashboardGrpc {
private DashboardGrpc() {}
public static final java.lang.String SERVICE_NAME = "streamlayer.analytics.v2.studio.Dashboard";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getDashboardOverviewMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DashboardOverview",
requestType = com.streamlayer.analytics.studio.v2.DashboardOverviewRequest.class,
responseType = com.streamlayer.analytics.studio.v2.DashboardOverviewResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDashboardOverviewMethod() {
io.grpc.MethodDescriptor getDashboardOverviewMethod;
if ((getDashboardOverviewMethod = DashboardGrpc.getDashboardOverviewMethod) == null) {
synchronized (DashboardGrpc.class) {
if ((getDashboardOverviewMethod = DashboardGrpc.getDashboardOverviewMethod) == null) {
DashboardGrpc.getDashboardOverviewMethod = getDashboardOverviewMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DashboardOverview"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.DashboardOverviewRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.DashboardOverviewResponse.getDefaultInstance()))
.build();
}
}
}
return getDashboardOverviewMethod;
}
private static volatile io.grpc.MethodDescriptor getFeaturedGroupsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "FeaturedGroups",
requestType = com.streamlayer.analytics.studio.v2.FeaturedGroupsRequest.class,
responseType = com.streamlayer.analytics.studio.v2.FeaturedGroupsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getFeaturedGroupsMethod() {
io.grpc.MethodDescriptor getFeaturedGroupsMethod;
if ((getFeaturedGroupsMethod = DashboardGrpc.getFeaturedGroupsMethod) == null) {
synchronized (DashboardGrpc.class) {
if ((getFeaturedGroupsMethod = DashboardGrpc.getFeaturedGroupsMethod) == null) {
DashboardGrpc.getFeaturedGroupsMethod = getFeaturedGroupsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "FeaturedGroups"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.FeaturedGroupsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.FeaturedGroupsResponse.getDefaultInstance()))
.build();
}
}
}
return getFeaturedGroupsMethod;
}
private static volatile io.grpc.MethodDescriptor getWpMetricsByTimeLineMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "WpMetricsByTimeLine",
requestType = com.streamlayer.analytics.studio.v2.WpMetricsByTimeLineRequest.class,
responseType = com.streamlayer.analytics.studio.v2.WpMetricsByTimeLineResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getWpMetricsByTimeLineMethod() {
io.grpc.MethodDescriptor getWpMetricsByTimeLineMethod;
if ((getWpMetricsByTimeLineMethod = DashboardGrpc.getWpMetricsByTimeLineMethod) == null) {
synchronized (DashboardGrpc.class) {
if ((getWpMetricsByTimeLineMethod = DashboardGrpc.getWpMetricsByTimeLineMethod) == null) {
DashboardGrpc.getWpMetricsByTimeLineMethod = getWpMetricsByTimeLineMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "WpMetricsByTimeLine"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.WpMetricsByTimeLineRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.WpMetricsByTimeLineResponse.getDefaultInstance()))
.build();
}
}
}
return getWpMetricsByTimeLineMethod;
}
private static volatile io.grpc.MethodDescriptor getUsersByTimeLineMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UsersByTimeLine",
requestType = com.streamlayer.analytics.studio.v2.UsersByTimeLineRequest.class,
responseType = com.streamlayer.analytics.studio.v2.UsersByTimeLineResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUsersByTimeLineMethod() {
io.grpc.MethodDescriptor getUsersByTimeLineMethod;
if ((getUsersByTimeLineMethod = DashboardGrpc.getUsersByTimeLineMethod) == null) {
synchronized (DashboardGrpc.class) {
if ((getUsersByTimeLineMethod = DashboardGrpc.getUsersByTimeLineMethod) == null) {
DashboardGrpc.getUsersByTimeLineMethod = getUsersByTimeLineMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UsersByTimeLine"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.UsersByTimeLineRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.UsersByTimeLineResponse.getDefaultInstance()))
.build();
}
}
}
return getUsersByTimeLineMethod;
}
private static volatile io.grpc.MethodDescriptor getPollsTotalMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PollsTotal",
requestType = com.streamlayer.analytics.studio.v2.PollsTotalRequest.class,
responseType = com.streamlayer.analytics.polls.v1.TotalPollsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPollsTotalMethod() {
io.grpc.MethodDescriptor getPollsTotalMethod;
if ((getPollsTotalMethod = DashboardGrpc.getPollsTotalMethod) == null) {
synchronized (DashboardGrpc.class) {
if ((getPollsTotalMethod = DashboardGrpc.getPollsTotalMethod) == null) {
DashboardGrpc.getPollsTotalMethod = getPollsTotalMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PollsTotal"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.PollsTotalRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.polls.v1.TotalPollsResponse.getDefaultInstance()))
.build();
}
}
}
return getPollsTotalMethod;
}
private static volatile io.grpc.MethodDescriptor getPollsStatsByTimeLineMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PollsStatsByTimeLine",
requestType = com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineRequest.class,
responseType = com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPollsStatsByTimeLineMethod() {
io.grpc.MethodDescriptor getPollsStatsByTimeLineMethod;
if ((getPollsStatsByTimeLineMethod = DashboardGrpc.getPollsStatsByTimeLineMethod) == null) {
synchronized (DashboardGrpc.class) {
if ((getPollsStatsByTimeLineMethod = DashboardGrpc.getPollsStatsByTimeLineMethod) == null) {
DashboardGrpc.getPollsStatsByTimeLineMethod = getPollsStatsByTimeLineMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PollsStatsByTimeLine"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponse.getDefaultInstance()))
.build();
}
}
}
return getPollsStatsByTimeLineMethod;
}
private static volatile io.grpc.MethodDescriptor getDeviceInteractionsByTimeLineMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeviceInteractionsByTimeLine",
requestType = com.streamlayer.analytics.studio.v2.DeviceInteractionsByTimeLineRequest.class,
responseType = com.streamlayer.analytics.studio.v2.DeviceInteractionsByTimeLineResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeviceInteractionsByTimeLineMethod() {
io.grpc.MethodDescriptor getDeviceInteractionsByTimeLineMethod;
if ((getDeviceInteractionsByTimeLineMethod = DashboardGrpc.getDeviceInteractionsByTimeLineMethod) == null) {
synchronized (DashboardGrpc.class) {
if ((getDeviceInteractionsByTimeLineMethod = DashboardGrpc.getDeviceInteractionsByTimeLineMethod) == null) {
DashboardGrpc.getDeviceInteractionsByTimeLineMethod = getDeviceInteractionsByTimeLineMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeviceInteractionsByTimeLine"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.DeviceInteractionsByTimeLineRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.DeviceInteractionsByTimeLineResponse.getDefaultInstance()))
.build();
}
}
}
return getDeviceInteractionsByTimeLineMethod;
}
private static volatile io.grpc.MethodDescriptor getListCountriesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListCountries",
requestType = com.streamlayer.analytics.studio.v2.ListCountriesRequest.class,
responseType = com.streamlayer.analytics.studio.v2.ListCountriesResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListCountriesMethod() {
io.grpc.MethodDescriptor getListCountriesMethod;
if ((getListCountriesMethod = DashboardGrpc.getListCountriesMethod) == null) {
synchronized (DashboardGrpc.class) {
if ((getListCountriesMethod = DashboardGrpc.getListCountriesMethod) == null) {
DashboardGrpc.getListCountriesMethod = getListCountriesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCountries"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.ListCountriesRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.ListCountriesResponse.getDefaultInstance()))
.build();
}
}
}
return getListCountriesMethod;
}
private static volatile io.grpc.MethodDescriptor getAdConversionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "AdConversion",
requestType = com.streamlayer.analytics.studio.v2.AdConversionRequest.class,
responseType = com.streamlayer.analytics.studio.v2.AdConversionResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getAdConversionMethod() {
io.grpc.MethodDescriptor getAdConversionMethod;
if ((getAdConversionMethod = DashboardGrpc.getAdConversionMethod) == null) {
synchronized (DashboardGrpc.class) {
if ((getAdConversionMethod = DashboardGrpc.getAdConversionMethod) == null) {
DashboardGrpc.getAdConversionMethod = getAdConversionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "AdConversion"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.AdConversionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.analytics.studio.v2.AdConversionResponse.getDefaultInstance()))
.build();
}
}
}
return getAdConversionMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static DashboardStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public DashboardStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DashboardStub(channel, callOptions);
}
};
return DashboardStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static DashboardBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public DashboardBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DashboardBlockingStub(channel, callOptions);
}
};
return DashboardBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static DashboardFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public DashboardFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DashboardFutureStub(channel, callOptions);
}
};
return DashboardFutureStub.newStub(factory, channel);
}
/**
*/
public interface AsyncService {
/**
*/
default void dashboardOverview(com.streamlayer.analytics.studio.v2.DashboardOverviewRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDashboardOverviewMethod(), responseObserver);
}
/**
*/
default void featuredGroups(com.streamlayer.analytics.studio.v2.FeaturedGroupsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFeaturedGroupsMethod(), responseObserver);
}
/**
*/
default void wpMetricsByTimeLine(com.streamlayer.analytics.studio.v2.WpMetricsByTimeLineRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getWpMetricsByTimeLineMethod(), responseObserver);
}
/**
*/
default void usersByTimeLine(com.streamlayer.analytics.studio.v2.UsersByTimeLineRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUsersByTimeLineMethod(), responseObserver);
}
/**
*/
default void pollsTotal(com.streamlayer.analytics.studio.v2.PollsTotalRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPollsTotalMethod(), responseObserver);
}
/**
*/
default void pollsStatsByTimeLine(com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPollsStatsByTimeLineMethod(), responseObserver);
}
/**
*/
default void deviceInteractionsByTimeLine(com.streamlayer.analytics.studio.v2.DeviceInteractionsByTimeLineRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeviceInteractionsByTimeLineMethod(), responseObserver);
}
/**
*/
default void listCountries(com.streamlayer.analytics.studio.v2.ListCountriesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCountriesMethod(), responseObserver);
}
/**
*/
default void adConversion(com.streamlayer.analytics.studio.v2.AdConversionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAdConversionMethod(), responseObserver);
}
}
/**
* Base class for the server implementation of the service Dashboard.
*/
public static abstract class DashboardImplBase
implements io.grpc.BindableService, AsyncService {
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return DashboardGrpc.bindService(this);
}
}
/**
* A stub to allow clients to do asynchronous rpc calls to service Dashboard.
*/
public static final class DashboardStub
extends io.grpc.stub.AbstractAsyncStub {
private DashboardStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DashboardStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DashboardStub(channel, callOptions);
}
/**
*/
public void dashboardOverview(com.streamlayer.analytics.studio.v2.DashboardOverviewRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDashboardOverviewMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void featuredGroups(com.streamlayer.analytics.studio.v2.FeaturedGroupsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getFeaturedGroupsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void wpMetricsByTimeLine(com.streamlayer.analytics.studio.v2.WpMetricsByTimeLineRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getWpMetricsByTimeLineMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void usersByTimeLine(com.streamlayer.analytics.studio.v2.UsersByTimeLineRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUsersByTimeLineMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void pollsTotal(com.streamlayer.analytics.studio.v2.PollsTotalRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getPollsTotalMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void pollsStatsByTimeLine(com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getPollsStatsByTimeLineMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void deviceInteractionsByTimeLine(com.streamlayer.analytics.studio.v2.DeviceInteractionsByTimeLineRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeviceInteractionsByTimeLineMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listCountries(com.streamlayer.analytics.studio.v2.ListCountriesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListCountriesMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void adConversion(com.streamlayer.analytics.studio.v2.AdConversionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAdConversionMethod(), getCallOptions()), request, responseObserver);
}
}
/**
* A stub to allow clients to do synchronous rpc calls to service Dashboard.
*/
public static final class DashboardBlockingStub
extends io.grpc.stub.AbstractBlockingStub {
private DashboardBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DashboardBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DashboardBlockingStub(channel, callOptions);
}
/**
*/
public com.streamlayer.analytics.studio.v2.DashboardOverviewResponse dashboardOverview(com.streamlayer.analytics.studio.v2.DashboardOverviewRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDashboardOverviewMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.analytics.studio.v2.FeaturedGroupsResponse featuredGroups(com.streamlayer.analytics.studio.v2.FeaturedGroupsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getFeaturedGroupsMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.analytics.studio.v2.WpMetricsByTimeLineResponse wpMetricsByTimeLine(com.streamlayer.analytics.studio.v2.WpMetricsByTimeLineRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getWpMetricsByTimeLineMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.analytics.studio.v2.UsersByTimeLineResponse usersByTimeLine(com.streamlayer.analytics.studio.v2.UsersByTimeLineRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUsersByTimeLineMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.analytics.polls.v1.TotalPollsResponse pollsTotal(com.streamlayer.analytics.studio.v2.PollsTotalRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getPollsTotalMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponse pollsStatsByTimeLine(com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getPollsStatsByTimeLineMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.analytics.studio.v2.DeviceInteractionsByTimeLineResponse deviceInteractionsByTimeLine(com.streamlayer.analytics.studio.v2.DeviceInteractionsByTimeLineRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeviceInteractionsByTimeLineMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.analytics.studio.v2.ListCountriesResponse listCountries(com.streamlayer.analytics.studio.v2.ListCountriesRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListCountriesMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.analytics.studio.v2.AdConversionResponse adConversion(com.streamlayer.analytics.studio.v2.AdConversionRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAdConversionMethod(), getCallOptions(), request);
}
}
/**
* A stub to allow clients to do ListenableFuture-style rpc calls to service Dashboard.
*/
public static final class DashboardFutureStub
extends io.grpc.stub.AbstractFutureStub {
private DashboardFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected DashboardFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new DashboardFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture dashboardOverview(
com.streamlayer.analytics.studio.v2.DashboardOverviewRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDashboardOverviewMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture featuredGroups(
com.streamlayer.analytics.studio.v2.FeaturedGroupsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getFeaturedGroupsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture wpMetricsByTimeLine(
com.streamlayer.analytics.studio.v2.WpMetricsByTimeLineRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getWpMetricsByTimeLineMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture usersByTimeLine(
com.streamlayer.analytics.studio.v2.UsersByTimeLineRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUsersByTimeLineMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture pollsTotal(
com.streamlayer.analytics.studio.v2.PollsTotalRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getPollsTotalMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture pollsStatsByTimeLine(
com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getPollsStatsByTimeLineMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture deviceInteractionsByTimeLine(
com.streamlayer.analytics.studio.v2.DeviceInteractionsByTimeLineRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeviceInteractionsByTimeLineMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture listCountries(
com.streamlayer.analytics.studio.v2.ListCountriesRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListCountriesMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture adConversion(
com.streamlayer.analytics.studio.v2.AdConversionRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAdConversionMethod(), getCallOptions()), request);
}
}
private static final int METHODID_DASHBOARD_OVERVIEW = 0;
private static final int METHODID_FEATURED_GROUPS = 1;
private static final int METHODID_WP_METRICS_BY_TIME_LINE = 2;
private static final int METHODID_USERS_BY_TIME_LINE = 3;
private static final int METHODID_POLLS_TOTAL = 4;
private static final int METHODID_POLLS_STATS_BY_TIME_LINE = 5;
private static final int METHODID_DEVICE_INTERACTIONS_BY_TIME_LINE = 6;
private static final int METHODID_LIST_COUNTRIES = 7;
private static final int METHODID_AD_CONVERSION = 8;
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_DASHBOARD_OVERVIEW:
serviceImpl.dashboardOverview((com.streamlayer.analytics.studio.v2.DashboardOverviewRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_FEATURED_GROUPS:
serviceImpl.featuredGroups((com.streamlayer.analytics.studio.v2.FeaturedGroupsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_WP_METRICS_BY_TIME_LINE:
serviceImpl.wpMetricsByTimeLine((com.streamlayer.analytics.studio.v2.WpMetricsByTimeLineRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_USERS_BY_TIME_LINE:
serviceImpl.usersByTimeLine((com.streamlayer.analytics.studio.v2.UsersByTimeLineRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_POLLS_TOTAL:
serviceImpl.pollsTotal((com.streamlayer.analytics.studio.v2.PollsTotalRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_POLLS_STATS_BY_TIME_LINE:
serviceImpl.pollsStatsByTimeLine((com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DEVICE_INTERACTIONS_BY_TIME_LINE:
serviceImpl.deviceInteractionsByTimeLine((com.streamlayer.analytics.studio.v2.DeviceInteractionsByTimeLineRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LIST_COUNTRIES:
serviceImpl.listCountries((com.streamlayer.analytics.studio.v2.ListCountriesRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_AD_CONVERSION:
serviceImpl.adConversion((com.streamlayer.analytics.studio.v2.AdConversionRequest) 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(
getDashboardOverviewMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.analytics.studio.v2.DashboardOverviewRequest,
com.streamlayer.analytics.studio.v2.DashboardOverviewResponse>(
service, METHODID_DASHBOARD_OVERVIEW)))
.addMethod(
getFeaturedGroupsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.analytics.studio.v2.FeaturedGroupsRequest,
com.streamlayer.analytics.studio.v2.FeaturedGroupsResponse>(
service, METHODID_FEATURED_GROUPS)))
.addMethod(
getWpMetricsByTimeLineMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.analytics.studio.v2.WpMetricsByTimeLineRequest,
com.streamlayer.analytics.studio.v2.WpMetricsByTimeLineResponse>(
service, METHODID_WP_METRICS_BY_TIME_LINE)))
.addMethod(
getUsersByTimeLineMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.analytics.studio.v2.UsersByTimeLineRequest,
com.streamlayer.analytics.studio.v2.UsersByTimeLineResponse>(
service, METHODID_USERS_BY_TIME_LINE)))
.addMethod(
getPollsTotalMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.analytics.studio.v2.PollsTotalRequest,
com.streamlayer.analytics.polls.v1.TotalPollsResponse>(
service, METHODID_POLLS_TOTAL)))
.addMethod(
getPollsStatsByTimeLineMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineRequest,
com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponse>(
service, METHODID_POLLS_STATS_BY_TIME_LINE)))
.addMethod(
getDeviceInteractionsByTimeLineMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.analytics.studio.v2.DeviceInteractionsByTimeLineRequest,
com.streamlayer.analytics.studio.v2.DeviceInteractionsByTimeLineResponse>(
service, METHODID_DEVICE_INTERACTIONS_BY_TIME_LINE)))
.addMethod(
getListCountriesMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.analytics.studio.v2.ListCountriesRequest,
com.streamlayer.analytics.studio.v2.ListCountriesResponse>(
service, METHODID_LIST_COUNTRIES)))
.addMethod(
getAdConversionMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.analytics.studio.v2.AdConversionRequest,
com.streamlayer.analytics.studio.v2.AdConversionResponse>(
service, METHODID_AD_CONVERSION)))
.build();
}
private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
public static io.grpc.ServiceDescriptor getServiceDescriptor() {
io.grpc.ServiceDescriptor result = serviceDescriptor;
if (result == null) {
synchronized (DashboardGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.addMethod(getDashboardOverviewMethod())
.addMethod(getFeaturedGroupsMethod())
.addMethod(getWpMetricsByTimeLineMethod())
.addMethod(getUsersByTimeLineMethod())
.addMethod(getPollsTotalMethod())
.addMethod(getPollsStatsByTimeLineMethod())
.addMethod(getDeviceInteractionsByTimeLineMethod())
.addMethod(getListCountriesMethod())
.addMethod(getAdConversionMethod())
.build();
}
}
}
return result;
}
}