public static class ArtifactRegistryStubSettings . Builder extends StubSettings . Builder<ArtifactRegistryStubSettings , ArtifactRegistryStubSettings . Builder >
Builder for ArtifactRegistryStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
protected Builder ( ArtifactRegistryStubSettings settings )
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.
public ArtifactRegistryStubSettings build ()
Overrides
public OperationCallSettings . Builder<CreateRepositoryRequest , Repository , OperationMetadata > createRepositoryOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createRepository.
public UnaryCallSettings . Builder<CreateRepositoryRequest , Operation > createRepositorySettings ()
Returns the builder for the settings used for calls to createRepository.
public UnaryCallSettings . Builder<CreateTagRequest , Tag > createTagSettings ()
Returns the builder for the settings used for calls to createTag.
public OperationCallSettings . Builder<DeletePackageRequest , Empty , OperationMetadata > deletePackageOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deletePackage.
public UnaryCallSettings . Builder<DeletePackageRequest , Operation > deletePackageSettings ()
Returns the builder for the settings used for calls to deletePackage.
public OperationCallSettings . Builder<DeleteRepositoryRequest , Empty , OperationMetadata > deleteRepositoryOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteRepository.
public UnaryCallSettings . Builder<DeleteRepositoryRequest , Operation > deleteRepositorySettings ()
Returns the builder for the settings used for calls to deleteRepository.
public UnaryCallSettings . Builder<DeleteTagRequest , Empty > deleteTagSettings ()
Returns the builder for the settings used for calls to deleteTag.
public OperationCallSettings . Builder<DeleteVersionRequest , Empty , OperationMetadata > deleteVersionOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteVersion.
public UnaryCallSettings . Builder<DeleteVersionRequest , Operation > deleteVersionSettings ()
Returns the builder for the settings used for calls to deleteVersion.
public UnaryCallSettings . Builder<GetFileRequest , File > getFileSettings ()
Returns the builder for the settings used for calls to getFile.
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<GetLocationRequest , Location > getLocationSettings ()
Returns the builder for the settings used for calls to getLocation.
Returns Type Description Builder <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
public UnaryCallSettings . Builder<GetPackageRequest , Package > getPackageSettings ()
Returns the builder for the settings used for calls to getPackage.
public UnaryCallSettings . Builder<GetProjectSettingsRequest , ProjectSettings > getProjectSettingsSettings ()
Returns the builder for the settings used for calls to getProjectSettings.
public UnaryCallSettings . Builder<GetRepositoryRequest , Repository > getRepositorySettings ()
Returns the builder for the settings used for calls to getRepository.
public UnaryCallSettings . Builder<GetTagRequest , Tag > getTagSettings ()
Returns the builder for the settings used for calls to getTag.
public UnaryCallSettings . Builder<GetVersionRequest , Version > getVersionSettings ()
Returns the builder for the settings used for calls to getVersion.
public OperationCallSettings . Builder<ImportAptArtifactsRequest , ImportAptArtifactsResponse , ImportAptArtifactsMetadata > importAptArtifactsOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to importAptArtifacts.
public UnaryCallSettings . Builder<ImportAptArtifactsRequest , Operation > importAptArtifactsSettings ()
Returns the builder for the settings used for calls to importAptArtifacts.
public OperationCallSettings . Builder<ImportYumArtifactsRequest , ImportYumArtifactsResponse , ImportYumArtifactsMetadata > importYumArtifactsOperationSettings ()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to importYumArtifacts.
public UnaryCallSettings . Builder<ImportYumArtifactsRequest , Operation > importYumArtifactsSettings ()
Returns the builder for the settings used for calls to importYumArtifacts.
public PagedCallSettings . Builder<ListFilesRequest , ListFilesResponse , ArtifactRegistryClient . ListFilesPagedResponse > listFilesSettings ()
Returns the builder for the settings used for calls to listFiles.
public PagedCallSettings . Builder<ListLocationsRequest , ListLocationsResponse , ArtifactRegistryClient . ListLocationsPagedResponse > listLocationsSettings ()
Returns the builder for the settings used for calls to listLocations.
public PagedCallSettings . Builder<ListPackagesRequest , ListPackagesResponse , ArtifactRegistryClient . ListPackagesPagedResponse > listPackagesSettings ()
Returns the builder for the settings used for calls to listPackages.
public PagedCallSettings . Builder<ListRepositoriesRequest , ListRepositoriesResponse , ArtifactRegistryClient . ListRepositoriesPagedResponse > listRepositoriesSettings ()
Returns the builder for the settings used for calls to listRepositories.
public PagedCallSettings . Builder<ListTagsRequest , ListTagsResponse , ArtifactRegistryClient . ListTagsPagedResponse > listTagsSettings ()
Returns the builder for the settings used for calls to listTags.
public PagedCallSettings . Builder<ListVersionsRequest , ListVersionsResponse , ArtifactRegistryClient . ListVersionsPagedResponse > listVersionsSettings ()
Returns the builder for the settings used for calls to listVersions.
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<UpdateProjectSettingsRequest , ProjectSettings > updateProjectSettingsSettings ()
Returns the builder for the settings used for calls to updateProjectSettings.
public UnaryCallSettings . Builder<UpdateRepositoryRequest , Repository > updateRepositorySettings ()
Returns the builder for the settings used for calls to updateRepository.
public UnaryCallSettings . Builder<UpdateTagRequest , Tag > updateTagSettings ()
Returns the builder for the settings used for calls to updateTag.