Class GroupServiceStubSettings.Builder (3.44.0)

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

Builder for GroupServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > GroupServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(GroupServiceStubSettings settings)

protected Builder(GroupServiceStubSettings settings)
Parameter
Name Description
settings GroupServiceStubSettings

Methods

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

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

build()

public GroupServiceStubSettings build()
Returns
Type Description
GroupServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

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

updateGroupSettings()

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

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

Returns
Type Description
Builder<UpdateGroupRequest,Group>