Package com.google.cloud.compute.v1
Interface StatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Status,Status.Builder
@Generated
public interface StatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetCode()The status code, which should be an enum value of google.rpc.Code.com.google.protobuf.AnygetDetails(int index) A list of messages that carry the error details.intA list of messages that carry the error details.List<com.google.protobuf.Any>A list of messages that carry the error details.com.google.protobuf.AnyOrBuildergetDetailsOrBuilder(int index) A list of messages that carry the error details.List<? extends com.google.protobuf.AnyOrBuilder>A list of messages that carry the error details.A developer-facing error message, which should be in English.com.google.protobuf.ByteStringA developer-facing error message, which should be in English.booleanhasCode()The status code, which should be an enum value of google.rpc.Code.booleanA developer-facing error message, which should be in English.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCode
boolean hasCode()The status code, which should be an enum value of google.rpc.Code.
optional int32 code = 3059181;- Returns:
- Whether the code field is set.
-
getCode
int getCode()The status code, which should be an enum value of google.rpc.Code.
optional int32 code = 3059181;- Returns:
- The code.
-
getDetailsList
List<com.google.protobuf.Any> getDetailsList()A list of messages that carry the error details. There is a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 483979842; -
getDetails
com.google.protobuf.Any getDetails(int index) A list of messages that carry the error details. There is a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 483979842; -
getDetailsCount
int getDetailsCount()A list of messages that carry the error details. There is a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 483979842; -
getDetailsOrBuilderList
List<? extends com.google.protobuf.AnyOrBuilder> getDetailsOrBuilderList()A list of messages that carry the error details. There is a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 483979842; -
getDetailsOrBuilder
com.google.protobuf.AnyOrBuilder getDetailsOrBuilder(int index) A list of messages that carry the error details. There is a common set of message types for APIs to use.
repeated .google.protobuf.Any details = 483979842; -
hasMessage
boolean hasMessage()A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
optional string message = 418054151;- Returns:
- Whether the message field is set.
-
getMessage
String getMessage()A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
optional string message = 418054151;- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
optional string message = 418054151;- Returns:
- The bytes for message.
-