Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Aug 16, 2022
1 parent effeb4b commit 15f6030
Show file tree
Hide file tree
Showing 732 changed files with 53,285 additions and 348,313 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,59 @@
"BatchProcessDocuments": {
"methods": ["batchProcessDocumentsAsync", "batchProcessDocumentsAsync", "batchProcessDocumentsAsync", "batchProcessDocumentsOperationCallable", "batchProcessDocumentsCallable"]
},
"CreateProcessor": {
"methods": ["createProcessor", "createProcessor", "createProcessor", "createProcessorCallable"]
},
"DeleteProcessor": {
"methods": ["deleteProcessorAsync", "deleteProcessorAsync", "deleteProcessorAsync", "deleteProcessorOperationCallable", "deleteProcessorCallable"]
},
"DeleteProcessorVersion": {
"methods": ["deleteProcessorVersionAsync", "deleteProcessorVersionAsync", "deleteProcessorVersionAsync", "deleteProcessorVersionOperationCallable", "deleteProcessorVersionCallable"]
},
"DeployProcessorVersion": {
"methods": ["deployProcessorVersionAsync", "deployProcessorVersionAsync", "deployProcessorVersionAsync", "deployProcessorVersionOperationCallable", "deployProcessorVersionCallable"]
},
"DisableProcessor": {
"methods": ["disableProcessorAsync", "disableProcessorOperationCallable", "disableProcessorCallable"]
},
"EnableProcessor": {
"methods": ["enableProcessorAsync", "enableProcessorOperationCallable", "enableProcessorCallable"]
},
"FetchProcessorTypes": {
"methods": ["fetchProcessorTypes", "fetchProcessorTypes", "fetchProcessorTypes", "fetchProcessorTypesCallable"]
},
"GetLocation": {
"methods": ["getLocation", "getLocationCallable"]
},
"GetProcessor": {
"methods": ["getProcessor", "getProcessor", "getProcessor", "getProcessorCallable"]
},
"GetProcessorVersion": {
"methods": ["getProcessorVersion", "getProcessorVersion", "getProcessorVersion", "getProcessorVersionCallable"]
},
"ListLocations": {
"methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
},
"ListProcessorTypes": {
"methods": ["listProcessorTypes", "listProcessorTypes", "listProcessorTypes", "listProcessorTypesPagedCallable", "listProcessorTypesCallable"]
},
"ListProcessorVersions": {
"methods": ["listProcessorVersions", "listProcessorVersions", "listProcessorVersions", "listProcessorVersionsPagedCallable", "listProcessorVersionsCallable"]
},
"ListProcessors": {
"methods": ["listProcessors", "listProcessors", "listProcessors", "listProcessorsPagedCallable", "listProcessorsCallable"]
},
"ProcessDocument": {
"methods": ["processDocument", "processDocument", "processDocument", "processDocumentCallable"]
},
"ReviewDocument": {
"methods": ["reviewDocumentAsync", "reviewDocumentAsync", "reviewDocumentAsync", "reviewDocumentOperationCallable", "reviewDocumentCallable"]
},
"SetDefaultProcessorVersion": {
"methods": ["setDefaultProcessorVersionAsync", "setDefaultProcessorVersionOperationCallable", "setDefaultProcessorVersionCallable"]
},
"UndeployProcessorVersion": {
"methods": ["undeployProcessorVersionAsync", "undeployProcessorVersionAsync", "undeployProcessorVersionAsync", "undeployProcessorVersionOperationCallable", "undeployProcessorVersionCallable"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

/**
* The interfaces provided are listed below, along with usage samples.
* A client to Cloud Document AI API
*
* <p>The interfaces provided are listed below, along with usage samples.
*
* <p>======================= DocumentProcessorServiceClient =======================
*
Expand All @@ -31,7 +33,7 @@
* // It may require modifications to work in your environment.
* try (DocumentProcessorServiceClient documentProcessorServiceClient =
* DocumentProcessorServiceClient.create()) {
* ProcessorName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
* ResourceName name = ProcessorName.of("[PROJECT]", "[LOCATION]", "[PROCESSOR]");
* ProcessResponse response = documentProcessorServiceClient.processDocument(name);
* }
* }</pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,61 @@

package com.google.cloud.documentai.v1.stub;

import static com.google.cloud.documentai.v1.DocumentProcessorServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.documentai.v1.DocumentProcessorServiceClient.ListProcessorTypesPagedResponse;
import static com.google.cloud.documentai.v1.DocumentProcessorServiceClient.ListProcessorVersionsPagedResponse;
import static com.google.cloud.documentai.v1.DocumentProcessorServiceClient.ListProcessorsPagedResponse;

import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.documentai.v1.BatchProcessMetadata;
import com.google.cloud.documentai.v1.BatchProcessRequest;
import com.google.cloud.documentai.v1.BatchProcessResponse;
import com.google.cloud.documentai.v1.CreateProcessorRequest;
import com.google.cloud.documentai.v1.DeleteProcessorMetadata;
import com.google.cloud.documentai.v1.DeleteProcessorRequest;
import com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata;
import com.google.cloud.documentai.v1.DeleteProcessorVersionRequest;
import com.google.cloud.documentai.v1.DeployProcessorVersionMetadata;
import com.google.cloud.documentai.v1.DeployProcessorVersionRequest;
import com.google.cloud.documentai.v1.DeployProcessorVersionResponse;
import com.google.cloud.documentai.v1.DisableProcessorMetadata;
import com.google.cloud.documentai.v1.DisableProcessorRequest;
import com.google.cloud.documentai.v1.DisableProcessorResponse;
import com.google.cloud.documentai.v1.EnableProcessorMetadata;
import com.google.cloud.documentai.v1.EnableProcessorRequest;
import com.google.cloud.documentai.v1.EnableProcessorResponse;
import com.google.cloud.documentai.v1.FetchProcessorTypesRequest;
import com.google.cloud.documentai.v1.FetchProcessorTypesResponse;
import com.google.cloud.documentai.v1.GetProcessorRequest;
import com.google.cloud.documentai.v1.GetProcessorVersionRequest;
import com.google.cloud.documentai.v1.ListProcessorTypesRequest;
import com.google.cloud.documentai.v1.ListProcessorTypesResponse;
import com.google.cloud.documentai.v1.ListProcessorVersionsRequest;
import com.google.cloud.documentai.v1.ListProcessorVersionsResponse;
import com.google.cloud.documentai.v1.ListProcessorsRequest;
import com.google.cloud.documentai.v1.ListProcessorsResponse;
import com.google.cloud.documentai.v1.ProcessRequest;
import com.google.cloud.documentai.v1.ProcessResponse;
import com.google.cloud.documentai.v1.Processor;
import com.google.cloud.documentai.v1.ProcessorVersion;
import com.google.cloud.documentai.v1.ReviewDocumentOperationMetadata;
import com.google.cloud.documentai.v1.ReviewDocumentRequest;
import com.google.cloud.documentai.v1.ReviewDocumentResponse;
import com.google.cloud.documentai.v1.SetDefaultProcessorVersionMetadata;
import com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest;
import com.google.cloud.documentai.v1.SetDefaultProcessorVersionResponse;
import com.google.cloud.documentai.v1.UndeployProcessorVersionMetadata;
import com.google.cloud.documentai.v1.UndeployProcessorVersionRequest;
import com.google.cloud.documentai.v1.UndeployProcessorVersionResponse;
import com.google.cloud.location.GetLocationRequest;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
import com.google.cloud.location.Location;
import com.google.longrunning.Operation;
import com.google.longrunning.stub.OperationsStub;
import com.google.protobuf.Empty;
import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
Expand Down Expand Up @@ -62,6 +104,133 @@ public UnaryCallable<BatchProcessRequest, Operation> batchProcessDocumentsCallab
throw new UnsupportedOperationException("Not implemented: batchProcessDocumentsCallable()");
}

public UnaryCallable<FetchProcessorTypesRequest, FetchProcessorTypesResponse>
fetchProcessorTypesCallable() {
throw new UnsupportedOperationException("Not implemented: fetchProcessorTypesCallable()");
}

public UnaryCallable<ListProcessorTypesRequest, ListProcessorTypesPagedResponse>
listProcessorTypesPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listProcessorTypesPagedCallable()");
}

public UnaryCallable<ListProcessorTypesRequest, ListProcessorTypesResponse>
listProcessorTypesCallable() {
throw new UnsupportedOperationException("Not implemented: listProcessorTypesCallable()");
}

public UnaryCallable<ListProcessorsRequest, ListProcessorsPagedResponse>
listProcessorsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listProcessorsPagedCallable()");
}

public UnaryCallable<ListProcessorsRequest, ListProcessorsResponse> listProcessorsCallable() {
throw new UnsupportedOperationException("Not implemented: listProcessorsCallable()");
}

public UnaryCallable<GetProcessorRequest, Processor> getProcessorCallable() {
throw new UnsupportedOperationException("Not implemented: getProcessorCallable()");
}

public UnaryCallable<GetProcessorVersionRequest, ProcessorVersion> getProcessorVersionCallable() {
throw new UnsupportedOperationException("Not implemented: getProcessorVersionCallable()");
}

public UnaryCallable<ListProcessorVersionsRequest, ListProcessorVersionsPagedResponse>
listProcessorVersionsPagedCallable() {
throw new UnsupportedOperationException(
"Not implemented: listProcessorVersionsPagedCallable()");
}

public UnaryCallable<ListProcessorVersionsRequest, ListProcessorVersionsResponse>
listProcessorVersionsCallable() {
throw new UnsupportedOperationException("Not implemented: listProcessorVersionsCallable()");
}

public OperationCallable<DeleteProcessorVersionRequest, Empty, DeleteProcessorVersionMetadata>
deleteProcessorVersionOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: deleteProcessorVersionOperationCallable()");
}

public UnaryCallable<DeleteProcessorVersionRequest, Operation> deleteProcessorVersionCallable() {
throw new UnsupportedOperationException("Not implemented: deleteProcessorVersionCallable()");
}

public OperationCallable<
DeployProcessorVersionRequest,
DeployProcessorVersionResponse,
DeployProcessorVersionMetadata>
deployProcessorVersionOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: deployProcessorVersionOperationCallable()");
}

public UnaryCallable<DeployProcessorVersionRequest, Operation> deployProcessorVersionCallable() {
throw new UnsupportedOperationException("Not implemented: deployProcessorVersionCallable()");
}

public OperationCallable<
UndeployProcessorVersionRequest,
UndeployProcessorVersionResponse,
UndeployProcessorVersionMetadata>
undeployProcessorVersionOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: undeployProcessorVersionOperationCallable()");
}

public UnaryCallable<UndeployProcessorVersionRequest, Operation>
undeployProcessorVersionCallable() {
throw new UnsupportedOperationException("Not implemented: undeployProcessorVersionCallable()");
}

public UnaryCallable<CreateProcessorRequest, Processor> createProcessorCallable() {
throw new UnsupportedOperationException("Not implemented: createProcessorCallable()");
}

public OperationCallable<DeleteProcessorRequest, Empty, DeleteProcessorMetadata>
deleteProcessorOperationCallable() {
throw new UnsupportedOperationException("Not implemented: deleteProcessorOperationCallable()");
}

public UnaryCallable<DeleteProcessorRequest, Operation> deleteProcessorCallable() {
throw new UnsupportedOperationException("Not implemented: deleteProcessorCallable()");
}

public OperationCallable<EnableProcessorRequest, EnableProcessorResponse, EnableProcessorMetadata>
enableProcessorOperationCallable() {
throw new UnsupportedOperationException("Not implemented: enableProcessorOperationCallable()");
}

public UnaryCallable<EnableProcessorRequest, Operation> enableProcessorCallable() {
throw new UnsupportedOperationException("Not implemented: enableProcessorCallable()");
}

public OperationCallable<
DisableProcessorRequest, DisableProcessorResponse, DisableProcessorMetadata>
disableProcessorOperationCallable() {
throw new UnsupportedOperationException("Not implemented: disableProcessorOperationCallable()");
}

public UnaryCallable<DisableProcessorRequest, Operation> disableProcessorCallable() {
throw new UnsupportedOperationException("Not implemented: disableProcessorCallable()");
}

public OperationCallable<
SetDefaultProcessorVersionRequest,
SetDefaultProcessorVersionResponse,
SetDefaultProcessorVersionMetadata>
setDefaultProcessorVersionOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: setDefaultProcessorVersionOperationCallable()");
}

public UnaryCallable<SetDefaultProcessorVersionRequest, Operation>
setDefaultProcessorVersionCallable() {
throw new UnsupportedOperationException(
"Not implemented: setDefaultProcessorVersionCallable()");
}

public OperationCallable<
ReviewDocumentRequest, ReviewDocumentResponse, ReviewDocumentOperationMetadata>
reviewDocumentOperationCallable() {
Expand All @@ -72,6 +241,19 @@ public UnaryCallable<ReviewDocumentRequest, Operation> reviewDocumentCallable()
throw new UnsupportedOperationException("Not implemented: reviewDocumentCallable()");
}

public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
listLocationsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
}

public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsCallable()");
}

public UnaryCallable<GetLocationRequest, Location> getLocationCallable() {
throw new UnsupportedOperationException("Not implemented: getLocationCallable()");
}

@Override
public abstract void close();
}
Loading

0 comments on commit 15f6030

Please sign in to comment.