Package com.google.cloud.visionai.v1
Class StreamingServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<StreamingServiceSettings,StreamingServiceSettings.Builder>
com.google.cloud.visionai.v1.StreamingServiceSettings.Builder
- Enclosing class:
- StreamingServiceSettings
public static class StreamingServiceSettings.Builder
extends ClientSettings.Builder<StreamingServiceSettings,StreamingServiceSettings.Builder>
Builder for StreamingServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(StreamingServiceSettings settings) protectedBuilder(StreamingServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to acquireLease.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to getLocation.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, StreamingServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.Returns the builder for the settings used for calls to receiveEvents.Returns the builder for the settings used for calls to receivePackets.Returns the builder for the settings used for calls to releaseLease.Returns the builder for the settings used for calls to renewLease.Returns the builder for the settings used for calls to sendPackets.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 StreamingServiceSettings.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.
-
sendPacketsSettings
Returns the builder for the settings used for calls to sendPackets. -
receivePacketsSettings
public StreamingCallSettings.Builder<ReceivePacketsRequest,ReceivePacketsResponse> receivePacketsSettings()Returns the builder for the settings used for calls to receivePackets. -
receiveEventsSettings
public StreamingCallSettings.Builder<ReceiveEventsRequest,ReceiveEventsResponse> receiveEventsSettings()Returns the builder for the settings used for calls to receiveEvents. -
acquireLeaseSettings
Returns the builder for the settings used for calls to acquireLease. -
renewLeaseSettings
Returns the builder for the settings used for calls to renewLease. -
releaseLeaseSettings
Returns the builder for the settings used for calls to releaseLease. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()StreamingServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classClientSettings.Builder<StreamingServiceSettings,StreamingServiceSettings.Builder> - Throws:
IOException
-