程序包 com.google.rpc
接口 LocalizedMessageOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
LocalizedMessage,LocalizedMessage.Builder
public interface LocalizedMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明The locale used following the specification defined at http://www.rfc-editor.org/rfc/bcp/bcp47.txt.com.google.protobuf.ByteStringThe locale used following the specification defined at http://www.rfc-editor.org/rfc/bcp/bcp47.txt.The localized error message in the above locale.com.google.protobuf.ByteStringThe localized error message in the above locale.从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getLocale
String getLocale()The locale used following the specification defined at http://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
string locale = 1;- 返回:
- The locale.
-
getLocaleBytes
com.google.protobuf.ByteString getLocaleBytes()The locale used following the specification defined at http://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
string locale = 1;- 返回:
- The bytes for locale.
-
getMessage
String getMessage()The localized error message in the above locale.
string message = 2;- 返回:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()The localized error message in the above locale.
string message = 2;- 返回:
- The bytes for message.
-