Class EvaluationJob.Builder (0.163.0)

public static final class EvaluationJob.Builder extends GeneratedMessageV3.Builder<EvaluationJob.Builder> implements EvaluationJobOrBuilder

Defines an evaluation job that runs periodically to generate Evaluations. Creating an evaluation job is the starting point for using continuous evaluation.

Protobuf type google.cloud.datalabeling.v1beta1.EvaluationJob

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAttempts(Iterable<? extends Attempt> values)

public EvaluationJob.Builder addAllAttempts(Iterable<? extends Attempt> values)

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Parameter
Name Description
values Iterable<? extends com.google.cloud.datalabeling.v1beta1.Attempt>
Returns
Type Description
EvaluationJob.Builder

addAttempts(Attempt value)

public EvaluationJob.Builder addAttempts(Attempt value)

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Parameter
Name Description
value Attempt
Returns
Type Description
EvaluationJob.Builder

addAttempts(Attempt.Builder builderForValue)

public EvaluationJob.Builder addAttempts(Attempt.Builder builderForValue)

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Parameter
Name Description
builderForValue Attempt.Builder
Returns
Type Description
EvaluationJob.Builder

addAttempts(int index, Attempt value)

public EvaluationJob.Builder addAttempts(int index, Attempt value)

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Parameters
Name Description
index int
value Attempt
Returns
Type Description
EvaluationJob.Builder

addAttempts(int index, Attempt.Builder builderForValue)

public EvaluationJob.Builder addAttempts(int index, Attempt.Builder builderForValue)

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Parameters
Name Description
index int
builderForValue Attempt.Builder
Returns
Type Description
EvaluationJob.Builder

addAttemptsBuilder()

public Attempt.Builder addAttemptsBuilder()

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Returns
Type Description
Attempt.Builder

addAttemptsBuilder(int index)

public Attempt.Builder addAttemptsBuilder(int index)

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Parameter
Name Description
index int
Returns
Type Description
Attempt.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EvaluationJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EvaluationJob.Builder
Overrides

build()

public EvaluationJob build()
Returns
Type Description
EvaluationJob

buildPartial()

public EvaluationJob buildPartial()
Returns
Type Description
EvaluationJob

clear()

public EvaluationJob.Builder clear()
Returns
Type Description
EvaluationJob.Builder
Overrides

clearAnnotationSpecSet()

public EvaluationJob.Builder clearAnnotationSpecSet()

Required. Name of the AnnotationSpecSet describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format:

"projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"

string annotation_spec_set = 7;

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

clearAttempts()

public EvaluationJob.Builder clearAttempts()

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Returns
Type Description
EvaluationJob.Builder

clearCreateTime()

public EvaluationJob.Builder clearCreateTime()

Output only. Timestamp of when this evaluation job was created.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
EvaluationJob.Builder

clearDescription()

public EvaluationJob.Builder clearDescription()

Required. Description of the job. The description can be up to 25,000 characters long.

string description = 2;

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

clearEvaluationJobConfig()

public EvaluationJob.Builder clearEvaluationJobConfig()

Required. Configuration details for the evaluation job.

.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;

Returns
Type Description
EvaluationJob.Builder

clearField(Descriptors.FieldDescriptor field)

public EvaluationJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EvaluationJob.Builder
Overrides

clearLabelMissingGroundTruth()

public EvaluationJob.Builder clearLabelMissingGroundTruth()

Required. Whether you want Data Labeling Service to provide ground truth labels for prediction input. If you want the service to assign human labelers to annotate your data, set this to true. If you want to provide your own ground truth labels in the evaluation job's BigQuery table, set this to false.

bool label_missing_ground_truth = 8;

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

clearModelVersion()

public EvaluationJob.Builder clearModelVersion()

Required. The AI Platform Prediction model version to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format:

"projects/<var>{project_id}</var>/models/<var>{model_name}</var>/versions/<var>{version_name}</var>"

There can only be one evaluation job per model version.

string model_version = 5;

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

clearName()

public EvaluationJob.Builder clearName()

Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format:

"projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"

string name = 1;

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EvaluationJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EvaluationJob.Builder
Overrides

clearSchedule()

public EvaluationJob.Builder clearSchedule()

Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days.

You can provide the schedule in crontab format or in an English-like format.

Regardless of what you specify, the job will run at 10:00 AM UTC. Only the interval from this schedule is used, not the specific time of day.

string schedule = 4;

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

clearState()

public EvaluationJob.Builder clearState()

Output only. Describes the current state of the job.

.google.cloud.datalabeling.v1beta1.EvaluationJob.State state = 3;

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

clone()

public EvaluationJob.Builder clone()
Returns
Type Description
EvaluationJob.Builder
Overrides

getAnnotationSpecSet()

public String getAnnotationSpecSet()

Required. Name of the AnnotationSpecSet describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format:

"projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"

string annotation_spec_set = 7;

Returns
Type Description
String

The annotationSpecSet.

getAnnotationSpecSetBytes()

public ByteString getAnnotationSpecSetBytes()

Required. Name of the AnnotationSpecSet describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format:

"projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"

string annotation_spec_set = 7;

Returns
Type Description
ByteString

The bytes for annotationSpecSet.

getAttempts(int index)

public Attempt getAttempts(int index)

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Parameter
Name Description
index int
Returns
Type Description
Attempt

getAttemptsBuilder(int index)

public Attempt.Builder getAttemptsBuilder(int index)

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Parameter
Name Description
index int
Returns
Type Description
Attempt.Builder

getAttemptsBuilderList()

public List<Attempt.Builder> getAttemptsBuilderList()

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Returns
Type Description
List<Builder>

getAttemptsCount()

public int getAttemptsCount()

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Returns
Type Description
int

getAttemptsList()

public List<Attempt> getAttemptsList()

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Returns
Type Description
List<Attempt>

getAttemptsOrBuilder(int index)

public AttemptOrBuilder getAttemptsOrBuilder(int index)

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Parameter
Name Description
index int
Returns
Type Description
AttemptOrBuilder

getAttemptsOrBuilderList()

public List<? extends AttemptOrBuilder> getAttemptsOrBuilderList()

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Returns
Type Description
List<? extends com.google.cloud.datalabeling.v1beta1.AttemptOrBuilder>

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp of when this evaluation job was created.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp of when this evaluation job was created.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp of when this evaluation job was created.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public EvaluationJob getDefaultInstanceForType()
Returns
Type Description
EvaluationJob

getDescription()

public String getDescription()

Required. Description of the job. The description can be up to 25,000 characters long.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Required. Description of the job. The description can be up to 25,000 characters long.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEvaluationJobConfig()

public EvaluationJobConfig getEvaluationJobConfig()

Required. Configuration details for the evaluation job.

.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;

Returns
Type Description
EvaluationJobConfig

The evaluationJobConfig.

getEvaluationJobConfigBuilder()

public EvaluationJobConfig.Builder getEvaluationJobConfigBuilder()

Required. Configuration details for the evaluation job.

.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;

Returns
Type Description
EvaluationJobConfig.Builder

getEvaluationJobConfigOrBuilder()

public EvaluationJobConfigOrBuilder getEvaluationJobConfigOrBuilder()

Required. Configuration details for the evaluation job.

.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;

Returns
Type Description
EvaluationJobConfigOrBuilder

getLabelMissingGroundTruth()

public boolean getLabelMissingGroundTruth()

Required. Whether you want Data Labeling Service to provide ground truth labels for prediction input. If you want the service to assign human labelers to annotate your data, set this to true. If you want to provide your own ground truth labels in the evaluation job's BigQuery table, set this to false.

bool label_missing_ground_truth = 8;

Returns
Type Description
boolean

The labelMissingGroundTruth.

getModelVersion()

public String getModelVersion()

Required. The AI Platform Prediction model version to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format:

"projects/<var>{project_id}</var>/models/<var>{model_name}</var>/versions/<var>{version_name}</var>"

There can only be one evaluation job per model version.

string model_version = 5;

Returns
Type Description
String

The modelVersion.

getModelVersionBytes()

public ByteString getModelVersionBytes()

Required. The AI Platform Prediction model version to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format:

"projects/<var>{project_id}</var>/models/<var>{model_name}</var>/versions/<var>{version_name}</var>"

There can only be one evaluation job per model version.

string model_version = 5;

Returns
Type Description
ByteString

The bytes for modelVersion.

getName()

public String getName()

Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format:

"projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format:

"projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getSchedule()

public String getSchedule()

Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days.

You can provide the schedule in crontab format or in an English-like format.

Regardless of what you specify, the job will run at 10:00 AM UTC. Only the interval from this schedule is used, not the specific time of day.

string schedule = 4;

Returns
Type Description
String

The schedule.

getScheduleBytes()

public ByteString getScheduleBytes()

Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days.

You can provide the schedule in crontab format or in an English-like format.

Regardless of what you specify, the job will run at 10:00 AM UTC. Only the interval from this schedule is used, not the specific time of day.

string schedule = 4;

Returns
Type Description
ByteString

The bytes for schedule.

getState()

public EvaluationJob.State getState()

Output only. Describes the current state of the job.

.google.cloud.datalabeling.v1beta1.EvaluationJob.State state = 3;

Returns
Type Description
EvaluationJob.State

The state.

getStateValue()

public int getStateValue()

Output only. Describes the current state of the job.

.google.cloud.datalabeling.v1beta1.EvaluationJob.State state = 3;

Returns
Type Description
int

The enum numeric value on the wire for state.

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp of when this evaluation job was created.

.google.protobuf.Timestamp create_time = 10;

Returns
Type Description
boolean

Whether the createTime field is set.

hasEvaluationJobConfig()

public boolean hasEvaluationJobConfig()

Required. Configuration details for the evaluation job.

.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;

Returns
Type Description
boolean

Whether the evaluationJobConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public EvaluationJob.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp of when this evaluation job was created.

.google.protobuf.Timestamp create_time = 10;

Parameter
Name Description
value Timestamp
Returns
Type Description
EvaluationJob.Builder

mergeEvaluationJobConfig(EvaluationJobConfig value)

public EvaluationJob.Builder mergeEvaluationJobConfig(EvaluationJobConfig value)

Required. Configuration details for the evaluation job.

.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;

Parameter
Name Description
value EvaluationJobConfig
Returns
Type Description
EvaluationJob.Builder

mergeFrom(EvaluationJob other)

public EvaluationJob.Builder mergeFrom(EvaluationJob other)
Parameter
Name Description
other EvaluationJob
Returns
Type Description
EvaluationJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EvaluationJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationJob.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EvaluationJob.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EvaluationJob.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EvaluationJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EvaluationJob.Builder
Overrides

removeAttempts(int index)

public EvaluationJob.Builder removeAttempts(int index)

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Parameter
Name Description
index int
Returns
Type Description
EvaluationJob.Builder

setAnnotationSpecSet(String value)

public EvaluationJob.Builder setAnnotationSpecSet(String value)

Required. Name of the AnnotationSpecSet describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format:

"projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"

string annotation_spec_set = 7;

Parameter
Name Description
value String

The annotationSpecSet to set.

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

setAnnotationSpecSetBytes(ByteString value)

public EvaluationJob.Builder setAnnotationSpecSetBytes(ByteString value)

Required. Name of the AnnotationSpecSet describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format:

"projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"

string annotation_spec_set = 7;

Parameter
Name Description
value ByteString

The bytes for annotationSpecSet to set.

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

setAttempts(int index, Attempt value)

public EvaluationJob.Builder setAttempts(int index, Attempt value)

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Parameters
Name Description
index int
value Attempt
Returns
Type Description
EvaluationJob.Builder

setAttempts(int index, Attempt.Builder builderForValue)

public EvaluationJob.Builder setAttempts(int index, Attempt.Builder builderForValue)

Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.

repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;

Parameters
Name Description
index int
builderForValue Attempt.Builder
Returns
Type Description
EvaluationJob.Builder

setCreateTime(Timestamp value)

public EvaluationJob.Builder setCreateTime(Timestamp value)

Output only. Timestamp of when this evaluation job was created.

.google.protobuf.Timestamp create_time = 10;

Parameter
Name Description
value Timestamp
Returns
Type Description
EvaluationJob.Builder

setCreateTime(Timestamp.Builder builderForValue)

public EvaluationJob.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp of when this evaluation job was created.

.google.protobuf.Timestamp create_time = 10;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EvaluationJob.Builder

setDescription(String value)

public EvaluationJob.Builder setDescription(String value)

Required. Description of the job. The description can be up to 25,000 characters long.

string description = 2;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public EvaluationJob.Builder setDescriptionBytes(ByteString value)

Required. Description of the job. The description can be up to 25,000 characters long.

string description = 2;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

setEvaluationJobConfig(EvaluationJobConfig value)

public EvaluationJob.Builder setEvaluationJobConfig(EvaluationJobConfig value)

Required. Configuration details for the evaluation job.

.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;

Parameter
Name Description
value EvaluationJobConfig
Returns
Type Description
EvaluationJob.Builder

setEvaluationJobConfig(EvaluationJobConfig.Builder builderForValue)

public EvaluationJob.Builder setEvaluationJobConfig(EvaluationJobConfig.Builder builderForValue)

Required. Configuration details for the evaluation job.

.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;

Parameter
Name Description
builderForValue EvaluationJobConfig.Builder
Returns
Type Description
EvaluationJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EvaluationJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EvaluationJob.Builder
Overrides

setLabelMissingGroundTruth(boolean value)

public EvaluationJob.Builder setLabelMissingGroundTruth(boolean value)

Required. Whether you want Data Labeling Service to provide ground truth labels for prediction input. If you want the service to assign human labelers to annotate your data, set this to true. If you want to provide your own ground truth labels in the evaluation job's BigQuery table, set this to false.

bool label_missing_ground_truth = 8;

Parameter
Name Description
value boolean

The labelMissingGroundTruth to set.

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

setModelVersion(String value)

public EvaluationJob.Builder setModelVersion(String value)

Required. The AI Platform Prediction model version to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format:

"projects/<var>{project_id}</var>/models/<var>{model_name}</var>/versions/<var>{version_name}</var>"

There can only be one evaluation job per model version.

string model_version = 5;

Parameter
Name Description
value String

The modelVersion to set.

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

setModelVersionBytes(ByteString value)

public EvaluationJob.Builder setModelVersionBytes(ByteString value)

Required. The AI Platform Prediction model version to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format:

"projects/<var>{project_id}</var>/models/<var>{model_name}</var>/versions/<var>{version_name}</var>"

There can only be one evaluation job per model version.

string model_version = 5;

Parameter
Name Description
value ByteString

The bytes for modelVersion to set.

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

setName(String value)

public EvaluationJob.Builder setName(String value)

Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format:

"projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

setNameBytes(ByteString value)

public EvaluationJob.Builder setNameBytes(ByteString value)

Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format:

"projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EvaluationJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EvaluationJob.Builder
Overrides

setSchedule(String value)

public EvaluationJob.Builder setSchedule(String value)

Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days.

You can provide the schedule in crontab format or in an English-like format.

Regardless of what you specify, the job will run at 10:00 AM UTC. Only the interval from this schedule is used, not the specific time of day.

string schedule = 4;

Parameter
Name Description
value String

The schedule to set.

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

setScheduleBytes(ByteString value)

public EvaluationJob.Builder setScheduleBytes(ByteString value)

Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days.

You can provide the schedule in crontab format or in an English-like format.

Regardless of what you specify, the job will run at 10:00 AM UTC. Only the interval from this schedule is used, not the specific time of day.

string schedule = 4;

Parameter
Name Description
value ByteString

The bytes for schedule to set.

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

setState(EvaluationJob.State value)

public EvaluationJob.Builder setState(EvaluationJob.State value)

Output only. Describes the current state of the job.

.google.cloud.datalabeling.v1beta1.EvaluationJob.State state = 3;

Parameter
Name Description
value EvaluationJob.State

The state to set.

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

setStateValue(int value)

public EvaluationJob.Builder setStateValue(int value)

Output only. Describes the current state of the job.

.google.cloud.datalabeling.v1beta1.EvaluationJob.State state = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
EvaluationJob.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final EvaluationJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EvaluationJob.Builder
Overrides