Interface ComponentNameOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ComponentName
,ComponentName.Builder
public interface ComponentNameOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLanguageCode()
The BCP-47 language code.com.google.protobuf.ByteString
getLanguageCodeBytes()
The BCP-47 language code.String
getText()
The name text.com.google.protobuf.ByteString
getTextBytes()
The name text.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getText
String getText()
The name text. For example, "5th Avenue" for a street name or "1253" for a street number.
string text = 1;
- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()
The name text. For example, "5th Avenue" for a street name or "1253" for a street number.
string text = 1;
- Returns:
- The bytes for text.
-
getLanguageCode
String getLanguageCode()
The BCP-47 language code. This will not be present if the component name is not associated with a language, such as a street number.
string language_code = 2;
- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()
The BCP-47 language code. This will not be present if the component name is not associated with a language, such as a street number.
string language_code = 2;
- Returns:
- The bytes for languageCode.
-
-