Class TranscoderServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<TranscoderServiceSettings,TranscoderServiceSettings.Builder>
-
- com.google.cloud.video.transcoder.v1.TranscoderServiceSettings.Builder
-
- Enclosing class:
- TranscoderServiceSettings
public static class TranscoderServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<TranscoderServiceSettings,TranscoderServiceSettings.Builder>
Builder for TranscoderServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(TranscoderServiceStubSettings.Builder stubSettings)
protected
Builder(TranscoderServiceSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TranscoderServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.TranscoderServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateJobRequest,Job>
createJobSettings()
Returns the builder for the settings used for calls to createJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateJobTemplateRequest,JobTemplate>
createJobTemplateSettings()
Returns the builder for the settings used for calls to createJobTemplate.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobRequest,com.google.protobuf.Empty>
deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobTemplateRequest,com.google.protobuf.Empty>
deleteJobTemplateSettings()
Returns the builder for the settings used for calls to deleteJobTemplate.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetJobRequest,Job>
getJobSettings()
Returns the builder for the settings used for calls to getJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetJobTemplateRequest,JobTemplate>
getJobTemplateSettings()
Returns the builder for the settings used for calls to getJobTemplate.TranscoderServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,TranscoderServiceClient.ListJobsPagedResponse>
listJobsSettings()
Returns the builder for the settings used for calls to listJobs.com.google.api.gax.rpc.PagedCallSettings.Builder<ListJobTemplatesRequest,ListJobTemplatesResponse,TranscoderServiceClient.ListJobTemplatesPagedResponse>
listJobTemplatesSettings()
Returns the builder for the settings used for calls to listJobTemplates.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(TranscoderServiceSettings settings)
-
Builder
protected Builder(TranscoderServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public TranscoderServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public TranscoderServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
createJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateJobRequest,Job> createJobSettings()
Returns the builder for the settings used for calls to createJob.
-
listJobsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,TranscoderServiceClient.ListJobsPagedResponse> listJobsSettings()
Returns the builder for the settings used for calls to listJobs.
-
getJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetJobRequest,Job> getJobSettings()
Returns the builder for the settings used for calls to getJob.
-
deleteJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobRequest,com.google.protobuf.Empty> deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.
-
createJobTemplateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateJobTemplateRequest,JobTemplate> createJobTemplateSettings()
Returns the builder for the settings used for calls to createJobTemplate.
-
listJobTemplatesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListJobTemplatesRequest,ListJobTemplatesResponse,TranscoderServiceClient.ListJobTemplatesPagedResponse> listJobTemplatesSettings()
Returns the builder for the settings used for calls to listJobTemplates.
-
getJobTemplateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetJobTemplateRequest,JobTemplate> getJobTemplateSettings()
Returns the builder for the settings used for calls to getJobTemplate.
-
deleteJobTemplateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobTemplateRequest,com.google.protobuf.Empty> deleteJobTemplateSettings()
Returns the builder for the settings used for calls to deleteJobTemplate.
-
build
public TranscoderServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<TranscoderServiceSettings,TranscoderServiceSettings.Builder>
- Throws:
IOException
-
-