Class GroupServiceStubSettings.Builder (3.9.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
NameDescription
clientContextClientContext

Builder(GroupServiceStubSettings settings)

protected Builder(GroupServiceStubSettings settings)
Parameter
NameDescription
settingsGroupServiceStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateGroupRequest,Group>