Class ChatServiceGrpc (0.12.0)

publicfinalclass ChatServiceGrpc

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

Inheritance

java.lang.Object > ChatServiceGrpc

Static Fields

SERVICE_NAME

publicstaticfinalStringSERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ChatServiceGrpc.AsyncService service)

publicstaticfinalServerServiceDefinitionbindService(ChatServiceGrpc.AsyncServiceservice)
Parameter
Name Description
service ChatServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCompleteImportSpaceMethod()

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

getCreateMembershipMethod()

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

getCreateMessageMethod()

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

getCreateReactionMethod()

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

getCreateSpaceMethod()

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

getDeleteMembershipMethod()

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

getDeleteMessageMethod()

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

getDeleteReactionMethod()

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

getDeleteSpaceMethod()

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

getFindDirectMessageMethod()

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

getGetAttachmentMethod()

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

getGetMembershipMethod()

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

getGetMessageMethod()

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

getGetSpaceEventMethod()

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

getGetSpaceMethod()

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

getGetSpaceReadStateMethod()

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

getGetThreadReadStateMethod()

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

getListMembershipsMethod()

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

getListMessagesMethod()

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

getListReactionsMethod()

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

getListSpaceEventsMethod()

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

getListSpacesMethod()

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

getServiceDescriptor()

publicstaticServiceDescriptorgetServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSetUpSpaceMethod()

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

getUpdateMembershipMethod()

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

getUpdateMessageMethod()

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

getUpdateSpaceMethod()

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

getUpdateSpaceReadStateMethod()

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

getUploadAttachmentMethod()

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

newBlockingStub(Channel channel)

publicstaticChatServiceGrpc.ChatServiceBlockingStubnewBlockingStub(Channelchannel)

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)

publicstaticChatServiceGrpc.ChatServiceFutureStubnewFutureStub(Channelchannel)

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)

publicstaticChatServiceGrpc.ChatServiceStubnewStub(Channelchannel)

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.