public class LiveVideoAnalyticsStubSettings extends StubSettings<LiveVideoAnalyticsStubSettings>
Settings class to configure an instance of LiveVideoAnalyticsStub .
The default instance has everything set to sensible defaults:
The default service address (visionai.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 resolveOperatorInfo to 30 seconds:
// 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
LiveVideoAnalyticsStubSettings . Builder liveVideoAnalyticsSettingsBuilder =
LiveVideoAnalyticsStubSettings . newBuilder ();
liveVideoAnalyticsSettingsBuilder
. resolveOperatorInfoSettings ()
. setRetrySettings (
liveVideoAnalyticsSettingsBuilder
. resolveOperatorInfoSettings ()
. getRetrySettings ()
. toBuilder ()
. setTotalTimeout ( Duration . ofSeconds ( 30 ))
. build ());
LiveVideoAnalyticsStubSettings liveVideoAnalyticsSettings =
liveVideoAnalyticsSettingsBuilder . build ();
Static Methods
public static ApiClientHeaderProvider . Builder defaultApiClientHeaderProviderBuilder ()
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider . Builder defaultCredentialsProviderBuilder ()
Returns a builder for the default credentials for this service.
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider . Builder defaultExecutorProviderBuilder ()
Returns a builder for the default ExecutorProvider for this service.
public static ApiClientHeaderProvider . Builder defaultGrpcApiClientHeaderProviderBuilder ()
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider . Builder defaultGrpcTransportProviderBuilder ()
Returns a builder for the default gRPC ChannelProvider for this service.
public static ApiClientHeaderProvider . Builder defaultHttpJsonApiClientHeaderProviderBuilder ()
defaultHttpJsonTransportProviderBuilder()
public static InstantiatingHttpJsonChannelProvider . Builder defaultHttpJsonTransportProviderBuilder ()
Beta
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns a builder for the default REST ChannelProvider for this service.
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider ()
getDefaultEndpoint()
public static String getDefaultEndpoint ()
Obsolete
Use getEndpoint() instead
This feature is stable for usage in this major version, but may be deprecated in a future release.
Returns the default service endpoint.
Returns
Type
Description
String
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint ()
Returns the default mTLS service endpoint.
Returns
Type
Description
String
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes ()
Returns the default service scopes.
newBuilder()
public static LiveVideoAnalyticsStubSettings . Builder newBuilder ()
Returns a new gRPC builder for this class.
newBuilder(ClientContext clientContext)
public static LiveVideoAnalyticsStubSettings . Builder newBuilder ( ClientContext clientContext )
Returns a new builder for this class.
newHttpJsonBuilder()
public static LiveVideoAnalyticsStubSettings . Builder newHttpJsonBuilder ()
Returns a new REST builder for this class.
Constructors
LiveVideoAnalyticsStubSettings(LiveVideoAnalyticsStubSettings.Builder settingsBuilder)
protected LiveVideoAnalyticsStubSettings ( LiveVideoAnalyticsStubSettings . Builder settingsBuilder )
Methods
batchRunProcessOperationSettings()
public OperationCallSettings<BatchRunProcessRequest , BatchRunProcessResponse , OperationMetadata > batchRunProcessOperationSettings ()
Returns the object with the settings used for calls to batchRunProcess.
batchRunProcessSettings()
public UnaryCallSettings<BatchRunProcessRequest , Operation > batchRunProcessSettings ()
Returns the object with the settings used for calls to batchRunProcess.
createAnalysisOperationSettings()
public OperationCallSettings<CreateAnalysisRequest , Analysis , OperationMetadata > createAnalysisOperationSettings ()
Returns the object with the settings used for calls to createAnalysis.
createAnalysisSettings()
public UnaryCallSettings<CreateAnalysisRequest , Operation > createAnalysisSettings ()
Returns the object with the settings used for calls to createAnalysis.
createOperatorOperationSettings()
public OperationCallSettings<CreateOperatorRequest , Operator , OperationMetadata > createOperatorOperationSettings ()
Returns the object with the settings used for calls to createOperator.
createOperatorSettings()
public UnaryCallSettings<CreateOperatorRequest , Operation > createOperatorSettings ()
Returns the object with the settings used for calls to createOperator.
createProcessOperationSettings()
public OperationCallSettings<CreateProcessRequest , Process , OperationMetadata > createProcessOperationSettings ()
Returns the object with the settings used for calls to createProcess.
createProcessSettings()
public UnaryCallSettings<CreateProcessRequest , Operation > createProcessSettings ()
Returns the object with the settings used for calls to createProcess.
createStub()
public LiveVideoAnalyticsStub createStub ()
deleteAnalysisOperationSettings()
public OperationCallSettings<DeleteAnalysisRequest , Empty , OperationMetadata > deleteAnalysisOperationSettings ()
Returns the object with the settings used for calls to deleteAnalysis.
deleteAnalysisSettings()
public UnaryCallSettings<DeleteAnalysisRequest , Operation > deleteAnalysisSettings ()
Returns the object with the settings used for calls to deleteAnalysis.
deleteOperatorOperationSettings()
public OperationCallSettings<DeleteOperatorRequest , Empty , OperationMetadata > deleteOperatorOperationSettings ()
Returns the object with the settings used for calls to deleteOperator.
deleteOperatorSettings()
public UnaryCallSettings<DeleteOperatorRequest , Operation > deleteOperatorSettings ()
Returns the object with the settings used for calls to deleteOperator.
deleteProcessOperationSettings()
public OperationCallSettings<DeleteProcessRequest , Empty , OperationMetadata > deleteProcessOperationSettings ()
Returns the object with the settings used for calls to deleteProcess.
deleteProcessSettings()
public UnaryCallSettings<DeleteProcessRequest , Operation > deleteProcessSettings ()
Returns the object with the settings used for calls to deleteProcess.
getAnalysisSettings()
public UnaryCallSettings<GetAnalysisRequest , Analysis > getAnalysisSettings ()
Returns the object with the settings used for calls to getAnalysis.
getOperatorSettings()
public UnaryCallSettings<GetOperatorRequest , Operator > getOperatorSettings ()
Returns the object with the settings used for calls to getOperator.
getProcessSettings()
public UnaryCallSettings<GetProcessRequest , Process > getProcessSettings ()
Returns the object with the settings used for calls to getProcess.
getServiceName()
public String getServiceName ()
Returns the default service name.
Returns
Type
Description
String
Overrides
listAnalysesSettings()
public PagedCallSettings<ListAnalysesRequest , ListAnalysesResponse , LiveVideoAnalyticsClient . ListAnalysesPagedResponse > listAnalysesSettings ()
Returns the object with the settings used for calls to listAnalyses.
public PagedCallSettings<ListOperatorsRequest , ListOperatorsResponse , LiveVideoAnalyticsClient . ListOperatorsPagedResponse > listOperatorsSettings ()
Returns the object with the settings used for calls to listOperators.
listProcessesSettings()
public PagedCallSettings<ListProcessesRequest , ListProcessesResponse , LiveVideoAnalyticsClient . ListProcessesPagedResponse > listProcessesSettings ()
Returns the object with the settings used for calls to listProcesses.
public PagedCallSettings<ListPublicOperatorsRequest , ListPublicOperatorsResponse , LiveVideoAnalyticsClient . ListPublicOperatorsPagedResponse > listPublicOperatorsSettings ()
Returns the object with the settings used for calls to listPublicOperators.
resolveOperatorInfoSettings()
public UnaryCallSettings<ResolveOperatorInfoRequest , ResolveOperatorInfoResponse > resolveOperatorInfoSettings ()
Returns the object with the settings used for calls to resolveOperatorInfo.
toBuilder()
public LiveVideoAnalyticsStubSettings . Builder toBuilder ()
Returns a builder containing all the values of this settings class.
Overrides
updateAnalysisOperationSettings()
public OperationCallSettings<UpdateAnalysisRequest , Analysis , OperationMetadata > updateAnalysisOperationSettings ()
Returns the object with the settings used for calls to updateAnalysis.
updateAnalysisSettings()
public UnaryCallSettings<UpdateAnalysisRequest , Operation > updateAnalysisSettings ()
Returns the object with the settings used for calls to updateAnalysis.
updateOperatorOperationSettings()
public OperationCallSettings<UpdateOperatorRequest , Operator , OperationMetadata > updateOperatorOperationSettings ()
Returns the object with the settings used for calls to updateOperator.
updateOperatorSettings()
public UnaryCallSettings<UpdateOperatorRequest , Operation > updateOperatorSettings ()
Returns the object with the settings used for calls to updateOperator.
updateProcessOperationSettings()
public OperationCallSettings<UpdateProcessRequest , Process , OperationMetadata > updateProcessOperationSettings ()
Returns the object with the settings used for calls to updateProcess.
updateProcessSettings()
public UnaryCallSettings<UpdateProcessRequest , Operation > updateProcessSettings ()
Returns the object with the settings used for calls to updateProcess.