Class StreamingVideoIntelligenceServiceStubSettings.Builder (2.27.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
NameDescription
clientContextClientContext

Builder(StreamingVideoIntelligenceServiceStubSettings settings)

protected Builder(StreamingVideoIntelligenceServiceStubSettings settings)
Parameter
NameDescription
settingsStreamingVideoIntelligenceServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
StreamingVideoIntelligenceServiceStubSettings.Builder

build()

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

streamingAnnotateVideoSettings()

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

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

Returns
TypeDescription
Builder<StreamingAnnotateVideoRequest,StreamingAnnotateVideoResponse>

unaryMethodSettingsBuilders()

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