Class InternalPhotosLibrarySettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<InternalPhotosLibrarySettings,InternalPhotosLibrarySettings.Builder>
-
- com.google.photos.library.v1.internal.InternalPhotosLibrarySettings.Builder
-
- Direct Known Subclasses:
PhotosLibrarySettings.Builder
- Enclosing class:
- InternalPhotosLibrarySettings
public static class InternalPhotosLibrarySettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<InternalPhotosLibrarySettings,InternalPhotosLibrarySettings.Builder>
Builder for InternalPhotosLibrarySettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(InternalPhotosLibrarySettings settings)
protected
Builder(PhotosLibraryStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallSettings.Builder<AddEnrichmentToAlbumRequest,AddEnrichmentToAlbumResponse>
addEnrichmentToAlbumSettings()
Returns the builder for the settings used for calls to addEnrichmentToAlbum.InternalPhotosLibrarySettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,java.lang.Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchAddMediaItemsToAlbumRequest,BatchAddMediaItemsToAlbumResponse>
batchAddMediaItemsToAlbumSettings()
Returns the builder for the settings used for calls to batchAddMediaItemsToAlbum.com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchCreateMediaItemsRequest,BatchCreateMediaItemsResponse>
batchCreateMediaItemsSettings()
Returns the builder for the settings used for calls to batchCreateMediaItems.com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchGetMediaItemsRequest,BatchGetMediaItemsResponse>
batchGetMediaItemsSettings()
Returns the builder for the settings used for calls to batchGetMediaItems.com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchRemoveMediaItemsFromAlbumRequest,BatchRemoveMediaItemsFromAlbumResponse>
batchRemoveMediaItemsFromAlbumSettings()
Returns the builder for the settings used for calls to batchRemoveMediaItemsFromAlbum.InternalPhotosLibrarySettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAlbumRequest,Album>
createAlbumSettings()
Returns the builder for the settings used for calls to createAlbum.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAlbumRequest,Album>
getAlbumSettings()
Returns the builder for the settings used for calls to getAlbum.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMediaItemRequest,MediaItem>
getMediaItemSettings()
Returns the builder for the settings used for calls to getMediaItem.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSharedAlbumRequest,Album>
getSharedAlbumSettings()
Returns the builder for the settings used for calls to getSharedAlbum.PhotosLibraryStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<JoinSharedAlbumRequest,JoinSharedAlbumResponse>
joinSharedAlbumSettings()
Returns the builder for the settings used for calls to joinSharedAlbum.com.google.api.gax.rpc.UnaryCallSettings.Builder<LeaveSharedAlbumRequest,LeaveSharedAlbumResponse>
leaveSharedAlbumSettings()
Returns the builder for the settings used for calls to leaveSharedAlbum.com.google.api.gax.rpc.PagedCallSettings.Builder<ListAlbumsRequest,ListAlbumsResponse,InternalPhotosLibraryClient.ListAlbumsPagedResponse>
listAlbumsSettings()
Returns the builder for the settings used for calls to listAlbums.com.google.api.gax.rpc.PagedCallSettings.Builder<ListMediaItemsRequest,ListMediaItemsResponse,InternalPhotosLibraryClient.ListMediaItemsPagedResponse>
listMediaItemsSettings()
Returns the builder for the settings used for calls to listMediaItems.com.google.api.gax.rpc.PagedCallSettings.Builder<ListSharedAlbumsRequest,ListSharedAlbumsResponse,InternalPhotosLibraryClient.ListSharedAlbumsPagedResponse>
listSharedAlbumsSettings()
Returns the builder for the settings used for calls to listSharedAlbums.com.google.api.gax.rpc.PagedCallSettings.Builder<SearchMediaItemsRequest,SearchMediaItemsResponse,InternalPhotosLibraryClient.SearchMediaItemsPagedResponse>
searchMediaItemsSettings()
Returns the builder for the settings used for calls to searchMediaItems.com.google.api.gax.rpc.UnaryCallSettings.Builder<ShareAlbumRequest,ShareAlbumResponse>
shareAlbumSettings()
Returns the builder for the settings used for calls to shareAlbum.com.google.api.gax.rpc.UnaryCallSettings.Builder<UnshareAlbumRequest,UnshareAlbumResponse>
unshareAlbumSettings()
Returns the builder for the settings used for calls to unshareAlbum.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAlbumRequest,Album>
updateAlbumSettings()
Returns the builder for the settings used for calls to updateAlbum.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateMediaItemRequest,MediaItem>
updateMediaItemSettings()
Returns the builder for the settings used for calls to updateMediaItem.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws java.io.IOException
- Throws:
java.io.IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(InternalPhotosLibrarySettings settings)
-
Builder
protected Builder(PhotosLibraryStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public PhotosLibraryStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public InternalPhotosLibrarySettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,java.lang.Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
createAlbumSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAlbumRequest,Album> createAlbumSettings()
Returns the builder for the settings used for calls to createAlbum.
-
batchCreateMediaItemsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchCreateMediaItemsRequest,BatchCreateMediaItemsResponse> batchCreateMediaItemsSettings()
Returns the builder for the settings used for calls to batchCreateMediaItems.
-
batchAddMediaItemsToAlbumSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchAddMediaItemsToAlbumRequest,BatchAddMediaItemsToAlbumResponse> batchAddMediaItemsToAlbumSettings()
Returns the builder for the settings used for calls to batchAddMediaItemsToAlbum.
-
searchMediaItemsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchMediaItemsRequest,SearchMediaItemsResponse,InternalPhotosLibraryClient.SearchMediaItemsPagedResponse> searchMediaItemsSettings()
Returns the builder for the settings used for calls to searchMediaItems.
-
listMediaItemsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListMediaItemsRequest,ListMediaItemsResponse,InternalPhotosLibraryClient.ListMediaItemsPagedResponse> listMediaItemsSettings()
Returns the builder for the settings used for calls to listMediaItems.
-
getMediaItemSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMediaItemRequest,MediaItem> getMediaItemSettings()
Returns the builder for the settings used for calls to getMediaItem.
-
batchGetMediaItemsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchGetMediaItemsRequest,BatchGetMediaItemsResponse> batchGetMediaItemsSettings()
Returns the builder for the settings used for calls to batchGetMediaItems.
-
listAlbumsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAlbumsRequest,ListAlbumsResponse,InternalPhotosLibraryClient.ListAlbumsPagedResponse> listAlbumsSettings()
Returns the builder for the settings used for calls to listAlbums.
-
getAlbumSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAlbumRequest,Album> getAlbumSettings()
Returns the builder for the settings used for calls to getAlbum.
-
getSharedAlbumSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSharedAlbumRequest,Album> getSharedAlbumSettings()
Returns the builder for the settings used for calls to getSharedAlbum.
-
addEnrichmentToAlbumSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddEnrichmentToAlbumRequest,AddEnrichmentToAlbumResponse> addEnrichmentToAlbumSettings()
Returns the builder for the settings used for calls to addEnrichmentToAlbum.
-
joinSharedAlbumSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<JoinSharedAlbumRequest,JoinSharedAlbumResponse> joinSharedAlbumSettings()
Returns the builder for the settings used for calls to joinSharedAlbum.
-
leaveSharedAlbumSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LeaveSharedAlbumRequest,LeaveSharedAlbumResponse> leaveSharedAlbumSettings()
Returns the builder for the settings used for calls to leaveSharedAlbum.
-
shareAlbumSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ShareAlbumRequest,ShareAlbumResponse> shareAlbumSettings()
Returns the builder for the settings used for calls to shareAlbum.
-
listSharedAlbumsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSharedAlbumsRequest,ListSharedAlbumsResponse,InternalPhotosLibraryClient.ListSharedAlbumsPagedResponse> listSharedAlbumsSettings()
Returns the builder for the settings used for calls to listSharedAlbums.
-
unshareAlbumSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UnshareAlbumRequest,UnshareAlbumResponse> unshareAlbumSettings()
Returns the builder for the settings used for calls to unshareAlbum.
-
batchRemoveMediaItemsFromAlbumSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchRemoveMediaItemsFromAlbumRequest,BatchRemoveMediaItemsFromAlbumResponse> batchRemoveMediaItemsFromAlbumSettings()
Returns the builder for the settings used for calls to batchRemoveMediaItemsFromAlbum.
-
updateAlbumSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAlbumRequest,Album> updateAlbumSettings()
Returns the builder for the settings used for calls to updateAlbum.
-
updateMediaItemSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateMediaItemRequest,MediaItem> updateMediaItemSettings()
Returns the builder for the settings used for calls to updateMediaItem.
-
build
public InternalPhotosLibrarySettings build() throws java.io.IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<InternalPhotosLibrarySettings,InternalPhotosLibrarySettings.Builder>
- Throws:
java.io.IOException
-
-