Class Example
An Example is a piece of data and its annotation. For example, an image with label "house".
Inheritance
System.Object
Example
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.DataLabeling.V1Beta1
Assembly: Google.Cloud.DataLabeling.V1Beta1.dll
Syntax
public sealed class Example : IMessage<Example>, IEquatable<Example>, IDeepCloneable<Example>, IBufferMessage, IMessage
Constructors
Example()
Declaration
public Example()
Example(Example)
Declaration
public Example(Example other)
Parameters
| Type | Name | Description |
|---|---|---|
| Example | other |
Properties
Annotations
Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations.
Declaration
public RepeatedField<Annotation> Annotations { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<Annotation> |
ExampleName
ExampleName-typed view over the Name resource name property.
Declaration
public ExampleName ExampleName { get; set; }
Property Value
| Type | Description |
|---|---|
| ExampleName |
ImagePayload
The image payload, a container of the image bytes/uri.
Declaration
public ImagePayload ImagePayload { get; set; }
Property Value
| Type | Description |
|---|---|
| ImagePayload |
Name
Output only. Name of the example, in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id}
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PayloadCase
Declaration
public Example.PayloadOneofCase PayloadCase { get; }
Property Value
| Type | Description |
|---|---|
| Example.PayloadOneofCase |
TextPayload
The text payload, a container of the text content.
Declaration
public TextPayload TextPayload { get; set; }
Property Value
| Type | Description |
|---|---|
| TextPayload |
VideoPayload
The video payload, a container of the video uri.
Declaration
public VideoPayload VideoPayload { get; set; }
Property Value
| Type | Description |
|---|---|
| VideoPayload |