Class TranscoderServiceSettings.Builder (1.43.0)

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

Builder for TranscoderServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TranscoderServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TranscoderServiceSettings settings)

protected Builder(TranscoderServiceSettings settings)
Parameter
Name Description
settings TranscoderServiceSettings

Builder(TranscoderServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createJobSettings()

public UnaryCallSettings.Builder<CreateJobRequest,Job> createJobSettings()

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

Returns
Type Description
Builder<CreateJobRequest,Job>

createJobTemplateSettings()

public UnaryCallSettings.Builder<CreateJobTemplateRequest,JobTemplate> createJobTemplateSettings()

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

Returns
Type Description
Builder<CreateJobTemplateRequest,JobTemplate>

deleteJobSettings()

public UnaryCallSettings.Builder<DeleteJobRequest,Empty> deleteJobSettings()

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

Returns
Type Description
Builder<DeleteJobRequest,Empty>

deleteJobTemplateSettings()

public UnaryCallSettings.Builder<DeleteJobTemplateRequest,Empty> deleteJobTemplateSettings()

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

Returns
Type Description
Builder<DeleteJobTemplateRequest,Empty>

getJobSettings()

public UnaryCallSettings.Builder<GetJobRequest,Job> getJobSettings()

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

Returns
Type Description
Builder<GetJobRequest,Job>

getJobTemplateSettings()

public UnaryCallSettings.Builder<GetJobTemplateRequest,JobTemplate> getJobTemplateSettings()

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

Returns
Type Description
Builder<GetJobTemplateRequest,JobTemplate>

getStubSettingsBuilder()

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

listJobTemplatesSettings()

public PagedCallSettings.Builder<ListJobTemplatesRequest,ListJobTemplatesResponse,TranscoderServiceClient.ListJobTemplatesPagedResponse> listJobTemplatesSettings()

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

Returns
Type Description
Builder<ListJobTemplatesRequest,ListJobTemplatesResponse,ListJobTemplatesPagedResponse>

listJobsSettings()

public PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,TranscoderServiceClient.ListJobsPagedResponse> listJobsSettings()

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

Returns
Type Description
Builder<ListJobsRequest,ListJobsResponse,ListJobsPagedResponse>