Class protos.google.cloud.datalabeling.v1beta1.EvaluationJob

Represents an EvaluationJob.

Package

@google-cloud/datalabeling!

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.datalabeling.v1beta1.IEvaluationJob);

Constructs a new EvaluationJob.

Parameter
TypeNameDescription
IEvaluationJobproperties

Properties to set

Properties

annotationSpecSet

public annotationSpecSet: string;

EvaluationJob annotationSpecSet.

Property Value
TypeDescription
string

attempts

public attempts: google.cloud.datalabeling.v1beta1.IAttempt[];

EvaluationJob attempts.

Property Value
TypeDescription
google.cloud.datalabeling.v1beta1.IAttempt[]

createTime

public createTime?: (google.protobuf.ITimestamp|null);

EvaluationJob createTime.

Property Value
TypeDescription
(google.protobuf.ITimestamp|null)

description

public description: string;

EvaluationJob description.

Property Value
TypeDescription
string

evaluationJobConfig

public evaluationJobConfig?: (google.cloud.datalabeling.v1beta1.IEvaluationJobConfig|null);

EvaluationJob evaluationJobConfig.

Property Value
TypeDescription
(google.cloud.datalabeling.v1beta1.IEvaluationJobConfig|null)

labelMissingGroundTruth

public labelMissingGroundTruth: boolean;

EvaluationJob labelMissingGroundTruth.

Property Value
TypeDescription
boolean

modelVersion

public modelVersion: string;

EvaluationJob modelVersion.

Property Value
TypeDescription
string

name

public name: string;

EvaluationJob name.

Property Value
TypeDescription
string

schedule

public schedule: string;

EvaluationJob schedule.

Property Value
TypeDescription
string

state

public state: (google.cloud.datalabeling.v1beta1.EvaluationJob.State|keyof typeof google.cloud.datalabeling.v1beta1.EvaluationJob.State);

EvaluationJob state.

Property Value
TypeDescription
(google.cloud.datalabeling.v1beta1.EvaluationJob.State|keyof typeof google.cloud.datalabeling.v1beta1.EvaluationJob.State)

Methods

create(properties)

public static create(properties?: google.cloud.datalabeling.v1beta1.IEvaluationJob): google.cloud.datalabeling.v1beta1.EvaluationJob;

Creates a new EvaluationJob instance using the specified properties.

Parameter
TypeNameDescription
IEvaluationJobproperties

Properties to set

Returns
TypeDescription
google.cloud.datalabeling.v1beta1.EvaluationJob

EvaluationJob instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datalabeling.v1beta1.EvaluationJob;

Decodes an EvaluationJob message from the specified reader or buffer.

Parameters
TypeNameDescription
($protobuf.Reader|Uint8Array)reader

Reader or buffer to decode from

numberlength

Message length if known beforehand

Returns
TypeDescription
google.cloud.datalabeling.v1beta1.EvaluationJob

EvaluationJob

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datalabeling.v1beta1.EvaluationJob;

Decodes an EvaluationJob message from the specified reader or buffer, length delimited.

Parameter
TypeNameDescription
($protobuf.Reader|Uint8Array)reader

Reader or buffer to decode from

Returns
TypeDescription
google.cloud.datalabeling.v1beta1.EvaluationJob

EvaluationJob

encode(message, writer)

public static encode(message: google.cloud.datalabeling.v1beta1.IEvaluationJob, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified EvaluationJob message. Does not implicitly messages.

Parameters
TypeNameDescription
IEvaluationJobmessage

EvaluationJob message or plain object to encode

$protobuf.Writerwriter

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.cloud.datalabeling.v1beta1.IEvaluationJob, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified EvaluationJob message, length delimited. Does not implicitly messages.

Parameters
TypeNameDescription
IEvaluationJobmessage

EvaluationJob message or plain object to encode

$protobuf.Writerwriter

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.cloud.datalabeling.v1beta1.EvaluationJob;

Creates an EvaluationJob message from a plain object. Also converts values to their respective internal types.

Parameter
TypeNameDescription
{ [k: string]: any }object

Plain object

Returns
TypeDescription
google.cloud.datalabeling.v1beta1.EvaluationJob

EvaluationJob

toJSON()

public toJSON(): { [k: string]: any };

Converts this EvaluationJob to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.cloud.datalabeling.v1beta1.EvaluationJob, options?: $protobuf.IConversionOptions): { [k: string]: any };

Creates a plain object from an EvaluationJob message. Also converts values to other types if specified.

Parameters
TypeNameDescription
google.cloud.datalabeling.v1beta1.EvaluationJobmessage

EvaluationJob

$protobuf.IConversionOptionsoptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies an EvaluationJob message.

Parameter
TypeNameDescription
{ [k: string]: any }message

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not