Class VideoIntelligenceServiceSettings.Builder (2.54.0)

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

Builder for VideoIntelligenceServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > VideoIntelligenceServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(VideoIntelligenceServiceSettings settings)

protected Builder(VideoIntelligenceServiceSettings settings)
Parameter
Name Description
settings VideoIntelligenceServiceSettings

Builder(VideoIntelligenceServiceStubSettings.Builder stubSettings)

protected Builder(VideoIntelligenceServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings VideoIntelligenceServiceStubSettings.Builder

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 VideoIntelligenceServiceSettings.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
VideoIntelligenceServiceSettings.Builder

build()

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

getStubSettingsBuilder()

public VideoIntelligenceServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
VideoIntelligenceServiceStubSettings.Builder