Class RegistrySettings.Builder (0.12.0)

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

Builder for RegistrySettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegistrySettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(RegistrySettings settings)

protected Builder(RegistrySettings settings)
Parameter
NameDescription
settingsRegistrySettings

Builder(RegistryStubSettings.Builder stubSettings)

protected Builder(RegistryStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegistryStubSettings.Builder

Methods

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

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

build()

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

createApiDeploymentSettings()

public UnaryCallSettings.Builder<CreateApiDeploymentRequest,ApiDeployment> createApiDeploymentSettings()

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

Returns
TypeDescription
Builder<CreateApiDeploymentRequest,ApiDeployment>

createApiSettings()

public UnaryCallSettings.Builder<CreateApiRequest,Api> createApiSettings()

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

Returns
TypeDescription
Builder<CreateApiRequest,Api>

createApiSpecSettings()

public UnaryCallSettings.Builder<CreateApiSpecRequest,ApiSpec> createApiSpecSettings()

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

Returns
TypeDescription
Builder<CreateApiSpecRequest,ApiSpec>

createApiVersionSettings()

public UnaryCallSettings.Builder<CreateApiVersionRequest,ApiVersion> createApiVersionSettings()

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

Returns
TypeDescription
Builder<CreateApiVersionRequest,ApiVersion>

createArtifactSettings()

public UnaryCallSettings.Builder<CreateArtifactRequest,Artifact> createArtifactSettings()

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

Returns
TypeDescription
Builder<CreateArtifactRequest,Artifact>

deleteApiDeploymentRevisionSettings()

public UnaryCallSettings.Builder<DeleteApiDeploymentRevisionRequest,ApiDeployment> deleteApiDeploymentRevisionSettings()

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

Returns
TypeDescription
Builder<DeleteApiDeploymentRevisionRequest,ApiDeployment>

deleteApiDeploymentSettings()

public UnaryCallSettings.Builder<DeleteApiDeploymentRequest,Empty> deleteApiDeploymentSettings()

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

Returns
TypeDescription
Builder<DeleteApiDeploymentRequest,Empty>

deleteApiSettings()

public UnaryCallSettings.Builder<DeleteApiRequest,Empty> deleteApiSettings()

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

Returns
TypeDescription
Builder<DeleteApiRequest,Empty>

deleteApiSpecRevisionSettings()

public UnaryCallSettings.Builder<DeleteApiSpecRevisionRequest,ApiSpec> deleteApiSpecRevisionSettings()

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

Returns
TypeDescription
Builder<DeleteApiSpecRevisionRequest,ApiSpec>

deleteApiSpecSettings()

public UnaryCallSettings.Builder<DeleteApiSpecRequest,Empty> deleteApiSpecSettings()

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

Returns
TypeDescription
Builder<DeleteApiSpecRequest,Empty>

deleteApiVersionSettings()

public UnaryCallSettings.Builder<DeleteApiVersionRequest,Empty> deleteApiVersionSettings()

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

Returns
TypeDescription
Builder<DeleteApiVersionRequest,Empty>

deleteArtifactSettings()

public UnaryCallSettings.Builder<DeleteArtifactRequest,Empty> deleteArtifactSettings()

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

Returns
TypeDescription
Builder<DeleteArtifactRequest,Empty>

getApiDeploymentSettings()

public UnaryCallSettings.Builder<GetApiDeploymentRequest,ApiDeployment> getApiDeploymentSettings()

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

Returns
TypeDescription
Builder<GetApiDeploymentRequest,ApiDeployment>

getApiSettings()

public UnaryCallSettings.Builder<GetApiRequest,Api> getApiSettings()

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

Returns
TypeDescription
Builder<GetApiRequest,Api>

getApiSpecContentsSettings()

public UnaryCallSettings.Builder<GetApiSpecContentsRequest,HttpBody> getApiSpecContentsSettings()

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

Returns
TypeDescription
Builder<GetApiSpecContentsRequest,com.google.api.HttpBody>

getApiSpecSettings()

public UnaryCallSettings.Builder<GetApiSpecRequest,ApiSpec> getApiSpecSettings()

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

Returns
TypeDescription
Builder<GetApiSpecRequest,ApiSpec>

getApiVersionSettings()

public UnaryCallSettings.Builder<GetApiVersionRequest,ApiVersion> getApiVersionSettings()

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

Returns
TypeDescription
Builder<GetApiVersionRequest,ApiVersion>

getArtifactContentsSettings()

public UnaryCallSettings.Builder<GetArtifactContentsRequest,HttpBody> getArtifactContentsSettings()

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

Returns
TypeDescription
Builder<GetArtifactContentsRequest,com.google.api.HttpBody>

getArtifactSettings()

public UnaryCallSettings.Builder<GetArtifactRequest,Artifact> getArtifactSettings()

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

Returns
TypeDescription
Builder<GetArtifactRequest,Artifact>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

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

listApiDeploymentRevisionsSettings()

public PagedCallSettings.Builder<ListApiDeploymentRevisionsRequest,ListApiDeploymentRevisionsResponse,RegistryClient.ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings()

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

Returns
TypeDescription
Builder<ListApiDeploymentRevisionsRequest,ListApiDeploymentRevisionsResponse,ListApiDeploymentRevisionsPagedResponse>

listApiDeploymentsSettings()

public PagedCallSettings.Builder<ListApiDeploymentsRequest,ListApiDeploymentsResponse,RegistryClient.ListApiDeploymentsPagedResponse> listApiDeploymentsSettings()

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

Returns
TypeDescription
Builder<ListApiDeploymentsRequest,ListApiDeploymentsResponse,ListApiDeploymentsPagedResponse>

listApiSpecRevisionsSettings()

public PagedCallSettings.Builder<ListApiSpecRevisionsRequest,ListApiSpecRevisionsResponse,RegistryClient.ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings()

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

Returns
TypeDescription
Builder<ListApiSpecRevisionsRequest,ListApiSpecRevisionsResponse,ListApiSpecRevisionsPagedResponse>

listApiSpecsSettings()

public PagedCallSettings.Builder<ListApiSpecsRequest,ListApiSpecsResponse,RegistryClient.ListApiSpecsPagedResponse> listApiSpecsSettings()

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

Returns
TypeDescription
Builder<ListApiSpecsRequest,ListApiSpecsResponse,ListApiSpecsPagedResponse>

listApiVersionsSettings()

public PagedCallSettings.Builder<ListApiVersionsRequest,ListApiVersionsResponse,RegistryClient.ListApiVersionsPagedResponse> listApiVersionsSettings()

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

Returns
TypeDescription
Builder<ListApiVersionsRequest,ListApiVersionsResponse,ListApiVersionsPagedResponse>

listApisSettings()

public PagedCallSettings.Builder<ListApisRequest,ListApisResponse,RegistryClient.ListApisPagedResponse> listApisSettings()

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

Returns
TypeDescription
Builder<ListApisRequest,ListApisResponse,ListApisPagedResponse>

listArtifactsSettings()

public PagedCallSettings.Builder<ListArtifactsRequest,ListArtifactsResponse,RegistryClient.ListArtifactsPagedResponse> listArtifactsSettings()

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

Returns
TypeDescription
Builder<ListArtifactsRequest,ListArtifactsResponse,ListArtifactsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,RegistryClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

replaceArtifactSettings()

public UnaryCallSettings.Builder<ReplaceArtifactRequest,Artifact> replaceArtifactSettings()

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

Returns
TypeDescription
Builder<ReplaceArtifactRequest,Artifact>

rollbackApiDeploymentSettings()

public UnaryCallSettings.Builder<RollbackApiDeploymentRequest,ApiDeployment> rollbackApiDeploymentSettings()

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

Returns
TypeDescription
Builder<RollbackApiDeploymentRequest,ApiDeployment>

rollbackApiSpecSettings()

public UnaryCallSettings.Builder<RollbackApiSpecRequest,ApiSpec> rollbackApiSpecSettings()

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

Returns
TypeDescription
Builder<RollbackApiSpecRequest,ApiSpec>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

tagApiDeploymentRevisionSettings()

public UnaryCallSettings.Builder<TagApiDeploymentRevisionRequest,ApiDeployment> tagApiDeploymentRevisionSettings()

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

Returns
TypeDescription
Builder<TagApiDeploymentRevisionRequest,ApiDeployment>

tagApiSpecRevisionSettings()

public UnaryCallSettings.Builder<TagApiSpecRevisionRequest,ApiSpec> tagApiSpecRevisionSettings()

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

Returns
TypeDescription
Builder<TagApiSpecRevisionRequest,ApiSpec>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateApiDeploymentSettings()

public UnaryCallSettings.Builder<UpdateApiDeploymentRequest,ApiDeployment> updateApiDeploymentSettings()

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

Returns
TypeDescription
Builder<UpdateApiDeploymentRequest,ApiDeployment>

updateApiSettings()

public UnaryCallSettings.Builder<UpdateApiRequest,Api> updateApiSettings()

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

Returns
TypeDescription
Builder<UpdateApiRequest,Api>

updateApiSpecSettings()

public UnaryCallSettings.Builder<UpdateApiSpecRequest,ApiSpec> updateApiSpecSettings()

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

Returns
TypeDescription
Builder<UpdateApiSpecRequest,ApiSpec>

updateApiVersionSettings()

public UnaryCallSettings.Builder<UpdateApiVersionRequest,ApiVersion> updateApiVersionSettings()

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

Returns
TypeDescription
Builder<UpdateApiVersionRequest,ApiVersion>