Class VideoIntelligenceServiceStubSettings.Builder (2.54.0)

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
Name Description
clientContext ClientContext

Builder(VideoIntelligenceServiceStubSettings settings)

protected Builder(VideoIntelligenceServiceStubSettings settings)
Parameter
Name Description
settings VideoIntelligenceServiceStubSettings

Methods

annotateVideoOperationSettings()

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

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

Returns
Type Description
Builder<AnnotateVideoRequest,AnnotateVideoResponse,AnnotateVideoProgress>

annotateVideoSettings()

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

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

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

build()

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

unaryMethodSettingsBuilders()

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