1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/type/localized_text.proto 18 19 package com.google.type; 20 21 public interface LocalizedTextOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.type.LocalizedText) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Localized string in the language corresponding to `language_code' below. 31 * </pre> 32 * 33 * <code>string text = 1;</code> 34 * 35 * @return The text. 36 */ getText()37 java.lang.String getText(); 38 /** 39 * 40 * 41 * <pre> 42 * Localized string in the language corresponding to `language_code' below. 43 * </pre> 44 * 45 * <code>string text = 1;</code> 46 * 47 * @return The bytes for text. 48 */ getTextBytes()49 com.google.protobuf.ByteString getTextBytes(); 50 51 /** 52 * 53 * 54 * <pre> 55 * The text's BCP-47 language code, such as "en-US" or "sr-Latn". 56 * For more information, see 57 * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. 58 * </pre> 59 * 60 * <code>string language_code = 2;</code> 61 * 62 * @return The languageCode. 63 */ getLanguageCode()64 java.lang.String getLanguageCode(); 65 /** 66 * 67 * 68 * <pre> 69 * The text's BCP-47 language code, such as "en-US" or "sr-Latn". 70 * For more information, see 71 * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. 72 * </pre> 73 * 74 * <code>string language_code = 2;</code> 75 * 76 * @return The bytes for languageCode. 77 */ getLanguageCodeBytes()78 com.google.protobuf.ByteString getLanguageCodeBytes(); 79 } 80