Class ArtifactRegistryStubSettings.Builder (1.1.1)

public static class ArtifactRegistryStubSettings.Builder extends StubSettings.Builder<ArtifactRegistryStubSettings,ArtifactRegistryStubSettings.Builder>

Builder for ArtifactRegistryStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ArtifactRegistryStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ArtifactRegistryStubSettings settings)

protected Builder(ArtifactRegistryStubSettings settings)
Parameter
NameDescription
settingsArtifactRegistryStubSettings

Methods

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

public ArtifactRegistryStubSettings.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
ArtifactRegistryStubSettings.Builder

build()

public ArtifactRegistryStubSettings build()
Returns
TypeDescription
ArtifactRegistryStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>