Class ArtifactRegistryStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ArtifactRegistryStubSettings,ArtifactRegistryStubSettings.Builder>
-
- com.google.devtools.artifactregistry.v1.stub.ArtifactRegistryStubSettings.Builder
-
- Enclosing class:
- ArtifactRegistryStubSettings
public static class ArtifactRegistryStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ArtifactRegistryStubSettings,ArtifactRegistryStubSettings.Builder>
Builder for ArtifactRegistryStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ArtifactRegistryStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtifactRegistryStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ArtifactRegistryStubSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRepositoryRequest,Repository,OperationMetadata>
createRepositoryOperationSettings()
Returns the builder for the settings used for calls to createRepository.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRepositoryRequest,com.google.longrunning.Operation>
createRepositorySettings()
Returns the builder for the settings used for calls to createRepository.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTagRequest,Tag>
createTagSettings()
Returns the builder for the settings used for calls to createTag.com.google.api.gax.rpc.OperationCallSettings.Builder<DeletePackageRequest,com.google.protobuf.Empty,OperationMetadata>
deletePackageOperationSettings()
Returns the builder for the settings used for calls to deletePackage.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePackageRequest,com.google.longrunning.Operation>
deletePackageSettings()
Returns the builder for the settings used for calls to deletePackage.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRepositoryRequest,com.google.protobuf.Empty,OperationMetadata>
deleteRepositoryOperationSettings()
Returns the builder for the settings used for calls to deleteRepository.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRepositoryRequest,com.google.longrunning.Operation>
deleteRepositorySettings()
Returns the builder for the settings used for calls to deleteRepository.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTagRequest,com.google.protobuf.Empty>
deleteTagSettings()
Returns the builder for the settings used for calls to deleteTag.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteVersionRequest,com.google.protobuf.Empty,OperationMetadata>
deleteVersionOperationSettings()
Returns the builder for the settings used for calls to deleteVersion.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteVersionRequest,com.google.longrunning.Operation>
deleteVersionSettings()
Returns the builder for the settings used for calls to deleteVersion.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDockerImageRequest,DockerImage>
getDockerImageSettings()
Returns the builder for the settings used for calls to getDockerImage.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFileRequest,File>
getFileSettings()
Returns the builder for the settings used for calls to getFile.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMavenArtifactRequest,MavenArtifact>
getMavenArtifactSettings()
Returns the builder for the settings used for calls to getMavenArtifact.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNpmPackageRequest,NpmPackage>
getNpmPackageSettings()
Returns the builder for the settings used for calls to getNpmPackage.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPackageRequest,Package>
getPackageSettings()
Returns the builder for the settings used for calls to getPackage.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProjectSettingsRequest,ProjectSettings>
getProjectSettingsSettings()
Returns the builder for the settings used for calls to getProjectSettings.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPythonPackageRequest,PythonPackage>
getPythonPackageSettings()
Returns the builder for the settings used for calls to getPythonPackage.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRepositoryRequest,Repository>
getRepositorySettings()
Returns the builder for the settings used for calls to getRepository.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTagRequest,Tag>
getTagSettings()
Returns the builder for the settings used for calls to getTag.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVersionRequest,Version>
getVersionSettings()
Returns the builder for the settings used for calls to getVersion.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVPCSCConfigRequest,VPCSCConfig>
getVPCSCConfigSettings()
Returns the builder for the settings used for calls to getVPCSCConfig.com.google.api.gax.rpc.OperationCallSettings.Builder<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata>
importAptArtifactsOperationSettings()
Returns the builder for the settings used for calls to importAptArtifacts.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportAptArtifactsRequest,com.google.longrunning.Operation>
importAptArtifactsSettings()
Returns the builder for the settings used for calls to importAptArtifacts.com.google.api.gax.rpc.OperationCallSettings.Builder<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata>
importYumArtifactsOperationSettings()
Returns the builder for the settings used for calls to importYumArtifacts.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportYumArtifactsRequest,com.google.longrunning.Operation>
importYumArtifactsSettings()
Returns the builder for the settings used for calls to importYumArtifacts.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDockerImagesRequest,ListDockerImagesResponse,ArtifactRegistryClient.ListDockerImagesPagedResponse>
listDockerImagesSettings()
Returns the builder for the settings used for calls to listDockerImages.com.google.api.gax.rpc.PagedCallSettings.Builder<ListFilesRequest,ListFilesResponse,ArtifactRegistryClient.ListFilesPagedResponse>
listFilesSettings()
Returns the builder for the settings used for calls to listFiles.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ArtifactRegistryClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListMavenArtifactsRequest,ListMavenArtifactsResponse,ArtifactRegistryClient.ListMavenArtifactsPagedResponse>
listMavenArtifactsSettings()
Returns the builder for the settings used for calls to listMavenArtifacts.com.google.api.gax.rpc.PagedCallSettings.Builder<ListNpmPackagesRequest,ListNpmPackagesResponse,ArtifactRegistryClient.ListNpmPackagesPagedResponse>
listNpmPackagesSettings()
Returns the builder for the settings used for calls to listNpmPackages.com.google.api.gax.rpc.PagedCallSettings.Builder<ListPackagesRequest,ListPackagesResponse,ArtifactRegistryClient.ListPackagesPagedResponse>
listPackagesSettings()
Returns the builder for the settings used for calls to listPackages.com.google.api.gax.rpc.PagedCallSettings.Builder<ListPythonPackagesRequest,ListPythonPackagesResponse,ArtifactRegistryClient.ListPythonPackagesPagedResponse>
listPythonPackagesSettings()
Returns the builder for the settings used for calls to listPythonPackages.com.google.api.gax.rpc.PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,ArtifactRegistryClient.ListRepositoriesPagedResponse>
listRepositoriesSettings()
Returns the builder for the settings used for calls to listRepositories.com.google.api.gax.rpc.PagedCallSettings.Builder<ListTagsRequest,ListTagsResponse,ArtifactRegistryClient.ListTagsPagedResponse>
listTagsSettings()
Returns the builder for the settings used for calls to listTags.com.google.api.gax.rpc.PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse,ArtifactRegistryClient.ListVersionsPagedResponse>
listVersionsSettings()
Returns the builder for the settings used for calls to listVersions.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProjectSettingsRequest,ProjectSettings>
updateProjectSettingsSettings()
Returns the builder for the settings used for calls to updateProjectSettings.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRepositoryRequest,Repository>
updateRepositorySettings()
Returns the builder for the settings used for calls to updateRepository.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTagRequest,Tag>
updateTagSettings()
Returns the builder for the settings used for calls to updateTag.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateVPCSCConfigRequest,VPCSCConfig>
updateVPCSCConfigSettings()
Returns the builder for the settings used for calls to updateVPCSCConfig.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, 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(ArtifactRegistryStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ArtifactRegistryStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
listDockerImagesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDockerImagesRequest,ListDockerImagesResponse,ArtifactRegistryClient.ListDockerImagesPagedResponse> listDockerImagesSettings()
Returns the builder for the settings used for calls to listDockerImages.
-
getDockerImageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDockerImageRequest,DockerImage> getDockerImageSettings()
Returns the builder for the settings used for calls to getDockerImage.
-
listMavenArtifactsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListMavenArtifactsRequest,ListMavenArtifactsResponse,ArtifactRegistryClient.ListMavenArtifactsPagedResponse> listMavenArtifactsSettings()
Returns the builder for the settings used for calls to listMavenArtifacts.
-
getMavenArtifactSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMavenArtifactRequest,MavenArtifact> getMavenArtifactSettings()
Returns the builder for the settings used for calls to getMavenArtifact.
-
listNpmPackagesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListNpmPackagesRequest,ListNpmPackagesResponse,ArtifactRegistryClient.ListNpmPackagesPagedResponse> listNpmPackagesSettings()
Returns the builder for the settings used for calls to listNpmPackages.
-
getNpmPackageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNpmPackageRequest,NpmPackage> getNpmPackageSettings()
Returns the builder for the settings used for calls to getNpmPackage.
-
listPythonPackagesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListPythonPackagesRequest,ListPythonPackagesResponse,ArtifactRegistryClient.ListPythonPackagesPagedResponse> listPythonPackagesSettings()
Returns the builder for the settings used for calls to listPythonPackages.
-
getPythonPackageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPythonPackageRequest,PythonPackage> getPythonPackageSettings()
Returns the builder for the settings used for calls to getPythonPackage.
-
importAptArtifactsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportAptArtifactsRequest,com.google.longrunning.Operation> importAptArtifactsSettings()
Returns the builder for the settings used for calls to importAptArtifacts.
-
importAptArtifactsOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportAptArtifactsRequest,ImportAptArtifactsResponse,ImportAptArtifactsMetadata> importAptArtifactsOperationSettings()
Returns the builder for the settings used for calls to importAptArtifacts.
-
importYumArtifactsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportYumArtifactsRequest,com.google.longrunning.Operation> importYumArtifactsSettings()
Returns the builder for the settings used for calls to importYumArtifacts.
-
importYumArtifactsOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportYumArtifactsRequest,ImportYumArtifactsResponse,ImportYumArtifactsMetadata> importYumArtifactsOperationSettings()
Returns the builder for the settings used for calls to importYumArtifacts.
-
listRepositoriesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,ArtifactRegistryClient.ListRepositoriesPagedResponse> listRepositoriesSettings()
Returns the builder for the settings used for calls to listRepositories.
-
getRepositorySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRepositoryRequest,Repository> getRepositorySettings()
Returns the builder for the settings used for calls to getRepository.
-
createRepositorySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRepositoryRequest,com.google.longrunning.Operation> createRepositorySettings()
Returns the builder for the settings used for calls to createRepository.
-
createRepositoryOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationSettings()
Returns the builder for the settings used for calls to createRepository.
-
updateRepositorySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRepositoryRequest,Repository> updateRepositorySettings()
Returns the builder for the settings used for calls to updateRepository.
-
deleteRepositorySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRepositoryRequest,com.google.longrunning.Operation> deleteRepositorySettings()
Returns the builder for the settings used for calls to deleteRepository.
-
deleteRepositoryOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRepositoryRequest,com.google.protobuf.Empty,OperationMetadata> deleteRepositoryOperationSettings()
Returns the builder for the settings used for calls to deleteRepository.
-
listPackagesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListPackagesRequest,ListPackagesResponse,ArtifactRegistryClient.ListPackagesPagedResponse> listPackagesSettings()
Returns the builder for the settings used for calls to listPackages.
-
getPackageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPackageRequest,Package> getPackageSettings()
Returns the builder for the settings used for calls to getPackage.
-
deletePackageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePackageRequest,com.google.longrunning.Operation> deletePackageSettings()
Returns the builder for the settings used for calls to deletePackage.
-
deletePackageOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeletePackageRequest,com.google.protobuf.Empty,OperationMetadata> deletePackageOperationSettings()
Returns the builder for the settings used for calls to deletePackage.
-
listVersionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse,ArtifactRegistryClient.ListVersionsPagedResponse> listVersionsSettings()
Returns the builder for the settings used for calls to listVersions.
-
getVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVersionRequest,Version> getVersionSettings()
Returns the builder for the settings used for calls to getVersion.
-
deleteVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteVersionRequest,com.google.longrunning.Operation> deleteVersionSettings()
Returns the builder for the settings used for calls to deleteVersion.
-
deleteVersionOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteVersionRequest,com.google.protobuf.Empty,OperationMetadata> deleteVersionOperationSettings()
Returns the builder for the settings used for calls to deleteVersion.
-
listFilesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListFilesRequest,ListFilesResponse,ArtifactRegistryClient.ListFilesPagedResponse> listFilesSettings()
Returns the builder for the settings used for calls to listFiles.
-
getFileSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFileRequest,File> getFileSettings()
Returns the builder for the settings used for calls to getFile.
-
listTagsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTagsRequest,ListTagsResponse,ArtifactRegistryClient.ListTagsPagedResponse> listTagsSettings()
Returns the builder for the settings used for calls to listTags.
-
getTagSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTagRequest,Tag> getTagSettings()
Returns the builder for the settings used for calls to getTag.
-
createTagSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTagRequest,Tag> createTagSettings()
Returns the builder for the settings used for calls to createTag.
-
updateTagSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTagRequest,Tag> updateTagSettings()
Returns the builder for the settings used for calls to updateTag.
-
deleteTagSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTagRequest,com.google.protobuf.Empty> deleteTagSettings()
Returns the builder for the settings used for calls to deleteTag.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
getProjectSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProjectSettingsRequest,ProjectSettings> getProjectSettingsSettings()
Returns the builder for the settings used for calls to getProjectSettings.
-
updateProjectSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProjectSettingsRequest,ProjectSettings> updateProjectSettingsSettings()
Returns the builder for the settings used for calls to updateProjectSettings.
-
getVPCSCConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetVPCSCConfigRequest,VPCSCConfig> getVPCSCConfigSettings()
Returns the builder for the settings used for calls to getVPCSCConfig.
-
updateVPCSCConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateVPCSCConfigRequest,VPCSCConfig> updateVPCSCConfigSettings()
Returns the builder for the settings used for calls to updateVPCSCConfig.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ArtifactRegistryClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public ArtifactRegistryStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ArtifactRegistryStubSettings,ArtifactRegistryStubSettings.Builder>
- Throws:
IOException
-
-