Interface GoogleAdsErrorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GoogleAdsError,GoogleAdsError.Builder
public interface GoogleAdsErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAdditional error details, which are returned by certain error codes.Additional error details, which are returned by certain error codes.An enum value that indicates which error occurred.An enum value that indicates which error occurred.Describes the part of the request proto that caused the error.Describes the part of the request proto that caused the error.A human-readable description of the error.com.google.protobuf.ByteStringA human-readable description of the error.The value that triggered the error.The value that triggered the error.booleanAdditional error details, which are returned by certain error codes.booleanAn enum value that indicates which error occurred.booleanDescribes the part of the request proto that caused the error.booleanThe value that triggered the error.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
-
hasErrorCode
boolean hasErrorCode()An enum value that indicates which error occurred.
.google.ads.googleads.v18.errors.ErrorCode error_code = 1;- Returns:
- Whether the errorCode field is set.
-
getErrorCode
ErrorCode getErrorCode()An enum value that indicates which error occurred.
.google.ads.googleads.v18.errors.ErrorCode error_code = 1;- Returns:
- The errorCode.
-
getErrorCodeOrBuilder
ErrorCodeOrBuilder getErrorCodeOrBuilder()An enum value that indicates which error occurred.
.google.ads.googleads.v18.errors.ErrorCode error_code = 1; -
getMessage
String getMessage()A human-readable description of the error.
string message = 2;- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()A human-readable description of the error.
string message = 2;- Returns:
- The bytes for message.
-
hasTrigger
boolean hasTrigger()The value that triggered the error.
.google.ads.googleads.v18.common.Value trigger = 3;- Returns:
- Whether the trigger field is set.
-
getTrigger
Value getTrigger()The value that triggered the error.
.google.ads.googleads.v18.common.Value trigger = 3;- Returns:
- The trigger.
-
getTriggerOrBuilder
ValueOrBuilder getTriggerOrBuilder()The value that triggered the error.
.google.ads.googleads.v18.common.Value trigger = 3; -
hasLocation
boolean hasLocation()Describes the part of the request proto that caused the error.
.google.ads.googleads.v18.errors.ErrorLocation location = 4;- Returns:
- Whether the location field is set.
-
getLocation
ErrorLocation getLocation()Describes the part of the request proto that caused the error.
.google.ads.googleads.v18.errors.ErrorLocation location = 4;- Returns:
- The location.
-
getLocationOrBuilder
ErrorLocationOrBuilder getLocationOrBuilder()Describes the part of the request proto that caused the error.
.google.ads.googleads.v18.errors.ErrorLocation location = 4; -
hasDetails
boolean hasDetails()Additional error details, which are returned by certain error codes. Most error codes do not include details.
.google.ads.googleads.v18.errors.ErrorDetails details = 5;- Returns:
- Whether the details field is set.
-
getDetails
ErrorDetails getDetails()Additional error details, which are returned by certain error codes. Most error codes do not include details.
.google.ads.googleads.v18.errors.ErrorDetails details = 5;- Returns:
- The details.
-
getDetailsOrBuilder
ErrorDetailsOrBuilder getDetailsOrBuilder()Additional error details, which are returned by certain error codes. Most error codes do not include details.
.google.ads.googleads.v18.errors.ErrorDetails details = 5;
-