Class StreamingVideoIntelligenceServiceSettings.Builder (2.12.0)

public static class StreamingVideoIntelligenceServiceSettings.Builder extends ClientSettings.Builder<StreamingVideoIntelligenceServiceSettings,StreamingVideoIntelligenceServiceSettings.Builder>

Builder for StreamingVideoIntelligenceServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > StreamingVideoIntelligenceServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(StreamingVideoIntelligenceServiceSettings settings)

protected Builder(StreamingVideoIntelligenceServiceSettings settings)
Parameter
NameDescription
settingsStreamingVideoIntelligenceServiceSettings

Builder(StreamingVideoIntelligenceServiceStubSettings.Builder stubSettings)

protected Builder(StreamingVideoIntelligenceServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsStreamingVideoIntelligenceServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public StreamingVideoIntelligenceServiceSettings.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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
StreamingVideoIntelligenceServiceSettings.Builder

build()

public StreamingVideoIntelligenceServiceSettings build()
Returns
TypeDescription
StreamingVideoIntelligenceServiceSettings
Overrides
Exceptions
TypeDescription
IOException

getStubSettingsBuilder()

public StreamingVideoIntelligenceServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
StreamingVideoIntelligenceServiceStubSettings.Builder

streamingAnnotateVideoSettings()

public StreamingCallSettings.Builder<StreamingAnnotateVideoRequest,StreamingAnnotateVideoResponse> streamingAnnotateVideoSettings()

Returns the builder for the settings used for calls to streamingAnnotateVideo.

Returns
TypeDescription
Builder<StreamingAnnotateVideoRequest,StreamingAnnotateVideoResponse>