Class Example (1.0.0-beta03)

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

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
RepeatedField<Annotation>

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
Example.PayloadOneofCase

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