Class VideoStitcherServiceStubSettings (0.4.0)

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

Inheritance

java.lang.Object > StubSettings > VideoStitcherServiceStubSettings

Static Methods

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

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
TypeDescription
String

getDefaultMtlsEndpoint()

public static String getDefaultMtlsEndpoint()

Returns the default mTLS service endpoint.

Returns
TypeDescription
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

newBuilder()

public static VideoStitcherServiceStubSettings.Builder newBuilder()

Returns a new builder for this class.

Returns

newBuilder(ClientContext clientContext)

public static VideoStitcherServiceStubSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns

Constructors

VideoStitcherServiceStubSettings(VideoStitcherServiceStubSettings.Builder settingsBuilder)

protected VideoStitcherServiceStubSettings(VideoStitcherServiceStubSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderVideoStitcherServiceStubSettings.Builder

Methods

createCdnKeySettings()

public UnaryCallSettings<CreateCdnKeyRequest,CdnKey> createCdnKeySettings()

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

Returns

createLiveSessionSettings()

public UnaryCallSettings<CreateLiveSessionRequest,LiveSession> createLiveSessionSettings()

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

Returns

createSlateSettings()

public UnaryCallSettings<CreateSlateRequest,Slate> createSlateSettings()

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

Returns

createStub()

public VideoStitcherServiceStub createStub()
Returns Exceptions
TypeDescription
IOException

createVodSessionSettings()

public UnaryCallSettings<CreateVodSessionRequest,VodSession> createVodSessionSettings()

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

Returns

deleteCdnKeySettings()

public UnaryCallSettings<DeleteCdnKeyRequest,Empty> deleteCdnKeySettings()

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

Returns

deleteSlateSettings()

public UnaryCallSettings<DeleteSlateRequest,Empty> deleteSlateSettings()

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

Returns

getCdnKeySettings()

public UnaryCallSettings<GetCdnKeyRequest,CdnKey> getCdnKeySettings()

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

Returns

getLiveAdTagDetailSettings()

public UnaryCallSettings<GetLiveAdTagDetailRequest,LiveAdTagDetail> getLiveAdTagDetailSettings()

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

Returns

getLiveSessionSettings()

public UnaryCallSettings<GetLiveSessionRequest,LiveSession> getLiveSessionSettings()

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

Returns

getSlateSettings()

public UnaryCallSettings<GetSlateRequest,Slate> getSlateSettings()

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

Returns

getVodAdTagDetailSettings()

public UnaryCallSettings<GetVodAdTagDetailRequest,VodAdTagDetail> getVodAdTagDetailSettings()

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

Returns

getVodSessionSettings()

public UnaryCallSettings<GetVodSessionRequest,VodSession> getVodSessionSettings()

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

Returns

getVodStitchDetailSettings()

public UnaryCallSettings<GetVodStitchDetailRequest,VodStitchDetail> getVodStitchDetailSettings()

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

Returns

listCdnKeysSettings()

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

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

Returns

listLiveAdTagDetailsSettings()

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

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

Returns

listSlatesSettings()

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

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

Returns

listVodAdTagDetailsSettings()

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

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

Returns

listVodStitchDetailsSettings()

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

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

Returns

toBuilder()

public VideoStitcherServiceStubSettings.Builder toBuilder()

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

Returns Overrides

updateCdnKeySettings()

public UnaryCallSettings<UpdateCdnKeyRequest,CdnKey> updateCdnKeySettings()

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

Returns

updateSlateSettings()

public UnaryCallSettings<UpdateSlateRequest,Slate> updateSlateSettings()

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

Returns