main.grpc.com.streamlayer.triggers.TriggersGrpc 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.triggers;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.65.1)",
comments = "Source: streamlayer/triggers/triggers.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class TriggersGrpc {
private TriggersGrpc() {}
public static final java.lang.String SERVICE_NAME = "streamlayer.triggers.Triggers";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getGetMetadataMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetMetadata",
requestType = com.streamlayer.triggers.GetMetadataRequest.class,
responseType = com.streamlayer.triggers.GetMetadataResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetMetadataMethod() {
io.grpc.MethodDescriptor getGetMetadataMethod;
if ((getGetMetadataMethod = TriggersGrpc.getGetMetadataMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getGetMetadataMethod = TriggersGrpc.getGetMetadataMethod) == null) {
TriggersGrpc.getGetMetadataMethod = getGetMetadataMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMetadata"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.GetMetadataRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.GetMetadataResponse.getDefaultInstance()))
.build();
}
}
}
return getGetMetadataMethod;
}
private static volatile io.grpc.MethodDescriptor getCreateTriggerMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CreateTrigger",
requestType = com.streamlayer.triggers.CreateTriggerRequest.class,
responseType = com.streamlayer.triggers.CreateTriggerResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCreateTriggerMethod() {
io.grpc.MethodDescriptor getCreateTriggerMethod;
if ((getCreateTriggerMethod = TriggersGrpc.getCreateTriggerMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getCreateTriggerMethod = TriggersGrpc.getCreateTriggerMethod) == null) {
TriggersGrpc.getCreateTriggerMethod = getCreateTriggerMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTrigger"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.CreateTriggerRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.CreateTriggerResponse.getDefaultInstance()))
.build();
}
}
}
return getCreateTriggerMethod;
}
private static volatile io.grpc.MethodDescriptor getCreateTriggersMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CreateTriggers",
requestType = com.streamlayer.triggers.CreateTriggersRequest.class,
responseType = com.streamlayer.triggers.CreateTriggersResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCreateTriggersMethod() {
io.grpc.MethodDescriptor getCreateTriggersMethod;
if ((getCreateTriggersMethod = TriggersGrpc.getCreateTriggersMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getCreateTriggersMethod = TriggersGrpc.getCreateTriggersMethod) == null) {
TriggersGrpc.getCreateTriggersMethod = getCreateTriggersMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTriggers"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.CreateTriggersRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.CreateTriggersResponse.getDefaultInstance()))
.build();
}
}
}
return getCreateTriggersMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateTriggerMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateTrigger",
requestType = com.streamlayer.triggers.UpdateTriggerRequest.class,
responseType = com.streamlayer.triggers.UpdateTriggerResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateTriggerMethod() {
io.grpc.MethodDescriptor getUpdateTriggerMethod;
if ((getUpdateTriggerMethod = TriggersGrpc.getUpdateTriggerMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getUpdateTriggerMethod = TriggersGrpc.getUpdateTriggerMethod) == null) {
TriggersGrpc.getUpdateTriggerMethod = getUpdateTriggerMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTrigger"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.UpdateTriggerRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.UpdateTriggerResponse.getDefaultInstance()))
.build();
}
}
}
return getUpdateTriggerMethod;
}
private static volatile io.grpc.MethodDescriptor getEnableTriggerMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "EnableTrigger",
requestType = com.streamlayer.triggers.EnableTriggerRequest.class,
responseType = com.streamlayer.triggers.EnableTriggerResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getEnableTriggerMethod() {
io.grpc.MethodDescriptor getEnableTriggerMethod;
if ((getEnableTriggerMethod = TriggersGrpc.getEnableTriggerMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getEnableTriggerMethod = TriggersGrpc.getEnableTriggerMethod) == null) {
TriggersGrpc.getEnableTriggerMethod = getEnableTriggerMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "EnableTrigger"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.EnableTriggerRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.EnableTriggerResponse.getDefaultInstance()))
.build();
}
}
}
return getEnableTriggerMethod;
}
private static volatile io.grpc.MethodDescriptor getDisableTriggerMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DisableTrigger",
requestType = com.streamlayer.triggers.DisableTriggerRequest.class,
responseType = com.streamlayer.triggers.DisableTriggerResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDisableTriggerMethod() {
io.grpc.MethodDescriptor getDisableTriggerMethod;
if ((getDisableTriggerMethod = TriggersGrpc.getDisableTriggerMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getDisableTriggerMethod = TriggersGrpc.getDisableTriggerMethod) == null) {
TriggersGrpc.getDisableTriggerMethod = getDisableTriggerMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DisableTrigger"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.DisableTriggerRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.DisableTriggerResponse.getDefaultInstance()))
.build();
}
}
}
return getDisableTriggerMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteTriggerMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteTrigger",
requestType = com.streamlayer.triggers.DeleteTriggerRequest.class,
responseType = com.streamlayer.triggers.DeleteTriggerResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteTriggerMethod() {
io.grpc.MethodDescriptor getDeleteTriggerMethod;
if ((getDeleteTriggerMethod = TriggersGrpc.getDeleteTriggerMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getDeleteTriggerMethod = TriggersGrpc.getDeleteTriggerMethod) == null) {
TriggersGrpc.getDeleteTriggerMethod = getDeleteTriggerMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTrigger"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.DeleteTriggerRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.DeleteTriggerResponse.getDefaultInstance()))
.build();
}
}
}
return getDeleteTriggerMethod;
}
private static volatile io.grpc.MethodDescriptor getGetTriggerMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetTrigger",
requestType = com.streamlayer.triggers.GetTriggerRequest.class,
responseType = com.streamlayer.triggers.GetTriggerResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetTriggerMethod() {
io.grpc.MethodDescriptor getGetTriggerMethod;
if ((getGetTriggerMethod = TriggersGrpc.getGetTriggerMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getGetTriggerMethod = TriggersGrpc.getGetTriggerMethod) == null) {
TriggersGrpc.getGetTriggerMethod = getGetTriggerMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTrigger"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.GetTriggerRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.GetTriggerResponse.getDefaultInstance()))
.build();
}
}
}
return getGetTriggerMethod;
}
private static volatile io.grpc.MethodDescriptor getListTriggersMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListTriggers",
requestType = com.streamlayer.triggers.ListTriggersRequest.class,
responseType = com.streamlayer.triggers.ListTriggerResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListTriggersMethod() {
io.grpc.MethodDescriptor getListTriggersMethod;
if ((getListTriggersMethod = TriggersGrpc.getListTriggersMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getListTriggersMethod = TriggersGrpc.getListTriggersMethod) == null) {
TriggersGrpc.getListTriggersMethod = getListTriggersMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTriggers"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.ListTriggersRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.ListTriggerResponse.getDefaultInstance()))
.build();
}
}
}
return getListTriggersMethod;
}
private static volatile io.grpc.MethodDescriptor getSubscribeMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Subscribe",
requestType = com.streamlayer.triggers.SubscribeRequest.class,
responseType = com.streamlayer.triggers.SubscribeResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getSubscribeMethod() {
io.grpc.MethodDescriptor getSubscribeMethod;
if ((getSubscribeMethod = TriggersGrpc.getSubscribeMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getSubscribeMethod = TriggersGrpc.getSubscribeMethod) == null) {
TriggersGrpc.getSubscribeMethod = getSubscribeMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Subscribe"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.SubscribeRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.SubscribeResponse.getDefaultInstance()))
.build();
}
}
}
return getSubscribeMethod;
}
private static volatile io.grpc.MethodDescriptor getTriggerActivationsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "TriggerActivations",
requestType = com.streamlayer.triggers.TriggerActivationsRequest.class,
responseType = com.streamlayer.triggers.TriggerActivationsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getTriggerActivationsMethod() {
io.grpc.MethodDescriptor getTriggerActivationsMethod;
if ((getTriggerActivationsMethod = TriggersGrpc.getTriggerActivationsMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getTriggerActivationsMethod = TriggersGrpc.getTriggerActivationsMethod) == null) {
TriggersGrpc.getTriggerActivationsMethod = getTriggerActivationsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "TriggerActivations"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.TriggerActivationsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.TriggerActivationsResponse.getDefaultInstance()))
.build();
}
}
}
return getTriggerActivationsMethod;
}
private static volatile io.grpc.MethodDescriptor getListSubscriptionsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListSubscriptions",
requestType = com.streamlayer.triggers.ListSubscriptionsRequest.class,
responseType = com.streamlayer.triggers.ListSubscriptionResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListSubscriptionsMethod() {
io.grpc.MethodDescriptor getListSubscriptionsMethod;
if ((getListSubscriptionsMethod = TriggersGrpc.getListSubscriptionsMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getListSubscriptionsMethod = TriggersGrpc.getListSubscriptionsMethod) == null) {
TriggersGrpc.getListSubscriptionsMethod = getListSubscriptionsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSubscriptions"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.ListSubscriptionsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.ListSubscriptionResponse.getDefaultInstance()))
.build();
}
}
}
return getListSubscriptionsMethod;
}
private static volatile io.grpc.MethodDescriptor getCancelSubscriptionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CancelSubscription",
requestType = com.streamlayer.triggers.CancelSubscriptionRequest.class,
responseType = com.streamlayer.triggers.CancelSubscriptionResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCancelSubscriptionMethod() {
io.grpc.MethodDescriptor getCancelSubscriptionMethod;
if ((getCancelSubscriptionMethod = TriggersGrpc.getCancelSubscriptionMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getCancelSubscriptionMethod = TriggersGrpc.getCancelSubscriptionMethod) == null) {
TriggersGrpc.getCancelSubscriptionMethod = getCancelSubscriptionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelSubscription"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.CancelSubscriptionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.CancelSubscriptionResponse.getDefaultInstance()))
.build();
}
}
}
return getCancelSubscriptionMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateEntityMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateEntity",
requestType = com.streamlayer.triggers.UpdateEntityRequest.class,
responseType = com.streamlayer.triggers.UpdateEntityResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateEntityMethod() {
io.grpc.MethodDescriptor getUpdateEntityMethod;
if ((getUpdateEntityMethod = TriggersGrpc.getUpdateEntityMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getUpdateEntityMethod = TriggersGrpc.getUpdateEntityMethod) == null) {
TriggersGrpc.getUpdateEntityMethod = getUpdateEntityMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEntity"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.UpdateEntityRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.UpdateEntityResponse.getDefaultInstance()))
.build();
}
}
}
return getUpdateEntityMethod;
}
private static volatile io.grpc.MethodDescriptor getGetEntityMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetEntity",
requestType = com.streamlayer.triggers.GetEntityRequest.class,
responseType = com.streamlayer.triggers.GetEntityResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetEntityMethod() {
io.grpc.MethodDescriptor getGetEntityMethod;
if ((getGetEntityMethod = TriggersGrpc.getGetEntityMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getGetEntityMethod = TriggersGrpc.getGetEntityMethod) == null) {
TriggersGrpc.getGetEntityMethod = getGetEntityMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntity"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.GetEntityRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.GetEntityResponse.getDefaultInstance()))
.build();
}
}
}
return getGetEntityMethod;
}
private static volatile io.grpc.MethodDescriptor getEnableEntityMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "EnableEntity",
requestType = com.streamlayer.triggers.EnableEntityRequest.class,
responseType = com.streamlayer.triggers.EnableEntityResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getEnableEntityMethod() {
io.grpc.MethodDescriptor getEnableEntityMethod;
if ((getEnableEntityMethod = TriggersGrpc.getEnableEntityMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getEnableEntityMethod = TriggersGrpc.getEnableEntityMethod) == null) {
TriggersGrpc.getEnableEntityMethod = getEnableEntityMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "EnableEntity"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.EnableEntityRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.EnableEntityResponse.getDefaultInstance()))
.build();
}
}
}
return getEnableEntityMethod;
}
private static volatile io.grpc.MethodDescriptor getDisableEntityMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DisableEntity",
requestType = com.streamlayer.triggers.DisableEntityRequest.class,
responseType = com.streamlayer.triggers.DisableEntityResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDisableEntityMethod() {
io.grpc.MethodDescriptor getDisableEntityMethod;
if ((getDisableEntityMethod = TriggersGrpc.getDisableEntityMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getDisableEntityMethod = TriggersGrpc.getDisableEntityMethod) == null) {
TriggersGrpc.getDisableEntityMethod = getDisableEntityMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DisableEntity"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.DisableEntityRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.DisableEntityResponse.getDefaultInstance()))
.build();
}
}
}
return getDisableEntityMethod;
}
private static volatile io.grpc.MethodDescriptor getGetSportLimitsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetSportLimits",
requestType = com.streamlayer.triggers.GetSportLimitsRequest.class,
responseType = com.streamlayer.triggers.GetSportLimitsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetSportLimitsMethod() {
io.grpc.MethodDescriptor getGetSportLimitsMethod;
if ((getGetSportLimitsMethod = TriggersGrpc.getGetSportLimitsMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getGetSportLimitsMethod = TriggersGrpc.getGetSportLimitsMethod) == null) {
TriggersGrpc.getGetSportLimitsMethod = getGetSportLimitsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSportLimits"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.GetSportLimitsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.GetSportLimitsResponse.getDefaultInstance()))
.build();
}
}
}
return getGetSportLimitsMethod;
}
private static volatile io.grpc.MethodDescriptor getSetEntityLimitsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SetEntityLimits",
requestType = com.streamlayer.triggers.SetEntityLimitsRequest.class,
responseType = com.streamlayer.triggers.SetEntityLimitsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getSetEntityLimitsMethod() {
io.grpc.MethodDescriptor getSetEntityLimitsMethod;
if ((getSetEntityLimitsMethod = TriggersGrpc.getSetEntityLimitsMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getSetEntityLimitsMethod = TriggersGrpc.getSetEntityLimitsMethod) == null) {
TriggersGrpc.getSetEntityLimitsMethod = getSetEntityLimitsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetEntityLimits"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.SetEntityLimitsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.SetEntityLimitsResponse.getDefaultInstance()))
.build();
}
}
}
return getSetEntityLimitsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetEntityLimitsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetEntityLimits",
requestType = com.streamlayer.triggers.GetEntityLimitsRequest.class,
responseType = com.streamlayer.triggers.GetEntityLimitsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetEntityLimitsMethod() {
io.grpc.MethodDescriptor getGetEntityLimitsMethod;
if ((getGetEntityLimitsMethod = TriggersGrpc.getGetEntityLimitsMethod) == null) {
synchronized (TriggersGrpc.class) {
if ((getGetEntityLimitsMethod = TriggersGrpc.getGetEntityLimitsMethod) == null) {
TriggersGrpc.getGetEntityLimitsMethod = getGetEntityLimitsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEntityLimits"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.GetEntityLimitsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.triggers.GetEntityLimitsResponse.getDefaultInstance()))
.build();
}
}
}
return getGetEntityLimitsMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static TriggersStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public TriggersStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new TriggersStub(channel, callOptions);
}
};
return TriggersStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static TriggersBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public TriggersBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new TriggersBlockingStub(channel, callOptions);
}
};
return TriggersBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static TriggersFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public TriggersFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new TriggersFutureStub(channel, callOptions);
}
};
return TriggersFutureStub.newStub(factory, channel);
}
/**
*/
public interface AsyncService {
/**
*
* returns a list of events along with allowed compare operations, targets etc
*
*/
default void getMetadata(com.streamlayer.triggers.GetMetadataRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMetadataMethod(), responseObserver);
}
/**
*
* creates a trigger attached to some entity (e.g. moderation)
* trigger has conditions which shall be matched to turn it into activated state
*
*/
default void createTrigger(com.streamlayer.triggers.CreateTriggerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTriggerMethod(), responseObserver);
}
/**
*/
default void createTriggers(com.streamlayer.triggers.CreateTriggersRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTriggersMethod(), responseObserver);
}
/**
*
* updates trigger
*
*/
default void updateTrigger(com.streamlayer.triggers.UpdateTriggerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTriggerMethod(), responseObserver);
}
/**
*
* set trigger enabled
*
*/
default void enableTrigger(com.streamlayer.triggers.EnableTriggerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getEnableTriggerMethod(), responseObserver);
}
/**
*
* set trigger disabled
*
*/
default void disableTrigger(com.streamlayer.triggers.DisableTriggerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDisableTriggerMethod(), responseObserver);
}
/**
*
* deletes trigger and everything related to it (including subscriptions)
*
*/
default void deleteTrigger(com.streamlayer.triggers.DeleteTriggerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTriggerMethod(), responseObserver);
}
/**
*
* returns an instance of trigger by its identifier
*
*/
default void getTrigger(com.streamlayer.triggers.GetTriggerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTriggerMethod(), responseObserver);
}
/**
*
* returns a list of triggers attached to the scope (game) or entity (e.g. moderation)
*
*/
default void listTriggers(com.streamlayer.triggers.ListTriggersRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTriggersMethod(), responseObserver);
}
/**
*
* creates a subscription for trigger activation
* subscribed entity will be notified upon activation by sending amqp message
* with pre-defined payload
*
*/
default void subscribe(com.streamlayer.triggers.SubscribeRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubscribeMethod(), responseObserver);
}
/**
*
* returns trigger activations history
*
*/
default void triggerActivations(com.streamlayer.triggers.TriggerActivationsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTriggerActivationsMethod(), responseObserver);
}
/**
*
* returns a list of subscriptions attached to the trigger
*
*/
default void listSubscriptions(com.streamlayer.triggers.ListSubscriptionsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSubscriptionsMethod(), responseObserver);
}
/**
*
* cancels the subscription of some entity to the trigger activation
*
*/
default void cancelSubscription(com.streamlayer.triggers.CancelSubscriptionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelSubscriptionMethod(), responseObserver);
}
/**
*/
default void updateEntity(com.streamlayer.triggers.UpdateEntityRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEntityMethod(), responseObserver);
}
/**
*/
default void getEntity(com.streamlayer.triggers.GetEntityRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntityMethod(), responseObserver);
}
/**
*/
default void enableEntity(com.streamlayer.triggers.EnableEntityRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getEnableEntityMethod(), responseObserver);
}
/**
*/
default void disableEntity(com.streamlayer.triggers.DisableEntityRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDisableEntityMethod(), responseObserver);
}
/**
*/
default void getSportLimits(com.streamlayer.triggers.GetSportLimitsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSportLimitsMethod(), responseObserver);
}
/**
*/
default void setEntityLimits(com.streamlayer.triggers.SetEntityLimitsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetEntityLimitsMethod(), responseObserver);
}
/**
*/
default void getEntityLimits(com.streamlayer.triggers.GetEntityLimitsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEntityLimitsMethod(), responseObserver);
}
}
/**
* Base class for the server implementation of the service Triggers.
*/
public static abstract class TriggersImplBase
implements io.grpc.BindableService, AsyncService {
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return TriggersGrpc.bindService(this);
}
}
/**
* A stub to allow clients to do asynchronous rpc calls to service Triggers.
*/
public static final class TriggersStub
extends io.grpc.stub.AbstractAsyncStub {
private TriggersStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected TriggersStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new TriggersStub(channel, callOptions);
}
/**
*
* returns a list of events along with allowed compare operations, targets etc
*
*/
public void getMetadata(com.streamlayer.triggers.GetMetadataRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetMetadataMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* creates a trigger attached to some entity (e.g. moderation)
* trigger has conditions which shall be matched to turn it into activated state
*
*/
public void createTrigger(com.streamlayer.triggers.CreateTriggerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateTriggerMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void createTriggers(com.streamlayer.triggers.CreateTriggersRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateTriggersMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* updates trigger
*
*/
public void updateTrigger(com.streamlayer.triggers.UpdateTriggerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateTriggerMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* set trigger enabled
*
*/
public void enableTrigger(com.streamlayer.triggers.EnableTriggerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getEnableTriggerMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* set trigger disabled
*
*/
public void disableTrigger(com.streamlayer.triggers.DisableTriggerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDisableTriggerMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* deletes trigger and everything related to it (including subscriptions)
*
*/
public void deleteTrigger(com.streamlayer.triggers.DeleteTriggerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteTriggerMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* returns an instance of trigger by its identifier
*
*/
public void getTrigger(com.streamlayer.triggers.GetTriggerRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetTriggerMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* returns a list of triggers attached to the scope (game) or entity (e.g. moderation)
*
*/
public void listTriggers(com.streamlayer.triggers.ListTriggersRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListTriggersMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* creates a subscription for trigger activation
* subscribed entity will be notified upon activation by sending amqp message
* with pre-defined payload
*
*/
public void subscribe(com.streamlayer.triggers.SubscribeRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSubscribeMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* returns trigger activations history
*
*/
public void triggerActivations(com.streamlayer.triggers.TriggerActivationsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getTriggerActivationsMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* returns a list of subscriptions attached to the trigger
*
*/
public void listSubscriptions(com.streamlayer.triggers.ListSubscriptionsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListSubscriptionsMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* cancels the subscription of some entity to the trigger activation
*
*/
public void cancelSubscription(com.streamlayer.triggers.CancelSubscriptionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCancelSubscriptionMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void updateEntity(com.streamlayer.triggers.UpdateEntityRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateEntityMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getEntity(com.streamlayer.triggers.GetEntityRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetEntityMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void enableEntity(com.streamlayer.triggers.EnableEntityRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getEnableEntityMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void disableEntity(com.streamlayer.triggers.DisableEntityRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDisableEntityMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getSportLimits(com.streamlayer.triggers.GetSportLimitsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetSportLimitsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void setEntityLimits(com.streamlayer.triggers.SetEntityLimitsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSetEntityLimitsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getEntityLimits(com.streamlayer.triggers.GetEntityLimitsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetEntityLimitsMethod(), getCallOptions()), request, responseObserver);
}
}
/**
* A stub to allow clients to do synchronous rpc calls to service Triggers.
*/
public static final class TriggersBlockingStub
extends io.grpc.stub.AbstractBlockingStub {
private TriggersBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected TriggersBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new TriggersBlockingStub(channel, callOptions);
}
/**
*
* returns a list of events along with allowed compare operations, targets etc
*
*/
public com.streamlayer.triggers.GetMetadataResponse getMetadata(com.streamlayer.triggers.GetMetadataRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetMetadataMethod(), getCallOptions(), request);
}
/**
*
* creates a trigger attached to some entity (e.g. moderation)
* trigger has conditions which shall be matched to turn it into activated state
*
*/
public com.streamlayer.triggers.CreateTriggerResponse createTrigger(com.streamlayer.triggers.CreateTriggerRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateTriggerMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.triggers.CreateTriggersResponse createTriggers(com.streamlayer.triggers.CreateTriggersRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateTriggersMethod(), getCallOptions(), request);
}
/**
*
* updates trigger
*
*/
public com.streamlayer.triggers.UpdateTriggerResponse updateTrigger(com.streamlayer.triggers.UpdateTriggerRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateTriggerMethod(), getCallOptions(), request);
}
/**
*
* set trigger enabled
*
*/
public com.streamlayer.triggers.EnableTriggerResponse enableTrigger(com.streamlayer.triggers.EnableTriggerRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getEnableTriggerMethod(), getCallOptions(), request);
}
/**
*
* set trigger disabled
*
*/
public com.streamlayer.triggers.DisableTriggerResponse disableTrigger(com.streamlayer.triggers.DisableTriggerRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDisableTriggerMethod(), getCallOptions(), request);
}
/**
*
* deletes trigger and everything related to it (including subscriptions)
*
*/
public com.streamlayer.triggers.DeleteTriggerResponse deleteTrigger(com.streamlayer.triggers.DeleteTriggerRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteTriggerMethod(), getCallOptions(), request);
}
/**
*
* returns an instance of trigger by its identifier
*
*/
public com.streamlayer.triggers.GetTriggerResponse getTrigger(com.streamlayer.triggers.GetTriggerRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetTriggerMethod(), getCallOptions(), request);
}
/**
*
* returns a list of triggers attached to the scope (game) or entity (e.g. moderation)
*
*/
public com.streamlayer.triggers.ListTriggerResponse listTriggers(com.streamlayer.triggers.ListTriggersRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListTriggersMethod(), getCallOptions(), request);
}
/**
*
* creates a subscription for trigger activation
* subscribed entity will be notified upon activation by sending amqp message
* with pre-defined payload
*
*/
public com.streamlayer.triggers.SubscribeResponse subscribe(com.streamlayer.triggers.SubscribeRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSubscribeMethod(), getCallOptions(), request);
}
/**
*
* returns trigger activations history
*
*/
public com.streamlayer.triggers.TriggerActivationsResponse triggerActivations(com.streamlayer.triggers.TriggerActivationsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getTriggerActivationsMethod(), getCallOptions(), request);
}
/**
*
* returns a list of subscriptions attached to the trigger
*
*/
public com.streamlayer.triggers.ListSubscriptionResponse listSubscriptions(com.streamlayer.triggers.ListSubscriptionsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListSubscriptionsMethod(), getCallOptions(), request);
}
/**
*
* cancels the subscription of some entity to the trigger activation
*
*/
public com.streamlayer.triggers.CancelSubscriptionResponse cancelSubscription(com.streamlayer.triggers.CancelSubscriptionRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCancelSubscriptionMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.triggers.UpdateEntityResponse updateEntity(com.streamlayer.triggers.UpdateEntityRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateEntityMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.triggers.GetEntityResponse getEntity(com.streamlayer.triggers.GetEntityRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetEntityMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.triggers.EnableEntityResponse enableEntity(com.streamlayer.triggers.EnableEntityRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getEnableEntityMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.triggers.DisableEntityResponse disableEntity(com.streamlayer.triggers.DisableEntityRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDisableEntityMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.triggers.GetSportLimitsResponse getSportLimits(com.streamlayer.triggers.GetSportLimitsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetSportLimitsMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.triggers.SetEntityLimitsResponse setEntityLimits(com.streamlayer.triggers.SetEntityLimitsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSetEntityLimitsMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.triggers.GetEntityLimitsResponse getEntityLimits(com.streamlayer.triggers.GetEntityLimitsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetEntityLimitsMethod(), getCallOptions(), request);
}
}
/**
* A stub to allow clients to do ListenableFuture-style rpc calls to service Triggers.
*/
public static final class TriggersFutureStub
extends io.grpc.stub.AbstractFutureStub {
private TriggersFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected TriggersFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new TriggersFutureStub(channel, callOptions);
}
/**
*
* returns a list of events along with allowed compare operations, targets etc
*
*/
public com.google.common.util.concurrent.ListenableFuture getMetadata(
com.streamlayer.triggers.GetMetadataRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetMetadataMethod(), getCallOptions()), request);
}
/**
*
* creates a trigger attached to some entity (e.g. moderation)
* trigger has conditions which shall be matched to turn it into activated state
*
*/
public com.google.common.util.concurrent.ListenableFuture createTrigger(
com.streamlayer.triggers.CreateTriggerRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateTriggerMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture createTriggers(
com.streamlayer.triggers.CreateTriggersRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateTriggersMethod(), getCallOptions()), request);
}
/**
*
* updates trigger
*
*/
public com.google.common.util.concurrent.ListenableFuture updateTrigger(
com.streamlayer.triggers.UpdateTriggerRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateTriggerMethod(), getCallOptions()), request);
}
/**
*
* set trigger enabled
*
*/
public com.google.common.util.concurrent.ListenableFuture enableTrigger(
com.streamlayer.triggers.EnableTriggerRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getEnableTriggerMethod(), getCallOptions()), request);
}
/**
*
* set trigger disabled
*
*/
public com.google.common.util.concurrent.ListenableFuture disableTrigger(
com.streamlayer.triggers.DisableTriggerRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDisableTriggerMethod(), getCallOptions()), request);
}
/**
*
* deletes trigger and everything related to it (including subscriptions)
*
*/
public com.google.common.util.concurrent.ListenableFuture deleteTrigger(
com.streamlayer.triggers.DeleteTriggerRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteTriggerMethod(), getCallOptions()), request);
}
/**
*
* returns an instance of trigger by its identifier
*
*/
public com.google.common.util.concurrent.ListenableFuture getTrigger(
com.streamlayer.triggers.GetTriggerRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetTriggerMethod(), getCallOptions()), request);
}
/**
*
* returns a list of triggers attached to the scope (game) or entity (e.g. moderation)
*
*/
public com.google.common.util.concurrent.ListenableFuture listTriggers(
com.streamlayer.triggers.ListTriggersRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListTriggersMethod(), getCallOptions()), request);
}
/**
*
* creates a subscription for trigger activation
* subscribed entity will be notified upon activation by sending amqp message
* with pre-defined payload
*
*/
public com.google.common.util.concurrent.ListenableFuture subscribe(
com.streamlayer.triggers.SubscribeRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSubscribeMethod(), getCallOptions()), request);
}
/**
*
* returns trigger activations history
*
*/
public com.google.common.util.concurrent.ListenableFuture triggerActivations(
com.streamlayer.triggers.TriggerActivationsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getTriggerActivationsMethod(), getCallOptions()), request);
}
/**
*
* returns a list of subscriptions attached to the trigger
*
*/
public com.google.common.util.concurrent.ListenableFuture listSubscriptions(
com.streamlayer.triggers.ListSubscriptionsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListSubscriptionsMethod(), getCallOptions()), request);
}
/**
*
* cancels the subscription of some entity to the trigger activation
*
*/
public com.google.common.util.concurrent.ListenableFuture cancelSubscription(
com.streamlayer.triggers.CancelSubscriptionRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCancelSubscriptionMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture updateEntity(
com.streamlayer.triggers.UpdateEntityRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateEntityMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getEntity(
com.streamlayer.triggers.GetEntityRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetEntityMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture enableEntity(
com.streamlayer.triggers.EnableEntityRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getEnableEntityMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture disableEntity(
com.streamlayer.triggers.DisableEntityRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDisableEntityMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getSportLimits(
com.streamlayer.triggers.GetSportLimitsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetSportLimitsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture setEntityLimits(
com.streamlayer.triggers.SetEntityLimitsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSetEntityLimitsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getEntityLimits(
com.streamlayer.triggers.GetEntityLimitsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetEntityLimitsMethod(), getCallOptions()), request);
}
}
private static final int METHODID_GET_METADATA = 0;
private static final int METHODID_CREATE_TRIGGER = 1;
private static final int METHODID_CREATE_TRIGGERS = 2;
private static final int METHODID_UPDATE_TRIGGER = 3;
private static final int METHODID_ENABLE_TRIGGER = 4;
private static final int METHODID_DISABLE_TRIGGER = 5;
private static final int METHODID_DELETE_TRIGGER = 6;
private static final int METHODID_GET_TRIGGER = 7;
private static final int METHODID_LIST_TRIGGERS = 8;
private static final int METHODID_SUBSCRIBE = 9;
private static final int METHODID_TRIGGER_ACTIVATIONS = 10;
private static final int METHODID_LIST_SUBSCRIPTIONS = 11;
private static final int METHODID_CANCEL_SUBSCRIPTION = 12;
private static final int METHODID_UPDATE_ENTITY = 13;
private static final int METHODID_GET_ENTITY = 14;
private static final int METHODID_ENABLE_ENTITY = 15;
private static final int METHODID_DISABLE_ENTITY = 16;
private static final int METHODID_GET_SPORT_LIMITS = 17;
private static final int METHODID_SET_ENTITY_LIMITS = 18;
private static final int METHODID_GET_ENTITY_LIMITS = 19;
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_METADATA:
serviceImpl.getMetadata((com.streamlayer.triggers.GetMetadataRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CREATE_TRIGGER:
serviceImpl.createTrigger((com.streamlayer.triggers.CreateTriggerRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CREATE_TRIGGERS:
serviceImpl.createTriggers((com.streamlayer.triggers.CreateTriggersRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE_TRIGGER:
serviceImpl.updateTrigger((com.streamlayer.triggers.UpdateTriggerRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_ENABLE_TRIGGER:
serviceImpl.enableTrigger((com.streamlayer.triggers.EnableTriggerRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DISABLE_TRIGGER:
serviceImpl.disableTrigger((com.streamlayer.triggers.DisableTriggerRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DELETE_TRIGGER:
serviceImpl.deleteTrigger((com.streamlayer.triggers.DeleteTriggerRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_TRIGGER:
serviceImpl.getTrigger((com.streamlayer.triggers.GetTriggerRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LIST_TRIGGERS:
serviceImpl.listTriggers((com.streamlayer.triggers.ListTriggersRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SUBSCRIBE:
serviceImpl.subscribe((com.streamlayer.triggers.SubscribeRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_TRIGGER_ACTIVATIONS:
serviceImpl.triggerActivations((com.streamlayer.triggers.TriggerActivationsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LIST_SUBSCRIPTIONS:
serviceImpl.listSubscriptions((com.streamlayer.triggers.ListSubscriptionsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CANCEL_SUBSCRIPTION:
serviceImpl.cancelSubscription((com.streamlayer.triggers.CancelSubscriptionRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE_ENTITY:
serviceImpl.updateEntity((com.streamlayer.triggers.UpdateEntityRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_ENTITY:
serviceImpl.getEntity((com.streamlayer.triggers.GetEntityRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_ENABLE_ENTITY:
serviceImpl.enableEntity((com.streamlayer.triggers.EnableEntityRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DISABLE_ENTITY:
serviceImpl.disableEntity((com.streamlayer.triggers.DisableEntityRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_SPORT_LIMITS:
serviceImpl.getSportLimits((com.streamlayer.triggers.GetSportLimitsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SET_ENTITY_LIMITS:
serviceImpl.setEntityLimits((com.streamlayer.triggers.SetEntityLimitsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_ENTITY_LIMITS:
serviceImpl.getEntityLimits((com.streamlayer.triggers.GetEntityLimitsRequest) 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(
getGetMetadataMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.GetMetadataRequest,
com.streamlayer.triggers.GetMetadataResponse>(
service, METHODID_GET_METADATA)))
.addMethod(
getCreateTriggerMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.CreateTriggerRequest,
com.streamlayer.triggers.CreateTriggerResponse>(
service, METHODID_CREATE_TRIGGER)))
.addMethod(
getCreateTriggersMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.CreateTriggersRequest,
com.streamlayer.triggers.CreateTriggersResponse>(
service, METHODID_CREATE_TRIGGERS)))
.addMethod(
getUpdateTriggerMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.UpdateTriggerRequest,
com.streamlayer.triggers.UpdateTriggerResponse>(
service, METHODID_UPDATE_TRIGGER)))
.addMethod(
getEnableTriggerMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.EnableTriggerRequest,
com.streamlayer.triggers.EnableTriggerResponse>(
service, METHODID_ENABLE_TRIGGER)))
.addMethod(
getDisableTriggerMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.DisableTriggerRequest,
com.streamlayer.triggers.DisableTriggerResponse>(
service, METHODID_DISABLE_TRIGGER)))
.addMethod(
getDeleteTriggerMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.DeleteTriggerRequest,
com.streamlayer.triggers.DeleteTriggerResponse>(
service, METHODID_DELETE_TRIGGER)))
.addMethod(
getGetTriggerMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.GetTriggerRequest,
com.streamlayer.triggers.GetTriggerResponse>(
service, METHODID_GET_TRIGGER)))
.addMethod(
getListTriggersMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.ListTriggersRequest,
com.streamlayer.triggers.ListTriggerResponse>(
service, METHODID_LIST_TRIGGERS)))
.addMethod(
getSubscribeMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.SubscribeRequest,
com.streamlayer.triggers.SubscribeResponse>(
service, METHODID_SUBSCRIBE)))
.addMethod(
getTriggerActivationsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.TriggerActivationsRequest,
com.streamlayer.triggers.TriggerActivationsResponse>(
service, METHODID_TRIGGER_ACTIVATIONS)))
.addMethod(
getListSubscriptionsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.ListSubscriptionsRequest,
com.streamlayer.triggers.ListSubscriptionResponse>(
service, METHODID_LIST_SUBSCRIPTIONS)))
.addMethod(
getCancelSubscriptionMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.CancelSubscriptionRequest,
com.streamlayer.triggers.CancelSubscriptionResponse>(
service, METHODID_CANCEL_SUBSCRIPTION)))
.addMethod(
getUpdateEntityMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.UpdateEntityRequest,
com.streamlayer.triggers.UpdateEntityResponse>(
service, METHODID_UPDATE_ENTITY)))
.addMethod(
getGetEntityMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.GetEntityRequest,
com.streamlayer.triggers.GetEntityResponse>(
service, METHODID_GET_ENTITY)))
.addMethod(
getEnableEntityMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.EnableEntityRequest,
com.streamlayer.triggers.EnableEntityResponse>(
service, METHODID_ENABLE_ENTITY)))
.addMethod(
getDisableEntityMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.DisableEntityRequest,
com.streamlayer.triggers.DisableEntityResponse>(
service, METHODID_DISABLE_ENTITY)))
.addMethod(
getGetSportLimitsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.GetSportLimitsRequest,
com.streamlayer.triggers.GetSportLimitsResponse>(
service, METHODID_GET_SPORT_LIMITS)))
.addMethod(
getSetEntityLimitsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.SetEntityLimitsRequest,
com.streamlayer.triggers.SetEntityLimitsResponse>(
service, METHODID_SET_ENTITY_LIMITS)))
.addMethod(
getGetEntityLimitsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.triggers.GetEntityLimitsRequest,
com.streamlayer.triggers.GetEntityLimitsResponse>(
service, METHODID_GET_ENTITY_LIMITS)))
.build();
}
private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
public static io.grpc.ServiceDescriptor getServiceDescriptor() {
io.grpc.ServiceDescriptor result = serviceDescriptor;
if (result == null) {
synchronized (TriggersGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.addMethod(getGetMetadataMethod())
.addMethod(getCreateTriggerMethod())
.addMethod(getCreateTriggersMethod())
.addMethod(getUpdateTriggerMethod())
.addMethod(getEnableTriggerMethod())
.addMethod(getDisableTriggerMethod())
.addMethod(getDeleteTriggerMethod())
.addMethod(getGetTriggerMethod())
.addMethod(getListTriggersMethod())
.addMethod(getSubscribeMethod())
.addMethod(getTriggerActivationsMethod())
.addMethod(getListSubscriptionsMethod())
.addMethod(getCancelSubscriptionMethod())
.addMethod(getUpdateEntityMethod())
.addMethod(getGetEntityMethod())
.addMethod(getEnableEntityMethod())
.addMethod(getDisableEntityMethod())
.addMethod(getGetSportLimitsMethod())
.addMethod(getSetEntityLimitsMethod())
.addMethod(getGetEntityLimitsMethod())
.build();
}
}
}
return result;
}
}