Class GroupServiceSettings.Builder (3.15.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
TypeDescription
GroupServiceSettings.Builder

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
TypeDescription
Builder<CreateGroupRequest,Group>

deleteGroupSettings()

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

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

Returns
TypeDescription
Builder<DeleteGroupRequest,Empty>

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
TypeDescription
GroupServiceStubSettings.Builder

listGroupMembersSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListGroupsRequest,ListGroupsResponse,ListGroupsPagedResponse>

updateGroupSettings()

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

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

Returns
TypeDescription
Builder<UpdateGroupRequest,Group>