Class ChatServiceSettings.Builder (0.39.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public static class ChatServiceSettings . Builder extends ClientSettings . Builder<ChatServiceSettings , ChatServiceSettings . Builder >
Builder for ChatServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(ChatServiceSettings settings)
protected Builder ( ChatServiceSettings settings )
Builder(ChatServiceStubSettings.Builder stubSettings)
protected Builder ( ChatServiceStubSettings . Builder stubSettings )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ChatServiceSettings . 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.
build()
public ChatServiceSettings build ()
Overrides
completeImportSpaceSettings()
public UnaryCallSettings . Builder<CompleteImportSpaceRequest , CompleteImportSpaceResponse > completeImportSpaceSettings ()
Returns the builder for the settings used for calls to completeImportSpace.
createCustomEmojiSettings()
public UnaryCallSettings . Builder<CreateCustomEmojiRequest , CustomEmoji > createCustomEmojiSettings ()
Returns the builder for the settings used for calls to createCustomEmoji.
createMembershipSettings()
public UnaryCallSettings . Builder<CreateMembershipRequest , Membership > createMembershipSettings ()
Returns the builder for the settings used for calls to createMembership.
createMessageSettings()
public UnaryCallSettings . Builder<CreateMessageRequest , Message > createMessageSettings ()
Returns the builder for the settings used for calls to createMessage.
createReactionSettings()
public UnaryCallSettings . Builder<CreateReactionRequest , Reaction > createReactionSettings ()
Returns the builder for the settings used for calls to createReaction.
createSpaceSettings()
public UnaryCallSettings . Builder<CreateSpaceRequest , Space > createSpaceSettings ()
Returns the builder for the settings used for calls to createSpace.
deleteCustomEmojiSettings()
public UnaryCallSettings . Builder<DeleteCustomEmojiRequest , Empty > deleteCustomEmojiSettings ()
Returns the builder for the settings used for calls to deleteCustomEmoji.
deleteMembershipSettings()
public UnaryCallSettings . Builder<DeleteMembershipRequest , Membership > deleteMembershipSettings ()
Returns the builder for the settings used for calls to deleteMembership.
deleteMessageSettings()
public UnaryCallSettings . Builder<DeleteMessageRequest , Empty > deleteMessageSettings ()
Returns the builder for the settings used for calls to deleteMessage.
deleteReactionSettings()
public UnaryCallSettings . Builder<DeleteReactionRequest , Empty > deleteReactionSettings ()
Returns the builder for the settings used for calls to deleteReaction.
deleteSpaceSettings()
public UnaryCallSettings . Builder<DeleteSpaceRequest , Empty > deleteSpaceSettings ()
Returns the builder for the settings used for calls to deleteSpace.
findDirectMessageSettings()
public UnaryCallSettings . Builder<FindDirectMessageRequest , Space > findDirectMessageSettings ()
Returns the builder for the settings used for calls to findDirectMessage.
getAttachmentSettings()
public UnaryCallSettings . Builder<GetAttachmentRequest , Attachment > getAttachmentSettings ()
Returns the builder for the settings used for calls to getAttachment.
getCustomEmojiSettings()
public UnaryCallSettings . Builder<GetCustomEmojiRequest , CustomEmoji > getCustomEmojiSettings ()
Returns the builder for the settings used for calls to getCustomEmoji.
getMembershipSettings()
public UnaryCallSettings . Builder<GetMembershipRequest , Membership > getMembershipSettings ()
Returns the builder for the settings used for calls to getMembership.
getMessageSettings()
public UnaryCallSettings . Builder<GetMessageRequest , Message > getMessageSettings ()
Returns the builder for the settings used for calls to getMessage.
getSpaceEventSettings()
public UnaryCallSettings . Builder<GetSpaceEventRequest , SpaceEvent > getSpaceEventSettings ()
Returns the builder for the settings used for calls to getSpaceEvent.
getSpaceNotificationSettingSettings()
public UnaryCallSettings . Builder<GetSpaceNotificationSettingRequest , SpaceNotificationSetting > getSpaceNotificationSettingSettings ()
Returns the builder for the settings used for calls to getSpaceNotificationSetting.
getSpaceReadStateSettings()
public UnaryCallSettings . Builder<GetSpaceReadStateRequest , SpaceReadState > getSpaceReadStateSettings ()
Returns the builder for the settings used for calls to getSpaceReadState.
getSpaceSettings()
public UnaryCallSettings . Builder<GetSpaceRequest , Space > getSpaceSettings ()
Returns the builder for the settings used for calls to getSpace.
getStubSettingsBuilder()
public ChatServiceStubSettings . Builder getStubSettingsBuilder ()
getThreadReadStateSettings()
public UnaryCallSettings . Builder<GetThreadReadStateRequest , ThreadReadState > getThreadReadStateSettings ()
Returns the builder for the settings used for calls to getThreadReadState.
listCustomEmojisSettings()
public PagedCallSettings . Builder<ListCustomEmojisRequest , ListCustomEmojisResponse , ChatServiceClient . ListCustomEmojisPagedResponse > listCustomEmojisSettings ()
Returns the builder for the settings used for calls to listCustomEmojis.
listMembershipsSettings()
public PagedCallSettings . Builder<ListMembershipsRequest , ListMembershipsResponse , ChatServiceClient . ListMembershipsPagedResponse > listMembershipsSettings ()
Returns the builder for the settings used for calls to listMemberships.
listMessagesSettings()
public PagedCallSettings . Builder<ListMessagesRequest , ListMessagesResponse , ChatServiceClient . ListMessagesPagedResponse > listMessagesSettings ()
Returns the builder for the settings used for calls to listMessages.
listReactionsSettings()
public PagedCallSettings . Builder<ListReactionsRequest , ListReactionsResponse , ChatServiceClient . ListReactionsPagedResponse > listReactionsSettings ()
Returns the builder for the settings used for calls to listReactions.
listSpaceEventsSettings()
public PagedCallSettings . Builder<ListSpaceEventsRequest , ListSpaceEventsResponse , ChatServiceClient . ListSpaceEventsPagedResponse > listSpaceEventsSettings ()
Returns the builder for the settings used for calls to listSpaceEvents.
listSpacesSettings()
public PagedCallSettings . Builder<ListSpacesRequest , ListSpacesResponse , ChatServiceClient . ListSpacesPagedResponse > listSpacesSettings ()
Returns the builder for the settings used for calls to listSpaces.
searchSpacesSettings()
public PagedCallSettings . Builder<SearchSpacesRequest , SearchSpacesResponse , ChatServiceClient . SearchSpacesPagedResponse > searchSpacesSettings ()
Returns the builder for the settings used for calls to searchSpaces.
setUpSpaceSettings()
public UnaryCallSettings . Builder<SetUpSpaceRequest , Space > setUpSpaceSettings ()
Returns the builder for the settings used for calls to setUpSpace.
updateMembershipSettings()
public UnaryCallSettings . Builder<UpdateMembershipRequest , Membership > updateMembershipSettings ()
Returns the builder for the settings used for calls to updateMembership.
updateMessageSettings()
public UnaryCallSettings . Builder<UpdateMessageRequest , Message > updateMessageSettings ()
Returns the builder for the settings used for calls to updateMessage.
updateSpaceNotificationSettingSettings()
public UnaryCallSettings . Builder<UpdateSpaceNotificationSettingRequest , SpaceNotificationSetting > updateSpaceNotificationSettingSettings ()
Returns the builder for the settings used for calls to updateSpaceNotificationSetting.
updateSpaceReadStateSettings()
public UnaryCallSettings . Builder<UpdateSpaceReadStateRequest , SpaceReadState > updateSpaceReadStateSettings ()
Returns the builder for the settings used for calls to updateSpaceReadState.
updateSpaceSettings()
public UnaryCallSettings . Builder<UpdateSpaceRequest , Space > updateSpaceSettings ()
Returns the builder for the settings used for calls to updateSpace.
uploadAttachmentSettings()
public UnaryCallSettings . Builder<UploadAttachmentRequest , UploadAttachmentResponse > uploadAttachmentSettings ()
Returns the builder for the settings used for calls to uploadAttachment.
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-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-02 UTC."],[],[]]