Class BatchJob.Builder
- Enclosing class:
- BatchJob
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BatchJobbuild()Clears the value of completionStats field.Clears the value of createTime field.Clears the value of dest field.Clears the value of displayName field.Clears the value of endTime field.Clears the value of error field.Clears the value of model field.Clears the value of name field.clearSrc()Clears the value of src field.Clears the value of startTime field.Clears the value of state field.Clears the value of updateTime field.abstract BatchJob.BuildercompletionStats(CompletionStats completionStats) Setter for completionStats.completionStats(CompletionStats.Builder completionStatsBuilder) Setter for completionStats builder.abstract BatchJob.BuildercreateTime(Instant createTime) Setter for createTime.abstract BatchJob.Builderdest(BatchJobDestination dest) Setter for dest.dest(BatchJobDestination.Builder destBuilder) Setter for dest builder.abstract BatchJob.BuilderdisplayName(String displayName) Setter for displayName.abstract BatchJob.BuilderSetter for endTime.abstract BatchJob.BuilderSetter for error.error(JobError.Builder errorBuilder) Setter for error builder.abstract BatchJob.BuilderSetter for model.abstract BatchJob.BuilderSetter for name.abstract BatchJob.Buildersrc(BatchJobSource src) Setter for src.src(BatchJobSource.Builder srcBuilder) Setter for src builder.abstract BatchJob.BuilderSetter for startTime.abstract BatchJob.BuilderSetter for state.state(JobState.Known knownType) Setter for state given a known enum.Setter for state given a string.abstract BatchJob.BuilderupdateTime(Instant updateTime) Setter for updateTime.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Setter for name.name: The resource name of the BatchJob. Output only.".
-
clearName
Clears the value of name field. -
displayName
Setter for displayName.displayName: The display name of the BatchJob.
-
clearDisplayName
Clears the value of displayName field. -
state
Setter for state.state: The state of the BatchJob.
-
clearState
Clears the value of state field. -
state
Setter for state given a known enum.state: The state of the BatchJob.
-
state
Setter for state given a string.state: The state of the BatchJob.
-
error
Setter for error.error: Output only. Only populated when the job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.
-
error
Setter for error builder.error: Output only. Only populated when the job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.
-
clearError
Clears the value of error field. -
createTime
Setter for createTime.createTime: The time when the BatchJob was created.
-
clearCreateTime
Clears the value of createTime field. -
startTime
Setter for startTime.startTime: Output only. Time when the Job for the first time entered the `JOB_STATE_RUNNING` state.
-
clearStartTime
Clears the value of startTime field. -
endTime
Setter for endTime.endTime: The time when the BatchJob was completed. This field is for Vertex AI only.
-
clearEndTime
Clears the value of endTime field. -
updateTime
Setter for updateTime.updateTime: The time when the BatchJob was last updated.
-
clearUpdateTime
Clears the value of updateTime field. -
model
Setter for model.model: The name of the model that produces the predictions via the BatchJob.
-
clearModel
Clears the value of model field. -
src
Setter for src.src: Configuration for the input data. This field is for Vertex AI only.
-
src
Setter for src builder.src: Configuration for the input data. This field is for Vertex AI only.
-
clearSrc
Clears the value of src field. -
dest
Setter for dest.dest: Configuration for the output data.
-
dest
Setter for dest builder.dest: Configuration for the output data.
-
clearDest
Clears the value of dest field. -
completionStats
Setter for completionStats.completionStats: Statistics on completed and failed prediction instances. This field is for Vertex AI only.
-
completionStats
@CanIgnoreReturnValue public BatchJob.Builder completionStats(CompletionStats.Builder completionStatsBuilder) Setter for completionStats builder.completionStats: Statistics on completed and failed prediction instances. This field is for Vertex AI only.
-
clearCompletionStats
Clears the value of completionStats field. -
build
-