Class EvaluationJob
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.datalabeling.v1beta1.EvaluationJob
- All Implemented Interfaces:
EvaluationJobOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class EvaluationJob
extends com.google.protobuf.GeneratedMessage
implements EvaluationJobOrBuilder
Defines an evaluation job that runs periodically to generate [Evaluations][google.cloud.datalabeling.v1beta1.Evaluation]. [Creating an evaluation job](/ml-engine/docs/continuous-evaluation/create-job) is the starting point for using continuous evaluation.Protobuf type
google.cloud.datalabeling.v1beta1.EvaluationJob- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefines an evaluation job that runs periodically to generate [Evaluations][google.cloud.datalabeling.v1beta1.Evaluation].static enumState of the job.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanRequired.com.google.protobuf.ByteStringRequired.getAttempts(int index) Output only.intOutput only.Output only.getAttemptsOrBuilder(int index) Output only.List<? extends AttemptOrBuilder>Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static EvaluationJobRequired.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.DescriptorRequired.Required.booleanRequired.Required.com.google.protobuf.ByteStringRequired.getName()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<EvaluationJob>Required.com.google.protobuf.ByteStringRequired.intgetState()Output only.intOutput only.booleanOutput only.booleanRequired.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic EvaluationJob.Builderstatic EvaluationJob.BuildernewBuilder(EvaluationJob prototype) protected EvaluationJob.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static EvaluationJobparseDelimitedFrom(InputStream input) static EvaluationJobparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvaluationJobparseFrom(byte[] data) static EvaluationJobparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvaluationJobparseFrom(com.google.protobuf.ByteString data) static EvaluationJobparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvaluationJobparseFrom(com.google.protobuf.CodedInputStream input) static EvaluationJobparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvaluationJobparseFrom(InputStream input) static EvaluationJobparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EvaluationJobparseFrom(ByteBuffer data) static EvaluationJobparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EvaluationJob>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
SCHEDULE_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER- See Also:
-
MODEL_VERSION_FIELD_NUMBER
public static final int MODEL_VERSION_FIELD_NUMBER- See Also:
-
EVALUATION_JOB_CONFIG_FIELD_NUMBER
public static final int EVALUATION_JOB_CONFIG_FIELD_NUMBER- See Also:
-
ANNOTATION_SPEC_SET_FIELD_NUMBER
public static final int ANNOTATION_SPEC_SET_FIELD_NUMBER- See Also:
-
LABEL_MISSING_GROUND_TRUTH_FIELD_NUMBER
public static final int LABEL_MISSING_GROUND_TRUTH_FIELD_NUMBER- See Also:
-
ATTEMPTS_FIELD_NUMBER
public static final int ATTEMPTS_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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;- Specified by:
getNamein interfaceEvaluationJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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;- Specified by:
getNameBytesin interfaceEvaluationJobOrBuilder- Returns:
- The bytes for name.
-
getDescription
Required. Description of the job. The description can be up to 25,000 characters long.
string description = 2;- Specified by:
getDescriptionin interfaceEvaluationJobOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Required. Description of the job. The description can be up to 25,000 characters long.
string description = 2;- Specified by:
getDescriptionBytesin interfaceEvaluationJobOrBuilder- Returns:
- The bytes for description.
-
getStateValue
public int getStateValue()Output only. Describes the current state of the job.
.google.cloud.datalabeling.v1beta1.EvaluationJob.State state = 3;- Specified by:
getStateValuein interfaceEvaluationJobOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. Describes the current state of the job.
.google.cloud.datalabeling.v1beta1.EvaluationJob.State state = 3;- Specified by:
getStatein interfaceEvaluationJobOrBuilder- Returns:
- The state.
-
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](/scheduler/docs/configuring/cron-job-schedules) or in an [English-like format](/appengine/docs/standard/python/config/cronref#schedule_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;- Specified by:
getSchedulein interfaceEvaluationJobOrBuilder- Returns:
- The schedule.
-
getScheduleBytes
public com.google.protobuf.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](/scheduler/docs/configuring/cron-job-schedules) or in an [English-like format](/appengine/docs/standard/python/config/cronref#schedule_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;- Specified by:
getScheduleBytesin interfaceEvaluationJobOrBuilder- Returns:
- The bytes for schedule.
-
getModelVersion
Required. The [AI Platform Prediction model version](/ml-engine/docs/prediction-overview) 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;- Specified by:
getModelVersionin interfaceEvaluationJobOrBuilder- Returns:
- The modelVersion.
-
getModelVersionBytes
public com.google.protobuf.ByteString getModelVersionBytes()Required. The [AI Platform Prediction model version](/ml-engine/docs/prediction-overview) 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;- Specified by:
getModelVersionBytesin interfaceEvaluationJobOrBuilder- Returns:
- The bytes for modelVersion.
-
hasEvaluationJobConfig
public boolean hasEvaluationJobConfig()Required. Configuration details for the evaluation job.
.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;- Specified by:
hasEvaluationJobConfigin interfaceEvaluationJobOrBuilder- Returns:
- Whether the evaluationJobConfig field is set.
-
getEvaluationJobConfig
Required. Configuration details for the evaluation job.
.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;- Specified by:
getEvaluationJobConfigin interfaceEvaluationJobOrBuilder- Returns:
- The evaluationJobConfig.
-
getEvaluationJobConfigOrBuilder
Required. Configuration details for the evaluation job.
.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;- Specified by:
getEvaluationJobConfigOrBuilderin interfaceEvaluationJobOrBuilder
-
getAnnotationSpecSet
Required. Name of the [AnnotationSpecSet][google.cloud.datalabeling.v1beta1.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;- Specified by:
getAnnotationSpecSetin interfaceEvaluationJobOrBuilder- Returns:
- The annotationSpecSet.
-
getAnnotationSpecSetBytes
public com.google.protobuf.ByteString getAnnotationSpecSetBytes()Required. Name of the [AnnotationSpecSet][google.cloud.datalabeling.v1beta1.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;- Specified by:
getAnnotationSpecSetBytesin interfaceEvaluationJobOrBuilder- Returns:
- The bytes for annotationSpecSet.
-
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;- Specified by:
getLabelMissingGroundTruthin interfaceEvaluationJobOrBuilder- Returns:
- The labelMissingGroundTruth.
-
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;- Specified by:
getAttemptsListin interfaceEvaluationJobOrBuilder
-
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;- Specified by:
getAttemptsOrBuilderListin interfaceEvaluationJobOrBuilder
-
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;- Specified by:
getAttemptsCountin interfaceEvaluationJobOrBuilder
-
getAttempts
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;- Specified by:
getAttemptsin interfaceEvaluationJobOrBuilder
-
getAttemptsOrBuilder
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;- Specified by:
getAttemptsOrBuilderin interfaceEvaluationJobOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Output only. Timestamp of when this evaluation job was created.
.google.protobuf.Timestamp create_time = 10;- Specified by:
hasCreateTimein interfaceEvaluationJobOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Timestamp of when this evaluation job was created.
.google.protobuf.Timestamp create_time = 10;- Specified by:
getCreateTimein interfaceEvaluationJobOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp of when this evaluation job was created.
.google.protobuf.Timestamp create_time = 10;- Specified by:
getCreateTimeOrBuilderin interfaceEvaluationJobOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EvaluationJob parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvaluationJob parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvaluationJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvaluationJob parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvaluationJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EvaluationJob parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EvaluationJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EvaluationJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static EvaluationJob parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static EvaluationJob parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EvaluationJob.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-