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 Detail

      • hasErrorCode

        boolean hasErrorCode()
         An enum value that indicates which error occurred.
         
        .google.ads.googleads.v10.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.v10.errors.ErrorCode error_code = 1;
        Returns:
        The errorCode.
      • getErrorCodeOrBuilder

        ErrorCodeOrBuilder getErrorCodeOrBuilder()
         An enum value that indicates which error occurred.
         
        .google.ads.googleads.v10.errors.ErrorCode error_code = 1;
      • getMessage

        java.lang.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.v10.common.Value trigger = 3;
        Returns:
        Whether the trigger field is set.
      • getTrigger

        Value getTrigger()
         The value that triggered the error.
         
        .google.ads.googleads.v10.common.Value trigger = 3;
        Returns:
        The trigger.
      • getTriggerOrBuilder

        ValueOrBuilder getTriggerOrBuilder()
         The value that triggered the error.
         
        .google.ads.googleads.v10.common.Value trigger = 3;
      • hasLocation

        boolean hasLocation()
         Describes the part of the request proto that caused the error.
         
        .google.ads.googleads.v10.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.v10.errors.ErrorLocation location = 4;
        Returns:
        The location.
      • getLocationOrBuilder

        ErrorLocationOrBuilder getLocationOrBuilder()
         Describes the part of the request proto that caused the error.
         
        .google.ads.googleads.v10.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.v10.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.v10.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.v10.errors.ErrorDetails details = 5;