Class StreamingVideoIntelligenceServiceStubSettings.Builder (2.45.0)

public static class StreamingVideoIntelligenceServiceStubSettings.Builder extends StubSettings.Builder<StreamingVideoIntelligenceServiceStubSettings,StreamingVideoIntelligenceServiceStubSettings.Builder>

Builder for StreamingVideoIntelligenceServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > StreamingVideoIntelligenceServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(StreamingVideoIntelligenceServiceStubSettings settings)

protected Builder(StreamingVideoIntelligenceServiceStubSettings settings)
Parameter
Name Description
settings StreamingVideoIntelligenceServiceStubSettings

Methods

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

public StreamingVideoIntelligenceServiceStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
StreamingVideoIntelligenceServiceStubSettings.Builder

build()

public StreamingVideoIntelligenceServiceStubSettings build()
Returns
Type Description
StreamingVideoIntelligenceServiceStubSettings
Overrides
Exceptions
Type Description
IOException

streamingAnnotateVideoSettings()

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

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

Returns
Type Description
Builder<StreamingAnnotateVideoRequest,StreamingAnnotateVideoResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>