com.google.cloud.translate.v3beta1.DetectedLanguageOrBuilder Maven / Gradle / Ivy
/*
* 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.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/translate/v3beta1/translation_service.proto
// Protobuf Java Version: 3.25.2
package com.google.cloud.translate.v3beta1;
public interface DetectedLanguageOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.translation.v3beta1.DetectedLanguage)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The BCP-47 language code of source content in the request, detected
* automatically.
*
*
* string language_code = 1;
*
* @return The languageCode.
*/
java.lang.String getLanguageCode();
/**
*
*
*
* The BCP-47 language code of source content in the request, detected
* automatically.
*
*
* string language_code = 1;
*
* @return The bytes for languageCode.
*/
com.google.protobuf.ByteString getLanguageCodeBytes();
/**
*
*
*
* The confidence of the detection result for this language.
*
*
* float confidence = 2;
*
* @return The confidence.
*/
float getConfidence();
}