Class ImportDocumentsMetadata.Builder (0.51.0)

public static final class ImportDocumentsMetadata.Builder extends GeneratedMessageV3.Builder<ImportDocumentsMetadata.Builder> implements ImportDocumentsMetadataOrBuilder

Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.

Protobuf type google.cloud.discoveryengine.v1beta.ImportDocumentsMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportDocumentsMetadata build()
Returns
Type Description
ImportDocumentsMetadata

buildPartial()

public ImportDocumentsMetadata buildPartial()
Returns
Type Description
ImportDocumentsMetadata

clear()

public ImportDocumentsMetadata.Builder clear()
Returns
Type Description
ImportDocumentsMetadata.Builder
Overrides

clearCreateTime()

public ImportDocumentsMetadata.Builder clearCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
ImportDocumentsMetadata.Builder

clearFailureCount()

public ImportDocumentsMetadata.Builder clearFailureCount()

Count of entries that encountered errors while processing.

int64 failure_count = 4;

Returns
Type Description
ImportDocumentsMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSuccessCount()

public ImportDocumentsMetadata.Builder clearSuccessCount()

Count of entries that were processed successfully.

int64 success_count = 3;

Returns
Type Description
ImportDocumentsMetadata.Builder

This builder for chaining.

clearTotalCount()

public ImportDocumentsMetadata.Builder clearTotalCount()

Total count of entries that were processed.

int64 total_count = 5;

Returns
Type Description
ImportDocumentsMetadata.Builder

This builder for chaining.

clearUpdateTime()

public ImportDocumentsMetadata.Builder clearUpdateTime()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
ImportDocumentsMetadata.Builder

clone()

public ImportDocumentsMetadata.Builder clone()
Returns
Type Description
ImportDocumentsMetadata.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ImportDocumentsMetadata getDefaultInstanceForType()
Returns
Type Description
ImportDocumentsMetadata

getDescriptorForType()

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

getFailureCount()

public long getFailureCount()

Count of entries that encountered errors while processing.

int64 failure_count = 4;

Returns
Type Description
long

The failureCount.

getSuccessCount()

public long getSuccessCount()

Count of entries that were processed successfully.

int64 success_count = 3;

Returns
Type Description
long

The successCount.

getTotalCount()

public long getTotalCount()

Total count of entries that were processed.

int64 total_count = 5;

Returns
Type Description
long

The totalCount.

getUpdateTime()

public Timestamp getUpdateTime()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public ImportDocumentsMetadata.Builder mergeCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
ImportDocumentsMetadata.Builder

mergeFrom(ImportDocumentsMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public ImportDocumentsMetadata.Builder mergeUpdateTime(Timestamp value)

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
ImportDocumentsMetadata.Builder

setCreateTime(Timestamp value)

public ImportDocumentsMetadata.Builder setCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
ImportDocumentsMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ImportDocumentsMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ImportDocumentsMetadata.Builder

setFailureCount(long value)

public ImportDocumentsMetadata.Builder setFailureCount(long value)

Count of entries that encountered errors while processing.

int64 failure_count = 4;

Parameter
Name Description
value long

The failureCount to set.

Returns
Type Description
ImportDocumentsMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSuccessCount(long value)

public ImportDocumentsMetadata.Builder setSuccessCount(long value)

Count of entries that were processed successfully.

int64 success_count = 3;

Parameter
Name Description
value long

The successCount to set.

Returns
Type Description
ImportDocumentsMetadata.Builder

This builder for chaining.

setTotalCount(long value)

public ImportDocumentsMetadata.Builder setTotalCount(long value)

Total count of entries that were processed.

int64 total_count = 5;

Parameter
Name Description
value long

The totalCount to set.

Returns
Type Description
ImportDocumentsMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public ImportDocumentsMetadata.Builder setUpdateTime(Timestamp value)

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
ImportDocumentsMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ImportDocumentsMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ImportDocumentsMetadata.Builder