@Generated(value="by gapic-generator-java") public class LiveVideoAnalyticsSettings extends com.google.api.gax.rpc.ClientSettings<LiveVideoAnalyticsSettings>
LiveVideoAnalyticsClient.
The default instance has everything set to sensible defaults:
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 [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) of resolveOperatorInfo:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
LiveVideoAnalyticsSettings.Builder liveVideoAnalyticsSettingsBuilder =
LiveVideoAnalyticsSettings.newBuilder();
liveVideoAnalyticsSettingsBuilder
.resolveOperatorInfoSettings()
.setRetrySettings(
liveVideoAnalyticsSettingsBuilder
.resolveOperatorInfoSettings()
.getRetrySettings()
.toBuilder()
.setInitialRetryDelayDuration(Duration.ofSeconds(1))
.setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
.setMaxAttempts(5)
.setMaxRetryDelayDuration(Duration.ofSeconds(30))
.setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
.setRetryDelayMultiplier(1.3)
.setRpcTimeoutMultiplier(1.5)
.setTotalTimeoutDuration(Duration.ofSeconds(300))
.build());
LiveVideoAnalyticsSettings liveVideoAnalyticsSettings =
liveVideoAnalyticsSettingsBuilder.build();
Please refer to the [Client Side Retry
Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for
additional support in setting retries.
To configure the RetrySettings of a Long Running Operation method, create an OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to configure the RetrySettings for createOperator:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
LiveVideoAnalyticsSettings.Builder liveVideoAnalyticsSettingsBuilder =
LiveVideoAnalyticsSettings.newBuilder();
TimedRetryAlgorithm timedRetryAlgorithm =
OperationalTimedPollAlgorithm.create(
RetrySettings.newBuilder()
.setInitialRetryDelayDuration(Duration.ofMillis(500))
.setRetryDelayMultiplier(1.5)
.setMaxRetryDelayDuration(Duration.ofMillis(5000))
.setTotalTimeoutDuration(Duration.ofHours(24))
.build());
liveVideoAnalyticsSettingsBuilder
.createClusterOperationSettings()
.setPollingAlgorithm(timedRetryAlgorithm)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
LiveVideoAnalyticsSettings.Builder
Builder for LiveVideoAnalyticsSettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
LiveVideoAnalyticsSettings(LiveVideoAnalyticsSettings.Builder settingsBuilder) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.OperationCallSettings<BatchRunProcessRequest,BatchRunProcessResponse,OperationMetadata> |
batchRunProcessOperationSettings()
Returns the object with the settings used for calls to batchRunProcess.
|
com.google.api.gax.rpc.UnaryCallSettings<BatchRunProcessRequest,com.google.longrunning.Operation> |
batchRunProcessSettings()
Returns the object with the settings used for calls to batchRunProcess.
|
static LiveVideoAnalyticsSettings |
create(LiveVideoAnalyticsStubSettings stub) |
com.google.api.gax.rpc.OperationCallSettings<CreateAnalysisRequest,Analysis,OperationMetadata> |
createAnalysisOperationSettings()
Returns the object with the settings used for calls to createAnalysis.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateAnalysisRequest,com.google.longrunning.Operation> |
createAnalysisSettings()
Returns the object with the settings used for calls to createAnalysis.
|
com.google.api.gax.rpc.OperationCallSettings<CreateOperatorRequest,Operator,OperationMetadata> |
createOperatorOperationSettings()
Returns the object with the settings used for calls to createOperator.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateOperatorRequest,com.google.longrunning.Operation> |
createOperatorSettings()
Returns the object with the settings used for calls to createOperator.
|
com.google.api.gax.rpc.OperationCallSettings<CreateProcessRequest,Process,OperationMetadata> |
createProcessOperationSettings()
Returns the object with the settings used for calls to createProcess.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateProcessRequest,com.google.longrunning.Operation> |
createProcessSettings()
Returns the object with the settings used for calls to createProcess.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
|
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder |
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.OperationCallSettings<DeleteAnalysisRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteAnalysisOperationSettings()
Returns the object with the settings used for calls to deleteAnalysis.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteAnalysisRequest,com.google.longrunning.Operation> |
deleteAnalysisSettings()
Returns the object with the settings used for calls to deleteAnalysis.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteOperatorRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteOperatorOperationSettings()
Returns the object with the settings used for calls to deleteOperator.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteOperatorRequest,com.google.longrunning.Operation> |
deleteOperatorSettings()
Returns the object with the settings used for calls to deleteOperator.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteProcessRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteProcessOperationSettings()
Returns the object with the settings used for calls to deleteProcess.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteProcessRequest,com.google.longrunning.Operation> |
deleteProcessSettings()
Returns the object with the settings used for calls to deleteProcess.
|
com.google.api.gax.rpc.UnaryCallSettings<GetAnalysisRequest,Analysis> |
getAnalysisSettings()
Returns the object with the settings used for calls to getAnalysis.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetOperatorRequest,Operator> |
getOperatorSettings()
Returns the object with the settings used for calls to getOperator.
|
com.google.api.gax.rpc.UnaryCallSettings<GetProcessRequest,Process> |
getProcessSettings()
Returns the object with the settings used for calls to getProcess.
|
com.google.api.gax.rpc.PagedCallSettings<ListAnalysesRequest,ListAnalysesResponse,LiveVideoAnalyticsClient.ListAnalysesPagedResponse> |
listAnalysesSettings()
Returns the object with the settings used for calls to listAnalyses.
|
com.google.api.gax.rpc.PagedCallSettings<ListOperatorsRequest,ListOperatorsResponse,LiveVideoAnalyticsClient.ListOperatorsPagedResponse> |
listOperatorsSettings()
Returns the object with the settings used for calls to listOperators.
|
com.google.api.gax.rpc.PagedCallSettings<ListProcessesRequest,ListProcessesResponse,LiveVideoAnalyticsClient.ListProcessesPagedResponse> |
listProcessesSettings()
Returns the object with the settings used for calls to listProcesses.
|
com.google.api.gax.rpc.PagedCallSettings<ListPublicOperatorsRequest,ListPublicOperatorsResponse,LiveVideoAnalyticsClient.ListPublicOperatorsPagedResponse> |
listPublicOperatorsSettings()
Returns the object with the settings used for calls to listPublicOperators.
|
static LiveVideoAnalyticsSettings.Builder |
newBuilder()
Returns a new gRPC builder for this class.
|
static LiveVideoAnalyticsSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
static LiveVideoAnalyticsSettings.Builder |
newHttpJsonBuilder()
Returns a new REST builder for this class.
|
com.google.api.gax.rpc.UnaryCallSettings<ResolveOperatorInfoRequest,ResolveOperatorInfoResponse> |
resolveOperatorInfoSettings()
Returns the object with the settings used for calls to resolveOperatorInfo.
|
LiveVideoAnalyticsSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateAnalysisRequest,Analysis,OperationMetadata> |
updateAnalysisOperationSettings()
Returns the object with the settings used for calls to updateAnalysis.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateAnalysisRequest,com.google.longrunning.Operation> |
updateAnalysisSettings()
Returns the object with the settings used for calls to updateAnalysis.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateOperatorRequest,Operator,OperationMetadata> |
updateOperatorOperationSettings()
Returns the object with the settings used for calls to updateOperator.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateOperatorRequest,com.google.longrunning.Operation> |
updateOperatorSettings()
Returns the object with the settings used for calls to updateOperator.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateProcessRequest,Process,OperationMetadata> |
updateProcessOperationSettings()
Returns the object with the settings used for calls to updateProcess.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateProcessRequest,com.google.longrunning.Operation> |
updateProcessSettings()
Returns the object with the settings used for calls to updateProcess.
|
getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getUniverseDomain, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, toStringprotected LiveVideoAnalyticsSettings(LiveVideoAnalyticsSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.PagedCallSettings<ListPublicOperatorsRequest,ListPublicOperatorsResponse,LiveVideoAnalyticsClient.ListPublicOperatorsPagedResponse> listPublicOperatorsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ResolveOperatorInfoRequest,ResolveOperatorInfoResponse> resolveOperatorInfoSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListOperatorsRequest,ListOperatorsResponse,LiveVideoAnalyticsClient.ListOperatorsPagedResponse> listOperatorsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetOperatorRequest,Operator> getOperatorSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateOperatorRequest,com.google.longrunning.Operation> createOperatorSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateOperatorRequest,Operator,OperationMetadata> createOperatorOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateOperatorRequest,com.google.longrunning.Operation> updateOperatorSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateOperatorRequest,Operator,OperationMetadata> updateOperatorOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteOperatorRequest,com.google.longrunning.Operation> deleteOperatorSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteOperatorRequest,com.google.protobuf.Empty,OperationMetadata> deleteOperatorOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListAnalysesRequest,ListAnalysesResponse,LiveVideoAnalyticsClient.ListAnalysesPagedResponse> listAnalysesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetAnalysisRequest,Analysis> getAnalysisSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateAnalysisRequest,com.google.longrunning.Operation> createAnalysisSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateAnalysisRequest,Analysis,OperationMetadata> createAnalysisOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateAnalysisRequest,com.google.longrunning.Operation> updateAnalysisSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateAnalysisRequest,Analysis,OperationMetadata> updateAnalysisOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteAnalysisRequest,com.google.longrunning.Operation> deleteAnalysisSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteAnalysisRequest,com.google.protobuf.Empty,OperationMetadata> deleteAnalysisOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListProcessesRequest,ListProcessesResponse,LiveVideoAnalyticsClient.ListProcessesPagedResponse> listProcessesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetProcessRequest,Process> getProcessSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateProcessRequest,com.google.longrunning.Operation> createProcessSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateProcessRequest,Process,OperationMetadata> createProcessOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateProcessRequest,com.google.longrunning.Operation> updateProcessSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateProcessRequest,Process,OperationMetadata> updateProcessOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteProcessRequest,com.google.longrunning.Operation> deleteProcessSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteProcessRequest,com.google.protobuf.Empty,OperationMetadata> deleteProcessOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<BatchRunProcessRequest,com.google.longrunning.Operation> batchRunProcessSettings()
public com.google.api.gax.rpc.OperationCallSettings<BatchRunProcessRequest,BatchRunProcessResponse,OperationMetadata> batchRunProcessOperationSettings()
public static final LiveVideoAnalyticsSettings create(LiveVideoAnalyticsStubSettings stub) throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static LiveVideoAnalyticsSettings.Builder newBuilder()
public static LiveVideoAnalyticsSettings.Builder newHttpJsonBuilder()
public static LiveVideoAnalyticsSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public LiveVideoAnalyticsSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.ClientSettings<LiveVideoAnalyticsSettings>Copyright © 2025 Google LLC. All rights reserved.