com.google.api.services.documentai.v1.model.GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata 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.documentai.v1.model;
/**
* Model definition for GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata.
*
* 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 Cloud Document AI 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 GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata extends com.google.api.client.json.GenericJson {
/**
* The basic metadata of the long-running operation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata commonMetadata;
/**
* Total number of documents that failed to be deleted in storage.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer errorDocumentCount;
/**
* The list of response details of each document.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List individualBatchDeleteStatuses;
/**
* Total number of documents deleting from dataset.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer totalDocumentCount;
/**
* The basic metadata of the long-running operation.
* @return value or {@code null} for none
*/
public GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata getCommonMetadata() {
return commonMetadata;
}
/**
* The basic metadata of the long-running operation.
* @param commonMetadata commonMetadata or {@code null} for none
*/
public GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata commonMetadata) {
this.commonMetadata = commonMetadata;
return this;
}
/**
* Total number of documents that failed to be deleted in storage.
* @return value or {@code null} for none
*/
public java.lang.Integer getErrorDocumentCount() {
return errorDocumentCount;
}
/**
* Total number of documents that failed to be deleted in storage.
* @param errorDocumentCount errorDocumentCount or {@code null} for none
*/
public GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata setErrorDocumentCount(java.lang.Integer errorDocumentCount) {
this.errorDocumentCount = errorDocumentCount;
return this;
}
/**
* The list of response details of each document.
* @return value or {@code null} for none
*/
public java.util.List getIndividualBatchDeleteStatuses() {
return individualBatchDeleteStatuses;
}
/**
* The list of response details of each document.
* @param individualBatchDeleteStatuses individualBatchDeleteStatuses or {@code null} for none
*/
public GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata setIndividualBatchDeleteStatuses(java.util.List individualBatchDeleteStatuses) {
this.individualBatchDeleteStatuses = individualBatchDeleteStatuses;
return this;
}
/**
* Total number of documents deleting from dataset.
* @return value or {@code null} for none
*/
public java.lang.Integer getTotalDocumentCount() {
return totalDocumentCount;
}
/**
* Total number of documents deleting from dataset.
* @param totalDocumentCount totalDocumentCount or {@code null} for none
*/
public GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata setTotalDocumentCount(java.lang.Integer totalDocumentCount) {
this.totalDocumentCount = totalDocumentCount;
return this;
}
@Override
public GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata set(String fieldName, Object value) {
return (GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata) super.set(fieldName, value);
}
@Override
public GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata clone() {
return (GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy