public static class ArtifactRegistryStubSettings.Builder extends StubSettings.Builder<ArtifactRegistryStubSettings,ArtifactRegistryStubSettings.Builder>
Builder for ArtifactRegistryStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
protected Builder(ArtifactRegistryStubSettings settings)
Parameter
Methods
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
Returns
public ArtifactRegistryStubSettings build()
Returns
Overrides
Exceptions
public OperationCallSettings.Builder<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationSettings()
Returns the builder for the settings used for calls to createRepository.
Returns
public UnaryCallSettings.Builder<CreateRepositoryRequest,Operation> createRepositorySettings()
Returns the builder for the settings used for calls to createRepository.
Returns
public UnaryCallSettings.Builder<CreateTagRequest,Tag> createTagSettings()
Returns the builder for the settings used for calls to createTag.
Returns
public OperationCallSettings.Builder<DeletePackageRequest,Empty,OperationMetadata> deletePackageOperationSettings()
Returns the builder for the settings used for calls to deletePackage.
Returns
public UnaryCallSettings.Builder<DeletePackageRequest,Operation> deletePackageSettings()
Returns the builder for the settings used for calls to deletePackage.
Returns
public OperationCallSettings.Builder<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationSettings()
Returns the builder for the settings used for calls to deleteRepository.
Returns
public UnaryCallSettings.Builder<DeleteRepositoryRequest,Operation> deleteRepositorySettings()
Returns the builder for the settings used for calls to deleteRepository.
Returns
public UnaryCallSettings.Builder<DeleteTagRequest,Empty> deleteTagSettings()
Returns the builder for the settings used for calls to deleteTag.
Returns
public OperationCallSettings.Builder<DeleteVersionRequest,Empty,OperationMetadata> deleteVersionOperationSettings()
Returns the builder for the settings used for calls to deleteVersion.
Returns
public UnaryCallSettings.Builder<DeleteVersionRequest,Operation> deleteVersionSettings()
Returns the builder for the settings used for calls to deleteVersion.
Returns
public UnaryCallSettings.Builder<GetFileRequest,File> getFileSettings()
Returns the builder for the settings used for calls to getFile.
Returns
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
Type | Description |
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
public UnaryCallSettings.Builder<GetPackageRequest,Package> getPackageSettings()
Returns the builder for the settings used for calls to getPackage.
Returns
public UnaryCallSettings.Builder<GetRepositoryRequest,Repository> getRepositorySettings()
Returns the builder for the settings used for calls to getRepository.
Returns
public UnaryCallSettings.Builder<GetTagRequest,Tag> getTagSettings()
Returns the builder for the settings used for calls to getTag.
Returns
public UnaryCallSettings.Builder<GetVersionRequest,Version> getVersionSettings()
Returns the builder for the settings used for calls to getVersion.
Returns
public PagedCallSettings.Builder<ListFilesRequest,ListFilesResponse,ArtifactRegistryClient.ListFilesPagedResponse> listFilesSettings()
Returns the builder for the settings used for calls to listFiles.
Returns
public PagedCallSettings.Builder<ListPackagesRequest,ListPackagesResponse,ArtifactRegistryClient.ListPackagesPagedResponse> listPackagesSettings()
Returns the builder for the settings used for calls to listPackages.
Returns
public PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,ArtifactRegistryClient.ListRepositoriesPagedResponse> listRepositoriesSettings()
Returns the builder for the settings used for calls to listRepositories.
Returns
public PagedCallSettings.Builder<ListTagsRequest,ListTagsResponse,ArtifactRegistryClient.ListTagsPagedResponse> listTagsSettings()
Returns the builder for the settings used for calls to listTags.
Returns
public PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse,ArtifactRegistryClient.ListVersionsPagedResponse> listVersionsSettings()
Returns the builder for the settings used for calls to listVersions.
Returns
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
Type | Description |
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns
Type | Description |
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
public UnaryCallSettings.Builder<UpdateRepositoryRequest,Repository> updateRepositorySettings()
Returns the builder for the settings used for calls to updateRepository.
Returns
public UnaryCallSettings.Builder<UpdateTagRequest,Tag> updateTagSettings()
Returns the builder for the settings used for calls to updateTag.
Returns