Class Document.IndexStatus.Builder (0.50.0)

public static final class Document.IndexStatus.Builder extends GeneratedMessageV3.Builder<Document.IndexStatus.Builder> implements Document.IndexStatusOrBuilder

Index status of the document.

Protobuf type google.cloud.discoveryengine.v1.Document.IndexStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllErrorSamples(Iterable<? extends Status> values)

public Document.IndexStatus.Builder addAllErrorSamples(Iterable<? extends Status> values)

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
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
Document.IndexStatus.Builder

addErrorSamples(Status value)

public Document.IndexStatus.Builder addErrorSamples(Status value)

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
value com.google.rpc.Status
Returns
Type Description
Document.IndexStatus.Builder

addErrorSamples(Status.Builder builderForValue)

public Document.IndexStatus.Builder addErrorSamples(Status.Builder builderForValue)

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
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
Document.IndexStatus.Builder

addErrorSamples(int index, Status value)

public Document.IndexStatus.Builder addErrorSamples(int index, Status value)

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;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
Document.IndexStatus.Builder

addErrorSamples(int index, Status.Builder builderForValue)

public Document.IndexStatus.Builder addErrorSamples(int index, Status.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
Document.IndexStatus.Builder

addErrorSamplesBuilder()

public Status.Builder addErrorSamplesBuilder()

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
com.google.rpc.Status.Builder

addErrorSamplesBuilder(int index)

public Status.Builder addErrorSamplesBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Document.IndexStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Document.IndexStatus.Builder
Overrides

build()

public Document.IndexStatus build()
Returns
Type Description
Document.IndexStatus

buildPartial()

public Document.IndexStatus buildPartial()
Returns
Type Description
Document.IndexStatus

clear()

public Document.IndexStatus.Builder clear()
Returns
Type Description
Document.IndexStatus.Builder
Overrides

clearErrorSamples()

public Document.IndexStatus.Builder clearErrorSamples()

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
Document.IndexStatus.Builder

clearField(Descriptors.FieldDescriptor field)

public Document.IndexStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Document.IndexStatus.Builder
Overrides

clearIndexTime()

public Document.IndexStatus.Builder clearIndexTime()

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
Document.IndexStatus.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Document.IndexStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Document.IndexStatus.Builder
Overrides

clone()

public Document.IndexStatus.Builder clone()
Returns
Type Description
Document.IndexStatus.Builder
Overrides

getDefaultInstanceForType()

public Document.IndexStatus getDefaultInstanceForType()
Returns
Type Description
Document.IndexStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrorSamples(int index)

public 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

getErrorSamplesBuilder(int index)

public Status.Builder getErrorSamplesBuilder(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.Builder

getErrorSamplesBuilderList()

public List<Status.Builder> getErrorSamplesBuilderList()

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.Builder>

getErrorSamplesCount()

public 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 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 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 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 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.

getIndexTimeBuilder()

public Timestamp.Builder getIndexTimeBuilder()

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
Builder

getIndexTimeOrBuilder()

public 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 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Document.IndexStatus other)

public Document.IndexStatus.Builder mergeFrom(Document.IndexStatus other)
Parameter
Name Description
other Document.IndexStatus
Returns
Type Description
Document.IndexStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Document.IndexStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Document.IndexStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Document.IndexStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Document.IndexStatus.Builder
Overrides

mergeIndexTime(Timestamp value)

public Document.IndexStatus.Builder mergeIndexTime(Timestamp value)

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;

Parameter
Name Description
value Timestamp
Returns
Type Description
Document.IndexStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Document.IndexStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.IndexStatus.Builder
Overrides

removeErrorSamples(int index)

public Document.IndexStatus.Builder removeErrorSamples(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
Document.IndexStatus.Builder

setErrorSamples(int index, Status value)

public Document.IndexStatus.Builder setErrorSamples(int index, Status value)

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;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
Document.IndexStatus.Builder

setErrorSamples(int index, Status.Builder builderForValue)

public Document.IndexStatus.Builder setErrorSamples(int index, Status.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
Document.IndexStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Document.IndexStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Document.IndexStatus.Builder
Overrides

setIndexTime(Timestamp value)

public Document.IndexStatus.Builder setIndexTime(Timestamp value)

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;

Parameter
Name Description
value Timestamp
Returns
Type Description
Document.IndexStatus.Builder

setIndexTime(Timestamp.Builder builderForValue)

public Document.IndexStatus.Builder setIndexTime(Timestamp.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Document.IndexStatus.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Document.IndexStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Document.IndexStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Document.IndexStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Document.IndexStatus.Builder
Overrides