Class TranscoderServiceStubSettings.Builder (1.53.0)

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

Builder for TranscoderServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TranscoderServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TranscoderServiceStubSettings settings)

protected Builder(TranscoderServiceStubSettings settings)
Parameter
Name Description
settings TranscoderServiceStubSettings

Methods

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

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

build()

public TranscoderServiceStubSettings build()
Returns
Type Description
TranscoderServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

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