Class ServiceManagerSettings.Builder (3.13.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
NameDescription
clientContextClientContext

Builder(ServiceManagerSettings settings)

protected Builder(ServiceManagerSettings settings)
Parameter
NameDescription
settingsServiceManagerSettings

Builder(ServiceManagerStubSettings.Builder stubSettings)

protected Builder(ServiceManagerStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsServiceManagerStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ServiceManagerSettings.Builder

build()

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

createServiceConfigSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<CreateServiceRequest,ManagedService,OperationMetadata>

createServiceRolloutOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateServiceRolloutRequest,Rollout,OperationMetadata>

createServiceRolloutSettings()

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

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

Returns
TypeDescription
Builder<CreateServiceRolloutRequest,Operation>

createServiceSettings()

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

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

Returns
TypeDescription
Builder<CreateServiceRequest,Operation>

deleteServiceOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteServiceRequest,Empty,OperationMetadata>

deleteServiceSettings()

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

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

Returns
TypeDescription
Builder<DeleteServiceRequest,Operation>

generateConfigReportSettings()

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

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

Returns
TypeDescription
Builder<GenerateConfigReportRequest,GenerateConfigReportResponse>

getServiceConfigSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<GetServiceRolloutRequest,Rollout>

getServiceSettings()

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

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

Returns
TypeDescription
Builder<GetServiceRequest,ManagedService>

getStubSettingsBuilder()

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

listServiceConfigsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListServicesRequest,ListServicesResponse,ListServicesPagedResponse>

submitConfigSourceOperationSettings()

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

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

Returns
TypeDescription
Builder<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata>

submitConfigSourceSettings()

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

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

Returns
TypeDescription
Builder<SubmitConfigSourceRequest,Operation>

undeleteServiceOperationSettings()

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

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

Returns
TypeDescription
Builder<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata>

undeleteServiceSettings()

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

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

Returns
TypeDescription
Builder<UndeleteServiceRequest,Operation>