Class ServiceManagerStubSettings.Builder (3.16.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
NameDescription
clientContextClientContext

Builder(ServiceManagerStubSettings settings)

protected Builder(ServiceManagerStubSettings settings)
Parameter
NameDescription
settingsServiceManagerStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ServiceManagerStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
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>