Class VideoIntelligenceServiceStubSettings.Builder (2.2.10)

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

Builder for VideoIntelligenceServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > VideoIntelligenceServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(VideoIntelligenceServiceStubSettings settings)

protected Builder(VideoIntelligenceServiceStubSettings settings)
Parameter
NameDescription
settingsVideoIntelligenceServiceStubSettings

Methods

annotateVideoOperationSettings()

public OperationCallSettings.Builder<AnnotateVideoRequest,AnnotateVideoResponse,AnnotateVideoProgress> annotateVideoOperationSettings()

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

Returns
TypeDescription
Builder<AnnotateVideoRequest,AnnotateVideoResponse,AnnotateVideoProgress>

annotateVideoSettings()

public UnaryCallSettings.Builder<AnnotateVideoRequest,Operation> annotateVideoSettings()

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

Returns
TypeDescription
Builder<AnnotateVideoRequest,Operation>

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

public VideoIntelligenceServiceStubSettings.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
VideoIntelligenceServiceStubSettings.Builder

build()

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

unaryMethodSettingsBuilders()

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