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

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.Job
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BulkMutateJob, SimpleMutateJob

public abstract class Job
extends Object
implements Serializable

Represents an asynchronous macro unit of work.

See Also:
Serialized Form

Constructor Summary
Job()
           
Job(String customerJobKey, ApiErrorReason failureReason, JobStats stats, BillingSummary billingSummary, String jobType)
           
 
Method Summary
 boolean equals(Object obj)
           
 BillingSummary getBillingSummary()
          Gets the billingSummary value for this Job.
 String getCustomerJobKey()
          Gets the customerJobKey value for this Job.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 ApiErrorReason getFailureReason()
          Gets the failureReason value for this Job.
 String getJobType()
          Gets the jobType value for this Job.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 JobStats getStats()
          Gets the stats value for this Job.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setBillingSummary(BillingSummary billingSummary)
          Sets the billingSummary value for this Job.
 void setCustomerJobKey(String customerJobKey)
          Sets the customerJobKey value for this Job.
 void setFailureReason(ApiErrorReason failureReason)
          Sets the failureReason value for this Job.
 void setJobType(String jobType)
          Sets the jobType value for this Job.
 void setStats(JobStats stats)
          Sets the stats value for this Job.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Job

public Job()

Job

public Job(String customerJobKey,
           ApiErrorReason failureReason,
           JobStats stats,
           BillingSummary billingSummary,
           String jobType)
Method Detail

getCustomerJobKey

public String getCustomerJobKey()
Gets the customerJobKey value for this Job.

Returns:
customerJobKey * Unique job key (per customer) for guarding against duplicate job submissions. This field is optional. This field is read only and should not be set for following Operators : SET. If this field is sent to the API, it will be ignored.

setCustomerJobKey

public void setCustomerJobKey(String customerJobKey)
Sets the customerJobKey value for this Job.

Parameters:
customerJobKey - * Unique job key (per customer) for guarding against duplicate job submissions. This field is optional. This field is read only and should not be set for following Operators : SET. If this field is sent to the API, it will be ignored.

getFailureReason

public ApiErrorReason getFailureReason()
Gets the failureReason value for this Job.

Returns:
failureReason * Failure reason if this job has failed. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setFailureReason

public void setFailureReason(ApiErrorReason failureReason)
Sets the failureReason value for this Job.

Parameters:
failureReason - * Failure reason if this job has failed. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

getStats

public JobStats getStats()
Gets the stats value for this Job.

Returns:
stats * The statistics concerning the processing of this job. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setStats

public void setStats(JobStats stats)
Sets the stats value for this Job.

Parameters:
stats - * The statistics concerning the processing of this job. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

getBillingSummary

public BillingSummary getBillingSummary()
Gets the billingSummary value for this Job.

Returns:
billingSummary * The billing summary specifying the cost of this job. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

setBillingSummary

public void setBillingSummary(BillingSummary billingSummary)
Sets the billingSummary value for this Job.

Parameters:
billingSummary - * The billing summary specifying the cost of this job. This field is read only and should not be set. If this field is sent to the API, it will be ignored.

getJobType

public String getJobType()
Gets the jobType value for this Job.

Returns:
jobType * Indicates that this instance is a subtype of Job. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

setJobType

public void setJobType(String jobType)
Sets the jobType value for this Job.

Parameters:
jobType - * Indicates that this instance is a subtype of Job. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

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.