Interface Document.IndexStatusOrBuilder (0.49.0)

public static interface Document.IndexStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getErrorSamples(int index)

public abstract Status getErrorSamples(int index)

A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.

repeated .google.rpc.Status error_samples = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getErrorSamplesCount()

public abstract int getErrorSamplesCount()

A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.

repeated .google.rpc.Status error_samples = 2;

Returns
Type Description
int

getErrorSamplesList()

public abstract List<Status> getErrorSamplesList()

A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.

repeated .google.rpc.Status error_samples = 2;

Returns
Type Description
List<com.google.rpc.Status>

getErrorSamplesOrBuilder(int index)

public abstract StatusOrBuilder getErrorSamplesOrBuilder(int index)

A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.

repeated .google.rpc.Status error_samples = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

getErrorSamplesOrBuilderList()

public abstract List<? extends StatusOrBuilder> getErrorSamplesOrBuilderList()

A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.

repeated .google.rpc.Status error_samples = 2;

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getIndexTime()

public abstract Timestamp getIndexTime()

The time when the document was indexed. If this field is populated, it means the document has been indexed.

.google.protobuf.Timestamp index_time = 1;

Returns
Type Description
Timestamp

The indexTime.

getIndexTimeOrBuilder()

public abstract TimestampOrBuilder getIndexTimeOrBuilder()

The time when the document was indexed. If this field is populated, it means the document has been indexed.

.google.protobuf.Timestamp index_time = 1;

Returns
Type Description
TimestampOrBuilder

hasIndexTime()

public abstract boolean hasIndexTime()

The time when the document was indexed. If this field is populated, it means the document has been indexed.

.google.protobuf.Timestamp index_time = 1;

Returns
Type Description
boolean

Whether the indexTime field is set.