public static class TranscoderServiceStubSettings.Builder extends StubSettings.Builder<TranscoderServiceStubSettings,TranscoderServiceStubSettings.Builder>
Builder for TranscoderServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(TranscoderServiceStubSettings settings)
protected Builder(TranscoderServiceStubSettings settings)
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.
build()
public TranscoderServiceStubSettings build()
Overrides
createJobSettings()
public UnaryCallSettings.Builder<CreateJobRequest,Job> createJobSettings()
Returns the builder for the settings used for calls to createJob.
createJobTemplateSettings()
public UnaryCallSettings.Builder<CreateJobTemplateRequest,JobTemplate> createJobTemplateSettings()
Returns the builder for the settings used for calls to createJobTemplate.
deleteJobSettings()
public UnaryCallSettings.Builder<DeleteJobRequest,Empty> deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.
deleteJobTemplateSettings()
public UnaryCallSettings.Builder<DeleteJobTemplateRequest,Empty> deleteJobTemplateSettings()
Returns the builder for the settings used for calls to deleteJobTemplate.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getJobSettings()
public UnaryCallSettings.Builder<GetJobRequest,Job> getJobSettings()
Returns the builder for the settings used for calls to getJob.
getJobTemplateSettings()
public UnaryCallSettings.Builder<GetJobTemplateRequest,JobTemplate> getJobTemplateSettings()
Returns the builder for the settings used for calls to getJobTemplate.
listJobTemplatesSettings()
public PagedCallSettings.Builder<ListJobTemplatesRequest,ListJobTemplatesResponse,TranscoderServiceClient.ListJobTemplatesPagedResponse> listJobTemplatesSettings()
Returns the builder for the settings used for calls to listJobTemplates.
listJobsSettings()
public PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,TranscoderServiceClient.ListJobsPagedResponse> listJobsSettings()
Returns the builder for the settings used for calls to listJobs.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |