Class PipelineServiceStubSettings.Builder (3.22.0)

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>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

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>

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>

listLocationsSettings()

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

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>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

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