public static class GroupServiceSettings.Builder extends ClientSettings.Builder<GroupServiceSettings,GroupServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(GroupServiceSettings settings) |
protected |
Builder(GroupServiceStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
GroupServiceSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
GroupServiceSettings |
build() |
UnaryCallSettings.Builder<com.google.monitoring.v3.CreateGroupRequest,com.google.monitoring.v3.Group> |
createGroupSettings()
Returns the builder for the settings used for calls to createGroup.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.DeleteGroupRequest,Empty> |
deleteGroupSettings()
Returns the builder for the settings used for calls to deleteGroup.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.GetGroupRequest,com.google.monitoring.v3.Group> |
getGroupSettings()
Returns the builder for the settings used for calls to getGroup.
|
GroupServiceStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<com.google.monitoring.v3.ListGroupMembersRequest,com.google.monitoring.v3.ListGroupMembersResponse,GroupServiceClient.ListGroupMembersPagedResponse> |
listGroupMembersSettings()
Returns the builder for the settings used for calls to listGroupMembers.
|
PagedCallSettings.Builder<com.google.monitoring.v3.ListGroupsRequest,com.google.monitoring.v3.ListGroupsResponse,GroupServiceClient.ListGroupsPagedResponse> |
listGroupsSettings()
Returns the builder for the settings used for calls to listGroups.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.UpdateGroupRequest,com.google.monitoring.v3.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(ClientContext clientContext)
protected Builder(GroupServiceSettings settings)
protected Builder(GroupServiceStubSettings.Builder stubSettings)
public GroupServiceStubSettings.Builder getStubSettingsBuilder()
public GroupServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<com.google.monitoring.v3.ListGroupsRequest,com.google.monitoring.v3.ListGroupsResponse,GroupServiceClient.ListGroupsPagedResponse> listGroupsSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.GetGroupRequest,com.google.monitoring.v3.Group> getGroupSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.CreateGroupRequest,com.google.monitoring.v3.Group> createGroupSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.UpdateGroupRequest,com.google.monitoring.v3.Group> updateGroupSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.DeleteGroupRequest,Empty> deleteGroupSettings()
public PagedCallSettings.Builder<com.google.monitoring.v3.ListGroupMembersRequest,com.google.monitoring.v3.ListGroupMembersResponse,GroupServiceClient.ListGroupMembersPagedResponse> listGroupMembersSettings()
public GroupServiceSettings build() throws IOException
build
in class ClientSettings.Builder<GroupServiceSettings,GroupServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.