Class VideoStitcherServiceSettings (0.34.0)

public class VideoStitcherServiceSettings extends ClientSettings<VideoStitcherServiceSettings>

Settings class to configure an instance of VideoStitcherServiceClient.

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 total timeout of getCdnKey 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
 VideoStitcherServiceSettings.Builder videoStitcherServiceSettingsBuilder =
     VideoStitcherServiceSettings.newBuilder();
 videoStitcherServiceSettingsBuilder
     .getCdnKeySettings()
     .setRetrySettings(
         videoStitcherServiceSettingsBuilder
             .getCdnKeySettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 VideoStitcherServiceSettings videoStitcherServiceSettings =
     videoStitcherServiceSettingsBuilder.build();
 

Inheritance

java.lang.Object > ClientSettings > VideoStitcherServiceSettings

Static Methods

create(VideoStitcherServiceStubSettings stub)

public static final VideoStitcherServiceSettings create(VideoStitcherServiceStubSettings stub)
Parameter
NameDescription
stubVideoStitcherServiceStubSettings
Returns
TypeDescription
VideoStitcherServiceSettings
Exceptions
TypeDescription
IOException

defaultApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
TypeDescription
Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
TypeDescription
Builder

defaultGrpcTransportProviderBuilder()

public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()

Returns a builder for the default ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultTransportChannelProvider()

public static TransportChannelProvider defaultTransportChannelProvider()
Returns
TypeDescription
TransportChannelProvider

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
TypeDescription
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

newBuilder()

public static VideoStitcherServiceSettings.Builder newBuilder()

Returns a new builder for this class.

Returns
TypeDescription
VideoStitcherServiceSettings.Builder

newBuilder(ClientContext clientContext)

public static VideoStitcherServiceSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
VideoStitcherServiceSettings.Builder

Constructors

VideoStitcherServiceSettings(VideoStitcherServiceSettings.Builder settingsBuilder)

protected VideoStitcherServiceSettings(VideoStitcherServiceSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderVideoStitcherServiceSettings.Builder

Methods

createCdnKeyOperationSettings()

public OperationCallSettings<CreateCdnKeyRequest,CdnKey,OperationMetadata> createCdnKeyOperationSettings()

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

Returns
TypeDescription
OperationCallSettings<CreateCdnKeyRequest,CdnKey,OperationMetadata>

createCdnKeySettings()

public UnaryCallSettings<CreateCdnKeyRequest,Operation> createCdnKeySettings()

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

Returns
TypeDescription
UnaryCallSettings<CreateCdnKeyRequest,Operation>

createLiveConfigOperationSettings()

public OperationCallSettings<CreateLiveConfigRequest,LiveConfig,OperationMetadata> createLiveConfigOperationSettings()

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

Returns
TypeDescription
OperationCallSettings<CreateLiveConfigRequest,LiveConfig,OperationMetadata>

createLiveConfigSettings()

public UnaryCallSettings<CreateLiveConfigRequest,Operation> createLiveConfigSettings()

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

Returns
TypeDescription
UnaryCallSettings<CreateLiveConfigRequest,Operation>

createLiveSessionSettings()

public UnaryCallSettings<CreateLiveSessionRequest,LiveSession> createLiveSessionSettings()

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

Returns
TypeDescription
UnaryCallSettings<CreateLiveSessionRequest,LiveSession>

createSlateOperationSettings()

public OperationCallSettings<CreateSlateRequest,Slate,OperationMetadata> createSlateOperationSettings()

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

Returns
TypeDescription
OperationCallSettings<CreateSlateRequest,Slate,OperationMetadata>

createSlateSettings()

public UnaryCallSettings<CreateSlateRequest,Operation> createSlateSettings()

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

Returns
TypeDescription
UnaryCallSettings<CreateSlateRequest,Operation>

createVodSessionSettings()

public UnaryCallSettings<CreateVodSessionRequest,VodSession> createVodSessionSettings()

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

Returns
TypeDescription
UnaryCallSettings<CreateVodSessionRequest,VodSession>

deleteCdnKeyOperationSettings()

public OperationCallSettings<DeleteCdnKeyRequest,Empty,OperationMetadata> deleteCdnKeyOperationSettings()

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

Returns
TypeDescription
OperationCallSettings<DeleteCdnKeyRequest,Empty,OperationMetadata>

deleteCdnKeySettings()

public UnaryCallSettings<DeleteCdnKeyRequest,Operation> deleteCdnKeySettings()

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

Returns
TypeDescription
UnaryCallSettings<DeleteCdnKeyRequest,Operation>

deleteLiveConfigOperationSettings()

public OperationCallSettings<DeleteLiveConfigRequest,Empty,OperationMetadata> deleteLiveConfigOperationSettings()

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

Returns
TypeDescription
OperationCallSettings<DeleteLiveConfigRequest,Empty,OperationMetadata>

deleteLiveConfigSettings()

public UnaryCallSettings<DeleteLiveConfigRequest,Operation> deleteLiveConfigSettings()

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

Returns
TypeDescription
UnaryCallSettings<DeleteLiveConfigRequest,Operation>

deleteSlateOperationSettings()

public OperationCallSettings<DeleteSlateRequest,Empty,OperationMetadata> deleteSlateOperationSettings()

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

Returns
TypeDescription
OperationCallSettings<DeleteSlateRequest,Empty,OperationMetadata>

deleteSlateSettings()

public UnaryCallSettings<DeleteSlateRequest,Operation> deleteSlateSettings()

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

Returns
TypeDescription
UnaryCallSettings<DeleteSlateRequest,Operation>

getCdnKeySettings()

public UnaryCallSettings<GetCdnKeyRequest,CdnKey> getCdnKeySettings()

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

Returns
TypeDescription
UnaryCallSettings<GetCdnKeyRequest,CdnKey>

getLiveAdTagDetailSettings()

public UnaryCallSettings<GetLiveAdTagDetailRequest,LiveAdTagDetail> getLiveAdTagDetailSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetLiveAdTagDetailRequest,LiveAdTagDetail>

getLiveConfigSettings()

public UnaryCallSettings<GetLiveConfigRequest,LiveConfig> getLiveConfigSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetLiveConfigRequest,LiveConfig>

getLiveSessionSettings()

public UnaryCallSettings<GetLiveSessionRequest,LiveSession> getLiveSessionSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetLiveSessionRequest,LiveSession>

getSlateSettings()

public UnaryCallSettings<GetSlateRequest,Slate> getSlateSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetSlateRequest,Slate>

getVodAdTagDetailSettings()

public UnaryCallSettings<GetVodAdTagDetailRequest,VodAdTagDetail> getVodAdTagDetailSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetVodAdTagDetailRequest,VodAdTagDetail>

getVodSessionSettings()

public UnaryCallSettings<GetVodSessionRequest,VodSession> getVodSessionSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetVodSessionRequest,VodSession>

getVodStitchDetailSettings()

public UnaryCallSettings<GetVodStitchDetailRequest,VodStitchDetail> getVodStitchDetailSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetVodStitchDetailRequest,VodStitchDetail>

listCdnKeysSettings()

public PagedCallSettings<ListCdnKeysRequest,ListCdnKeysResponse,VideoStitcherServiceClient.ListCdnKeysPagedResponse> listCdnKeysSettings()

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

Returns
TypeDescription
PagedCallSettings<ListCdnKeysRequest,ListCdnKeysResponse,ListCdnKeysPagedResponse>

listLiveAdTagDetailsSettings()

public PagedCallSettings<ListLiveAdTagDetailsRequest,ListLiveAdTagDetailsResponse,VideoStitcherServiceClient.ListLiveAdTagDetailsPagedResponse> listLiveAdTagDetailsSettings()

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

Returns
TypeDescription
PagedCallSettings<ListLiveAdTagDetailsRequest,ListLiveAdTagDetailsResponse,ListLiveAdTagDetailsPagedResponse>

listLiveConfigsSettings()

public PagedCallSettings<ListLiveConfigsRequest,ListLiveConfigsResponse,VideoStitcherServiceClient.ListLiveConfigsPagedResponse> listLiveConfigsSettings()

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

Returns
TypeDescription
PagedCallSettings<ListLiveConfigsRequest,ListLiveConfigsResponse,ListLiveConfigsPagedResponse>

listSlatesSettings()

public PagedCallSettings<ListSlatesRequest,ListSlatesResponse,VideoStitcherServiceClient.ListSlatesPagedResponse> listSlatesSettings()

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

Returns
TypeDescription
PagedCallSettings<ListSlatesRequest,ListSlatesResponse,ListSlatesPagedResponse>

listVodAdTagDetailsSettings()

public PagedCallSettings<ListVodAdTagDetailsRequest,ListVodAdTagDetailsResponse,VideoStitcherServiceClient.ListVodAdTagDetailsPagedResponse> listVodAdTagDetailsSettings()

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

Returns
TypeDescription
PagedCallSettings<ListVodAdTagDetailsRequest,ListVodAdTagDetailsResponse,ListVodAdTagDetailsPagedResponse>

listVodStitchDetailsSettings()

public PagedCallSettings<ListVodStitchDetailsRequest,ListVodStitchDetailsResponse,VideoStitcherServiceClient.ListVodStitchDetailsPagedResponse> listVodStitchDetailsSettings()

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

Returns
TypeDescription
PagedCallSettings<ListVodStitchDetailsRequest,ListVodStitchDetailsResponse,ListVodStitchDetailsPagedResponse>

toBuilder()

public VideoStitcherServiceSettings.Builder toBuilder()

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

Returns
TypeDescription
VideoStitcherServiceSettings.Builder
Overrides

updateCdnKeyOperationSettings()

public OperationCallSettings<UpdateCdnKeyRequest,CdnKey,OperationMetadata> updateCdnKeyOperationSettings()

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

Returns
TypeDescription
OperationCallSettings<UpdateCdnKeyRequest,CdnKey,OperationMetadata>

updateCdnKeySettings()

public UnaryCallSettings<UpdateCdnKeyRequest,Operation> updateCdnKeySettings()

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

Returns
TypeDescription
UnaryCallSettings<UpdateCdnKeyRequest,Operation>

updateSlateOperationSettings()

public OperationCallSettings<UpdateSlateRequest,Slate,OperationMetadata> updateSlateOperationSettings()

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

Returns
TypeDescription
OperationCallSettings<UpdateSlateRequest,Slate,OperationMetadata>

updateSlateSettings()

public UnaryCallSettings<UpdateSlateRequest,Operation> updateSlateSettings()

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

Returns
TypeDescription
UnaryCallSettings<UpdateSlateRequest,Operation>