public static final class ImportDocumentsMetadata.Builder extends GeneratedMessageV3.Builder<ImportDocumentsMetadata.Builder> implements ImportDocumentsMetadataOrBuilder
Metadata related to the progress of the ImportDocuments operation. This will
be returned by the google.longrunning.Operation.metadata field.
Protobuf type google.cloud.discoveryengine.v1beta.ImportDocumentsMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ImportDocumentsMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportDocumentsMetadata build()
Returns
public ImportDocumentsMetadata buildPartial()
Returns
public ImportDocumentsMetadata.Builder clear()
Returns
Overrides
public ImportDocumentsMetadata.Builder clearCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns
public ImportDocumentsMetadata.Builder clearFailureCount()
Count of entries that encountered errors while processing.
int64 failure_count = 4;
Returns
public ImportDocumentsMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ImportDocumentsMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ImportDocumentsMetadata.Builder clearSuccessCount()
Count of entries that were processed successfully.
int64 success_count = 3;
Returns
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
public ImportDocumentsMetadata.Builder clone()
Returns
Overrides
public Timestamp getCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns
public Timestamp.Builder getCreateTimeBuilder()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns
public ImportDocumentsMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public long getFailureCount()
Count of entries that encountered errors while processing.
int64 failure_count = 4;
Returns
Type | Description |
long | The failureCount.
|
public long getSuccessCount()
Count of entries that were processed successfully.
int64 success_count = 3;
Returns
Type | Description |
long | The successCount.
|
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
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
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
public boolean hasCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ImportDocumentsMetadata.Builder mergeCreateTime(Timestamp value)
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Parameter
Returns
public ImportDocumentsMetadata.Builder mergeFrom(ImportDocumentsMetadata other)
Parameter
Returns
public ImportDocumentsMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ImportDocumentsMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ImportDocumentsMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
public ImportDocumentsMetadata.Builder setCreateTime(Timestamp value)
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Parameter
Returns
public ImportDocumentsMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
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
public ImportDocumentsMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportDocumentsMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
public final ImportDocumentsMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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