Class ServiceManagerStubSettings.Builder (3.51.0)

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

Builder for ServiceManagerStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ServiceManagerStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ServiceManagerStubSettings settings)

protected Builder(ServiceManagerStubSettings settings)
Parameter
Name Description
settings ServiceManagerStubSettings

Methods

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

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

build()

public ServiceManagerStubSettings build()
Returns
Type Description
ServiceManagerStubSettings
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>

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>

unaryMethodSettingsBuilders()

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

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>