Data Labeling v1beta1 API - Class Example (2.0.0-beta05)

public sealed class Example : IMessage<Example>, IEquatable<Example>, IDeepCloneable<Example>, IBufferMessage, IMessage

Reference documentation and code samples for the Data Labeling v1beta1 API class Example.

An Example is a piece of data and its annotation. For example, an image with label "house".

Inheritance

object > Example

Namespace

Google.Cloud.DataLabeling.V1Beta1

Assembly

Google.Cloud.DataLabeling.V1Beta1.dll

Constructors

Example()

public Example()

Example(Example)

public Example(Example other)
Parameter
Name Description
other Example

Properties

Annotations

public RepeatedField<Annotation> Annotations { get; }

Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations.

Property Value
Type Description
RepeatedFieldAnnotation

ExampleName

public ExampleName ExampleName { get; set; }

ExampleName-typed view over the Name resource name property.

Property Value
Type Description
ExampleName

ImagePayload

public ImagePayload ImagePayload { get; set; }

The image payload, a container of the image bytes/uri.

Property Value
Type Description
ImagePayload

Name

public string Name { get; set; }

Output only. Name of the example, in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id}

Property Value
Type Description
string

PayloadCase

public Example.PayloadOneofCase PayloadCase { get; }
Property Value
Type Description
ExamplePayloadOneofCase

TextPayload

public TextPayload TextPayload { get; set; }

The text payload, a container of the text content.

Property Value
Type Description
TextPayload

VideoPayload

public VideoPayload VideoPayload { get; set; }

The video payload, a container of the video uri.

Property Value
Type Description
VideoPayload