Class EvaluationJob.Builder (0.151.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datalabeling.v1beta1.Attempt>
Returns
TypeDescription
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
NameDescription
valueAttempt
Returns
TypeDescription
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
NameDescription
builderForValueAttempt.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAttempt
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAttempt.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Attempt.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EvaluationJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EvaluationJob.Builder
Overrides

build()

public EvaluationJob build()
Returns
TypeDescription
EvaluationJob

buildPartial()

public EvaluationJob buildPartial()
Returns
TypeDescription
EvaluationJob

clear()

public EvaluationJob.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
EvaluationJob.Builder

clearCreateTime()

public EvaluationJob.Builder clearCreateTime()

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

.google.protobuf.Timestamp create_time = 10;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
EvaluationJob.Builder

clearField(Descriptors.FieldDescriptor field)

public EvaluationJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
EvaluationJob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EvaluationJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
EvaluationJob.Builder

This builder for chaining.

clone()

public EvaluationJob.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

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

.google.protobuf.Timestamp create_time = 10;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public EvaluationJob getDefaultInstanceForType()
Returns
TypeDescription
EvaluationJob

getDescription()

public String getDescription()

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

string description = 2;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEvaluationJobConfig()

public EvaluationJobConfig getEvaluationJobConfig()

Required. Configuration details for the evaluation job.

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

Returns
TypeDescription
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
TypeDescription
EvaluationJobConfig.Builder

getEvaluationJobConfigOrBuilder()

public EvaluationJobConfigOrBuilder getEvaluationJobConfigOrBuilder()

Required. Configuration details for the evaluation job.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the evaluationJobConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueEvaluationJobConfig
Returns
TypeDescription
EvaluationJob.Builder

mergeFrom(EvaluationJob other)

public EvaluationJob.Builder mergeFrom(EvaluationJob other)
Parameter
NameDescription
otherEvaluationJob
Returns
TypeDescription
EvaluationJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EvaluationJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EvaluationJob.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EvaluationJob.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EvaluationJob.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EvaluationJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The annotationSpecSet to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for annotationSpecSet to set.

Returns
TypeDescription
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
NameDescription
indexint
valueAttempt
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAttempt.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueEvaluationJobConfig
Returns
TypeDescription
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
NameDescription
builderForValueEvaluationJobConfig.Builder
Returns
TypeDescription
EvaluationJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EvaluationJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The labelMissingGroundTruth to set.

Returns
TypeDescription
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
NameDescription
valueString

The modelVersion to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for modelVersion to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The schedule to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for schedule to set.

Returns
TypeDescription
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
NameDescription
valueEvaluationJob.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
EvaluationJob.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final EvaluationJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EvaluationJob.Builder
Overrides