Class TranscoderServiceStubSettings.Builder (1.19.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
NameDescription
clientContextClientContext

Builder(TranscoderServiceStubSettings settings)

protected Builder(TranscoderServiceStubSettings settings)
Parameter
NameDescription
settingsTranscoderServiceStubSettings

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

build()

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

createJobSettings()

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

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

Returns
TypeDescription
Builder<CreateJobRequest,Job>

createJobTemplateSettings()

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

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

Returns
TypeDescription
Builder<CreateJobTemplateRequest,JobTemplate>

deleteJobSettings()

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

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

Returns
TypeDescription
Builder<DeleteJobRequest,Empty>

deleteJobTemplateSettings()

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

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

Returns
TypeDescription
Builder<DeleteJobTemplateRequest,Empty>

getJobSettings()

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

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

Returns
TypeDescription
Builder<GetJobRequest,Job>

getJobTemplateSettings()

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

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

Returns
TypeDescription
Builder<GetJobTemplateRequest,JobTemplate>

listJobTemplatesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListJobsRequest,ListJobsResponse,ListJobsPagedResponse>

unaryMethodSettingsBuilders()

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