com.google.api.ads.adwords.v201109.cm
Class RateExceededError

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.ApiError
      extended by com.google.api.ads.adwords.v201109.cm.RateExceededError
All Implemented Interfaces:
Serializable

public class RateExceededError
extends ApiError
implements Serializable

Signals that a call failed because a measured rate exceeded.

See Also:
Serialized Form

Constructor Summary
RateExceededError()
           
RateExceededError(String fieldPath, String trigger, String errorString, String apiErrorType, RateExceededErrorReason reason, String rateName, String rateScope, Integer retryAfterSeconds)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getRateName()
          Gets the rateName value for this RateExceededError.
 String getRateScope()
          Gets the rateScope value for this RateExceededError.
 RateExceededErrorReason getReason()
          Gets the reason value for this RateExceededError.
 Integer getRetryAfterSeconds()
          Gets the retryAfterSeconds value for this RateExceededError.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setRateName(String rateName)
          Sets the rateName value for this RateExceededError.
 void setRateScope(String rateScope)
          Sets the rateScope value for this RateExceededError.
 void setReason(RateExceededErrorReason reason)
          Sets the reason value for this RateExceededError.
 void setRetryAfterSeconds(Integer retryAfterSeconds)
          Sets the retryAfterSeconds value for this RateExceededError.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.ApiError
getApiErrorType, getErrorString, getFieldPath, getTrigger, setApiErrorType, setErrorString, setFieldPath, setTrigger
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RateExceededError

public RateExceededError()

RateExceededError

public RateExceededError(String fieldPath,
                         String trigger,
                         String errorString,
                         String apiErrorType,
                         RateExceededErrorReason reason,
                         String rateName,
                         String rateScope,
                         Integer retryAfterSeconds)
Method Detail

getReason

public RateExceededErrorReason getReason()
Gets the reason value for this RateExceededError.

Returns:
reason * The error reason represented by an enum.

setReason

public void setReason(RateExceededErrorReason reason)
Sets the reason value for this RateExceededError.

Parameters:
reason - * The error reason represented by an enum.

getRateName

public String getRateName()
Gets the rateName value for this RateExceededError.

Returns:
rateName * Cause of the rate exceeded error.

setRateName

public void setRateName(String rateName)
Sets the rateName value for this RateExceededError.

Parameters:
rateName - * Cause of the rate exceeded error.

getRateScope

public String getRateScope()
Gets the rateScope value for this RateExceededError.

Returns:
rateScope * The scope of the rate (ACCOUNT/DEVELOPER).

setRateScope

public void setRateScope(String rateScope)
Sets the rateScope value for this RateExceededError.

Parameters:
rateScope - * The scope of the rate (ACCOUNT/DEVELOPER).

getRetryAfterSeconds

public Integer getRetryAfterSeconds()
Gets the retryAfterSeconds value for this RateExceededError.

Returns:
retryAfterSeconds * The amount of time (in seconds) the client should wait before retrying the request.

setRetryAfterSeconds

public void setRetryAfterSeconds(Integer retryAfterSeconds)
Sets the retryAfterSeconds value for this RateExceededError.

Parameters:
retryAfterSeconds - * The amount of time (in seconds) the client should wait before retrying the request.

equals

public boolean equals(Object obj)
Overrides:
equals in class ApiError

hashCode

public int hashCode()
Overrides:
hashCode in class ApiError

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2011. All Rights Reserved.