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

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
NameDescription
otherExample

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
TypeDescription
RepeatedFieldAnnotation

ExampleName

public ExampleName ExampleName { get; set; }

ExampleName-typed view over the Name resource name property.

Property Value
TypeDescription
ExampleName

ImagePayload

public ImagePayload ImagePayload { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
string

PayloadCase

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

TextPayload

public TextPayload TextPayload { get; set; }

The text payload, a container of the text content.

Property Value
TypeDescription
TextPayload

VideoPayload

public VideoPayload VideoPayload { get; set; }

The video payload, a container of the video uri.

Property Value
TypeDescription
VideoPayload