Class GroupServiceSettings.Builder (3.48.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
Name Description
clientContext ClientContext

Builder(GroupServiceSettings settings)

protected Builder(GroupServiceSettings settings)
Parameter
Name Description
settings GroupServiceSettings

Builder(GroupServiceStubSettings.Builder stubSettings)

protected Builder(GroupServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings GroupServiceStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
GroupServiceSettings.Builder

build()

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

createGroupSettings()

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

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

Returns
Type Description
Builder<CreateGroupRequest,Group>

deleteGroupSettings()

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

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

Returns
Type Description
Builder<DeleteGroupRequest,Empty>

getGroupSettings()

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

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

Returns
Type Description
Builder<GetGroupRequest,Group>

getStubSettingsBuilder()

public GroupServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
GroupServiceStubSettings.Builder

listGroupMembersSettings()

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

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

Returns
Type Description
Builder<ListGroupMembersRequest,ListGroupMembersResponse,ListGroupMembersPagedResponse>

listGroupsSettings()

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

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

Returns
Type Description
Builder<ListGroupsRequest,ListGroupsResponse,ListGroupsPagedResponse>

updateGroupSettings()

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

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

Returns
Type Description
Builder<UpdateGroupRequest,Group>