Class SecureSourceManagerStubSettings.Builder (0.16.0)

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

Builder for SecureSourceManagerStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SecureSourceManagerStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SecureSourceManagerStubSettings settings)

protected Builder(SecureSourceManagerStubSettings settings)
Parameter
Name Description
settings SecureSourceManagerStubSettings

Methods

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

public SecureSourceManagerStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
SecureSourceManagerStubSettings.Builder

build()

public SecureSourceManagerStubSettings build()
Returns
Type Description
SecureSourceManagerStubSettings
Overrides
Exceptions
Type Description
IOException

createInstanceOperationSettings()

public OperationCallSettings.Builder<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationSettings()

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

Returns
Type Description
Builder<CreateInstanceRequest,Instance,OperationMetadata>

createInstanceSettings()

public UnaryCallSettings.Builder<CreateInstanceRequest,Operation> createInstanceSettings()

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

Returns
Type Description
Builder<CreateInstanceRequest,Operation>

createRepositoryOperationSettings()

public OperationCallSettings.Builder<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationSettings()

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

Returns
Type Description
Builder<CreateRepositoryRequest,Repository,OperationMetadata>

createRepositorySettings()

public UnaryCallSettings.Builder<CreateRepositoryRequest,Operation> createRepositorySettings()

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

Returns
Type Description
Builder<CreateRepositoryRequest,Operation>

deleteInstanceOperationSettings()

public OperationCallSettings.Builder<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationSettings()

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

Returns
Type Description
Builder<DeleteInstanceRequest,Empty,OperationMetadata>

deleteInstanceSettings()

public UnaryCallSettings.Builder<DeleteInstanceRequest,Operation> deleteInstanceSettings()

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

Returns
Type Description
Builder<DeleteInstanceRequest,Operation>

deleteRepositoryOperationSettings()

public OperationCallSettings.Builder<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationSettings()

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

Returns
Type Description
Builder<DeleteRepositoryRequest,Empty,OperationMetadata>

deleteRepositorySettings()

public UnaryCallSettings.Builder<DeleteRepositoryRequest,Operation> deleteRepositorySettings()

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

Returns
Type Description
Builder<DeleteRepositoryRequest,Operation>

getIamPolicyRepoSettings()

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

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

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

getIamPolicySettings()

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>

getInstanceSettings()

public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()

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

Returns
Type Description
Builder<GetInstanceRequest,Instance>

getLocationSettings()

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>

getRepositorySettings()

public UnaryCallSettings.Builder<GetRepositoryRequest,Repository> getRepositorySettings()

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

Returns
Type Description
Builder<GetRepositoryRequest,Repository>

listInstancesSettings()

public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,SecureSourceManagerClient.ListInstancesPagedResponse> listInstancesSettings()

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

Returns
Type Description
Builder<ListInstancesRequest,ListInstancesResponse,ListInstancesPagedResponse>

listLocationsSettings()

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

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

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

listRepositoriesSettings()

public PagedCallSettings.Builder<ListRepositoriesRequest,ListRepositoriesResponse,SecureSourceManagerClient.ListRepositoriesPagedResponse> listRepositoriesSettings()

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

Returns
Type Description
Builder<ListRepositoriesRequest,ListRepositoriesResponse,ListRepositoriesPagedResponse>

setIamPolicyRepoSettings()

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

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

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

setIamPolicySettings()

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>

testIamPermissionsRepoSettings()

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

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

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

testIamPermissionsSettings()

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>

unaryMethodSettingsBuilders()

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