- 0.54.0 (latest)
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.6
- 0.1.2
public class VideoStitcherServiceStubSettings extends StubSettings<VideoStitcherServiceStubSettings>
Settings class to configure an instance of VideoStitcherServiceStub.
The default instance has everything set to sensible defaults:
- The default service address (videostitcher.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 RetrySettings of getCdnKey:
// 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
VideoStitcherServiceStubSettings.Builder videoStitcherServiceSettingsBuilder =
VideoStitcherServiceStubSettings.newBuilder();
videoStitcherServiceSettingsBuilder
.getCdnKeySettings()
.setRetrySettings(
videoStitcherServiceSettingsBuilder
.getCdnKeySettings()
.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());
VideoStitcherServiceStubSettings videoStitcherServiceSettings =
videoStitcherServiceSettingsBuilder.build();
Please refer to the Client Side Retry Guide 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 createCdnKey:
// 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
VideoStitcherServiceStubSettings.Builder videoStitcherServiceSettingsBuilder =
VideoStitcherServiceStubSettings.newBuilder();
TimedRetryAlgorithm timedRetryAlgorithm =
OperationalTimedPollAlgorithm.create(
RetrySettings.newBuilder()
.setInitialRetryDelayDuration(Duration.ofMillis(500))
.setRetryDelayMultiplier(1.5)
.setMaxRetryDelay(Duration.ofMillis(5000))
.setTotalTimeoutDuration(Duration.ofHours(24))
.build());
videoStitcherServiceSettingsBuilder
.createClusterOperationSettings()
.setPollingAlgorithm(timedRetryAlgorithm)
.build();
Static Methods
defaultApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns | |
---|---|
Type | Description |
Builder |
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
Returns | |
---|---|
Type | Description |
Builder |
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
Returns | |
---|---|
Type | Description |
Builder |
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
Returns | |
---|---|
Type | Description |
Builder |
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider()
Returns | |
---|---|
Type | Description |
TransportChannelProvider |
getDefaultEndpoint()
public static String getDefaultEndpoint()
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.
Returns | |
---|---|
Type | Description |
List<String> |
newBuilder()
public static VideoStitcherServiceStubSettings.Builder newBuilder()
Returns a new builder for this class.
Returns | |
---|---|
Type | Description |
VideoStitcherServiceStubSettings.Builder |
newBuilder(ClientContext clientContext)
public static VideoStitcherServiceStubSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
VideoStitcherServiceStubSettings.Builder |
Constructors
VideoStitcherServiceStubSettings(VideoStitcherServiceStubSettings.Builder settingsBuilder)
protected VideoStitcherServiceStubSettings(VideoStitcherServiceStubSettings.Builder settingsBuilder)
Parameter | |
---|---|
Name | Description |
settingsBuilder |
VideoStitcherServiceStubSettings.Builder |
Methods
createCdnKeyOperationSettings()
public OperationCallSettings<CreateCdnKeyRequest,CdnKey,OperationMetadata> createCdnKeyOperationSettings()
Returns the object with the settings used for calls to createCdnKey.
Returns | |
---|---|
Type | Description |
OperationCallSettings<CreateCdnKeyRequest,CdnKey,OperationMetadata> |
createCdnKeySettings()
public UnaryCallSettings<CreateCdnKeyRequest,Operation> createCdnKeySettings()
Returns the object with the settings used for calls to createCdnKey.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateCdnKeyRequest,Operation> |
createLiveConfigOperationSettings()
public OperationCallSettings<CreateLiveConfigRequest,LiveConfig,OperationMetadata> createLiveConfigOperationSettings()
Returns the object with the settings used for calls to createLiveConfig.
Returns | |
---|---|
Type | Description |
OperationCallSettings<CreateLiveConfigRequest,LiveConfig,OperationMetadata> |
createLiveConfigSettings()
public UnaryCallSettings<CreateLiveConfigRequest,Operation> createLiveConfigSettings()
Returns the object with the settings used for calls to createLiveConfig.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateLiveConfigRequest,Operation> |
createLiveSessionSettings()
public UnaryCallSettings<CreateLiveSessionRequest,LiveSession> createLiveSessionSettings()
Returns the object with the settings used for calls to createLiveSession.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateLiveSessionRequest,LiveSession> |
createSlateOperationSettings()
public OperationCallSettings<CreateSlateRequest,Slate,OperationMetadata> createSlateOperationSettings()
Returns the object with the settings used for calls to createSlate.
Returns | |
---|---|
Type | Description |
OperationCallSettings<CreateSlateRequest,Slate,OperationMetadata> |
createSlateSettings()
public UnaryCallSettings<CreateSlateRequest,Operation> createSlateSettings()
Returns the object with the settings used for calls to createSlate.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateSlateRequest,Operation> |
createStub()
public VideoStitcherServiceStub createStub()
Returns | |
---|---|
Type | Description |
VideoStitcherServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
createVodConfigOperationSettings()
public OperationCallSettings<CreateVodConfigRequest,VodConfig,OperationMetadata> createVodConfigOperationSettings()
Returns the object with the settings used for calls to createVodConfig.
Returns | |
---|---|
Type | Description |
OperationCallSettings<CreateVodConfigRequest,VodConfig,OperationMetadata> |
createVodConfigSettings()
public UnaryCallSettings<CreateVodConfigRequest,Operation> createVodConfigSettings()
Returns the object with the settings used for calls to createVodConfig.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateVodConfigRequest,Operation> |
createVodSessionSettings()
public UnaryCallSettings<CreateVodSessionRequest,VodSession> createVodSessionSettings()
Returns the object with the settings used for calls to createVodSession.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateVodSessionRequest,VodSession> |
deleteCdnKeyOperationSettings()
public OperationCallSettings<DeleteCdnKeyRequest,Empty,OperationMetadata> deleteCdnKeyOperationSettings()
Returns the object with the settings used for calls to deleteCdnKey.
Returns | |
---|---|
Type | Description |
OperationCallSettings<DeleteCdnKeyRequest,Empty,OperationMetadata> |
deleteCdnKeySettings()
public UnaryCallSettings<DeleteCdnKeyRequest,Operation> deleteCdnKeySettings()
Returns the object with the settings used for calls to deleteCdnKey.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteCdnKeyRequest,Operation> |
deleteLiveConfigOperationSettings()
public OperationCallSettings<DeleteLiveConfigRequest,Empty,OperationMetadata> deleteLiveConfigOperationSettings()
Returns the object with the settings used for calls to deleteLiveConfig.
Returns | |
---|---|
Type | Description |
OperationCallSettings<DeleteLiveConfigRequest,Empty,OperationMetadata> |
deleteLiveConfigSettings()
public UnaryCallSettings<DeleteLiveConfigRequest,Operation> deleteLiveConfigSettings()
Returns the object with the settings used for calls to deleteLiveConfig.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteLiveConfigRequest,Operation> |
deleteSlateOperationSettings()
public OperationCallSettings<DeleteSlateRequest,Empty,OperationMetadata> deleteSlateOperationSettings()
Returns the object with the settings used for calls to deleteSlate.
Returns | |
---|---|
Type | Description |
OperationCallSettings<DeleteSlateRequest,Empty,OperationMetadata> |
deleteSlateSettings()
public UnaryCallSettings<DeleteSlateRequest,Operation> deleteSlateSettings()
Returns the object with the settings used for calls to deleteSlate.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteSlateRequest,Operation> |
deleteVodConfigOperationSettings()
public OperationCallSettings<DeleteVodConfigRequest,Empty,OperationMetadata> deleteVodConfigOperationSettings()
Returns the object with the settings used for calls to deleteVodConfig.
Returns | |
---|---|
Type | Description |
OperationCallSettings<DeleteVodConfigRequest,Empty,OperationMetadata> |
deleteVodConfigSettings()
public UnaryCallSettings<DeleteVodConfigRequest,Operation> deleteVodConfigSettings()
Returns the object with the settings used for calls to deleteVodConfig.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteVodConfigRequest,Operation> |
getCdnKeySettings()
public UnaryCallSettings<GetCdnKeyRequest,CdnKey> getCdnKeySettings()
Returns the object with the settings used for calls to getCdnKey.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetCdnKeyRequest,CdnKey> |
getLiveAdTagDetailSettings()
public UnaryCallSettings<GetLiveAdTagDetailRequest,LiveAdTagDetail> getLiveAdTagDetailSettings()
Returns the object with the settings used for calls to getLiveAdTagDetail.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetLiveAdTagDetailRequest,LiveAdTagDetail> |
getLiveConfigSettings()
public UnaryCallSettings<GetLiveConfigRequest,LiveConfig> getLiveConfigSettings()
Returns the object with the settings used for calls to getLiveConfig.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetLiveConfigRequest,LiveConfig> |
getLiveSessionSettings()
public UnaryCallSettings<GetLiveSessionRequest,LiveSession> getLiveSessionSettings()
Returns the object with the settings used for calls to getLiveSession.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetLiveSessionRequest,LiveSession> |
getServiceName()
public String getServiceName()
Returns the default service name.
Returns | |
---|---|
Type | Description |
String |
getSlateSettings()
public UnaryCallSettings<GetSlateRequest,Slate> getSlateSettings()
Returns the object with the settings used for calls to getSlate.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetSlateRequest,Slate> |
getVodAdTagDetailSettings()
public UnaryCallSettings<GetVodAdTagDetailRequest,VodAdTagDetail> getVodAdTagDetailSettings()
Returns the object with the settings used for calls to getVodAdTagDetail.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetVodAdTagDetailRequest,VodAdTagDetail> |
getVodConfigSettings()
public UnaryCallSettings<GetVodConfigRequest,VodConfig> getVodConfigSettings()
Returns the object with the settings used for calls to getVodConfig.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetVodConfigRequest,VodConfig> |
getVodSessionSettings()
public UnaryCallSettings<GetVodSessionRequest,VodSession> getVodSessionSettings()
Returns the object with the settings used for calls to getVodSession.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetVodSessionRequest,VodSession> |
getVodStitchDetailSettings()
public UnaryCallSettings<GetVodStitchDetailRequest,VodStitchDetail> getVodStitchDetailSettings()
Returns the object with the settings used for calls to getVodStitchDetail.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetVodStitchDetailRequest,VodStitchDetail> |
listCdnKeysSettings()
public PagedCallSettings<ListCdnKeysRequest,ListCdnKeysResponse,VideoStitcherServiceClient.ListCdnKeysPagedResponse> listCdnKeysSettings()
Returns the object with the settings used for calls to listCdnKeys.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListCdnKeysRequest,ListCdnKeysResponse,ListCdnKeysPagedResponse> |
listLiveAdTagDetailsSettings()
public PagedCallSettings<ListLiveAdTagDetailsRequest,ListLiveAdTagDetailsResponse,VideoStitcherServiceClient.ListLiveAdTagDetailsPagedResponse> listLiveAdTagDetailsSettings()
Returns the object with the settings used for calls to listLiveAdTagDetails.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListLiveAdTagDetailsRequest,ListLiveAdTagDetailsResponse,ListLiveAdTagDetailsPagedResponse> |
listLiveConfigsSettings()
public PagedCallSettings<ListLiveConfigsRequest,ListLiveConfigsResponse,VideoStitcherServiceClient.ListLiveConfigsPagedResponse> listLiveConfigsSettings()
Returns the object with the settings used for calls to listLiveConfigs.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListLiveConfigsRequest,ListLiveConfigsResponse,ListLiveConfigsPagedResponse> |
listSlatesSettings()
public PagedCallSettings<ListSlatesRequest,ListSlatesResponse,VideoStitcherServiceClient.ListSlatesPagedResponse> listSlatesSettings()
Returns the object with the settings used for calls to listSlates.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListSlatesRequest,ListSlatesResponse,ListSlatesPagedResponse> |
listVodAdTagDetailsSettings()
public PagedCallSettings<ListVodAdTagDetailsRequest,ListVodAdTagDetailsResponse,VideoStitcherServiceClient.ListVodAdTagDetailsPagedResponse> listVodAdTagDetailsSettings()
Returns the object with the settings used for calls to listVodAdTagDetails.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListVodAdTagDetailsRequest,ListVodAdTagDetailsResponse,ListVodAdTagDetailsPagedResponse> |
listVodConfigsSettings()
public PagedCallSettings<ListVodConfigsRequest,ListVodConfigsResponse,VideoStitcherServiceClient.ListVodConfigsPagedResponse> listVodConfigsSettings()
Returns the object with the settings used for calls to listVodConfigs.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListVodConfigsRequest,ListVodConfigsResponse,ListVodConfigsPagedResponse> |
listVodStitchDetailsSettings()
public PagedCallSettings<ListVodStitchDetailsRequest,ListVodStitchDetailsResponse,VideoStitcherServiceClient.ListVodStitchDetailsPagedResponse> listVodStitchDetailsSettings()
Returns the object with the settings used for calls to listVodStitchDetails.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListVodStitchDetailsRequest,ListVodStitchDetailsResponse,ListVodStitchDetailsPagedResponse> |
toBuilder()
public VideoStitcherServiceStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Returns | |
---|---|
Type | Description |
VideoStitcherServiceStubSettings.Builder |
updateCdnKeyOperationSettings()
public OperationCallSettings<UpdateCdnKeyRequest,CdnKey,OperationMetadata> updateCdnKeyOperationSettings()
Returns the object with the settings used for calls to updateCdnKey.
Returns | |
---|---|
Type | Description |
OperationCallSettings<UpdateCdnKeyRequest,CdnKey,OperationMetadata> |
updateCdnKeySettings()
public UnaryCallSettings<UpdateCdnKeyRequest,Operation> updateCdnKeySettings()
Returns the object with the settings used for calls to updateCdnKey.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateCdnKeyRequest,Operation> |
updateLiveConfigOperationSettings()
public OperationCallSettings<UpdateLiveConfigRequest,LiveConfig,OperationMetadata> updateLiveConfigOperationSettings()
Returns the object with the settings used for calls to updateLiveConfig.
Returns | |
---|---|
Type | Description |
OperationCallSettings<UpdateLiveConfigRequest,LiveConfig,OperationMetadata> |
updateLiveConfigSettings()
public UnaryCallSettings<UpdateLiveConfigRequest,Operation> updateLiveConfigSettings()
Returns the object with the settings used for calls to updateLiveConfig.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateLiveConfigRequest,Operation> |
updateSlateOperationSettings()
public OperationCallSettings<UpdateSlateRequest,Slate,OperationMetadata> updateSlateOperationSettings()
Returns the object with the settings used for calls to updateSlate.
Returns | |
---|---|
Type | Description |
OperationCallSettings<UpdateSlateRequest,Slate,OperationMetadata> |
updateSlateSettings()
public UnaryCallSettings<UpdateSlateRequest,Operation> updateSlateSettings()
Returns the object with the settings used for calls to updateSlate.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateSlateRequest,Operation> |
updateVodConfigOperationSettings()
public OperationCallSettings<UpdateVodConfigRequest,VodConfig,OperationMetadata> updateVodConfigOperationSettings()
Returns the object with the settings used for calls to updateVodConfig.
Returns | |
---|---|
Type | Description |
OperationCallSettings<UpdateVodConfigRequest,VodConfig,OperationMetadata> |
updateVodConfigSettings()
public UnaryCallSettings<UpdateVodConfigRequest,Operation> updateVodConfigSettings()
Returns the object with the settings used for calls to updateVodConfig.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateVodConfigRequest,Operation> |