public interface LocalizedMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getLocale()
The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
|
com.google.protobuf.ByteString |
getLocaleBytes()
The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
|
String |
getMessage()
The localized error message in the above locale.
|
com.google.protobuf.ByteString |
getMessageBytes()
The localized error message in the above locale.
|
boolean |
hasLocale()
The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
|
boolean |
hasMessage()
The localized error message in the above locale.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasLocale()
The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
optional string locale = 513150554;String getLocale()
The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
optional string locale = 513150554;com.google.protobuf.ByteString getLocaleBytes()
The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
optional string locale = 513150554;boolean hasMessage()
The localized error message in the above locale.
optional string message = 418054151;String getMessage()
The localized error message in the above locale.
optional string message = 418054151;com.google.protobuf.ByteString getMessageBytes()
The localized error message in the above locale.
optional string message = 418054151;Copyright © 2023 Google LLC. All rights reserved.