com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.contactcenterinsights.v1.model;
/**
* The metadata for a bulk analyze conversations operation.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Contact Center AI Insights API. For a detailed
* explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata extends com.google.api.client.json.GenericJson {
/**
* The number of requested analyses that have completed successfully so far.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer completedAnalysesCount;
/**
* The time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;
/**
* The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String endTime;
/**
* The number of requested analyses that have failed so far.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer failedAnalysesCount;
/**
* Output only. Partial errors during bulk analyze operation that might cause the operation output
* to be incomplete.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List partialErrors;
/**
* The original request for bulk analyze.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest request;
/**
* Total number of analyses requested. Computed by the number of conversations returned by
* `filter` multiplied by `analysis_percentage` in the request.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer totalRequestedAnalysesCount;
/**
* The number of requested analyses that have completed successfully so far.
* @return value or {@code null} for none
*/
public java.lang.Integer getCompletedAnalysesCount() {
return completedAnalysesCount;
}
/**
* The number of requested analyses that have completed successfully so far.
* @param completedAnalysesCount completedAnalysesCount or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata setCompletedAnalysesCount(java.lang.Integer completedAnalysesCount) {
this.completedAnalysesCount = completedAnalysesCount;
return this;
}
/**
* The time the operation was created.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}
/**
* The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* The time the operation finished running.
* @return value or {@code null} for none
*/
public String getEndTime() {
return endTime;
}
/**
* The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata setEndTime(String endTime) {
this.endTime = endTime;
return this;
}
/**
* The number of requested analyses that have failed so far.
* @return value or {@code null} for none
*/
public java.lang.Integer getFailedAnalysesCount() {
return failedAnalysesCount;
}
/**
* The number of requested analyses that have failed so far.
* @param failedAnalysesCount failedAnalysesCount or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata setFailedAnalysesCount(java.lang.Integer failedAnalysesCount) {
this.failedAnalysesCount = failedAnalysesCount;
return this;
}
/**
* Output only. Partial errors during bulk analyze operation that might cause the operation output
* to be incomplete.
* @return value or {@code null} for none
*/
public java.util.List getPartialErrors() {
return partialErrors;
}
/**
* Output only. Partial errors during bulk analyze operation that might cause the operation output
* to be incomplete.
* @param partialErrors partialErrors or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata setPartialErrors(java.util.List partialErrors) {
this.partialErrors = partialErrors;
return this;
}
/**
* The original request for bulk analyze.
* @return value or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest getRequest() {
return request;
}
/**
* The original request for bulk analyze.
* @param request request or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata setRequest(GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest request) {
this.request = request;
return this;
}
/**
* Total number of analyses requested. Computed by the number of conversations returned by
* `filter` multiplied by `analysis_percentage` in the request.
* @return value or {@code null} for none
*/
public java.lang.Integer getTotalRequestedAnalysesCount() {
return totalRequestedAnalysesCount;
}
/**
* Total number of analyses requested. Computed by the number of conversations returned by
* `filter` multiplied by `analysis_percentage` in the request.
* @param totalRequestedAnalysesCount totalRequestedAnalysesCount or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata setTotalRequestedAnalysesCount(java.lang.Integer totalRequestedAnalysesCount) {
this.totalRequestedAnalysesCount = totalRequestedAnalysesCount;
return this;
}
@Override
public GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata set(String fieldName, Object value) {
return (GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata) super.set(fieldName, value);
}
@Override
public GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata clone() {
return (GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy