Class RapidMigrationAssessmentSettings.Builder (0.28.0)

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

Builder for RapidMigrationAssessmentSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RapidMigrationAssessmentSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RapidMigrationAssessmentSettings settings)

protected Builder(RapidMigrationAssessmentSettings settings)
Parameter
Name Description
settings RapidMigrationAssessmentSettings

Builder(RapidMigrationAssessmentStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createAnnotationOperationSettings()

public OperationCallSettings.Builder<CreateAnnotationRequest,Annotation,OperationMetadata> createAnnotationOperationSettings()

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

Returns
Type Description
Builder<CreateAnnotationRequest,Annotation,OperationMetadata>

createAnnotationSettings()

public UnaryCallSettings.Builder<CreateAnnotationRequest,Operation> createAnnotationSettings()

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

Returns
Type Description
Builder<CreateAnnotationRequest,Operation>

createCollectorOperationSettings()

public OperationCallSettings.Builder<CreateCollectorRequest,Collector,OperationMetadata> createCollectorOperationSettings()

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

Returns
Type Description
Builder<CreateCollectorRequest,Collector,OperationMetadata>

createCollectorSettings()

public UnaryCallSettings.Builder<CreateCollectorRequest,Operation> createCollectorSettings()

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

Returns
Type Description
Builder<CreateCollectorRequest,Operation>

deleteCollectorOperationSettings()

public OperationCallSettings.Builder<DeleteCollectorRequest,Collector,OperationMetadata> deleteCollectorOperationSettings()

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

Returns
Type Description
Builder<DeleteCollectorRequest,Collector,OperationMetadata>

deleteCollectorSettings()

public UnaryCallSettings.Builder<DeleteCollectorRequest,Operation> deleteCollectorSettings()

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

Returns
Type Description
Builder<DeleteCollectorRequest,Operation>

getAnnotationSettings()

public UnaryCallSettings.Builder<GetAnnotationRequest,Annotation> getAnnotationSettings()

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

Returns
Type Description
Builder<GetAnnotationRequest,Annotation>

getCollectorSettings()

public UnaryCallSettings.Builder<GetCollectorRequest,Collector> getCollectorSettings()

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

Returns
Type Description
Builder<GetCollectorRequest,Collector>

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>

getStubSettingsBuilder()

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

listCollectorsSettings()

public PagedCallSettings.Builder<ListCollectorsRequest,ListCollectorsResponse,RapidMigrationAssessmentClient.ListCollectorsPagedResponse> listCollectorsSettings()

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

Returns
Type Description
Builder<ListCollectorsRequest,ListCollectorsResponse,ListCollectorsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,RapidMigrationAssessmentClient.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>

pauseCollectorOperationSettings()

public OperationCallSettings.Builder<PauseCollectorRequest,Collector,OperationMetadata> pauseCollectorOperationSettings()

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

Returns
Type Description
Builder<PauseCollectorRequest,Collector,OperationMetadata>

pauseCollectorSettings()

public UnaryCallSettings.Builder<PauseCollectorRequest,Operation> pauseCollectorSettings()

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

Returns
Type Description
Builder<PauseCollectorRequest,Operation>

registerCollectorOperationSettings()

public OperationCallSettings.Builder<RegisterCollectorRequest,Collector,OperationMetadata> registerCollectorOperationSettings()

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

Returns
Type Description
Builder<RegisterCollectorRequest,Collector,OperationMetadata>

registerCollectorSettings()

public UnaryCallSettings.Builder<RegisterCollectorRequest,Operation> registerCollectorSettings()

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

Returns
Type Description
Builder<RegisterCollectorRequest,Operation>

resumeCollectorOperationSettings()

public OperationCallSettings.Builder<ResumeCollectorRequest,Collector,OperationMetadata> resumeCollectorOperationSettings()

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

Returns
Type Description
Builder<ResumeCollectorRequest,Collector,OperationMetadata>

resumeCollectorSettings()

public UnaryCallSettings.Builder<ResumeCollectorRequest,Operation> resumeCollectorSettings()

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

Returns
Type Description
Builder<ResumeCollectorRequest,Operation>

updateCollectorOperationSettings()

public OperationCallSettings.Builder<UpdateCollectorRequest,Collector,OperationMetadata> updateCollectorOperationSettings()

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

Returns
Type Description
Builder<UpdateCollectorRequest,Collector,OperationMetadata>

updateCollectorSettings()

public UnaryCallSettings.Builder<UpdateCollectorRequest,Operation> updateCollectorSettings()

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

Returns
Type Description
Builder<UpdateCollectorRequest,Operation>