Class ChatServiceStubSettings.Builder (0.16.0)

public static class ChatServiceStubSettings.Builder extends StubSettings.Builder<ChatServiceStubSettings,ChatServiceStubSettings.Builder>

Builder for ChatServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ChatServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ChatServiceStubSettings settings)

protected Builder(ChatServiceStubSettings settings)
Parameter
Name Description
settings ChatServiceStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ChatServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ChatServiceStubSettings.Builder

build()

public ChatServiceStubSettings build()
Returns
Type Description
ChatServiceStubSettings
Overrides
Exceptions
Type Description
IOException

completeImportSpaceSettings()

public UnaryCallSettings.Builder<CompleteImportSpaceRequest,CompleteImportSpaceResponse> completeImportSpaceSettings()

Returns the builder for the settings used for calls to completeImportSpace.

Returns
Type Description
Builder<CompleteImportSpaceRequest,CompleteImportSpaceResponse>

createMembershipSettings()

public UnaryCallSettings.Builder<CreateMembershipRequest,Membership> createMembershipSettings()

Returns the builder for the settings used for calls to createMembership.

Returns
Type Description
Builder<CreateMembershipRequest,Membership>

createMessageSettings()

public UnaryCallSettings.Builder<CreateMessageRequest,Message> createMessageSettings()

Returns the builder for the settings used for calls to createMessage.

Returns
Type Description
Builder<CreateMessageRequest,Message>

createReactionSettings()

public UnaryCallSettings.Builder<CreateReactionRequest,Reaction> createReactionSettings()

Returns the builder for the settings used for calls to createReaction.

Returns
Type Description
Builder<CreateReactionRequest,Reaction>

createSpaceSettings()

public UnaryCallSettings.Builder<CreateSpaceRequest,Space> createSpaceSettings()

Returns the builder for the settings used for calls to createSpace.

Returns
Type Description
Builder<CreateSpaceRequest,Space>

deleteMembershipSettings()

public UnaryCallSettings.Builder<DeleteMembershipRequest,Membership> deleteMembershipSettings()

Returns the builder for the settings used for calls to deleteMembership.

Returns
Type Description
Builder<DeleteMembershipRequest,Membership>

deleteMessageSettings()

public UnaryCallSettings.Builder<DeleteMessageRequest,Empty> deleteMessageSettings()

Returns the builder for the settings used for calls to deleteMessage.

Returns
Type Description
Builder<DeleteMessageRequest,Empty>

deleteReactionSettings()

public UnaryCallSettings.Builder<DeleteReactionRequest,Empty> deleteReactionSettings()

Returns the builder for the settings used for calls to deleteReaction.

Returns
Type Description
Builder<DeleteReactionRequest,Empty>

deleteSpaceSettings()

public UnaryCallSettings.Builder<DeleteSpaceRequest,Empty> deleteSpaceSettings()

Returns the builder for the settings used for calls to deleteSpace.

Returns
Type Description
Builder<DeleteSpaceRequest,Empty>

findDirectMessageSettings()

public UnaryCallSettings.Builder<FindDirectMessageRequest,Space> findDirectMessageSettings()

Returns the builder for the settings used for calls to findDirectMessage.

Returns
Type Description
Builder<FindDirectMessageRequest,Space>

getAttachmentSettings()

public UnaryCallSettings.Builder<GetAttachmentRequest,Attachment> getAttachmentSettings()

Returns the builder for the settings used for calls to getAttachment.

Returns
Type Description
Builder<GetAttachmentRequest,Attachment>

getMembershipSettings()

public UnaryCallSettings.Builder<GetMembershipRequest,Membership> getMembershipSettings()

Returns the builder for the settings used for calls to getMembership.

Returns
Type Description
Builder<GetMembershipRequest,Membership>

getMessageSettings()

public UnaryCallSettings.Builder<GetMessageRequest,Message> getMessageSettings()

Returns the builder for the settings used for calls to getMessage.

Returns
Type Description
Builder<GetMessageRequest,Message>

getSpaceEventSettings()

public UnaryCallSettings.Builder<GetSpaceEventRequest,SpaceEvent> getSpaceEventSettings()

Returns the builder for the settings used for calls to getSpaceEvent.

Returns
Type Description
Builder<GetSpaceEventRequest,SpaceEvent>

getSpaceReadStateSettings()

public UnaryCallSettings.Builder<GetSpaceReadStateRequest,SpaceReadState> getSpaceReadStateSettings()

Returns the builder for the settings used for calls to getSpaceReadState.

Returns
Type Description
Builder<GetSpaceReadStateRequest,SpaceReadState>

getSpaceSettings()

public UnaryCallSettings.Builder<GetSpaceRequest,Space> getSpaceSettings()

Returns the builder for the settings used for calls to getSpace.

Returns
Type Description
Builder<GetSpaceRequest,Space>

getThreadReadStateSettings()

public UnaryCallSettings.Builder<GetThreadReadStateRequest,ThreadReadState> getThreadReadStateSettings()

Returns the builder for the settings used for calls to getThreadReadState.

Returns
Type Description
Builder<GetThreadReadStateRequest,ThreadReadState>

listMembershipsSettings()

public PagedCallSettings.Builder<ListMembershipsRequest,ListMembershipsResponse,ChatServiceClient.ListMembershipsPagedResponse> listMembershipsSettings()

Returns the builder for the settings used for calls to listMemberships.

Returns
Type Description
Builder<ListMembershipsRequest,ListMembershipsResponse,ListMembershipsPagedResponse>

listMessagesSettings()

public PagedCallSettings.Builder<ListMessagesRequest,ListMessagesResponse,ChatServiceClient.ListMessagesPagedResponse> listMessagesSettings()

Returns the builder for the settings used for calls to listMessages.

Returns
Type Description
Builder<ListMessagesRequest,ListMessagesResponse,ListMessagesPagedResponse>

listReactionsSettings()

public PagedCallSettings.Builder<ListReactionsRequest,ListReactionsResponse,ChatServiceClient.ListReactionsPagedResponse> listReactionsSettings()

Returns the builder for the settings used for calls to listReactions.

Returns
Type Description
Builder<ListReactionsRequest,ListReactionsResponse,ListReactionsPagedResponse>

listSpaceEventsSettings()

public PagedCallSettings.Builder<ListSpaceEventsRequest,ListSpaceEventsResponse,ChatServiceClient.ListSpaceEventsPagedResponse> listSpaceEventsSettings()

Returns the builder for the settings used for calls to listSpaceEvents.

Returns
Type Description
Builder<ListSpaceEventsRequest,ListSpaceEventsResponse,ListSpaceEventsPagedResponse>

listSpacesSettings()

public PagedCallSettings.Builder<ListSpacesRequest,ListSpacesResponse,ChatServiceClient.ListSpacesPagedResponse> listSpacesSettings()

Returns the builder for the settings used for calls to listSpaces.

Returns
Type Description
Builder<ListSpacesRequest,ListSpacesResponse,ListSpacesPagedResponse>

searchSpacesSettings()

public PagedCallSettings.Builder<SearchSpacesRequest,SearchSpacesResponse,ChatServiceClient.SearchSpacesPagedResponse> searchSpacesSettings()

Returns the builder for the settings used for calls to searchSpaces.

Returns
Type Description
Builder<SearchSpacesRequest,SearchSpacesResponse,SearchSpacesPagedResponse>

setUpSpaceSettings()

public UnaryCallSettings.Builder<SetUpSpaceRequest,Space> setUpSpaceSettings()

Returns the builder for the settings used for calls to setUpSpace.

Returns
Type Description
Builder<SetUpSpaceRequest,Space>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateMembershipSettings()

public UnaryCallSettings.Builder<UpdateMembershipRequest,Membership> updateMembershipSettings()

Returns the builder for the settings used for calls to updateMembership.

Returns
Type Description
Builder<UpdateMembershipRequest,Membership>

updateMessageSettings()

public UnaryCallSettings.Builder<UpdateMessageRequest,Message> updateMessageSettings()

Returns the builder for the settings used for calls to updateMessage.

Returns
Type Description
Builder<UpdateMessageRequest,Message>

updateSpaceReadStateSettings()

public UnaryCallSettings.Builder<UpdateSpaceReadStateRequest,SpaceReadState> updateSpaceReadStateSettings()

Returns the builder for the settings used for calls to updateSpaceReadState.

Returns
Type Description
Builder<UpdateSpaceReadStateRequest,SpaceReadState>

updateSpaceSettings()

public UnaryCallSettings.Builder<UpdateSpaceRequest,Space> updateSpaceSettings()

Returns the builder for the settings used for calls to updateSpace.

Returns
Type Description
Builder<UpdateSpaceRequest,Space>

uploadAttachmentSettings()

public UnaryCallSettings.Builder<UploadAttachmentRequest,UploadAttachmentResponse> uploadAttachmentSettings()

Returns the builder for the settings used for calls to uploadAttachment.

Returns
Type Description
Builder<UploadAttachmentRequest,UploadAttachmentResponse>