Class PipelineServiceSettings.Builder (3.7.0)

public static class PipelineServiceSettings.Builder extends ClientSettings.Builder<PipelineServiceSettings,PipelineServiceSettings.Builder>

Builder for PipelineServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > PipelineServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(PipelineServiceSettings settings)

protected Builder(PipelineServiceSettings settings)
Parameter
NameDescription
settingsPipelineServiceSettings

Builder(PipelineServiceStubSettings.Builder stubSettings)

protected Builder(PipelineServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsPipelineServiceStubSettings.Builder

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>