com.google.cloud.translate.v3.stub.TranslationServiceStub Maven / Gradle / Ivy
Show all versions of google-cloud-translate Show documentation
/*
* Copyright 2024 Google LLC
*
* 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
*
* https://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.
*/
package com.google.cloud.translate.v3.stub;
import static com.google.cloud.translate.v3.TranslationServiceClient.ListAdaptiveMtDatasetsPagedResponse;
import static com.google.cloud.translate.v3.TranslationServiceClient.ListAdaptiveMtFilesPagedResponse;
import static com.google.cloud.translate.v3.TranslationServiceClient.ListAdaptiveMtSentencesPagedResponse;
import static com.google.cloud.translate.v3.TranslationServiceClient.ListGlossariesPagedResponse;
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.translate.v3.AdaptiveMtDataset;
import com.google.cloud.translate.v3.AdaptiveMtFile;
import com.google.cloud.translate.v3.AdaptiveMtTranslateRequest;
import com.google.cloud.translate.v3.AdaptiveMtTranslateResponse;
import com.google.cloud.translate.v3.BatchTranslateDocumentMetadata;
import com.google.cloud.translate.v3.BatchTranslateDocumentRequest;
import com.google.cloud.translate.v3.BatchTranslateDocumentResponse;
import com.google.cloud.translate.v3.BatchTranslateMetadata;
import com.google.cloud.translate.v3.BatchTranslateResponse;
import com.google.cloud.translate.v3.BatchTranslateTextRequest;
import com.google.cloud.translate.v3.CreateAdaptiveMtDatasetRequest;
import com.google.cloud.translate.v3.CreateGlossaryMetadata;
import com.google.cloud.translate.v3.CreateGlossaryRequest;
import com.google.cloud.translate.v3.DeleteAdaptiveMtDatasetRequest;
import com.google.cloud.translate.v3.DeleteAdaptiveMtFileRequest;
import com.google.cloud.translate.v3.DeleteGlossaryMetadata;
import com.google.cloud.translate.v3.DeleteGlossaryRequest;
import com.google.cloud.translate.v3.DeleteGlossaryResponse;
import com.google.cloud.translate.v3.DetectLanguageRequest;
import com.google.cloud.translate.v3.DetectLanguageResponse;
import com.google.cloud.translate.v3.GetAdaptiveMtDatasetRequest;
import com.google.cloud.translate.v3.GetAdaptiveMtFileRequest;
import com.google.cloud.translate.v3.GetGlossaryRequest;
import com.google.cloud.translate.v3.GetSupportedLanguagesRequest;
import com.google.cloud.translate.v3.Glossary;
import com.google.cloud.translate.v3.ImportAdaptiveMtFileRequest;
import com.google.cloud.translate.v3.ImportAdaptiveMtFileResponse;
import com.google.cloud.translate.v3.ListAdaptiveMtDatasetsRequest;
import com.google.cloud.translate.v3.ListAdaptiveMtDatasetsResponse;
import com.google.cloud.translate.v3.ListAdaptiveMtFilesRequest;
import com.google.cloud.translate.v3.ListAdaptiveMtFilesResponse;
import com.google.cloud.translate.v3.ListAdaptiveMtSentencesRequest;
import com.google.cloud.translate.v3.ListAdaptiveMtSentencesResponse;
import com.google.cloud.translate.v3.ListGlossariesRequest;
import com.google.cloud.translate.v3.ListGlossariesResponse;
import com.google.cloud.translate.v3.SupportedLanguages;
import com.google.cloud.translate.v3.TranslateDocumentRequest;
import com.google.cloud.translate.v3.TranslateDocumentResponse;
import com.google.cloud.translate.v3.TranslateTextRequest;
import com.google.cloud.translate.v3.TranslateTextResponse;
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.
/**
* Base stub class for the TranslationService service API.
*
* This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator-java")
public abstract class TranslationServiceStub implements BackgroundResource {
public OperationsStub getOperationsStub() {
return null;
}
public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() {
return null;
}
public UnaryCallable translateTextCallable() {
throw new UnsupportedOperationException("Not implemented: translateTextCallable()");
}
public UnaryCallable detectLanguageCallable() {
throw new UnsupportedOperationException("Not implemented: detectLanguageCallable()");
}
public UnaryCallable
getSupportedLanguagesCallable() {
throw new UnsupportedOperationException("Not implemented: getSupportedLanguagesCallable()");
}
public UnaryCallable
translateDocumentCallable() {
throw new UnsupportedOperationException("Not implemented: translateDocumentCallable()");
}
public OperationCallable<
BatchTranslateTextRequest, BatchTranslateResponse, BatchTranslateMetadata>
batchTranslateTextOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: batchTranslateTextOperationCallable()");
}
public UnaryCallable batchTranslateTextCallable() {
throw new UnsupportedOperationException("Not implemented: batchTranslateTextCallable()");
}
public OperationCallable<
BatchTranslateDocumentRequest,
BatchTranslateDocumentResponse,
BatchTranslateDocumentMetadata>
batchTranslateDocumentOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: batchTranslateDocumentOperationCallable()");
}
public UnaryCallable batchTranslateDocumentCallable() {
throw new UnsupportedOperationException("Not implemented: batchTranslateDocumentCallable()");
}
public OperationCallable
createGlossaryOperationCallable() {
throw new UnsupportedOperationException("Not implemented: createGlossaryOperationCallable()");
}
public UnaryCallable createGlossaryCallable() {
throw new UnsupportedOperationException("Not implemented: createGlossaryCallable()");
}
public UnaryCallable
listGlossariesPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listGlossariesPagedCallable()");
}
public UnaryCallable listGlossariesCallable() {
throw new UnsupportedOperationException("Not implemented: listGlossariesCallable()");
}
public UnaryCallable getGlossaryCallable() {
throw new UnsupportedOperationException("Not implemented: getGlossaryCallable()");
}
public OperationCallable
deleteGlossaryOperationCallable() {
throw new UnsupportedOperationException("Not implemented: deleteGlossaryOperationCallable()");
}
public UnaryCallable deleteGlossaryCallable() {
throw new UnsupportedOperationException("Not implemented: deleteGlossaryCallable()");
}
public UnaryCallable
createAdaptiveMtDatasetCallable() {
throw new UnsupportedOperationException("Not implemented: createAdaptiveMtDatasetCallable()");
}
public UnaryCallable deleteAdaptiveMtDatasetCallable() {
throw new UnsupportedOperationException("Not implemented: deleteAdaptiveMtDatasetCallable()");
}
public UnaryCallable
getAdaptiveMtDatasetCallable() {
throw new UnsupportedOperationException("Not implemented: getAdaptiveMtDatasetCallable()");
}
public UnaryCallable
listAdaptiveMtDatasetsPagedCallable() {
throw new UnsupportedOperationException(
"Not implemented: listAdaptiveMtDatasetsPagedCallable()");
}
public UnaryCallable
listAdaptiveMtDatasetsCallable() {
throw new UnsupportedOperationException("Not implemented: listAdaptiveMtDatasetsCallable()");
}
public UnaryCallable
adaptiveMtTranslateCallable() {
throw new UnsupportedOperationException("Not implemented: adaptiveMtTranslateCallable()");
}
public UnaryCallable getAdaptiveMtFileCallable() {
throw new UnsupportedOperationException("Not implemented: getAdaptiveMtFileCallable()");
}
public UnaryCallable deleteAdaptiveMtFileCallable() {
throw new UnsupportedOperationException("Not implemented: deleteAdaptiveMtFileCallable()");
}
public UnaryCallable
importAdaptiveMtFileCallable() {
throw new UnsupportedOperationException("Not implemented: importAdaptiveMtFileCallable()");
}
public UnaryCallable
listAdaptiveMtFilesPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listAdaptiveMtFilesPagedCallable()");
}
public UnaryCallable
listAdaptiveMtFilesCallable() {
throw new UnsupportedOperationException("Not implemented: listAdaptiveMtFilesCallable()");
}
public UnaryCallable
listAdaptiveMtSentencesPagedCallable() {
throw new UnsupportedOperationException(
"Not implemented: listAdaptiveMtSentencesPagedCallable()");
}
public UnaryCallable
listAdaptiveMtSentencesCallable() {
throw new UnsupportedOperationException("Not implemented: listAdaptiveMtSentencesCallable()");
}
@Override
public abstract void close();
}