Class RapidMigrationAssessmentStubSettings.Builder (0.22.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
NameDescription
clientContextClientContext

Builder(RapidMigrationAssessmentStubSettings settings)

protected Builder(RapidMigrationAssessmentStubSettings settings)
Parameter
NameDescription
settingsRapidMigrationAssessmentStubSettings

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

build()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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>

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>

unaryMethodSettingsBuilders()

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