Interface DataItemViewOrBuilder (3.21.0)

public interface DataItemViewOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotations(int index)

public abstract Annotation getAnnotations(int index)

The Annotations on the DataItem. If too many Annotations should be returned for the DataItem, this field will be truncated per annotations_limit in request. If it was, then the has_truncated_annotations will be set to true.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Annotation

getAnnotationsCount()

public abstract int getAnnotationsCount()

The Annotations on the DataItem. If too many Annotations should be returned for the DataItem, this field will be truncated per annotations_limit in request. If it was, then the has_truncated_annotations will be set to true.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;

Returns
TypeDescription
int

getAnnotationsList()

public abstract List<Annotation> getAnnotationsList()

The Annotations on the DataItem. If too many Annotations should be returned for the DataItem, this field will be truncated per annotations_limit in request. If it was, then the has_truncated_annotations will be set to true.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;

Returns
TypeDescription
List<Annotation>

getAnnotationsOrBuilder(int index)

public abstract AnnotationOrBuilder getAnnotationsOrBuilder(int index)

The Annotations on the DataItem. If too many Annotations should be returned for the DataItem, this field will be truncated per annotations_limit in request. If it was, then the has_truncated_annotations will be set to true.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnnotationOrBuilder

getAnnotationsOrBuilderList()

public abstract List<? extends AnnotationOrBuilder> getAnnotationsOrBuilderList()

The Annotations on the DataItem. If too many Annotations should be returned for the DataItem, this field will be truncated per annotations_limit in request. If it was, then the has_truncated_annotations will be set to true.

repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.AnnotationOrBuilder>

getDataItem()

public abstract DataItem getDataItem()

The DataItem.

.google.cloud.aiplatform.v1.DataItem data_item = 1;

Returns
TypeDescription
DataItem

The dataItem.

getDataItemOrBuilder()

public abstract DataItemOrBuilder getDataItemOrBuilder()

The DataItem.

.google.cloud.aiplatform.v1.DataItem data_item = 1;

Returns
TypeDescription
DataItemOrBuilder

getHasTruncatedAnnotations()

public abstract boolean getHasTruncatedAnnotations()

True if and only if the Annotations field has been truncated. It happens if more Annotations for this DataItem met the request's annotation_filter than are allowed to be returned by annotations_limit. Note that if Annotations field is not being returned due to field mask, then this field will not be set to true no matter how many Annotations are there.

bool has_truncated_annotations = 3;

Returns
TypeDescription
boolean

The hasTruncatedAnnotations.

hasDataItem()

public abstract boolean hasDataItem()

The DataItem.

.google.cloud.aiplatform.v1.DataItem data_item = 1;

Returns
TypeDescription
boolean

Whether the dataItem field is set.