Class GroupServiceSettings.Builder (3.10.0)

public static class GroupServiceSettings.Builder extends ClientSettings.Builder<GroupServiceSettings,GroupServiceSettings.Builder>

Builder for GroupServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > GroupServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(GroupServiceSettings settings)

protected Builder(GroupServiceSettings settings)
Parameter
NameDescription
settingsGroupServiceSettings

Builder(GroupServiceStubSettings.Builder stubSettings)

protected Builder(GroupServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsGroupServiceStubSettings.Builder

Methods

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

public GroupServiceSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns

build()

public GroupServiceSettings build()
Returns
TypeDescription
GroupServiceSettings
Overrides Exceptions
TypeDescription
IOException

createGroupSettings()

public UnaryCallSettings.Builder<CreateGroupRequest,Group> createGroupSettings()

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

Returns

deleteGroupSettings()

public UnaryCallSettings.Builder<DeleteGroupRequest,Empty> deleteGroupSettings()

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

Returns

getGroupSettings()

public UnaryCallSettings.Builder<GetGroupRequest,Group> getGroupSettings()

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

Returns
TypeDescription
Builder<GetGroupRequest,Group>

getStubSettingsBuilder()

public GroupServiceStubSettings.Builder getStubSettingsBuilder()
Returns

listGroupMembersSettings()

public PagedCallSettings.Builder<ListGroupMembersRequest,ListGroupMembersResponse,GroupServiceClient.ListGroupMembersPagedResponse> listGroupMembersSettings()

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

Returns

listGroupsSettings()

public PagedCallSettings.Builder<ListGroupsRequest,ListGroupsResponse,GroupServiceClient.ListGroupsPagedResponse> listGroupsSettings()

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

Returns

updateGroupSettings()

public UnaryCallSettings.Builder<UpdateGroupRequest,Group> updateGroupSettings()

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

Returns