Class ArtifactRegistrySettings.Builder (1.1.1)

public static class ArtifactRegistrySettings.Builder extends ClientSettings.Builder<ArtifactRegistrySettings,ArtifactRegistrySettings.Builder>

Builder for ArtifactRegistrySettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ArtifactRegistrySettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ArtifactRegistrySettings settings)

protected Builder(ArtifactRegistrySettings settings)
Parameter
NameDescription
settingsArtifactRegistrySettings

Builder(ArtifactRegistryStubSettings.Builder stubSettings)

protected Builder(ArtifactRegistryStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsArtifactRegistryStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ArtifactRegistrySettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ArtifactRegistrySettings.Builder

build()

public ArtifactRegistrySettings build()
Returns
TypeDescription
ArtifactRegistrySettings
Overrides Exceptions
TypeDescription
IOException

getRepositorySettings()

public UnaryCallSettings.Builder<GetRepositoryRequest,Repository> getRepositorySettings()

Returns the builder for the settings used for calls to getRepository.

Returns
TypeDescription
Builder<GetRepositoryRequest,Repository>

getStubSettingsBuilder()

public ArtifactRegistryStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ArtifactRegistryStubSettings.Builder

listDockerImagesSettings()

public PagedCallSettings.Builder<ListDockerImagesRequest,ListDockerImagesResponse,ArtifactRegistryClient.ListDockerImagesPagedResponse> listDockerImagesSettings()

Returns the builder for the settings used for calls to listDockerImages.

Returns
TypeDescription
Builder<ListDockerImagesRequest,ListDockerImagesResponse,ListDockerImagesPagedResponse>

listRepositoriesSettings()

public PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,ArtifactRegistryClient.ListRepositoriesPagedResponse> listRepositoriesSettings()

Returns the builder for the settings used for calls to listRepositories.

Returns
TypeDescription
Builder<ListRepositoriesRequest,ListRepositoriesResponse,ListRepositoriesPagedResponse>