Class StreamingServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<StreamingServiceStubSettings,StreamingServiceStubSettings.Builder>
com.google.cloud.visionai.v1.stub.StreamingServiceStubSettings.Builder
- Enclosing class:
- StreamingServiceStubSettings
public static class StreamingServiceStubSettings.Builder
extends StubSettings.Builder<StreamingServiceStubSettings,StreamingServiceStubSettings.Builder>
Builder for StreamingServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(StreamingServiceStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public StreamingServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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 classStubSettings.Builder<StreamingServiceStubSettings,StreamingServiceStubSettings.Builder> - Throws:
IOException
-