Interface SearchDataItemsRequestOrBuilder (3.17.0)

public interface SearchDataItemsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotationFilters(int index)

public abstract String getAnnotationFilters(int index)

An expression that specifies what Annotations will be returned per DataItem. Annotations satisfied either of the conditions will be returned.

  • annotation_spec_id - for = or !=. Must specify saved_query_id= - saved query id that annotations should belong to.

repeated string annotation_filters = 11;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The annotationFilters at the given index.

getAnnotationFiltersBytes(int index)

public abstract ByteString getAnnotationFiltersBytes(int index)

An expression that specifies what Annotations will be returned per DataItem. Annotations satisfied either of the conditions will be returned.

  • annotation_spec_id - for = or !=. Must specify saved_query_id= - saved query id that annotations should belong to.

repeated string annotation_filters = 11;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the annotationFilters at the given index.

getAnnotationFiltersCount()

public abstract int getAnnotationFiltersCount()

An expression that specifies what Annotations will be returned per DataItem. Annotations satisfied either of the conditions will be returned.

  • annotation_spec_id - for = or !=. Must specify saved_query_id= - saved query id that annotations should belong to.

repeated string annotation_filters = 11;

Returns
TypeDescription
int

The count of annotationFilters.

getAnnotationFiltersList()

public abstract List<String> getAnnotationFiltersList()

An expression that specifies what Annotations will be returned per DataItem. Annotations satisfied either of the conditions will be returned.

  • annotation_spec_id - for = or !=. Must specify saved_query_id= - saved query id that annotations should belong to.

repeated string annotation_filters = 11;

Returns
TypeDescription
List<String>

A list containing the annotationFilters.

getAnnotationsFilter() (deprecated)

public abstract String getAnnotationsFilter()

Deprecated. google.cloud.aiplatform.v1.SearchDataItemsRequest.annotations_filter is deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=468

An expression for filtering the Annotations that will be returned per DataItem.

  • annotation_spec_id - for = or !=.

string annotations_filter = 5 [deprecated = true];

Returns
TypeDescription
String

The annotationsFilter.

getAnnotationsFilterBytes() (deprecated)

public abstract ByteString getAnnotationsFilterBytes()

Deprecated. google.cloud.aiplatform.v1.SearchDataItemsRequest.annotations_filter is deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=468

An expression for filtering the Annotations that will be returned per DataItem.

  • annotation_spec_id - for = or !=.

string annotations_filter = 5 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for annotationsFilter.

getAnnotationsLimit()

public abstract int getAnnotationsLimit()

If set, only up to this many of Annotations will be returned per DataItemView. The maximum value is 1000. If not set, the maximum value will be used.

int32 annotations_limit = 7;

Returns
TypeDescription
int

The annotationsLimit.

getDataItemFilter()

public abstract String getDataItemFilter()

An expression for filtering the DataItem that will be returned.

  • data_item_id - for = or !=.
  • labeled - for = or !=.
  • has_annotation(ANNOTATION_SPEC_ID) - true only for DataItem that have at least one annotation with annotation_spec_id = ANNOTATION_SPEC_ID in the context of SavedQuery or DataLabelingJob. For example:
    • data_item=1
    • has_annotation(5)

string data_item_filter = 4;

Returns
TypeDescription
String

The dataItemFilter.

getDataItemFilterBytes()

public abstract ByteString getDataItemFilterBytes()

An expression for filtering the DataItem that will be returned.

  • data_item_id - for = or !=.
  • labeled - for = or !=.
  • has_annotation(ANNOTATION_SPEC_ID) - true only for DataItem that have at least one annotation with annotation_spec_id = ANNOTATION_SPEC_ID in the context of SavedQuery or DataLabelingJob. For example:
    • data_item=1
    • has_annotation(5)

string data_item_filter = 4;

Returns
TypeDescription
ByteString

The bytes for dataItemFilter.

getDataLabelingJob()

public abstract String getDataLabelingJob()

The resource name of a DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job} If this field is set, all of the search will be done in the context of this DataLabelingJob.

string data_labeling_job = 3;

Returns
TypeDescription
String

The dataLabelingJob.

getDataLabelingJobBytes()

public abstract ByteString getDataLabelingJobBytes()

The resource name of a DataLabelingJob. Format: projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job} If this field is set, all of the search will be done in the context of this DataLabelingJob.

string data_labeling_job = 3;

Returns
TypeDescription
ByteString

The bytes for dataLabelingJob.

getDataset()

public abstract String getDataset()

Required. The resource name of the Dataset from which to search DataItems. Format: projects/{project}/locations/{location}/datasets/{dataset}

string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The dataset.

getDatasetBytes()

public abstract ByteString getDatasetBytes()

Required. The resource name of the Dataset from which to search DataItems. Format: projects/{project}/locations/{location}/datasets/{dataset}

string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for dataset.

getFieldMask()

public abstract FieldMask getFieldMask()

Mask specifying which fields of DataItemView to read.

.google.protobuf.FieldMask field_mask = 6;

Returns
TypeDescription
FieldMask

The fieldMask.

getFieldMaskOrBuilder()

public abstract FieldMaskOrBuilder getFieldMaskOrBuilder()

Mask specifying which fields of DataItemView to read.

.google.protobuf.FieldMask field_mask = 6;

Returns
TypeDescription
FieldMaskOrBuilder

getOrderBy() (deprecated)

public abstract String getOrderBy()

Deprecated. google.cloud.aiplatform.v1.SearchDataItemsRequest.order_by is deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=492

A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

string order_by = 9 [deprecated = true];

Returns
TypeDescription
String

The orderBy.

getOrderByAnnotation()

public abstract SearchDataItemsRequest.OrderByAnnotation getOrderByAnnotation()

Expression that allows ranking results based on annotation's property.

.google.cloud.aiplatform.v1.SearchDataItemsRequest.OrderByAnnotation order_by_annotation = 13;

Returns
TypeDescription
SearchDataItemsRequest.OrderByAnnotation

The orderByAnnotation.

getOrderByAnnotationOrBuilder()

public abstract SearchDataItemsRequest.OrderByAnnotationOrBuilder getOrderByAnnotationOrBuilder()

Expression that allows ranking results based on annotation's property.

.google.cloud.aiplatform.v1.SearchDataItemsRequest.OrderByAnnotation order_by_annotation = 13;

Returns
TypeDescription
SearchDataItemsRequest.OrderByAnnotationOrBuilder

getOrderByBytes() (deprecated)

public abstract ByteString getOrderByBytes()

Deprecated. google.cloud.aiplatform.v1.SearchDataItemsRequest.order_by is deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=492

A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

string order_by = 9 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for orderBy.

getOrderByDataItem()

public abstract String getOrderByDataItem()

A comma-separated list of data item fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

string order_by_data_item = 12;

Returns
TypeDescription
String

The orderByDataItem.

getOrderByDataItemBytes()

public abstract ByteString getOrderByDataItemBytes()

A comma-separated list of data item fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

string order_by_data_item = 12;

Returns
TypeDescription
ByteString

The bytes for orderByDataItem.

getOrderCase()

public abstract SearchDataItemsRequest.OrderCase getOrderCase()
Returns
TypeDescription
SearchDataItemsRequest.OrderCase

getPageSize()

public abstract int getPageSize()

Requested page size. Server may return fewer results than requested. Default and maximum page size is 100.

int32 page_size = 8;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public abstract String getPageToken()

A token identifying a page of results for the server to return Typically obtained via SearchDataItemsResponse.next_page_token of the previous DatasetService.SearchDataItems call.

string page_token = 10;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public abstract ByteString getPageTokenBytes()

A token identifying a page of results for the server to return Typically obtained via SearchDataItemsResponse.next_page_token of the previous DatasetService.SearchDataItems call.

string page_token = 10;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getSavedQuery() (deprecated)

public abstract String getSavedQuery()

Deprecated. google.cloud.aiplatform.v1.SearchDataItemsRequest.saved_query is deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=437

The resource name of a SavedQuery(annotation set in UI). Format: projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query} All of the search will be done in the context of this SavedQuery.

string saved_query = 2 [deprecated = true, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The savedQuery.

getSavedQueryBytes() (deprecated)

public abstract ByteString getSavedQueryBytes()

Deprecated. google.cloud.aiplatform.v1.SearchDataItemsRequest.saved_query is deprecated. See google/cloud/aiplatform/v1/dataset_service.proto;l=437

The resource name of a SavedQuery(annotation set in UI). Format: projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query} All of the search will be done in the context of this SavedQuery.

string saved_query = 2 [deprecated = true, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for savedQuery.

hasFieldMask()

public abstract boolean hasFieldMask()

Mask specifying which fields of DataItemView to read.

.google.protobuf.FieldMask field_mask = 6;

Returns
TypeDescription
boolean

Whether the fieldMask field is set.

hasOrderByAnnotation()

public abstract boolean hasOrderByAnnotation()

Expression that allows ranking results based on annotation's property.

.google.cloud.aiplatform.v1.SearchDataItemsRequest.OrderByAnnotation order_by_annotation = 13;

Returns
TypeDescription
boolean

Whether the orderByAnnotation field is set.

hasOrderByDataItem()

public abstract boolean hasOrderByDataItem()

A comma-separated list of data item fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

string order_by_data_item = 12;

Returns
TypeDescription
boolean

Whether the orderByDataItem field is set.