grpc.global_admin.GlobalAdminGrpc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client-protos Show documentation
Show all versions of client-protos Show documentation
Java protobuf protocols that define the Momento gRPC wire format
package grpc.global_admin;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.53.0)",
comments = "Source: global_admin.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class GlobalAdminGrpc {
private GlobalAdminGrpc() {}
public static final String SERVICE_NAME = "global_admin.GlobalAdmin";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getGetAccountsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetAccounts",
requestType = grpc.global_admin._GetAccountsRequest.class,
responseType = grpc.global_admin._GetAccountsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetAccountsMethod() {
io.grpc.MethodDescriptor getGetAccountsMethod;
if ((getGetAccountsMethod = GlobalAdminGrpc.getGetAccountsMethod) == null) {
synchronized (GlobalAdminGrpc.class) {
if ((getGetAccountsMethod = GlobalAdminGrpc.getGetAccountsMethod) == null) {
GlobalAdminGrpc.getGetAccountsMethod = getGetAccountsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccounts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._GetAccountsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._GetAccountsResponse.getDefaultInstance()))
.setSchemaDescriptor(new GlobalAdminMethodDescriptorSupplier("GetAccounts"))
.build();
}
}
}
return getGetAccountsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetInvitationsForUserMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetInvitationsForUser",
requestType = grpc.global_admin._GetInvitationsForUserRequest.class,
responseType = grpc.global_admin._GetInvitationsForUserResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetInvitationsForUserMethod() {
io.grpc.MethodDescriptor getGetInvitationsForUserMethod;
if ((getGetInvitationsForUserMethod = GlobalAdminGrpc.getGetInvitationsForUserMethod) == null) {
synchronized (GlobalAdminGrpc.class) {
if ((getGetInvitationsForUserMethod = GlobalAdminGrpc.getGetInvitationsForUserMethod) == null) {
GlobalAdminGrpc.getGetInvitationsForUserMethod = getGetInvitationsForUserMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInvitationsForUser"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._GetInvitationsForUserRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._GetInvitationsForUserResponse.getDefaultInstance()))
.setSchemaDescriptor(new GlobalAdminMethodDescriptorSupplier("GetInvitationsForUser"))
.build();
}
}
}
return getGetInvitationsForUserMethod;
}
private static volatile io.grpc.MethodDescriptor getGetAccountSessionTokenMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetAccountSessionToken",
requestType = grpc.global_admin._GetAccountSessionTokenRequest.class,
responseType = grpc.global_admin._GetAccountSessionTokenResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetAccountSessionTokenMethod() {
io.grpc.MethodDescriptor getGetAccountSessionTokenMethod;
if ((getGetAccountSessionTokenMethod = GlobalAdminGrpc.getGetAccountSessionTokenMethod) == null) {
synchronized (GlobalAdminGrpc.class) {
if ((getGetAccountSessionTokenMethod = GlobalAdminGrpc.getGetAccountSessionTokenMethod) == null) {
GlobalAdminGrpc.getGetAccountSessionTokenMethod = getGetAccountSessionTokenMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccountSessionToken"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._GetAccountSessionTokenRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._GetAccountSessionTokenResponse.getDefaultInstance()))
.setSchemaDescriptor(new GlobalAdminMethodDescriptorSupplier("GetAccountSessionToken"))
.build();
}
}
}
return getGetAccountSessionTokenMethod;
}
private static volatile io.grpc.MethodDescriptor getAddMemberMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "AddMember",
requestType = grpc.global_admin._AddMemberRequest.class,
responseType = grpc.global_admin._AddMemberResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getAddMemberMethod() {
io.grpc.MethodDescriptor getAddMemberMethod;
if ((getAddMemberMethod = GlobalAdminGrpc.getAddMemberMethod) == null) {
synchronized (GlobalAdminGrpc.class) {
if ((getAddMemberMethod = GlobalAdminGrpc.getAddMemberMethod) == null) {
GlobalAdminGrpc.getAddMemberMethod = getAddMemberMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "AddMember"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._AddMemberRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._AddMemberResponse.getDefaultInstance()))
.setSchemaDescriptor(new GlobalAdminMethodDescriptorSupplier("AddMember"))
.build();
}
}
}
return getAddMemberMethod;
}
private static volatile io.grpc.MethodDescriptor getRemoveMemberMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RemoveMember",
requestType = grpc.global_admin._RemoveMemberRequest.class,
responseType = grpc.global_admin._RemoveMemberResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRemoveMemberMethod() {
io.grpc.MethodDescriptor getRemoveMemberMethod;
if ((getRemoveMemberMethod = GlobalAdminGrpc.getRemoveMemberMethod) == null) {
synchronized (GlobalAdminGrpc.class) {
if ((getRemoveMemberMethod = GlobalAdminGrpc.getRemoveMemberMethod) == null) {
GlobalAdminGrpc.getRemoveMemberMethod = getRemoveMemberMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveMember"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._RemoveMemberRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._RemoveMemberResponse.getDefaultInstance()))
.setSchemaDescriptor(new GlobalAdminMethodDescriptorSupplier("RemoveMember"))
.build();
}
}
}
return getRemoveMemberMethod;
}
private static volatile io.grpc.MethodDescriptor getListMembersMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListMembers",
requestType = grpc.global_admin._ListMembersRequest.class,
responseType = grpc.global_admin._ListMembersResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListMembersMethod() {
io.grpc.MethodDescriptor getListMembersMethod;
if ((getListMembersMethod = GlobalAdminGrpc.getListMembersMethod) == null) {
synchronized (GlobalAdminGrpc.class) {
if ((getListMembersMethod = GlobalAdminGrpc.getListMembersMethod) == null) {
GlobalAdminGrpc.getListMembersMethod = getListMembersMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListMembers"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._ListMembersRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._ListMembersResponse.getDefaultInstance()))
.setSchemaDescriptor(new GlobalAdminMethodDescriptorSupplier("ListMembers"))
.build();
}
}
}
return getListMembersMethod;
}
private static volatile io.grpc.MethodDescriptor getGetEndpointsForAccountMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetEndpointsForAccount",
requestType = grpc.global_admin._GetEndpointsForAccountRequest.class,
responseType = grpc.global_admin._GetEndpointsForAccountResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetEndpointsForAccountMethod() {
io.grpc.MethodDescriptor getGetEndpointsForAccountMethod;
if ((getGetEndpointsForAccountMethod = GlobalAdminGrpc.getGetEndpointsForAccountMethod) == null) {
synchronized (GlobalAdminGrpc.class) {
if ((getGetEndpointsForAccountMethod = GlobalAdminGrpc.getGetEndpointsForAccountMethod) == null) {
GlobalAdminGrpc.getGetEndpointsForAccountMethod = getGetEndpointsForAccountMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEndpointsForAccount"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._GetEndpointsForAccountRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._GetEndpointsForAccountResponse.getDefaultInstance()))
.setSchemaDescriptor(new GlobalAdminMethodDescriptorSupplier("GetEndpointsForAccount"))
.build();
}
}
}
return getGetEndpointsForAccountMethod;
}
private static volatile io.grpc.MethodDescriptor getSetAccountNameMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SetAccountName",
requestType = grpc.global_admin._SetAccountNameRequest.class,
responseType = grpc.global_admin._SetAccountNameResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getSetAccountNameMethod() {
io.grpc.MethodDescriptor getSetAccountNameMethod;
if ((getSetAccountNameMethod = GlobalAdminGrpc.getSetAccountNameMethod) == null) {
synchronized (GlobalAdminGrpc.class) {
if ((getSetAccountNameMethod = GlobalAdminGrpc.getSetAccountNameMethod) == null) {
GlobalAdminGrpc.getSetAccountNameMethod = getSetAccountNameMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetAccountName"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._SetAccountNameRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._SetAccountNameResponse.getDefaultInstance()))
.setSchemaDescriptor(new GlobalAdminMethodDescriptorSupplier("SetAccountName"))
.build();
}
}
}
return getSetAccountNameMethod;
}
private static volatile io.grpc.MethodDescriptor getInviteMemberMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "InviteMember",
requestType = grpc.global_admin._InviteMemberRequest.class,
responseType = grpc.global_admin._InviteMemberResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getInviteMemberMethod() {
io.grpc.MethodDescriptor getInviteMemberMethod;
if ((getInviteMemberMethod = GlobalAdminGrpc.getInviteMemberMethod) == null) {
synchronized (GlobalAdminGrpc.class) {
if ((getInviteMemberMethod = GlobalAdminGrpc.getInviteMemberMethod) == null) {
GlobalAdminGrpc.getInviteMemberMethod = getInviteMemberMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "InviteMember"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._InviteMemberRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._InviteMemberResponse.getDefaultInstance()))
.setSchemaDescriptor(new GlobalAdminMethodDescriptorSupplier("InviteMember"))
.build();
}
}
}
return getInviteMemberMethod;
}
private static volatile io.grpc.MethodDescriptor getAcceptInvitationMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "AcceptInvitation",
requestType = grpc.global_admin._AcceptInvitationRequest.class,
responseType = grpc.global_admin._AcceptInvitationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getAcceptInvitationMethod() {
io.grpc.MethodDescriptor getAcceptInvitationMethod;
if ((getAcceptInvitationMethod = GlobalAdminGrpc.getAcceptInvitationMethod) == null) {
synchronized (GlobalAdminGrpc.class) {
if ((getAcceptInvitationMethod = GlobalAdminGrpc.getAcceptInvitationMethod) == null) {
GlobalAdminGrpc.getAcceptInvitationMethod = getAcceptInvitationMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "AcceptInvitation"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._AcceptInvitationRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._AcceptInvitationResponse.getDefaultInstance()))
.setSchemaDescriptor(new GlobalAdminMethodDescriptorSupplier("AcceptInvitation"))
.build();
}
}
}
return getAcceptInvitationMethod;
}
private static volatile io.grpc.MethodDescriptor getRejectInvitationMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RejectInvitation",
requestType = grpc.global_admin._RejectInvitationRequest.class,
responseType = grpc.global_admin._RejectInvitationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRejectInvitationMethod() {
io.grpc.MethodDescriptor getRejectInvitationMethod;
if ((getRejectInvitationMethod = GlobalAdminGrpc.getRejectInvitationMethod) == null) {
synchronized (GlobalAdminGrpc.class) {
if ((getRejectInvitationMethod = GlobalAdminGrpc.getRejectInvitationMethod) == null) {
GlobalAdminGrpc.getRejectInvitationMethod = getRejectInvitationMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RejectInvitation"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._RejectInvitationRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._RejectInvitationResponse.getDefaultInstance()))
.setSchemaDescriptor(new GlobalAdminMethodDescriptorSupplier("RejectInvitation"))
.build();
}
}
}
return getRejectInvitationMethod;
}
private static volatile io.grpc.MethodDescriptor getListInvitationsForAccountMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListInvitationsForAccount",
requestType = grpc.global_admin._ListInvitationsForAccountRequest.class,
responseType = grpc.global_admin._ListInvitationsForAccountResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListInvitationsForAccountMethod() {
io.grpc.MethodDescriptor getListInvitationsForAccountMethod;
if ((getListInvitationsForAccountMethod = GlobalAdminGrpc.getListInvitationsForAccountMethod) == null) {
synchronized (GlobalAdminGrpc.class) {
if ((getListInvitationsForAccountMethod = GlobalAdminGrpc.getListInvitationsForAccountMethod) == null) {
GlobalAdminGrpc.getListInvitationsForAccountMethod = getListInvitationsForAccountMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInvitationsForAccount"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._ListInvitationsForAccountRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._ListInvitationsForAccountResponse.getDefaultInstance()))
.setSchemaDescriptor(new GlobalAdminMethodDescriptorSupplier("ListInvitationsForAccount"))
.build();
}
}
}
return getListInvitationsForAccountMethod;
}
private static volatile io.grpc.MethodDescriptor getRevokeInvitationMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RevokeInvitation",
requestType = grpc.global_admin._RevokeInvitationRequest.class,
responseType = grpc.global_admin._RevokeInvitationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRevokeInvitationMethod() {
io.grpc.MethodDescriptor getRevokeInvitationMethod;
if ((getRevokeInvitationMethod = GlobalAdminGrpc.getRevokeInvitationMethod) == null) {
synchronized (GlobalAdminGrpc.class) {
if ((getRevokeInvitationMethod = GlobalAdminGrpc.getRevokeInvitationMethod) == null) {
GlobalAdminGrpc.getRevokeInvitationMethod = getRevokeInvitationMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RevokeInvitation"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._RevokeInvitationRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
grpc.global_admin._RevokeInvitationResponse.getDefaultInstance()))
.setSchemaDescriptor(new GlobalAdminMethodDescriptorSupplier("RevokeInvitation"))
.build();
}
}
}
return getRevokeInvitationMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static GlobalAdminStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public GlobalAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new GlobalAdminStub(channel, callOptions);
}
};
return GlobalAdminStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static GlobalAdminBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public GlobalAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new GlobalAdminBlockingStub(channel, callOptions);
}
};
return GlobalAdminBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static GlobalAdminFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public GlobalAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new GlobalAdminFutureStub(channel, callOptions);
}
};
return GlobalAdminFutureStub.newStub(factory, channel);
}
/**
*/
public static abstract class GlobalAdminImplBase implements io.grpc.BindableService {
/**
*/
public void getAccounts(grpc.global_admin._GetAccountsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountsMethod(), responseObserver);
}
/**
*/
public void getInvitationsForUser(grpc.global_admin._GetInvitationsForUserRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInvitationsForUserMethod(), responseObserver);
}
/**
*/
public void getAccountSessionToken(grpc.global_admin._GetAccountSessionTokenRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccountSessionTokenMethod(), responseObserver);
}
/**
*/
public void addMember(grpc.global_admin._AddMemberRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAddMemberMethod(), responseObserver);
}
/**
*/
public void removeMember(grpc.global_admin._RemoveMemberRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveMemberMethod(), responseObserver);
}
/**
*/
public void listMembers(grpc.global_admin._ListMembersRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMembersMethod(), responseObserver);
}
/**
*/
public void getEndpointsForAccount(grpc.global_admin._GetEndpointsForAccountRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEndpointsForAccountMethod(), responseObserver);
}
/**
*/
public void setAccountName(grpc.global_admin._SetAccountNameRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetAccountNameMethod(), responseObserver);
}
/**
*/
public void inviteMember(grpc.global_admin._InviteMemberRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInviteMemberMethod(), responseObserver);
}
/**
*/
public void acceptInvitation(grpc.global_admin._AcceptInvitationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcceptInvitationMethod(), responseObserver);
}
/**
*/
public void rejectInvitation(grpc.global_admin._RejectInvitationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRejectInvitationMethod(), responseObserver);
}
/**
*/
public void listInvitationsForAccount(grpc.global_admin._ListInvitationsForAccountRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInvitationsForAccountMethod(), responseObserver);
}
/**
*/
public void revokeInvitation(grpc.global_admin._RevokeInvitationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRevokeInvitationMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getGetAccountsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
grpc.global_admin._GetAccountsRequest,
grpc.global_admin._GetAccountsResponse>(
this, METHODID_GET_ACCOUNTS)))
.addMethod(
getGetInvitationsForUserMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
grpc.global_admin._GetInvitationsForUserRequest,
grpc.global_admin._GetInvitationsForUserResponse>(
this, METHODID_GET_INVITATIONS_FOR_USER)))
.addMethod(
getGetAccountSessionTokenMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
grpc.global_admin._GetAccountSessionTokenRequest,
grpc.global_admin._GetAccountSessionTokenResponse>(
this, METHODID_GET_ACCOUNT_SESSION_TOKEN)))
.addMethod(
getAddMemberMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
grpc.global_admin._AddMemberRequest,
grpc.global_admin._AddMemberResponse>(
this, METHODID_ADD_MEMBER)))
.addMethod(
getRemoveMemberMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
grpc.global_admin._RemoveMemberRequest,
grpc.global_admin._RemoveMemberResponse>(
this, METHODID_REMOVE_MEMBER)))
.addMethod(
getListMembersMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
grpc.global_admin._ListMembersRequest,
grpc.global_admin._ListMembersResponse>(
this, METHODID_LIST_MEMBERS)))
.addMethod(
getGetEndpointsForAccountMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
grpc.global_admin._GetEndpointsForAccountRequest,
grpc.global_admin._GetEndpointsForAccountResponse>(
this, METHODID_GET_ENDPOINTS_FOR_ACCOUNT)))
.addMethod(
getSetAccountNameMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
grpc.global_admin._SetAccountNameRequest,
grpc.global_admin._SetAccountNameResponse>(
this, METHODID_SET_ACCOUNT_NAME)))
.addMethod(
getInviteMemberMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
grpc.global_admin._InviteMemberRequest,
grpc.global_admin._InviteMemberResponse>(
this, METHODID_INVITE_MEMBER)))
.addMethod(
getAcceptInvitationMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
grpc.global_admin._AcceptInvitationRequest,
grpc.global_admin._AcceptInvitationResponse>(
this, METHODID_ACCEPT_INVITATION)))
.addMethod(
getRejectInvitationMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
grpc.global_admin._RejectInvitationRequest,
grpc.global_admin._RejectInvitationResponse>(
this, METHODID_REJECT_INVITATION)))
.addMethod(
getListInvitationsForAccountMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
grpc.global_admin._ListInvitationsForAccountRequest,
grpc.global_admin._ListInvitationsForAccountResponse>(
this, METHODID_LIST_INVITATIONS_FOR_ACCOUNT)))
.addMethod(
getRevokeInvitationMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
grpc.global_admin._RevokeInvitationRequest,
grpc.global_admin._RevokeInvitationResponse>(
this, METHODID_REVOKE_INVITATION)))
.build();
}
}
/**
*/
public static final class GlobalAdminStub extends io.grpc.stub.AbstractAsyncStub {
private GlobalAdminStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected GlobalAdminStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new GlobalAdminStub(channel, callOptions);
}
/**
*/
public void getAccounts(grpc.global_admin._GetAccountsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetAccountsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getInvitationsForUser(grpc.global_admin._GetInvitationsForUserRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetInvitationsForUserMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getAccountSessionToken(grpc.global_admin._GetAccountSessionTokenRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetAccountSessionTokenMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void addMember(grpc.global_admin._AddMemberRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAddMemberMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void removeMember(grpc.global_admin._RemoveMemberRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRemoveMemberMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listMembers(grpc.global_admin._ListMembersRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListMembersMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getEndpointsForAccount(grpc.global_admin._GetEndpointsForAccountRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetEndpointsForAccountMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void setAccountName(grpc.global_admin._SetAccountNameRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSetAccountNameMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void inviteMember(grpc.global_admin._InviteMemberRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getInviteMemberMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void acceptInvitation(grpc.global_admin._AcceptInvitationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAcceptInvitationMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void rejectInvitation(grpc.global_admin._RejectInvitationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRejectInvitationMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void listInvitationsForAccount(grpc.global_admin._ListInvitationsForAccountRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListInvitationsForAccountMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void revokeInvitation(grpc.global_admin._RevokeInvitationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRevokeInvitationMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class GlobalAdminBlockingStub extends io.grpc.stub.AbstractBlockingStub {
private GlobalAdminBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected GlobalAdminBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new GlobalAdminBlockingStub(channel, callOptions);
}
/**
*/
public grpc.global_admin._GetAccountsResponse getAccounts(grpc.global_admin._GetAccountsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetAccountsMethod(), getCallOptions(), request);
}
/**
*/
public grpc.global_admin._GetInvitationsForUserResponse getInvitationsForUser(grpc.global_admin._GetInvitationsForUserRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetInvitationsForUserMethod(), getCallOptions(), request);
}
/**
*/
public grpc.global_admin._GetAccountSessionTokenResponse getAccountSessionToken(grpc.global_admin._GetAccountSessionTokenRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetAccountSessionTokenMethod(), getCallOptions(), request);
}
/**
*/
public grpc.global_admin._AddMemberResponse addMember(grpc.global_admin._AddMemberRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAddMemberMethod(), getCallOptions(), request);
}
/**
*/
public grpc.global_admin._RemoveMemberResponse removeMember(grpc.global_admin._RemoveMemberRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRemoveMemberMethod(), getCallOptions(), request);
}
/**
*/
public grpc.global_admin._ListMembersResponse listMembers(grpc.global_admin._ListMembersRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListMembersMethod(), getCallOptions(), request);
}
/**
*/
public grpc.global_admin._GetEndpointsForAccountResponse getEndpointsForAccount(grpc.global_admin._GetEndpointsForAccountRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetEndpointsForAccountMethod(), getCallOptions(), request);
}
/**
*/
public grpc.global_admin._SetAccountNameResponse setAccountName(grpc.global_admin._SetAccountNameRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSetAccountNameMethod(), getCallOptions(), request);
}
/**
*/
public grpc.global_admin._InviteMemberResponse inviteMember(grpc.global_admin._InviteMemberRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getInviteMemberMethod(), getCallOptions(), request);
}
/**
*/
public grpc.global_admin._AcceptInvitationResponse acceptInvitation(grpc.global_admin._AcceptInvitationRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAcceptInvitationMethod(), getCallOptions(), request);
}
/**
*/
public grpc.global_admin._RejectInvitationResponse rejectInvitation(grpc.global_admin._RejectInvitationRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRejectInvitationMethod(), getCallOptions(), request);
}
/**
*/
public grpc.global_admin._ListInvitationsForAccountResponse listInvitationsForAccount(grpc.global_admin._ListInvitationsForAccountRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListInvitationsForAccountMethod(), getCallOptions(), request);
}
/**
*/
public grpc.global_admin._RevokeInvitationResponse revokeInvitation(grpc.global_admin._RevokeInvitationRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRevokeInvitationMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class GlobalAdminFutureStub extends io.grpc.stub.AbstractFutureStub {
private GlobalAdminFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected GlobalAdminFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new GlobalAdminFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getAccounts(
grpc.global_admin._GetAccountsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetAccountsMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getInvitationsForUser(
grpc.global_admin._GetInvitationsForUserRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetInvitationsForUserMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getAccountSessionToken(
grpc.global_admin._GetAccountSessionTokenRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetAccountSessionTokenMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture addMember(
grpc.global_admin._AddMemberRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAddMemberMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture removeMember(
grpc.global_admin._RemoveMemberRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRemoveMemberMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture listMembers(
grpc.global_admin._ListMembersRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListMembersMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getEndpointsForAccount(
grpc.global_admin._GetEndpointsForAccountRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetEndpointsForAccountMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture setAccountName(
grpc.global_admin._SetAccountNameRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSetAccountNameMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture inviteMember(
grpc.global_admin._InviteMemberRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getInviteMemberMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture acceptInvitation(
grpc.global_admin._AcceptInvitationRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAcceptInvitationMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture rejectInvitation(
grpc.global_admin._RejectInvitationRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRejectInvitationMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture listInvitationsForAccount(
grpc.global_admin._ListInvitationsForAccountRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListInvitationsForAccountMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture revokeInvitation(
grpc.global_admin._RevokeInvitationRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRevokeInvitationMethod(), getCallOptions()), request);
}
}
private static final int METHODID_GET_ACCOUNTS = 0;
private static final int METHODID_GET_INVITATIONS_FOR_USER = 1;
private static final int METHODID_GET_ACCOUNT_SESSION_TOKEN = 2;
private static final int METHODID_ADD_MEMBER = 3;
private static final int METHODID_REMOVE_MEMBER = 4;
private static final int METHODID_LIST_MEMBERS = 5;
private static final int METHODID_GET_ENDPOINTS_FOR_ACCOUNT = 6;
private static final int METHODID_SET_ACCOUNT_NAME = 7;
private static final int METHODID_INVITE_MEMBER = 8;
private static final int METHODID_ACCEPT_INVITATION = 9;
private static final int METHODID_REJECT_INVITATION = 10;
private static final int METHODID_LIST_INVITATIONS_FOR_ACCOUNT = 11;
private static final int METHODID_REVOKE_INVITATION = 12;
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 GlobalAdminImplBase serviceImpl;
private final int methodId;
MethodHandlers(GlobalAdminImplBase 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_ACCOUNTS:
serviceImpl.getAccounts((grpc.global_admin._GetAccountsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_INVITATIONS_FOR_USER:
serviceImpl.getInvitationsForUser((grpc.global_admin._GetInvitationsForUserRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_ACCOUNT_SESSION_TOKEN:
serviceImpl.getAccountSessionToken((grpc.global_admin._GetAccountSessionTokenRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_ADD_MEMBER:
serviceImpl.addMember((grpc.global_admin._AddMemberRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_REMOVE_MEMBER:
serviceImpl.removeMember((grpc.global_admin._RemoveMemberRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LIST_MEMBERS:
serviceImpl.listMembers((grpc.global_admin._ListMembersRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_ENDPOINTS_FOR_ACCOUNT:
serviceImpl.getEndpointsForAccount((grpc.global_admin._GetEndpointsForAccountRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SET_ACCOUNT_NAME:
serviceImpl.setAccountName((grpc.global_admin._SetAccountNameRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_INVITE_MEMBER:
serviceImpl.inviteMember((grpc.global_admin._InviteMemberRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_ACCEPT_INVITATION:
serviceImpl.acceptInvitation((grpc.global_admin._AcceptInvitationRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_REJECT_INVITATION:
serviceImpl.rejectInvitation((grpc.global_admin._RejectInvitationRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LIST_INVITATIONS_FOR_ACCOUNT:
serviceImpl.listInvitationsForAccount((grpc.global_admin._ListInvitationsForAccountRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_REVOKE_INVITATION:
serviceImpl.revokeInvitation((grpc.global_admin._RevokeInvitationRequest) 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();
}
}
}
private static abstract class GlobalAdminBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
GlobalAdminBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return grpc.global_admin.GlobalAdminOuterClass.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("GlobalAdmin");
}
}
private static final class GlobalAdminFileDescriptorSupplier
extends GlobalAdminBaseDescriptorSupplier {
GlobalAdminFileDescriptorSupplier() {}
}
private static final class GlobalAdminMethodDescriptorSupplier
extends GlobalAdminBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
GlobalAdminMethodDescriptorSupplier(String methodName) {
this.methodName = methodName;
}
@java.lang.Override
public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
return getServiceDescriptor().findMethodByName(methodName);
}
}
private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
public static io.grpc.ServiceDescriptor getServiceDescriptor() {
io.grpc.ServiceDescriptor result = serviceDescriptor;
if (result == null) {
synchronized (GlobalAdminGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new GlobalAdminFileDescriptorSupplier())
.addMethod(getGetAccountsMethod())
.addMethod(getGetInvitationsForUserMethod())
.addMethod(getGetAccountSessionTokenMethod())
.addMethod(getAddMemberMethod())
.addMethod(getRemoveMemberMethod())
.addMethod(getListMembersMethod())
.addMethod(getGetEndpointsForAccountMethod())
.addMethod(getSetAccountNameMethod())
.addMethod(getInviteMemberMethod())
.addMethod(getAcceptInvitationMethod())
.addMethod(getRejectInvitationMethod())
.addMethod(getListInvitationsForAccountMethod())
.addMethod(getRevokeInvitationMethod())
.build();
}
}
}
return result;
}
}