Class TranscoderServiceSettings.Builder (1.8.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
NameDescription
clientContextClientContext

Builder(TranscoderServiceSettings settings)

protected Builder(TranscoderServiceSettings settings)
Parameter
NameDescription
settingsTranscoderServiceSettings

Builder(TranscoderServiceStubSettings.Builder stubSettings)

protected Builder(TranscoderServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsTranscoderServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
TranscoderServiceSettings.Builder

build()

public TranscoderServiceSettings build()
Returns
TypeDescription
TranscoderServiceSettings
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>

getStubSettingsBuilder()

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

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>