Class PipelineServiceStubSettings.Builder (2.7.4)

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

Builder for PipelineServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > PipelineServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(PipelineServiceStubSettings settings)

protected Builder(PipelineServiceStubSettings settings)
Parameter
NameDescription
settingsPipelineServiceStubSettings

Methods

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

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

build()

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

cancelPipelineJobSettings()

public UnaryCallSettings.Builder<CancelPipelineJobRequest,Empty> cancelPipelineJobSettings()

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

Returns
TypeDescription
Builder<CancelPipelineJobRequest,Empty>

cancelTrainingPipelineSettings()

public UnaryCallSettings.Builder<CancelTrainingPipelineRequest,Empty> cancelTrainingPipelineSettings()

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

Returns
TypeDescription
Builder<CancelTrainingPipelineRequest,Empty>

createPipelineJobSettings()

public UnaryCallSettings.Builder<CreatePipelineJobRequest,PipelineJob> createPipelineJobSettings()

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

Returns
TypeDescription
Builder<CreatePipelineJobRequest,PipelineJob>

createTrainingPipelineSettings()

public UnaryCallSettings.Builder<CreateTrainingPipelineRequest,TrainingPipeline> createTrainingPipelineSettings()

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

Returns
TypeDescription
Builder<CreateTrainingPipelineRequest,TrainingPipeline>

deletePipelineJobOperationSettings()

public OperationCallSettings.Builder<DeletePipelineJobRequest,Empty,DeleteOperationMetadata> deletePipelineJobOperationSettings()

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

Returns
TypeDescription
Builder<DeletePipelineJobRequest,Empty,DeleteOperationMetadata>

deletePipelineJobSettings()

public UnaryCallSettings.Builder<DeletePipelineJobRequest,Operation> deletePipelineJobSettings()

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

Returns
TypeDescription
Builder<DeletePipelineJobRequest,Operation>

deleteTrainingPipelineOperationSettings()

public OperationCallSettings.Builder<DeleteTrainingPipelineRequest,Empty,DeleteOperationMetadata> deleteTrainingPipelineOperationSettings()

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

Returns
TypeDescription
Builder<DeleteTrainingPipelineRequest,Empty,DeleteOperationMetadata>

deleteTrainingPipelineSettings()

public UnaryCallSettings.Builder<DeleteTrainingPipelineRequest,Operation> deleteTrainingPipelineSettings()

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

Returns
TypeDescription
Builder<DeleteTrainingPipelineRequest,Operation>

getPipelineJobSettings()

public UnaryCallSettings.Builder<GetPipelineJobRequest,PipelineJob> getPipelineJobSettings()

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

Returns
TypeDescription
Builder<GetPipelineJobRequest,PipelineJob>

getTrainingPipelineSettings()

public UnaryCallSettings.Builder<GetTrainingPipelineRequest,TrainingPipeline> getTrainingPipelineSettings()

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

Returns
TypeDescription
Builder<GetTrainingPipelineRequest,TrainingPipeline>

listPipelineJobsSettings()

public PagedCallSettings.Builder<ListPipelineJobsRequest,ListPipelineJobsResponse,PipelineServiceClient.ListPipelineJobsPagedResponse> listPipelineJobsSettings()

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

Returns
TypeDescription
Builder<ListPipelineJobsRequest,ListPipelineJobsResponse,ListPipelineJobsPagedResponse>

listTrainingPipelinesSettings()

public PagedCallSettings.Builder<ListTrainingPipelinesRequest,ListTrainingPipelinesResponse,PipelineServiceClient.ListTrainingPipelinesPagedResponse> listTrainingPipelinesSettings()

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

Returns
TypeDescription
Builder<ListTrainingPipelinesRequest,ListTrainingPipelinesResponse,ListTrainingPipelinesPagedResponse>

unaryMethodSettingsBuilders()

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