Class RapidMigrationAssessmentStubSettings.Builder (0.31.0)

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

Builder for RapidMigrationAssessmentStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RapidMigrationAssessmentStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RapidMigrationAssessmentStubSettings settings)

protected Builder(RapidMigrationAssessmentStubSettings settings)
Parameter
Name Description
settings RapidMigrationAssessmentStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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

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>