main.grpc.com.streamlayer.sdkSettings.common.CommonGrpc 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.sdkSettings.common;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.65.1)",
comments = "Source: streamlayer/sdkSettings/sdkSettings.common.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class CommonGrpc {
private CommonGrpc() {}
public static final java.lang.String SERVICE_NAME = "streamlayer.sdkSettings.Common";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getOverlaysListMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "OverlaysList",
requestType = com.streamlayer.sdkSettings.common.OverlaysListRequest.class,
responseType = com.streamlayer.sdkSettings.common.OverlaysListResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getOverlaysListMethod() {
io.grpc.MethodDescriptor getOverlaysListMethod;
if ((getOverlaysListMethod = CommonGrpc.getOverlaysListMethod) == null) {
synchronized (CommonGrpc.class) {
if ((getOverlaysListMethod = CommonGrpc.getOverlaysListMethod) == null) {
CommonGrpc.getOverlaysListMethod = getOverlaysListMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "OverlaysList"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.OverlaysListRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.OverlaysListResponse.getDefaultInstance()))
.build();
}
}
}
return getOverlaysListMethod;
}
private static volatile io.grpc.MethodDescriptor getGenerateSdkKeyMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GenerateSdkKey",
requestType = com.streamlayer.sdkSettings.common.GenerateSdkKeyRequest.class,
responseType = com.streamlayer.sdkSettings.common.GenerateSdkKeyResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGenerateSdkKeyMethod() {
io.grpc.MethodDescriptor getGenerateSdkKeyMethod;
if ((getGenerateSdkKeyMethod = CommonGrpc.getGenerateSdkKeyMethod) == null) {
synchronized (CommonGrpc.class) {
if ((getGenerateSdkKeyMethod = CommonGrpc.getGenerateSdkKeyMethod) == null) {
CommonGrpc.getGenerateSdkKeyMethod = getGenerateSdkKeyMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateSdkKey"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.GenerateSdkKeyRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.GenerateSdkKeyResponse.getDefaultInstance()))
.build();
}
}
}
return getGenerateSdkKeyMethod;
}
private static volatile io.grpc.MethodDescriptor getRemoveSdkKeyMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RemoveSdkKey",
requestType = com.streamlayer.sdkSettings.common.RemoveSdkKeyRequest.class,
responseType = com.streamlayer.sdkSettings.common.RemoveSdkKeyResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRemoveSdkKeyMethod() {
io.grpc.MethodDescriptor getRemoveSdkKeyMethod;
if ((getRemoveSdkKeyMethod = CommonGrpc.getRemoveSdkKeyMethod) == null) {
synchronized (CommonGrpc.class) {
if ((getRemoveSdkKeyMethod = CommonGrpc.getRemoveSdkKeyMethod) == null) {
CommonGrpc.getRemoveSdkKeyMethod = getRemoveSdkKeyMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveSdkKey"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.RemoveSdkKeyRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.RemoveSdkKeyResponse.getDefaultInstance()))
.build();
}
}
}
return getRemoveSdkKeyMethod;
}
private static volatile io.grpc.MethodDescriptor getListSdkKeyMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListSdkKey",
requestType = com.streamlayer.sdkSettings.common.ListSdkKeyRequest.class,
responseType = com.streamlayer.sdkSettings.common.ListSdkKeyResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListSdkKeyMethod() {
io.grpc.MethodDescriptor getListSdkKeyMethod;
if ((getListSdkKeyMethod = CommonGrpc.getListSdkKeyMethod) == null) {
synchronized (CommonGrpc.class) {
if ((getListSdkKeyMethod = CommonGrpc.getListSdkKeyMethod) == null) {
CommonGrpc.getListSdkKeyMethod = getListSdkKeyMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSdkKey"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.ListSdkKeyRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.ListSdkKeyResponse.getDefaultInstance()))
.build();
}
}
}
return getListSdkKeyMethod;
}
private static volatile io.grpc.MethodDescriptor getListSdkKeyRootMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListSdkKeyRoot",
requestType = com.streamlayer.sdkSettings.common.ListSdkKeyRequest.class,
responseType = com.streamlayer.sdkSettings.common.ListSdkKeyResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListSdkKeyRootMethod() {
io.grpc.MethodDescriptor getListSdkKeyRootMethod;
if ((getListSdkKeyRootMethod = CommonGrpc.getListSdkKeyRootMethod) == null) {
synchronized (CommonGrpc.class) {
if ((getListSdkKeyRootMethod = CommonGrpc.getListSdkKeyRootMethod) == null) {
CommonGrpc.getListSdkKeyRootMethod = getListSdkKeyRootMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSdkKeyRoot"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.ListSdkKeyRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.ListSdkKeyResponse.getDefaultInstance()))
.build();
}
}
}
return getListSdkKeyRootMethod;
}
private static volatile io.grpc.MethodDescriptor getGenerateApiKeyMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GenerateApiKey",
requestType = com.streamlayer.sdkSettings.common.GenerateApiKeyRequest.class,
responseType = com.streamlayer.sdkSettings.common.GenerateApiKeyResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGenerateApiKeyMethod() {
io.grpc.MethodDescriptor getGenerateApiKeyMethod;
if ((getGenerateApiKeyMethod = CommonGrpc.getGenerateApiKeyMethod) == null) {
synchronized (CommonGrpc.class) {
if ((getGenerateApiKeyMethod = CommonGrpc.getGenerateApiKeyMethod) == null) {
CommonGrpc.getGenerateApiKeyMethod = getGenerateApiKeyMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateApiKey"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.GenerateApiKeyRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.GenerateApiKeyResponse.getDefaultInstance()))
.build();
}
}
}
return getGenerateApiKeyMethod;
}
private static volatile io.grpc.MethodDescriptor getRemoveApiKeyMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RemoveApiKey",
requestType = com.streamlayer.sdkSettings.common.RemoveApiKeyRequest.class,
responseType = com.streamlayer.sdkSettings.common.RemoveApiKeyResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRemoveApiKeyMethod() {
io.grpc.MethodDescriptor getRemoveApiKeyMethod;
if ((getRemoveApiKeyMethod = CommonGrpc.getRemoveApiKeyMethod) == null) {
synchronized (CommonGrpc.class) {
if ((getRemoveApiKeyMethod = CommonGrpc.getRemoveApiKeyMethod) == null) {
CommonGrpc.getRemoveApiKeyMethod = getRemoveApiKeyMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveApiKey"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.RemoveApiKeyRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.RemoveApiKeyResponse.getDefaultInstance()))
.build();
}
}
}
return getRemoveApiKeyMethod;
}
private static volatile io.grpc.MethodDescriptor getGetApiKeyRootMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetApiKeyRoot",
requestType = com.streamlayer.sdkSettings.common.GetApiKeyRequest.class,
responseType = com.streamlayer.sdkSettings.common.GetApiKeyResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetApiKeyRootMethod() {
io.grpc.MethodDescriptor getGetApiKeyRootMethod;
if ((getGetApiKeyRootMethod = CommonGrpc.getGetApiKeyRootMethod) == null) {
synchronized (CommonGrpc.class) {
if ((getGetApiKeyRootMethod = CommonGrpc.getGetApiKeyRootMethod) == null) {
CommonGrpc.getGetApiKeyRootMethod = getGetApiKeyRootMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiKeyRoot"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.GetApiKeyRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.GetApiKeyResponse.getDefaultInstance()))
.build();
}
}
}
return getGetApiKeyRootMethod;
}
private static volatile io.grpc.MethodDescriptor getGetApiKeyStudioMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetApiKeyStudio",
requestType = com.streamlayer.sdkSettings.common.GetApiKeyStudioRequest.class,
responseType = com.streamlayer.sdkSettings.common.GetApiKeyStudioResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetApiKeyStudioMethod() {
io.grpc.MethodDescriptor getGetApiKeyStudioMethod;
if ((getGetApiKeyStudioMethod = CommonGrpc.getGetApiKeyStudioMethod) == null) {
synchronized (CommonGrpc.class) {
if ((getGetApiKeyStudioMethod = CommonGrpc.getGetApiKeyStudioMethod) == null) {
CommonGrpc.getGetApiKeyStudioMethod = getGetApiKeyStudioMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiKeyStudio"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.GetApiKeyStudioRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.GetApiKeyStudioResponse.getDefaultInstance()))
.build();
}
}
}
return getGetApiKeyStudioMethod;
}
private static volatile io.grpc.MethodDescriptor getRegisterTwitterMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RegisterTwitter",
requestType = com.streamlayer.sdkSettings.common.RegisterTwitterRequest.class,
responseType = com.streamlayer.sdkSettings.common.RegisterTwitterResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRegisterTwitterMethod() {
io.grpc.MethodDescriptor getRegisterTwitterMethod;
if ((getRegisterTwitterMethod = CommonGrpc.getRegisterTwitterMethod) == null) {
synchronized (CommonGrpc.class) {
if ((getRegisterTwitterMethod = CommonGrpc.getRegisterTwitterMethod) == null) {
CommonGrpc.getRegisterTwitterMethod = getRegisterTwitterMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterTwitter"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.RegisterTwitterRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.sdkSettings.common.RegisterTwitterResponse.getDefaultInstance()))
.build();
}
}
}
return getRegisterTwitterMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static CommonStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public CommonStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CommonStub(channel, callOptions);
}
};
return CommonStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static CommonBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public CommonBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CommonBlockingStub(channel, callOptions);
}
};
return CommonBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static CommonFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public CommonFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CommonFutureStub(channel, callOptions);
}
};
return CommonFutureStub.newStub(factory, channel);
}
/**
*/
public interface AsyncService {
/**
*/
default void overlaysList(com.streamlayer.sdkSettings.common.OverlaysListRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getOverlaysListMethod(), responseObserver);
}
/**
*/
default void generateSdkKey(com.streamlayer.sdkSettings.common.GenerateSdkKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateSdkKeyMethod(), responseObserver);
}
/**
*/
default void removeSdkKey(com.streamlayer.sdkSettings.common.RemoveSdkKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveSdkKeyMethod(), responseObserver);
}
/**
*/
default void listSdkKey(com.streamlayer.sdkSettings.common.ListSdkKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSdkKeyMethod(), responseObserver);
}
/**
*/
default void listSdkKeyRoot(com.streamlayer.sdkSettings.common.ListSdkKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSdkKeyRootMethod(), responseObserver);
}
/**
*/
default void generateApiKey(com.streamlayer.sdkSettings.common.GenerateApiKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateApiKeyMethod(), responseObserver);
}
/**
*/
default void removeApiKey(com.streamlayer.sdkSettings.common.RemoveApiKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveApiKeyMethod(), responseObserver);
}
/**
*/
default void getApiKeyRoot(com.streamlayer.sdkSettings.common.GetApiKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiKeyRootMethod(), responseObserver);
}
/**
*/
default void getApiKeyStudio(com.streamlayer.sdkSettings.common.GetApiKeyStudioRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiKeyStudioMethod(), responseObserver);
}
/**
*/
default void registerTwitter(com.streamlayer.sdkSettings.common.RegisterTwitterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRegisterTwitterMethod(), responseObserver);
}
}
/**
* Base class for the server implementation of the service Common.
*/
public static abstract class CommonImplBase
implements io.grpc.BindableService, AsyncService {
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return CommonGrpc.bindService(this);
}
}
/**
* A stub to allow clients to do asynchronous rpc calls to service Common.
*/
public static final class CommonStub
extends io.grpc.stub.AbstractAsyncStub {
private CommonStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected CommonStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CommonStub(channel, callOptions);
}
/**
*/
public void overlaysList(com.streamlayer.sdkSettings.common.OverlaysListRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getOverlaysListMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void generateSdkKey(com.streamlayer.sdkSettings.common.GenerateSdkKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGenerateSdkKeyMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void removeSdkKey(com.streamlayer.sdkSettings.common.RemoveSdkKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRemoveSdkKeyMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listSdkKey(com.streamlayer.sdkSettings.common.ListSdkKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListSdkKeyMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listSdkKeyRoot(com.streamlayer.sdkSettings.common.ListSdkKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListSdkKeyRootMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void generateApiKey(com.streamlayer.sdkSettings.common.GenerateApiKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGenerateApiKeyMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void removeApiKey(com.streamlayer.sdkSettings.common.RemoveApiKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRemoveApiKeyMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getApiKeyRoot(com.streamlayer.sdkSettings.common.GetApiKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetApiKeyRootMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getApiKeyStudio(com.streamlayer.sdkSettings.common.GetApiKeyStudioRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetApiKeyStudioMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void registerTwitter(com.streamlayer.sdkSettings.common.RegisterTwitterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRegisterTwitterMethod(), getCallOptions()), request, responseObserver);
}
}
/**
* A stub to allow clients to do synchronous rpc calls to service Common.
*/
public static final class CommonBlockingStub
extends io.grpc.stub.AbstractBlockingStub {
private CommonBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected CommonBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CommonBlockingStub(channel, callOptions);
}
/**
*/
public com.streamlayer.sdkSettings.common.OverlaysListResponse overlaysList(com.streamlayer.sdkSettings.common.OverlaysListRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getOverlaysListMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sdkSettings.common.GenerateSdkKeyResponse generateSdkKey(com.streamlayer.sdkSettings.common.GenerateSdkKeyRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGenerateSdkKeyMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sdkSettings.common.RemoveSdkKeyResponse removeSdkKey(com.streamlayer.sdkSettings.common.RemoveSdkKeyRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRemoveSdkKeyMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sdkSettings.common.ListSdkKeyResponse listSdkKey(com.streamlayer.sdkSettings.common.ListSdkKeyRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListSdkKeyMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sdkSettings.common.ListSdkKeyResponse listSdkKeyRoot(com.streamlayer.sdkSettings.common.ListSdkKeyRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListSdkKeyRootMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sdkSettings.common.GenerateApiKeyResponse generateApiKey(com.streamlayer.sdkSettings.common.GenerateApiKeyRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGenerateApiKeyMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sdkSettings.common.RemoveApiKeyResponse removeApiKey(com.streamlayer.sdkSettings.common.RemoveApiKeyRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRemoveApiKeyMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sdkSettings.common.GetApiKeyResponse getApiKeyRoot(com.streamlayer.sdkSettings.common.GetApiKeyRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetApiKeyRootMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sdkSettings.common.GetApiKeyStudioResponse getApiKeyStudio(com.streamlayer.sdkSettings.common.GetApiKeyStudioRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetApiKeyStudioMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.sdkSettings.common.RegisterTwitterResponse registerTwitter(com.streamlayer.sdkSettings.common.RegisterTwitterRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRegisterTwitterMethod(), getCallOptions(), request);
}
}
/**
* A stub to allow clients to do ListenableFuture-style rpc calls to service Common.
*/
public static final class CommonFutureStub
extends io.grpc.stub.AbstractFutureStub {
private CommonFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected CommonFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new CommonFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture overlaysList(
com.streamlayer.sdkSettings.common.OverlaysListRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getOverlaysListMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture generateSdkKey(
com.streamlayer.sdkSettings.common.GenerateSdkKeyRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGenerateSdkKeyMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture removeSdkKey(
com.streamlayer.sdkSettings.common.RemoveSdkKeyRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRemoveSdkKeyMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture listSdkKey(
com.streamlayer.sdkSettings.common.ListSdkKeyRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListSdkKeyMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture listSdkKeyRoot(
com.streamlayer.sdkSettings.common.ListSdkKeyRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListSdkKeyRootMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture generateApiKey(
com.streamlayer.sdkSettings.common.GenerateApiKeyRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGenerateApiKeyMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture removeApiKey(
com.streamlayer.sdkSettings.common.RemoveApiKeyRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRemoveApiKeyMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getApiKeyRoot(
com.streamlayer.sdkSettings.common.GetApiKeyRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetApiKeyRootMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getApiKeyStudio(
com.streamlayer.sdkSettings.common.GetApiKeyStudioRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetApiKeyStudioMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture registerTwitter(
com.streamlayer.sdkSettings.common.RegisterTwitterRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRegisterTwitterMethod(), getCallOptions()), request);
}
}
private static final int METHODID_OVERLAYS_LIST = 0;
private static final int METHODID_GENERATE_SDK_KEY = 1;
private static final int METHODID_REMOVE_SDK_KEY = 2;
private static final int METHODID_LIST_SDK_KEY = 3;
private static final int METHODID_LIST_SDK_KEY_ROOT = 4;
private static final int METHODID_GENERATE_API_KEY = 5;
private static final int METHODID_REMOVE_API_KEY = 6;
private static final int METHODID_GET_API_KEY_ROOT = 7;
private static final int METHODID_GET_API_KEY_STUDIO = 8;
private static final int METHODID_REGISTER_TWITTER = 9;
private static final class MethodHandlers implements
io.grpc.stub.ServerCalls.UnaryMethod,
io.grpc.stub.ServerCalls.ServerStreamingMethod,
io.grpc.stub.ServerCalls.ClientStreamingMethod,
io.grpc.stub.ServerCalls.BidiStreamingMethod {
private final AsyncService serviceImpl;
private final int methodId;
MethodHandlers(AsyncService serviceImpl, int methodId) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
case METHODID_OVERLAYS_LIST:
serviceImpl.overlaysList((com.streamlayer.sdkSettings.common.OverlaysListRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GENERATE_SDK_KEY:
serviceImpl.generateSdkKey((com.streamlayer.sdkSettings.common.GenerateSdkKeyRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_REMOVE_SDK_KEY:
serviceImpl.removeSdkKey((com.streamlayer.sdkSettings.common.RemoveSdkKeyRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LIST_SDK_KEY:
serviceImpl.listSdkKey((com.streamlayer.sdkSettings.common.ListSdkKeyRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LIST_SDK_KEY_ROOT:
serviceImpl.listSdkKeyRoot((com.streamlayer.sdkSettings.common.ListSdkKeyRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GENERATE_API_KEY:
serviceImpl.generateApiKey((com.streamlayer.sdkSettings.common.GenerateApiKeyRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_REMOVE_API_KEY:
serviceImpl.removeApiKey((com.streamlayer.sdkSettings.common.RemoveApiKeyRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_API_KEY_ROOT:
serviceImpl.getApiKeyRoot((com.streamlayer.sdkSettings.common.GetApiKeyRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_API_KEY_STUDIO:
serviceImpl.getApiKeyStudio((com.streamlayer.sdkSettings.common.GetApiKeyStudioRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_REGISTER_TWITTER:
serviceImpl.registerTwitter((com.streamlayer.sdkSettings.common.RegisterTwitterRequest) 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(
getOverlaysListMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sdkSettings.common.OverlaysListRequest,
com.streamlayer.sdkSettings.common.OverlaysListResponse>(
service, METHODID_OVERLAYS_LIST)))
.addMethod(
getGenerateSdkKeyMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sdkSettings.common.GenerateSdkKeyRequest,
com.streamlayer.sdkSettings.common.GenerateSdkKeyResponse>(
service, METHODID_GENERATE_SDK_KEY)))
.addMethod(
getRemoveSdkKeyMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sdkSettings.common.RemoveSdkKeyRequest,
com.streamlayer.sdkSettings.common.RemoveSdkKeyResponse>(
service, METHODID_REMOVE_SDK_KEY)))
.addMethod(
getListSdkKeyMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sdkSettings.common.ListSdkKeyRequest,
com.streamlayer.sdkSettings.common.ListSdkKeyResponse>(
service, METHODID_LIST_SDK_KEY)))
.addMethod(
getListSdkKeyRootMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sdkSettings.common.ListSdkKeyRequest,
com.streamlayer.sdkSettings.common.ListSdkKeyResponse>(
service, METHODID_LIST_SDK_KEY_ROOT)))
.addMethod(
getGenerateApiKeyMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sdkSettings.common.GenerateApiKeyRequest,
com.streamlayer.sdkSettings.common.GenerateApiKeyResponse>(
service, METHODID_GENERATE_API_KEY)))
.addMethod(
getRemoveApiKeyMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sdkSettings.common.RemoveApiKeyRequest,
com.streamlayer.sdkSettings.common.RemoveApiKeyResponse>(
service, METHODID_REMOVE_API_KEY)))
.addMethod(
getGetApiKeyRootMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sdkSettings.common.GetApiKeyRequest,
com.streamlayer.sdkSettings.common.GetApiKeyResponse>(
service, METHODID_GET_API_KEY_ROOT)))
.addMethod(
getGetApiKeyStudioMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sdkSettings.common.GetApiKeyStudioRequest,
com.streamlayer.sdkSettings.common.GetApiKeyStudioResponse>(
service, METHODID_GET_API_KEY_STUDIO)))
.addMethod(
getRegisterTwitterMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.sdkSettings.common.RegisterTwitterRequest,
com.streamlayer.sdkSettings.common.RegisterTwitterResponse>(
service, METHODID_REGISTER_TWITTER)))
.build();
}
private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
public static io.grpc.ServiceDescriptor getServiceDescriptor() {
io.grpc.ServiceDescriptor result = serviceDescriptor;
if (result == null) {
synchronized (CommonGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.addMethod(getOverlaysListMethod())
.addMethod(getGenerateSdkKeyMethod())
.addMethod(getRemoveSdkKeyMethod())
.addMethod(getListSdkKeyMethod())
.addMethod(getListSdkKeyRootMethod())
.addMethod(getGenerateApiKeyMethod())
.addMethod(getRemoveApiKeyMethod())
.addMethod(getGetApiKeyRootMethod())
.addMethod(getGetApiKeyStudioMethod())
.addMethod(getRegisterTwitterMethod())
.build();
}
}
}
return result;
}
}