public static class GroupServiceStubSettings.Builder extends StubSettings.Builder<GroupServiceStubSettings,GroupServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(GroupServiceStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
GroupServiceStubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
GroupServiceStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(GroupServiceStubSettings settings)
public GroupServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 GroupServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<GroupServiceStubSettings,GroupServiceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.