Class DirectAccessServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<DirectAccessServiceSettings,DirectAccessServiceSettings.Builder>
com.google.cloud.devicestreaming.v1.DirectAccessServiceSettings.Builder
- Enclosing class:
- DirectAccessServiceSettings
public static class DirectAccessServiceSettings.Builder
extends ClientSettings.Builder<DirectAccessServiceSettings,DirectAccessServiceSettings.Builder>
Builder for DirectAccessServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(DirectAccessServiceSettings settings) protectedBuilder(DirectAccessServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to adbConnect.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()UnaryCallSettings.Builder<CancelDeviceSessionRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to cancelDeviceSession.Returns the builder for the settings used for calls to createDeviceSession.Returns the builder for the settings used for calls to getDeviceSession.PagedCallSettings.Builder<ListDeviceSessionsRequest,ListDeviceSessionsResponse, DirectAccessServiceClient.ListDeviceSessionsPagedResponse> Returns the builder for the settings used for calls to listDeviceSessions.Returns the builder for the settings used for calls to updateDeviceSession.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public DirectAccessServiceSettings.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.
-
createDeviceSessionSettings
public UnaryCallSettings.Builder<CreateDeviceSessionRequest,DeviceSession> createDeviceSessionSettings()Returns the builder for the settings used for calls to createDeviceSession. -
listDeviceSessionsSettings
public PagedCallSettings.Builder<ListDeviceSessionsRequest,ListDeviceSessionsResponse, listDeviceSessionsSettings()DirectAccessServiceClient.ListDeviceSessionsPagedResponse> Returns the builder for the settings used for calls to listDeviceSessions. -
getDeviceSessionSettings
Returns the builder for the settings used for calls to getDeviceSession. -
cancelDeviceSessionSettings
public UnaryCallSettings.Builder<CancelDeviceSessionRequest,com.google.protobuf.Empty> cancelDeviceSessionSettings()Returns the builder for the settings used for calls to cancelDeviceSession. -
updateDeviceSessionSettings
public UnaryCallSettings.Builder<UpdateDeviceSessionRequest,DeviceSession> updateDeviceSessionSettings()Returns the builder for the settings used for calls to updateDeviceSession. -
adbConnectSettings
Returns the builder for the settings used for calls to adbConnect. -
build
- Specified by:
buildin classClientSettings.Builder<DirectAccessServiceSettings,DirectAccessServiceSettings.Builder> - Throws:
IOException
-