Class ChatServiceGrpc (0.15.0)

public final class ChatServiceGrpc

Enables developers to build Chat apps and integrations on Google Chat Platform.

Inheritance

java.lang.Object > ChatServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ChatServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ChatServiceGrpc.AsyncService service)
Parameter
Name Description
service ChatServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCompleteImportSpaceMethod()

public static MethodDescriptor<CompleteImportSpaceRequest,CompleteImportSpaceResponse> getCompleteImportSpaceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CompleteImportSpaceRequest,CompleteImportSpaceResponse>

getCreateMembershipMethod()

public static MethodDescriptor<CreateMembershipRequest,Membership> getCreateMembershipMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateMembershipRequest,Membership>

getCreateMessageMethod()

public static MethodDescriptor<CreateMessageRequest,Message> getCreateMessageMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateMessageRequest,Message>

getCreateReactionMethod()

public static MethodDescriptor<CreateReactionRequest,Reaction> getCreateReactionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateReactionRequest,Reaction>

getCreateSpaceMethod()

public static MethodDescriptor<CreateSpaceRequest,Space> getCreateSpaceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateSpaceRequest,Space>

getDeleteMembershipMethod()

public static MethodDescriptor<DeleteMembershipRequest,Membership> getDeleteMembershipMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteMembershipRequest,Membership>

getDeleteMessageMethod()

public static MethodDescriptor<DeleteMessageRequest,Empty> getDeleteMessageMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteMessageRequest,Empty>

getDeleteReactionMethod()

public static MethodDescriptor<DeleteReactionRequest,Empty> getDeleteReactionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteReactionRequest,Empty>

getDeleteSpaceMethod()

public static MethodDescriptor<DeleteSpaceRequest,Empty> getDeleteSpaceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteSpaceRequest,Empty>

getFindDirectMessageMethod()

public static MethodDescriptor<FindDirectMessageRequest,Space> getFindDirectMessageMethod()
Returns
Type Description
io.grpc.MethodDescriptor<FindDirectMessageRequest,Space>

getGetAttachmentMethod()

public static MethodDescriptor<GetAttachmentRequest,Attachment> getGetAttachmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetAttachmentRequest,Attachment>

getGetMembershipMethod()

public static MethodDescriptor<GetMembershipRequest,Membership> getGetMembershipMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetMembershipRequest,Membership>

getGetMessageMethod()

public static MethodDescriptor<GetMessageRequest,Message> getGetMessageMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetMessageRequest,Message>

getGetSpaceEventMethod()

public static MethodDescriptor<GetSpaceEventRequest,SpaceEvent> getGetSpaceEventMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetSpaceEventRequest,SpaceEvent>

getGetSpaceMethod()

public static MethodDescriptor<GetSpaceRequest,Space> getGetSpaceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetSpaceRequest,Space>

getGetSpaceReadStateMethod()

public static MethodDescriptor<GetSpaceReadStateRequest,SpaceReadState> getGetSpaceReadStateMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetSpaceReadStateRequest,SpaceReadState>

getGetThreadReadStateMethod()

public static MethodDescriptor<GetThreadReadStateRequest,ThreadReadState> getGetThreadReadStateMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetThreadReadStateRequest,ThreadReadState>

getListMembershipsMethod()

public static MethodDescriptor<ListMembershipsRequest,ListMembershipsResponse> getListMembershipsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListMembershipsRequest,ListMembershipsResponse>

getListMessagesMethod()

public static MethodDescriptor<ListMessagesRequest,ListMessagesResponse> getListMessagesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListMessagesRequest,ListMessagesResponse>

getListReactionsMethod()

public static MethodDescriptor<ListReactionsRequest,ListReactionsResponse> getListReactionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListReactionsRequest,ListReactionsResponse>

getListSpaceEventsMethod()

public static MethodDescriptor<ListSpaceEventsRequest,ListSpaceEventsResponse> getListSpaceEventsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListSpaceEventsRequest,ListSpaceEventsResponse>

getListSpacesMethod()

public static MethodDescriptor<ListSpacesRequest,ListSpacesResponse> getListSpacesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListSpacesRequest,ListSpacesResponse>

getSearchSpacesMethod()

public static MethodDescriptor<SearchSpacesRequest,SearchSpacesResponse> getSearchSpacesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SearchSpacesRequest,SearchSpacesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSetUpSpaceMethod()

public static MethodDescriptor<SetUpSpaceRequest,Space> getSetUpSpaceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SetUpSpaceRequest,Space>

getUpdateMembershipMethod()

public static MethodDescriptor<UpdateMembershipRequest,Membership> getUpdateMembershipMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateMembershipRequest,Membership>

getUpdateMessageMethod()

public static MethodDescriptor<UpdateMessageRequest,Message> getUpdateMessageMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateMessageRequest,Message>

getUpdateSpaceMethod()

public static MethodDescriptor<UpdateSpaceRequest,Space> getUpdateSpaceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateSpaceRequest,Space>

getUpdateSpaceReadStateMethod()

public static MethodDescriptor<UpdateSpaceReadStateRequest,SpaceReadState> getUpdateSpaceReadStateMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateSpaceReadStateRequest,SpaceReadState>

getUploadAttachmentMethod()

public static MethodDescriptor<UploadAttachmentRequest,UploadAttachmentResponse> getUploadAttachmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UploadAttachmentRequest,UploadAttachmentResponse>

newBlockingStub(Channel channel)

public static ChatServiceGrpc.ChatServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ChatServiceGrpc.ChatServiceBlockingStub

newFutureStub(Channel channel)

public static ChatServiceGrpc.ChatServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ChatServiceGrpc.ChatServiceFutureStub

newStub(Channel channel)

public static ChatServiceGrpc.ChatServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ChatServiceGrpc.ChatServiceStub