Class TranscoderServiceSettings (0.4.3)

public class TranscoderServiceSettings extends ClientSettings<TranscoderServiceSettings>

(deprecated) This class is deprecated and will be removed in the next major version update.

Settings class to configure an instance of TranscoderServiceClient.

The default instance has everything set to sensible defaults:

  • The default service address (transcoder.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of createJob to 30 seconds:


 TranscoderServiceSettings.Builder transcoderServiceSettingsBuilder =
     TranscoderServiceSettings.newBuilder();
 transcoderServiceSettingsBuilder
     .createJobSettings()
     .setRetrySettings(
         transcoderServiceSettingsBuilder
             .createJobSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 TranscoderServiceSettings transcoderServiceSettings = transcoderServiceSettingsBuilder.build();
 

Inheritance

java.lang.Object > ClientSettings > TranscoderServiceSettings

Constructors

TranscoderServiceSettings(TranscoderServiceSettings.Builder settingsBuilder) (deprecated)

protected TranscoderServiceSettings(TranscoderServiceSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderTranscoderServiceSettings.Builder

Methods

create(TranscoderServiceStubSettings stub) (deprecated)

public static final TranscoderServiceSettings create(TranscoderServiceStubSettings stub)
Parameter
NameDescription
stubTranscoderServiceStubSettings
Returns
TypeDescription
TranscoderServiceSettings
Exceptions
TypeDescription
IOException

createJobSettings() (deprecated)

public UnaryCallSettings<CreateJobRequest,Job> createJobSettings()

Returns the object with the settings used for calls to createJob.

Returns
TypeDescription
UnaryCallSettings<CreateJobRequest,Job>

createJobTemplateSettings() (deprecated)

public UnaryCallSettings<CreateJobTemplateRequest,JobTemplate> createJobTemplateSettings()

Returns the object with the settings used for calls to createJobTemplate.

Returns
TypeDescription
UnaryCallSettings<CreateJobTemplateRequest,JobTemplate>

defaultApiClientHeaderProviderBuilder() (deprecated)

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultCredentialsProviderBuilder() (deprecated)

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
TypeDescription
Builder

defaultExecutorProviderBuilder() (deprecated)

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
TypeDescription
Builder

defaultGrpcTransportProviderBuilder() (deprecated)

public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()

Returns a builder for the default ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultTransportChannelProvider() (deprecated)

public static TransportChannelProvider defaultTransportChannelProvider()
Returns
TypeDescription
TransportChannelProvider

deleteJobSettings() (deprecated)

public UnaryCallSettings<DeleteJobRequest,Empty> deleteJobSettings()

Returns the object with the settings used for calls to deleteJob.

Returns
TypeDescription
UnaryCallSettings<DeleteJobRequest,Empty>

deleteJobTemplateSettings() (deprecated)

public UnaryCallSettings<DeleteJobTemplateRequest,Empty> deleteJobTemplateSettings()

Returns the object with the settings used for calls to deleteJobTemplate.

Returns
TypeDescription
UnaryCallSettings<DeleteJobTemplateRequest,Empty>

getDefaultEndpoint() (deprecated)

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
TypeDescription
String

getDefaultServiceScopes() (deprecated)

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

getJobSettings() (deprecated)

public UnaryCallSettings<GetJobRequest,Job> getJobSettings()

Returns the object with the settings used for calls to getJob.

Returns
TypeDescription
UnaryCallSettings<GetJobRequest,Job>

getJobTemplateSettings() (deprecated)

public UnaryCallSettings<GetJobTemplateRequest,JobTemplate> getJobTemplateSettings()

Returns the object with the settings used for calls to getJobTemplate.

Returns
TypeDescription
UnaryCallSettings<GetJobTemplateRequest,JobTemplate>

listJobTemplatesSettings() (deprecated)

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

Returns the object with the settings used for calls to listJobTemplates.

Returns
TypeDescription
PagedCallSettings<ListJobTemplatesRequest,ListJobTemplatesResponse,ListJobTemplatesPagedResponse>

listJobsSettings() (deprecated)

public PagedCallSettings<ListJobsRequest,ListJobsResponse,TranscoderServiceClient.ListJobsPagedResponse> listJobsSettings()

Returns the object with the settings used for calls to listJobs.

Returns
TypeDescription
PagedCallSettings<ListJobsRequest,ListJobsResponse,ListJobsPagedResponse>

newBuilder() (deprecated)

public static TranscoderServiceSettings.Builder newBuilder()

Returns a new builder for this class.

Returns
TypeDescription
TranscoderServiceSettings.Builder

newBuilder(ClientContext clientContext) (deprecated)

public static TranscoderServiceSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
TranscoderServiceSettings.Builder

toBuilder() (deprecated)

public TranscoderServiceSettings.Builder toBuilder()

Returns a builder containing all the values of this settings class.

Returns
TypeDescription
TranscoderServiceSettings.Builder
Overrides