public static class GroupServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<GroupServiceSettings,GroupServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(GroupServiceSettings settings) |
protected |
Builder(GroupServiceStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
GroupServiceSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
GroupServiceSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateGroupRequest,Group> |
createGroupSettings()
Returns the builder for the settings used for calls to createGroup.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteGroupRequest,Empty> |
deleteGroupSettings()
Returns the builder for the settings used for calls to deleteGroup.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGroupRequest,Group> |
getGroupSettings()
Returns the builder for the settings used for calls to getGroup.
|
GroupServiceStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.PagedCallSettings.Builder<ListGroupMembersRequest,ListGroupMembersResponse,GroupServiceClient.ListGroupMembersPagedResponse> |
listGroupMembersSettings()
Returns the builder for the settings used for calls to listGroupMembers.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListGroupsRequest,ListGroupsResponse,GroupServiceClient.ListGroupsPagedResponse> |
listGroupsSettings()
Returns the builder for the settings used for calls to listGroups.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateGroupRequest,Group> |
updateGroupSettings()
Returns the builder for the settings used for calls to updateGroup.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(GroupServiceSettings settings)
protected Builder(GroupServiceStubSettings.Builder stubSettings)
public GroupServiceStubSettings.Builder getStubSettingsBuilder()
public GroupServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListGroupsRequest,ListGroupsResponse,GroupServiceClient.ListGroupsPagedResponse> listGroupsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGroupRequest,Group> getGroupSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateGroupRequest,Group> createGroupSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateGroupRequest,Group> updateGroupSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteGroupRequest,Empty> deleteGroupSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListGroupMembersRequest,ListGroupMembersResponse,GroupServiceClient.ListGroupMembersPagedResponse> listGroupMembersSettings()
public GroupServiceSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<GroupServiceSettings,GroupServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.