Interface UserSpecifiedAnnotationOrBuilder (0.6.0)

public interface UserSpecifiedAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

Required. Key of the annotation. The key must be set with type by CreateDataSchema.

string key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

Required. Key of the annotation. The key must be set with type by CreateDataSchema.

string key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for key.

getPartition()

public abstract Partition getPartition()

Partition information in time and space for the sub-asset level annotation.

.google.cloud.visionai.v1.Partition partition = 3;

Returns
Type Description
Partition

The partition.

getPartitionOrBuilder()

public abstract PartitionOrBuilder getPartitionOrBuilder()

Partition information in time and space for the sub-asset level annotation.

.google.cloud.visionai.v1.Partition partition = 3;

Returns
Type Description
PartitionOrBuilder

getValue()

public abstract AnnotationValue getValue()

Value of the annotation. The value must be able to convert to the type according to the data schema.

.google.cloud.visionai.v1.AnnotationValue value = 2;

Returns
Type Description
AnnotationValue

The value.

getValueOrBuilder()

public abstract AnnotationValueOrBuilder getValueOrBuilder()

Value of the annotation. The value must be able to convert to the type according to the data schema.

.google.cloud.visionai.v1.AnnotationValue value = 2;

Returns
Type Description
AnnotationValueOrBuilder

hasPartition()

public abstract boolean hasPartition()

Partition information in time and space for the sub-asset level annotation.

.google.cloud.visionai.v1.Partition partition = 3;

Returns
Type Description
boolean

Whether the partition field is set.

hasValue()

public abstract boolean hasValue()

Value of the annotation. The value must be able to convert to the type according to the data schema.

.google.cloud.visionai.v1.AnnotationValue value = 2;

Returns
Type Description
boolean

Whether the value field is set.