Class IngestConversationsMetadata.IngestConversationsStats.Builder (2.40.0)

public static final class IngestConversationsMetadata.IngestConversationsStats.Builder extends GeneratedMessageV3.Builder<IngestConversationsMetadata.IngestConversationsStats.Builder> implements IngestConversationsMetadata.IngestConversationsStatsOrBuilder

Statistics for IngestConversations operation.

Protobuf type google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.IngestConversationsStats

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IngestConversationsMetadata.IngestConversationsStats.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IngestConversationsMetadata.IngestConversationsStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder
Overrides

build()

public IngestConversationsMetadata.IngestConversationsStats build()
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats

buildPartial()

public IngestConversationsMetadata.IngestConversationsStats buildPartial()
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats

clear()

public IngestConversationsMetadata.IngestConversationsStats.Builder clear()
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder
Overrides

clearDuplicatesSkippedCount()

public IngestConversationsMetadata.IngestConversationsStats.Builder clearDuplicatesSkippedCount()

Output only. The number of objects skipped because another conversation with the same transcript uri had already been ingested.

int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder

This builder for chaining.

clearFailedIngestCount()

public IngestConversationsMetadata.IngestConversationsStats.Builder clearFailedIngestCount()

Output only. The number of objects which were unable to be ingested due to errors. The errors are populated in the partial_errors field.

int32 failed_ingest_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IngestConversationsMetadata.IngestConversationsStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IngestConversationsMetadata.IngestConversationsStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder
Overrides

clearProcessedObjectCount()

public IngestConversationsMetadata.IngestConversationsStats.Builder clearProcessedObjectCount()

Output only. The number of objects processed during the ingest operation.

int32 processed_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder

This builder for chaining.

clearSuccessfulIngestCount()

public IngestConversationsMetadata.IngestConversationsStats.Builder clearSuccessfulIngestCount()

Output only. The number of new conversations added during this ingest operation.

int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder

This builder for chaining.

clone()

public IngestConversationsMetadata.IngestConversationsStats.Builder clone()
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder
Overrides

getDefaultInstanceForType()

public IngestConversationsMetadata.IngestConversationsStats getDefaultInstanceForType()
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDuplicatesSkippedCount()

public int getDuplicatesSkippedCount()

Output only. The number of objects skipped because another conversation with the same transcript uri had already been ingested.

int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The duplicatesSkippedCount.

getFailedIngestCount()

public int getFailedIngestCount()

Output only. The number of objects which were unable to be ingested due to errors. The errors are populated in the partial_errors field.

int32 failed_ingest_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The failedIngestCount.

getProcessedObjectCount()

public int getProcessedObjectCount()

Output only. The number of objects processed during the ingest operation.

int32 processed_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The processedObjectCount.

getSuccessfulIngestCount()

public int getSuccessfulIngestCount()

Output only. The number of new conversations added during this ingest operation.

int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The successfulIngestCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IngestConversationsMetadata.IngestConversationsStats other)

public IngestConversationsMetadata.IngestConversationsStats.Builder mergeFrom(IngestConversationsMetadata.IngestConversationsStats other)
Parameter
NameDescription
otherIngestConversationsMetadata.IngestConversationsStats
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IngestConversationsMetadata.IngestConversationsStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IngestConversationsMetadata.IngestConversationsStats.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IngestConversationsMetadata.IngestConversationsStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder
Overrides

setDuplicatesSkippedCount(int value)

public IngestConversationsMetadata.IngestConversationsStats.Builder setDuplicatesSkippedCount(int value)

Output only. The number of objects skipped because another conversation with the same transcript uri had already been ingested.

int32 duplicates_skipped_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The duplicatesSkippedCount to set.

Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder

This builder for chaining.

setFailedIngestCount(int value)

public IngestConversationsMetadata.IngestConversationsStats.Builder setFailedIngestCount(int value)

Output only. The number of objects which were unable to be ingested due to errors. The errors are populated in the partial_errors field.

int32 failed_ingest_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The failedIngestCount to set.

Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IngestConversationsMetadata.IngestConversationsStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder
Overrides

setProcessedObjectCount(int value)

public IngestConversationsMetadata.IngestConversationsStats.Builder setProcessedObjectCount(int value)

Output only. The number of objects processed during the ingest operation.

int32 processed_object_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The processedObjectCount to set.

Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder

This builder for chaining.

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

public IngestConversationsMetadata.IngestConversationsStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder
Overrides

setSuccessfulIngestCount(int value)

public IngestConversationsMetadata.IngestConversationsStats.Builder setSuccessfulIngestCount(int value)

Output only. The number of new conversations added during this ingest operation.

int32 successful_ingest_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The successfulIngestCount to set.

Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final IngestConversationsMetadata.IngestConversationsStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IngestConversationsMetadata.IngestConversationsStats.Builder
Overrides