Class PhotosLibraryStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<PhotosLibraryStubSettings,PhotosLibraryStubSettings.Builder>
-
- com.google.photos.library.v1.internal.stub.PhotosLibraryStubSettings.Builder
-
- Enclosing class:
- PhotosLibraryStubSettings
public static class PhotosLibraryStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<PhotosLibraryStubSettings,PhotosLibraryStubSettings.Builder>
Builder for PhotosLibraryStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(PhotosLibraryStubSettings settings)
-
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.PhotosLibraryStubSettings.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.PhotosLibraryStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(PhotosLibraryStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public PhotosLibraryStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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 PhotosLibraryStubSettings build() throws java.io.IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<PhotosLibraryStubSettings,PhotosLibraryStubSettings.Builder>
- Throws:
java.io.IOException
-
-