Class ServiceManagerSettings.Builder (3.46.0)

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

Builder for ServiceManagerSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ServiceManagerSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ServiceManagerSettings settings)

protected Builder(ServiceManagerSettings settings)
Parameter
Name Description
settings ServiceManagerSettings

Builder(ServiceManagerStubSettings.Builder stubSettings)

protected Builder(ServiceManagerStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ServiceManagerStubSettings.Builder

Methods

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

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

build()

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

createServiceConfigSettings()

public UnaryCallSettings.Builder<CreateServiceConfigRequest,Service> createServiceConfigSettings()

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

Returns
Type Description
Builder<CreateServiceConfigRequest,com.google.api.Service>

createServiceOperationSettings()

public OperationCallSettings.Builder<CreateServiceRequest,ManagedService,OperationMetadata> createServiceOperationSettings()

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

Returns
Type Description
Builder<CreateServiceRequest,ManagedService,OperationMetadata>

createServiceRolloutOperationSettings()

public OperationCallSettings.Builder<CreateServiceRolloutRequest,Rollout,OperationMetadata> createServiceRolloutOperationSettings()

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

Returns
Type Description
Builder<CreateServiceRolloutRequest,Rollout,OperationMetadata>

createServiceRolloutSettings()

public UnaryCallSettings.Builder<CreateServiceRolloutRequest,Operation> createServiceRolloutSettings()

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

Returns
Type Description
Builder<CreateServiceRolloutRequest,Operation>

createServiceSettings()

public UnaryCallSettings.Builder<CreateServiceRequest,Operation> createServiceSettings()

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

Returns
Type Description
Builder<CreateServiceRequest,Operation>

deleteServiceOperationSettings()

public OperationCallSettings.Builder<DeleteServiceRequest,Empty,OperationMetadata> deleteServiceOperationSettings()

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

Returns
Type Description
Builder<DeleteServiceRequest,Empty,OperationMetadata>

deleteServiceSettings()

public UnaryCallSettings.Builder<DeleteServiceRequest,Operation> deleteServiceSettings()

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

Returns
Type Description
Builder<DeleteServiceRequest,Operation>

generateConfigReportSettings()

public UnaryCallSettings.Builder<GenerateConfigReportRequest,GenerateConfigReportResponse> generateConfigReportSettings()

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

Returns
Type Description
Builder<GenerateConfigReportRequest,GenerateConfigReportResponse>

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>

getServiceConfigSettings()

public UnaryCallSettings.Builder<GetServiceConfigRequest,Service> getServiceConfigSettings()

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

Returns
Type Description
Builder<GetServiceConfigRequest,com.google.api.Service>

getServiceRolloutSettings()

public UnaryCallSettings.Builder<GetServiceRolloutRequest,Rollout> getServiceRolloutSettings()

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

Returns
Type Description
Builder<GetServiceRolloutRequest,Rollout>

getServiceSettings()

public UnaryCallSettings.Builder<GetServiceRequest,ManagedService> getServiceSettings()

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

Returns
Type Description
Builder<GetServiceRequest,ManagedService>

getStubSettingsBuilder()

public ServiceManagerStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ServiceManagerStubSettings.Builder

listServiceConfigsSettings()

public PagedCallSettings.Builder<ListServiceConfigsRequest,ListServiceConfigsResponse,ServiceManagerClient.ListServiceConfigsPagedResponse> listServiceConfigsSettings()

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

Returns
Type Description
Builder<ListServiceConfigsRequest,ListServiceConfigsResponse,ListServiceConfigsPagedResponse>

listServiceRolloutsSettings()

public PagedCallSettings.Builder<ListServiceRolloutsRequest,ListServiceRolloutsResponse,ServiceManagerClient.ListServiceRolloutsPagedResponse> listServiceRolloutsSettings()

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

Returns
Type Description
Builder<ListServiceRolloutsRequest,ListServiceRolloutsResponse,ListServiceRolloutsPagedResponse>

listServicesSettings()

public PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,ServiceManagerClient.ListServicesPagedResponse> listServicesSettings()

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

Returns
Type Description
Builder<ListServicesRequest,ListServicesResponse,ListServicesPagedResponse>

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>

submitConfigSourceOperationSettings()

public OperationCallSettings.Builder<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata> submitConfigSourceOperationSettings()

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

Returns
Type Description
Builder<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata>

submitConfigSourceSettings()

public UnaryCallSettings.Builder<SubmitConfigSourceRequest,Operation> submitConfigSourceSettings()

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

Returns
Type Description
Builder<SubmitConfigSourceRequest,Operation>

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>

undeleteServiceOperationSettings()

public OperationCallSettings.Builder<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata> undeleteServiceOperationSettings()

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

Returns
Type Description
Builder<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata>

undeleteServiceSettings()

public UnaryCallSettings.Builder<UndeleteServiceRequest,Operation> undeleteServiceSettings()

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

Returns
Type Description
Builder<UndeleteServiceRequest,Operation>