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 protectedBuilder()protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)protectedBuilder(InternalPhotosLibrarySettings settings)protectedBuilder(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.BuilderapplyToAllUnaryMethods(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.InternalPhotosLibrarySettingsbuild()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.BuildergetStubSettingsBuilder()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.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, 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) throws java.lang.Exception
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.
- Throws:
java.lang.Exception
-
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.
-
build
public InternalPhotosLibrarySettings build() throws java.io.IOException
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<InternalPhotosLibrarySettings,InternalPhotosLibrarySettings.Builder>- Throws:
java.io.IOException
-
-