Interface DataItemViewOrBuilder (3.43.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.aiplatform.v1.AnnotationOrBuilder>

getDataItem()

public abstract DataItem getDataItem()

The DataItem.

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

Returns
Type Description
DataItem

The dataItem.

getDataItemOrBuilder()

public abstract DataItemOrBuilder getDataItemOrBuilder()

The DataItem.

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

Returns
Type Description
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
Type Description
boolean

The hasTruncatedAnnotations.

hasDataItem()

public abstract boolean hasDataItem()

The DataItem.

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

Returns
Type Description
boolean

Whether the dataItem field is set.