All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.translate.v3beta1.GlossaryOrBuilder 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 GlossaryOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.translation.v3beta1.Glossary)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Required. The resource name of the glossary. Glossary names have the form
   * `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.
   * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The name. */ java.lang.String getName(); /** * * *
   * Required. The resource name of the glossary. Glossary names have the form
   * `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.
   * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Used with unidirectional glossaries.
   * 
* * .google.cloud.translation.v3beta1.Glossary.LanguageCodePair language_pair = 3; * * @return Whether the languagePair field is set. */ boolean hasLanguagePair(); /** * * *
   * Used with unidirectional glossaries.
   * 
* * .google.cloud.translation.v3beta1.Glossary.LanguageCodePair language_pair = 3; * * @return The languagePair. */ com.google.cloud.translate.v3beta1.Glossary.LanguageCodePair getLanguagePair(); /** * * *
   * Used with unidirectional glossaries.
   * 
* * .google.cloud.translation.v3beta1.Glossary.LanguageCodePair language_pair = 3; */ com.google.cloud.translate.v3beta1.Glossary.LanguageCodePairOrBuilder getLanguagePairOrBuilder(); /** * * *
   * Used with equivalent term set glossaries.
   * 
* * .google.cloud.translation.v3beta1.Glossary.LanguageCodesSet language_codes_set = 4; * * * @return Whether the languageCodesSet field is set. */ boolean hasLanguageCodesSet(); /** * * *
   * Used with equivalent term set glossaries.
   * 
* * .google.cloud.translation.v3beta1.Glossary.LanguageCodesSet language_codes_set = 4; * * * @return The languageCodesSet. */ com.google.cloud.translate.v3beta1.Glossary.LanguageCodesSet getLanguageCodesSet(); /** * * *
   * Used with equivalent term set glossaries.
   * 
* * .google.cloud.translation.v3beta1.Glossary.LanguageCodesSet language_codes_set = 4; * */ com.google.cloud.translate.v3beta1.Glossary.LanguageCodesSetOrBuilder getLanguageCodesSetOrBuilder(); /** * * *
   * Required. Provides examples to build the glossary from.
   * Total glossary must not exceed 10M Unicode codepoints.
   * 
* * .google.cloud.translation.v3beta1.GlossaryInputConfig input_config = 5; * * @return Whether the inputConfig field is set. */ boolean hasInputConfig(); /** * * *
   * Required. Provides examples to build the glossary from.
   * Total glossary must not exceed 10M Unicode codepoints.
   * 
* * .google.cloud.translation.v3beta1.GlossaryInputConfig input_config = 5; * * @return The inputConfig. */ com.google.cloud.translate.v3beta1.GlossaryInputConfig getInputConfig(); /** * * *
   * Required. Provides examples to build the glossary from.
   * Total glossary must not exceed 10M Unicode codepoints.
   * 
* * .google.cloud.translation.v3beta1.GlossaryInputConfig input_config = 5; */ com.google.cloud.translate.v3beta1.GlossaryInputConfigOrBuilder getInputConfigOrBuilder(); /** * * *
   * Output only. The number of entries defined in the glossary.
   * 
* * int32 entry_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The entryCount. */ int getEntryCount(); /** * * *
   * Output only. When CreateGlossary was called.
   * 
* * .google.protobuf.Timestamp submit_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the submitTime field is set. */ boolean hasSubmitTime(); /** * * *
   * Output only. When CreateGlossary was called.
   * 
* * .google.protobuf.Timestamp submit_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The submitTime. */ com.google.protobuf.Timestamp getSubmitTime(); /** * * *
   * Output only. When CreateGlossary was called.
   * 
* * .google.protobuf.Timestamp submit_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getSubmitTimeOrBuilder(); /** * * *
   * Output only. When the glossary creation was finished.
   * 
* * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** * * *
   * Output only. When the glossary creation was finished.
   * 
* * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** * * *
   * Output only. When the glossary creation was finished.
   * 
* * .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); com.google.cloud.translate.v3beta1.Glossary.LanguagesCase getLanguagesCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy