Class protos.google.cloud.datalabeling.v1beta1.ExportDataOperationResponse

Represents an ExportDataOperationResponse.

Package

@google-cloud/datalabeling!

Constructors

(constructor)(properties)

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

Constructs a new ExportDataOperationResponse.

Parameter
TypeNameDescription
IExportDataOperationResponseproperties

Properties to set

Properties

dataset

public dataset: string;

ExportDataOperationResponse dataset.

Property Value
TypeDescription
string

exportCount

public exportCount: number;

ExportDataOperationResponse exportCount.

Property Value
TypeDescription
number

labelStats

public labelStats?: (google.cloud.datalabeling.v1beta1.ILabelStats|null);

ExportDataOperationResponse labelStats.

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

outputConfig

public outputConfig?: (google.cloud.datalabeling.v1beta1.IOutputConfig|null);

ExportDataOperationResponse outputConfig.

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

totalCount

public totalCount: number;

ExportDataOperationResponse totalCount.

Property Value
TypeDescription
number

Methods

create(properties)

public static create(properties?: google.cloud.datalabeling.v1beta1.IExportDataOperationResponse): google.cloud.datalabeling.v1beta1.ExportDataOperationResponse;

Creates a new ExportDataOperationResponse instance using the specified properties.

Parameter
TypeNameDescription
IExportDataOperationResponseproperties

Properties to set

Returns
TypeDescription
google.cloud.datalabeling.v1beta1.ExportDataOperationResponse

ExportDataOperationResponse instance

decode(reader, length)

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

Decodes an ExportDataOperationResponse 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.ExportDataOperationResponse

ExportDataOperationResponse

decodeDelimited(reader)

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

Decodes an ExportDataOperationResponse 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.ExportDataOperationResponse

ExportDataOperationResponse

encode(message, writer)

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

Encodes the specified ExportDataOperationResponse message. Does not implicitly messages.

Parameters
TypeNameDescription
IExportDataOperationResponsemessage

ExportDataOperationResponse 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.IExportDataOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
TypeNameDescription
IExportDataOperationResponsemessage

ExportDataOperationResponse 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.ExportDataOperationResponse;

Creates an ExportDataOperationResponse 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.ExportDataOperationResponse

ExportDataOperationResponse

toJSON()

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

Converts this ExportDataOperationResponse to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

Parameters
TypeNameDescription
google.cloud.datalabeling.v1beta1.ExportDataOperationResponsemessage

ExportDataOperationResponse

$protobuf.IConversionOptionsoptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

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

Verifies an ExportDataOperationResponse 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