Package com.google.cloud.compute.v1
Interface LocalizedMessageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LocalizedMessage
,LocalizedMessage.Builder
public interface LocalizedMessageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasLocale
boolean 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;
- Returns:
- Whether the locale field is set.
-
getLocale
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;
- Returns:
- The locale.
-
getLocaleBytes
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;
- Returns:
- The bytes for locale.
-
hasMessage
boolean hasMessage()
The localized error message in the above locale.
optional string message = 418054151;
- Returns:
- Whether the message field is set.
-
getMessage
String getMessage()
The localized error message in the above locale.
optional string message = 418054151;
- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()
The localized error message in the above locale.
optional string message = 418054151;
- Returns:
- The bytes for message.
-
-