Class RapidMigrationAssessmentSettings.Builder (0.17.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
NameDescription
clientContextClientContext

Builder(RapidMigrationAssessmentSettings settings)

protected Builder(RapidMigrationAssessmentSettings settings)
Parameter
NameDescription
settingsRapidMigrationAssessmentSettings

Builder(RapidMigrationAssessmentStubSettings.Builder stubSettings)

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

build()

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

createAnnotationOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateAnnotationRequest,Annotation,OperationMetadata>

createAnnotationSettings()

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

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

Returns
TypeDescription
Builder<CreateAnnotationRequest,Operation>

createCollectorOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateCollectorRequest,Collector,OperationMetadata>

createCollectorSettings()

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

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

Returns
TypeDescription
Builder<CreateCollectorRequest,Operation>

deleteCollectorOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteCollectorRequest,Collector,OperationMetadata>

deleteCollectorSettings()

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

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

Returns
TypeDescription
Builder<DeleteCollectorRequest,Operation>

getAnnotationSettings()

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

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

Returns
TypeDescription
Builder<GetAnnotationRequest,Annotation>

getCollectorSettings()

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

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

Returns
TypeDescription
Builder<GetCollectorRequest,Collector>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

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

listCollectorsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<PauseCollectorRequest,Collector,OperationMetadata>

pauseCollectorSettings()

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

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

Returns
TypeDescription
Builder<PauseCollectorRequest,Operation>

registerCollectorOperationSettings()

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

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

Returns
TypeDescription
Builder<RegisterCollectorRequest,Collector,OperationMetadata>

registerCollectorSettings()

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

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

Returns
TypeDescription
Builder<RegisterCollectorRequest,Operation>

resumeCollectorOperationSettings()

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

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

Returns
TypeDescription
Builder<ResumeCollectorRequest,Collector,OperationMetadata>

resumeCollectorSettings()

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

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

Returns
TypeDescription
Builder<ResumeCollectorRequest,Operation>

updateCollectorOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateCollectorRequest,Collector,OperationMetadata>

updateCollectorSettings()

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

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

Returns
TypeDescription
Builder<UpdateCollectorRequest,Operation>