Class VideoIntelligenceServiceSettings.Builder (2.0.27)

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
NameDescription
clientContextClientContext

Builder(VideoIntelligenceServiceSettings settings)

protected Builder(VideoIntelligenceServiceSettings settings)
Parameter
NameDescription
settingsVideoIntelligenceServiceSettings

Builder(VideoIntelligenceServiceStubSettings.Builder stubSettings)

protected Builder(VideoIntelligenceServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsVideoIntelligenceServiceStubSettings.Builder

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

build()

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

getStubSettingsBuilder()

public VideoIntelligenceServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
VideoIntelligenceServiceStubSettings.Builder