| Line 36... |
Line 36... |
| 36 |
|
36 |
|
| 37 |
public void updateAdwordsAdGroup(AdwordsAdGroup adgroup) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
37 |
public void updateAdwordsAdGroup(AdwordsAdGroup adgroup) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
| 38 |
|
38 |
|
| 39 |
public void updateAdwordsAdKeyword(AdwordsAdKeyword adkeyword) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
39 |
public void updateAdwordsAdKeyword(AdwordsAdKeyword adkeyword) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
| 40 |
|
40 |
|
| - |
|
41 |
public void updateAdwordsAdGroupAd(AdwordsAdGroupAd adgroupad) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
| - |
|
42 |
|
| 41 |
public void deleteAdwordsCampaign(long campaignId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
43 |
public void deleteAdwordsCampaign(long campaignId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
| 42 |
|
44 |
|
| 43 |
public void deleteAdwordsAdGroup(long adgroupId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
45 |
public void deleteAdwordsAdGroup(long adgroupId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
| 44 |
|
46 |
|
| 45 |
public void deleteAdwordsAdGroupAd(long adgroupadId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
47 |
public void deleteAdwordsAdGroupAd(long adgroupadId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
| Line 50... |
Line 52... |
| 50 |
|
52 |
|
| 51 |
public AdwordsAdGroup getAdwordsAdGroupByAdGroupId(long adgroupId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
53 |
public AdwordsAdGroup getAdwordsAdGroupByAdGroupId(long adgroupId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
| 52 |
|
54 |
|
| 53 |
public AdwordsAdGroupAd getAdwordsAdgroupAdByAdId(long adgroupadId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
55 |
public AdwordsAdGroupAd getAdwordsAdgroupAdByAdId(long adgroupadId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
| 54 |
|
56 |
|
| 55 |
public AdwordsAdKeyword getAdwordsAdKeywordByCriterionId(long criterionId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
57 |
public AdwordsAdKeyword getAdwordsAdKeywordByCriterionIdAndAdGroupId(long criterionId, long adgroupId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
| 56 |
|
58 |
|
| 57 |
public List<AdwordsAdKeyword> getAdwordsAdKeywordsByAdgroupId(long adgroupId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
59 |
public List<AdwordsAdKeyword> getAdwordsAdKeywordsByAdgroupId(long adgroupId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
| 58 |
|
60 |
|
| 59 |
public List<AdwordsAdGroupAd> getAdwordsAdGroupAdsByAdgroupId(long adgroupId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
61 |
public List<AdwordsAdGroupAd> getAdwordsAdGroupAdsByAdgroupId(long adgroupId) throws GoogleAdwordsServiceException, org.apache.thrift.TException;
|
| 60 |
|
62 |
|
| Line 84... |
Line 86... |
| 84 |
|
86 |
|
| 85 |
public void updateAdwordsAdGroup(AdwordsAdGroup adgroup, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAdwordsAdGroup_call> resultHandler) throws org.apache.thrift.TException;
|
87 |
public void updateAdwordsAdGroup(AdwordsAdGroup adgroup, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAdwordsAdGroup_call> resultHandler) throws org.apache.thrift.TException;
|
| 86 |
|
88 |
|
| 87 |
public void updateAdwordsAdKeyword(AdwordsAdKeyword adkeyword, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAdwordsAdKeyword_call> resultHandler) throws org.apache.thrift.TException;
|
89 |
public void updateAdwordsAdKeyword(AdwordsAdKeyword adkeyword, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAdwordsAdKeyword_call> resultHandler) throws org.apache.thrift.TException;
|
| 88 |
|
90 |
|
| - |
|
91 |
public void updateAdwordsAdGroupAd(AdwordsAdGroupAd adgroupad, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAdwordsAdGroupAd_call> resultHandler) throws org.apache.thrift.TException;
|
| - |
|
92 |
|
| 89 |
public void deleteAdwordsCampaign(long campaignId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteAdwordsCampaign_call> resultHandler) throws org.apache.thrift.TException;
|
93 |
public void deleteAdwordsCampaign(long campaignId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteAdwordsCampaign_call> resultHandler) throws org.apache.thrift.TException;
|
| 90 |
|
94 |
|
| 91 |
public void deleteAdwordsAdGroup(long adgroupId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteAdwordsAdGroup_call> resultHandler) throws org.apache.thrift.TException;
|
95 |
public void deleteAdwordsAdGroup(long adgroupId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteAdwordsAdGroup_call> resultHandler) throws org.apache.thrift.TException;
|
| 92 |
|
96 |
|
| 93 |
public void deleteAdwordsAdGroupAd(long adgroupadId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteAdwordsAdGroupAd_call> resultHandler) throws org.apache.thrift.TException;
|
97 |
public void deleteAdwordsAdGroupAd(long adgroupadId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteAdwordsAdGroupAd_call> resultHandler) throws org.apache.thrift.TException;
|
| Line 98... |
Line 102... |
| 98 |
|
102 |
|
| 99 |
public void getAdwordsAdGroupByAdGroupId(long adgroupId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAdwordsAdGroupByAdGroupId_call> resultHandler) throws org.apache.thrift.TException;
|
103 |
public void getAdwordsAdGroupByAdGroupId(long adgroupId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAdwordsAdGroupByAdGroupId_call> resultHandler) throws org.apache.thrift.TException;
|
| 100 |
|
104 |
|
| 101 |
public void getAdwordsAdgroupAdByAdId(long adgroupadId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAdwordsAdgroupAdByAdId_call> resultHandler) throws org.apache.thrift.TException;
|
105 |
public void getAdwordsAdgroupAdByAdId(long adgroupadId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAdwordsAdgroupAdByAdId_call> resultHandler) throws org.apache.thrift.TException;
|
| 102 |
|
106 |
|
| 103 |
public void getAdwordsAdKeywordByCriterionId(long criterionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAdwordsAdKeywordByCriterionId_call> resultHandler) throws org.apache.thrift.TException;
|
107 |
public void getAdwordsAdKeywordByCriterionIdAndAdGroupId(long criterionId, long adgroupId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAdwordsAdKeywordByCriterionIdAndAdGroupId_call> resultHandler) throws org.apache.thrift.TException;
|
| 104 |
|
108 |
|
| 105 |
public void getAdwordsAdKeywordsByAdgroupId(long adgroupId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAdwordsAdKeywordsByAdgroupId_call> resultHandler) throws org.apache.thrift.TException;
|
109 |
public void getAdwordsAdKeywordsByAdgroupId(long adgroupId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAdwordsAdKeywordsByAdgroupId_call> resultHandler) throws org.apache.thrift.TException;
|
| 106 |
|
110 |
|
| 107 |
public void getAdwordsAdGroupAdsByAdgroupId(long adgroupId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAdwordsAdGroupAdsByAdgroupId_call> resultHandler) throws org.apache.thrift.TException;
|
111 |
public void getAdwordsAdGroupAdsByAdgroupId(long adgroupId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAdwordsAdGroupAdsByAdgroupId_call> resultHandler) throws org.apache.thrift.TException;
|
| 108 |
|
112 |
|
| Line 297... |
Line 301... |
| 297 |
throw result.gasex;
|
301 |
throw result.gasex;
|
| 298 |
}
|
302 |
}
|
| 299 |
return;
|
303 |
return;
|
| 300 |
}
|
304 |
}
|
| 301 |
|
305 |
|
| - |
|
306 |
public void updateAdwordsAdGroupAd(AdwordsAdGroupAd adgroupad) throws GoogleAdwordsServiceException, org.apache.thrift.TException
|
| - |
|
307 |
{
|
| - |
|
308 |
send_updateAdwordsAdGroupAd(adgroupad);
|
| - |
|
309 |
recv_updateAdwordsAdGroupAd();
|
| - |
|
310 |
}
|
| - |
|
311 |
|
| - |
|
312 |
public void send_updateAdwordsAdGroupAd(AdwordsAdGroupAd adgroupad) throws org.apache.thrift.TException
|
| - |
|
313 |
{
|
| - |
|
314 |
updateAdwordsAdGroupAd_args args = new updateAdwordsAdGroupAd_args();
|
| - |
|
315 |
args.setAdgroupad(adgroupad);
|
| - |
|
316 |
sendBase("updateAdwordsAdGroupAd", args);
|
| - |
|
317 |
}
|
| - |
|
318 |
|
| - |
|
319 |
public void recv_updateAdwordsAdGroupAd() throws GoogleAdwordsServiceException, org.apache.thrift.TException
|
| - |
|
320 |
{
|
| - |
|
321 |
updateAdwordsAdGroupAd_result result = new updateAdwordsAdGroupAd_result();
|
| - |
|
322 |
receiveBase(result, "updateAdwordsAdGroupAd");
|
| - |
|
323 |
if (result.gasex != null) {
|
| - |
|
324 |
throw result.gasex;
|
| - |
|
325 |
}
|
| - |
|
326 |
return;
|
| - |
|
327 |
}
|
| - |
|
328 |
|
| 302 |
public void deleteAdwordsCampaign(long campaignId) throws GoogleAdwordsServiceException, org.apache.thrift.TException
|
329 |
public void deleteAdwordsCampaign(long campaignId) throws GoogleAdwordsServiceException, org.apache.thrift.TException
|
| 303 |
{
|
330 |
{
|
| 304 |
send_deleteAdwordsCampaign(campaignId);
|
331 |
send_deleteAdwordsCampaign(campaignId);
|
| 305 |
recv_deleteAdwordsCampaign();
|
332 |
recv_deleteAdwordsCampaign();
|
| 306 |
}
|
333 |
}
|
| Line 467... |
Line 494... |
| 467 |
throw result.gasex;
|
494 |
throw result.gasex;
|
| 468 |
}
|
495 |
}
|
| 469 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAdwordsAdgroupAdByAdId failed: unknown result");
|
496 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAdwordsAdgroupAdByAdId failed: unknown result");
|
| 470 |
}
|
497 |
}
|
| 471 |
|
498 |
|
| 472 |
public AdwordsAdKeyword getAdwordsAdKeywordByCriterionId(long criterionId) throws GoogleAdwordsServiceException, org.apache.thrift.TException
|
499 |
public AdwordsAdKeyword getAdwordsAdKeywordByCriterionIdAndAdGroupId(long criterionId, long adgroupId) throws GoogleAdwordsServiceException, org.apache.thrift.TException
|
| 473 |
{
|
500 |
{
|
| 474 |
send_getAdwordsAdKeywordByCriterionId(criterionId);
|
501 |
send_getAdwordsAdKeywordByCriterionIdAndAdGroupId(criterionId, adgroupId);
|
| 475 |
return recv_getAdwordsAdKeywordByCriterionId();
|
502 |
return recv_getAdwordsAdKeywordByCriterionIdAndAdGroupId();
|
| 476 |
}
|
503 |
}
|
| 477 |
|
504 |
|
| 478 |
public void send_getAdwordsAdKeywordByCriterionId(long criterionId) throws org.apache.thrift.TException
|
505 |
public void send_getAdwordsAdKeywordByCriterionIdAndAdGroupId(long criterionId, long adgroupId) throws org.apache.thrift.TException
|
| 479 |
{
|
506 |
{
|
| 480 |
getAdwordsAdKeywordByCriterionId_args args = new getAdwordsAdKeywordByCriterionId_args();
|
507 |
getAdwordsAdKeywordByCriterionIdAndAdGroupId_args args = new getAdwordsAdKeywordByCriterionIdAndAdGroupId_args();
|
| 481 |
args.setCriterionId(criterionId);
|
508 |
args.setCriterionId(criterionId);
|
| - |
|
509 |
args.setAdgroupId(adgroupId);
|
| 482 |
sendBase("getAdwordsAdKeywordByCriterionId", args);
|
510 |
sendBase("getAdwordsAdKeywordByCriterionIdAndAdGroupId", args);
|
| 483 |
}
|
511 |
}
|
| 484 |
|
512 |
|
| 485 |
public AdwordsAdKeyword recv_getAdwordsAdKeywordByCriterionId() throws GoogleAdwordsServiceException, org.apache.thrift.TException
|
513 |
public AdwordsAdKeyword recv_getAdwordsAdKeywordByCriterionIdAndAdGroupId() throws GoogleAdwordsServiceException, org.apache.thrift.TException
|
| 486 |
{
|
514 |
{
|
| 487 |
getAdwordsAdKeywordByCriterionId_result result = new getAdwordsAdKeywordByCriterionId_result();
|
515 |
getAdwordsAdKeywordByCriterionIdAndAdGroupId_result result = new getAdwordsAdKeywordByCriterionIdAndAdGroupId_result();
|
| 488 |
receiveBase(result, "getAdwordsAdKeywordByCriterionId");
|
516 |
receiveBase(result, "getAdwordsAdKeywordByCriterionIdAndAdGroupId");
|
| 489 |
if (result.isSetSuccess()) {
|
517 |
if (result.isSetSuccess()) {
|
| 490 |
return result.success;
|
518 |
return result.success;
|
| 491 |
}
|
519 |
}
|
| 492 |
if (result.gasex != null) {
|
520 |
if (result.gasex != null) {
|
| 493 |
throw result.gasex;
|
521 |
throw result.gasex;
|
| 494 |
}
|
522 |
}
|
| 495 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAdwordsAdKeywordByCriterionId failed: unknown result");
|
523 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAdwordsAdKeywordByCriterionIdAndAdGroupId failed: unknown result");
|
| 496 |
}
|
524 |
}
|
| 497 |
|
525 |
|
| 498 |
public List<AdwordsAdKeyword> getAdwordsAdKeywordsByAdgroupId(long adgroupId) throws GoogleAdwordsServiceException, org.apache.thrift.TException
|
526 |
public List<AdwordsAdKeyword> getAdwordsAdKeywordsByAdgroupId(long adgroupId) throws GoogleAdwordsServiceException, org.apache.thrift.TException
|
| 499 |
{
|
527 |
{
|
| 500 |
send_getAdwordsAdKeywordsByAdgroupId(adgroupId);
|
528 |
send_getAdwordsAdKeywordsByAdgroupId(adgroupId);
|
| Line 913... |
Line 941... |
| 913 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
941 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 914 |
(new Client(prot)).recv_updateAdwordsAdKeyword();
|
942 |
(new Client(prot)).recv_updateAdwordsAdKeyword();
|
| 915 |
}
|
943 |
}
|
| 916 |
}
|
944 |
}
|
| 917 |
|
945 |
|
| - |
|
946 |
public void updateAdwordsAdGroupAd(AdwordsAdGroupAd adgroupad, org.apache.thrift.async.AsyncMethodCallback<updateAdwordsAdGroupAd_call> resultHandler) throws org.apache.thrift.TException {
|
| - |
|
947 |
checkReady();
|
| - |
|
948 |
updateAdwordsAdGroupAd_call method_call = new updateAdwordsAdGroupAd_call(adgroupad, resultHandler, this, ___protocolFactory, ___transport);
|
| - |
|
949 |
this.___currentMethod = method_call;
|
| - |
|
950 |
___manager.call(method_call);
|
| - |
|
951 |
}
|
| - |
|
952 |
|
| - |
|
953 |
public static class updateAdwordsAdGroupAd_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| - |
|
954 |
private AdwordsAdGroupAd adgroupad;
|
| - |
|
955 |
public updateAdwordsAdGroupAd_call(AdwordsAdGroupAd adgroupad, org.apache.thrift.async.AsyncMethodCallback<updateAdwordsAdGroupAd_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
| - |
|
956 |
super(client, protocolFactory, transport, resultHandler, false);
|
| - |
|
957 |
this.adgroupad = adgroupad;
|
| - |
|
958 |
}
|
| - |
|
959 |
|
| - |
|
960 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| - |
|
961 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateAdwordsAdGroupAd", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| - |
|
962 |
updateAdwordsAdGroupAd_args args = new updateAdwordsAdGroupAd_args();
|
| - |
|
963 |
args.setAdgroupad(adgroupad);
|
| - |
|
964 |
args.write(prot);
|
| - |
|
965 |
prot.writeMessageEnd();
|
| - |
|
966 |
}
|
| - |
|
967 |
|
| - |
|
968 |
public void getResult() throws GoogleAdwordsServiceException, org.apache.thrift.TException {
|
| - |
|
969 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
| - |
|
970 |
throw new IllegalStateException("Method call not finished!");
|
| - |
|
971 |
}
|
| - |
|
972 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
| - |
|
973 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| - |
|
974 |
(new Client(prot)).recv_updateAdwordsAdGroupAd();
|
| - |
|
975 |
}
|
| - |
|
976 |
}
|
| - |
|
977 |
|
| 918 |
public void deleteAdwordsCampaign(long campaignId, org.apache.thrift.async.AsyncMethodCallback<deleteAdwordsCampaign_call> resultHandler) throws org.apache.thrift.TException {
|
978 |
public void deleteAdwordsCampaign(long campaignId, org.apache.thrift.async.AsyncMethodCallback<deleteAdwordsCampaign_call> resultHandler) throws org.apache.thrift.TException {
|
| 919 |
checkReady();
|
979 |
checkReady();
|
| 920 |
deleteAdwordsCampaign_call method_call = new deleteAdwordsCampaign_call(campaignId, resultHandler, this, ___protocolFactory, ___transport);
|
980 |
deleteAdwordsCampaign_call method_call = new deleteAdwordsCampaign_call(campaignId, resultHandler, this, ___protocolFactory, ___transport);
|
| 921 |
this.___currentMethod = method_call;
|
981 |
this.___currentMethod = method_call;
|
| 922 |
___manager.call(method_call);
|
982 |
___manager.call(method_call);
|
| Line 1137... |
Line 1197... |
| 1137 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
1197 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 1138 |
return (new Client(prot)).recv_getAdwordsAdgroupAdByAdId();
|
1198 |
return (new Client(prot)).recv_getAdwordsAdgroupAdByAdId();
|
| 1139 |
}
|
1199 |
}
|
| 1140 |
}
|
1200 |
}
|
| 1141 |
|
1201 |
|
| 1142 |
public void getAdwordsAdKeywordByCriterionId(long criterionId, org.apache.thrift.async.AsyncMethodCallback<getAdwordsAdKeywordByCriterionId_call> resultHandler) throws org.apache.thrift.TException {
|
1202 |
public void getAdwordsAdKeywordByCriterionIdAndAdGroupId(long criterionId, long adgroupId, org.apache.thrift.async.AsyncMethodCallback<getAdwordsAdKeywordByCriterionIdAndAdGroupId_call> resultHandler) throws org.apache.thrift.TException {
|
| 1143 |
checkReady();
|
1203 |
checkReady();
|
| 1144 |
getAdwordsAdKeywordByCriterionId_call method_call = new getAdwordsAdKeywordByCriterionId_call(criterionId, resultHandler, this, ___protocolFactory, ___transport);
|
1204 |
getAdwordsAdKeywordByCriterionIdAndAdGroupId_call method_call = new getAdwordsAdKeywordByCriterionIdAndAdGroupId_call(criterionId, adgroupId, resultHandler, this, ___protocolFactory, ___transport);
|
| 1145 |
this.___currentMethod = method_call;
|
1205 |
this.___currentMethod = method_call;
|
| 1146 |
___manager.call(method_call);
|
1206 |
___manager.call(method_call);
|
| 1147 |
}
|
1207 |
}
|
| 1148 |
|
1208 |
|
| 1149 |
public static class getAdwordsAdKeywordByCriterionId_call extends org.apache.thrift.async.TAsyncMethodCall {
|
1209 |
public static class getAdwordsAdKeywordByCriterionIdAndAdGroupId_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 1150 |
private long criterionId;
|
1210 |
private long criterionId;
|
| - |
|
1211 |
private long adgroupId;
|
| 1151 |
public getAdwordsAdKeywordByCriterionId_call(long criterionId, org.apache.thrift.async.AsyncMethodCallback<getAdwordsAdKeywordByCriterionId_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
1212 |
public getAdwordsAdKeywordByCriterionIdAndAdGroupId_call(long criterionId, long adgroupId, org.apache.thrift.async.AsyncMethodCallback<getAdwordsAdKeywordByCriterionIdAndAdGroupId_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
| 1152 |
super(client, protocolFactory, transport, resultHandler, false);
|
1213 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 1153 |
this.criterionId = criterionId;
|
1214 |
this.criterionId = criterionId;
|
| - |
|
1215 |
this.adgroupId = adgroupId;
|
| 1154 |
}
|
1216 |
}
|
| 1155 |
|
1217 |
|
| 1156 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
1218 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 1157 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAdwordsAdKeywordByCriterionId", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
1219 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAdwordsAdKeywordByCriterionIdAndAdGroupId", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 1158 |
getAdwordsAdKeywordByCriterionId_args args = new getAdwordsAdKeywordByCriterionId_args();
|
1220 |
getAdwordsAdKeywordByCriterionIdAndAdGroupId_args args = new getAdwordsAdKeywordByCriterionIdAndAdGroupId_args();
|
| 1159 |
args.setCriterionId(criterionId);
|
1221 |
args.setCriterionId(criterionId);
|
| - |
|
1222 |
args.setAdgroupId(adgroupId);
|
| 1160 |
args.write(prot);
|
1223 |
args.write(prot);
|
| 1161 |
prot.writeMessageEnd();
|
1224 |
prot.writeMessageEnd();
|
| 1162 |
}
|
1225 |
}
|
| 1163 |
|
1226 |
|
| 1164 |
public AdwordsAdKeyword getResult() throws GoogleAdwordsServiceException, org.apache.thrift.TException {
|
1227 |
public AdwordsAdKeyword getResult() throws GoogleAdwordsServiceException, org.apache.thrift.TException {
|
| 1165 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
1228 |
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
|
| 1166 |
throw new IllegalStateException("Method call not finished!");
|
1229 |
throw new IllegalStateException("Method call not finished!");
|
| 1167 |
}
|
1230 |
}
|
| 1168 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
1231 |
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
|
| 1169 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
1232 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 1170 |
return (new Client(prot)).recv_getAdwordsAdKeywordByCriterionId();
|
1233 |
return (new Client(prot)).recv_getAdwordsAdKeywordByCriterionIdAndAdGroupId();
|
| 1171 |
}
|
1234 |
}
|
| 1172 |
}
|
1235 |
}
|
| 1173 |
|
1236 |
|
| 1174 |
public void getAdwordsAdKeywordsByAdgroupId(long adgroupId, org.apache.thrift.async.AsyncMethodCallback<getAdwordsAdKeywordsByAdgroupId_call> resultHandler) throws org.apache.thrift.TException {
|
1237 |
public void getAdwordsAdKeywordsByAdgroupId(long adgroupId, org.apache.thrift.async.AsyncMethodCallback<getAdwordsAdKeywordsByAdgroupId_call> resultHandler) throws org.apache.thrift.TException {
|
| 1175 |
checkReady();
|
1238 |
checkReady();
|
| Line 1401... |
Line 1464... |
| 1401 |
processMap.put("addAdwordsAdGroupAd", new addAdwordsAdGroupAd());
|
1464 |
processMap.put("addAdwordsAdGroupAd", new addAdwordsAdGroupAd());
|
| 1402 |
processMap.put("addAdwordsAdKeyword", new addAdwordsAdKeyword());
|
1465 |
processMap.put("addAdwordsAdKeyword", new addAdwordsAdKeyword());
|
| 1403 |
processMap.put("updateAdwordsCampaign", new updateAdwordsCampaign());
|
1466 |
processMap.put("updateAdwordsCampaign", new updateAdwordsCampaign());
|
| 1404 |
processMap.put("updateAdwordsAdGroup", new updateAdwordsAdGroup());
|
1467 |
processMap.put("updateAdwordsAdGroup", new updateAdwordsAdGroup());
|
| 1405 |
processMap.put("updateAdwordsAdKeyword", new updateAdwordsAdKeyword());
|
1468 |
processMap.put("updateAdwordsAdKeyword", new updateAdwordsAdKeyword());
|
| - |
|
1469 |
processMap.put("updateAdwordsAdGroupAd", new updateAdwordsAdGroupAd());
|
| 1406 |
processMap.put("deleteAdwordsCampaign", new deleteAdwordsCampaign());
|
1470 |
processMap.put("deleteAdwordsCampaign", new deleteAdwordsCampaign());
|
| 1407 |
processMap.put("deleteAdwordsAdGroup", new deleteAdwordsAdGroup());
|
1471 |
processMap.put("deleteAdwordsAdGroup", new deleteAdwordsAdGroup());
|
| 1408 |
processMap.put("deleteAdwordsAdGroupAd", new deleteAdwordsAdGroupAd());
|
1472 |
processMap.put("deleteAdwordsAdGroupAd", new deleteAdwordsAdGroupAd());
|
| 1409 |
processMap.put("deleteAdwordsAdKeyword", new deleteAdwordsAdKeyword());
|
1473 |
processMap.put("deleteAdwordsAdKeyword", new deleteAdwordsAdKeyword());
|
| 1410 |
processMap.put("getAdwordsCampaignByCampaignId", new getAdwordsCampaignByCampaignId());
|
1474 |
processMap.put("getAdwordsCampaignByCampaignId", new getAdwordsCampaignByCampaignId());
|
| 1411 |
processMap.put("getAdwordsAdGroupByAdGroupId", new getAdwordsAdGroupByAdGroupId());
|
1475 |
processMap.put("getAdwordsAdGroupByAdGroupId", new getAdwordsAdGroupByAdGroupId());
|
| 1412 |
processMap.put("getAdwordsAdgroupAdByAdId", new getAdwordsAdgroupAdByAdId());
|
1476 |
processMap.put("getAdwordsAdgroupAdByAdId", new getAdwordsAdgroupAdByAdId());
|
| 1413 |
processMap.put("getAdwordsAdKeywordByCriterionId", new getAdwordsAdKeywordByCriterionId());
|
1477 |
processMap.put("getAdwordsAdKeywordByCriterionIdAndAdGroupId", new getAdwordsAdKeywordByCriterionIdAndAdGroupId());
|
| 1414 |
processMap.put("getAdwordsAdKeywordsByAdgroupId", new getAdwordsAdKeywordsByAdgroupId());
|
1478 |
processMap.put("getAdwordsAdKeywordsByAdgroupId", new getAdwordsAdKeywordsByAdgroupId());
|
| 1415 |
processMap.put("getAdwordsAdGroupAdsByAdgroupId", new getAdwordsAdGroupAdsByAdgroupId());
|
1479 |
processMap.put("getAdwordsAdGroupAdsByAdgroupId", new getAdwordsAdGroupAdsByAdgroupId());
|
| 1416 |
processMap.put("getAdwordsAdGroupsByCampaignId", new getAdwordsAdGroupsByCampaignId());
|
1480 |
processMap.put("getAdwordsAdGroupsByCampaignId", new getAdwordsAdGroupsByCampaignId());
|
| 1417 |
processMap.put("getAllAdwordsCampaigns", new getAllAdwordsCampaigns());
|
1481 |
processMap.put("getAllAdwordsCampaigns", new getAllAdwordsCampaigns());
|
| 1418 |
processMap.put("getAllAdwordsAdGroups", new getAllAdwordsAdGroups());
|
1482 |
processMap.put("getAllAdwordsAdGroups", new getAllAdwordsAdGroups());
|
| Line 1559... |
Line 1623... |
| 1559 |
}
|
1623 |
}
|
| 1560 |
return result;
|
1624 |
return result;
|
| 1561 |
}
|
1625 |
}
|
| 1562 |
}
|
1626 |
}
|
| 1563 |
|
1627 |
|
| - |
|
1628 |
private static class updateAdwordsAdGroupAd<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateAdwordsAdGroupAd_args> {
|
| - |
|
1629 |
public updateAdwordsAdGroupAd() {
|
| - |
|
1630 |
super("updateAdwordsAdGroupAd");
|
| - |
|
1631 |
}
|
| - |
|
1632 |
|
| - |
|
1633 |
protected updateAdwordsAdGroupAd_args getEmptyArgsInstance() {
|
| - |
|
1634 |
return new updateAdwordsAdGroupAd_args();
|
| - |
|
1635 |
}
|
| - |
|
1636 |
|
| - |
|
1637 |
protected updateAdwordsAdGroupAd_result getResult(I iface, updateAdwordsAdGroupAd_args args) throws org.apache.thrift.TException {
|
| - |
|
1638 |
updateAdwordsAdGroupAd_result result = new updateAdwordsAdGroupAd_result();
|
| - |
|
1639 |
try {
|
| - |
|
1640 |
iface.updateAdwordsAdGroupAd(args.adgroupad);
|
| - |
|
1641 |
} catch (GoogleAdwordsServiceException gasex) {
|
| - |
|
1642 |
result.gasex = gasex;
|
| - |
|
1643 |
}
|
| - |
|
1644 |
return result;
|
| - |
|
1645 |
}
|
| - |
|
1646 |
}
|
| - |
|
1647 |
|
| 1564 |
private static class deleteAdwordsCampaign<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteAdwordsCampaign_args> {
|
1648 |
private static class deleteAdwordsCampaign<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteAdwordsCampaign_args> {
|
| 1565 |
public deleteAdwordsCampaign() {
|
1649 |
public deleteAdwordsCampaign() {
|
| 1566 |
super("deleteAdwordsCampaign");
|
1650 |
super("deleteAdwordsCampaign");
|
| 1567 |
}
|
1651 |
}
|
| 1568 |
|
1652 |
|
| Line 1699... |
Line 1783... |
| 1699 |
}
|
1783 |
}
|
| 1700 |
return result;
|
1784 |
return result;
|
| 1701 |
}
|
1785 |
}
|
| 1702 |
}
|
1786 |
}
|
| 1703 |
|
1787 |
|
| 1704 |
private static class getAdwordsAdKeywordByCriterionId<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAdwordsAdKeywordByCriterionId_args> {
|
1788 |
private static class getAdwordsAdKeywordByCriterionIdAndAdGroupId<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAdwordsAdKeywordByCriterionIdAndAdGroupId_args> {
|
| 1705 |
public getAdwordsAdKeywordByCriterionId() {
|
1789 |
public getAdwordsAdKeywordByCriterionIdAndAdGroupId() {
|
| 1706 |
super("getAdwordsAdKeywordByCriterionId");
|
1790 |
super("getAdwordsAdKeywordByCriterionIdAndAdGroupId");
|
| 1707 |
}
|
1791 |
}
|
| 1708 |
|
1792 |
|
| 1709 |
protected getAdwordsAdKeywordByCriterionId_args getEmptyArgsInstance() {
|
1793 |
protected getAdwordsAdKeywordByCriterionIdAndAdGroupId_args getEmptyArgsInstance() {
|
| 1710 |
return new getAdwordsAdKeywordByCriterionId_args();
|
1794 |
return new getAdwordsAdKeywordByCriterionIdAndAdGroupId_args();
|
| 1711 |
}
|
1795 |
}
|
| 1712 |
|
1796 |
|
| 1713 |
protected getAdwordsAdKeywordByCriterionId_result getResult(I iface, getAdwordsAdKeywordByCriterionId_args args) throws org.apache.thrift.TException {
|
1797 |
protected getAdwordsAdKeywordByCriterionIdAndAdGroupId_result getResult(I iface, getAdwordsAdKeywordByCriterionIdAndAdGroupId_args args) throws org.apache.thrift.TException {
|
| 1714 |
getAdwordsAdKeywordByCriterionId_result result = new getAdwordsAdKeywordByCriterionId_result();
|
1798 |
getAdwordsAdKeywordByCriterionIdAndAdGroupId_result result = new getAdwordsAdKeywordByCriterionIdAndAdGroupId_result();
|
| 1715 |
try {
|
1799 |
try {
|
| 1716 |
result.success = iface.getAdwordsAdKeywordByCriterionId(args.criterionId);
|
1800 |
result.success = iface.getAdwordsAdKeywordByCriterionIdAndAdGroupId(args.criterionId, args.adgroupId);
|
| 1717 |
} catch (GoogleAdwordsServiceException gasex) {
|
1801 |
} catch (GoogleAdwordsServiceException gasex) {
|
| 1718 |
result.gasex = gasex;
|
1802 |
result.gasex = gasex;
|
| 1719 |
}
|
1803 |
}
|
| 1720 |
return result;
|
1804 |
return result;
|
| 1721 |
}
|
1805 |
}
|
| Line 5984... |
Line 6068... |
| 5984 |
}
|
6068 |
}
|
| 5985 |
}
|
6069 |
}
|
| 5986 |
|
6070 |
|
| 5987 |
}
|
6071 |
}
|
| 5988 |
|
6072 |
|
| - |
|
6073 |
public static class updateAdwordsAdGroupAd_args implements org.apache.thrift.TBase<updateAdwordsAdGroupAd_args, updateAdwordsAdGroupAd_args._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
6074 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateAdwordsAdGroupAd_args");
|
| - |
|
6075 |
|
| - |
|
6076 |
private static final org.apache.thrift.protocol.TField ADGROUPAD_FIELD_DESC = new org.apache.thrift.protocol.TField("adgroupad", org.apache.thrift.protocol.TType.STRUCT, (short)1);
|
| - |
|
6077 |
|
| - |
|
6078 |
private AdwordsAdGroupAd adgroupad; // required
|
| - |
|
6079 |
|
| - |
|
6080 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
6081 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
6082 |
ADGROUPAD((short)1, "adgroupad");
|
| - |
|
6083 |
|
| - |
|
6084 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
6085 |
|
| - |
|
6086 |
static {
|
| - |
|
6087 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
6088 |
byName.put(field.getFieldName(), field);
|
| - |
|
6089 |
}
|
| - |
|
6090 |
}
|
| - |
|
6091 |
|
| - |
|
6092 |
/**
|
| - |
|
6093 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
6094 |
*/
|
| - |
|
6095 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
6096 |
switch(fieldId) {
|
| - |
|
6097 |
case 1: // ADGROUPAD
|
| - |
|
6098 |
return ADGROUPAD;
|
| - |
|
6099 |
default:
|
| - |
|
6100 |
return null;
|
| - |
|
6101 |
}
|
| - |
|
6102 |
}
|
| - |
|
6103 |
|
| - |
|
6104 |
/**
|
| - |
|
6105 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
6106 |
* if it is not found.
|
| - |
|
6107 |
*/
|
| - |
|
6108 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
6109 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
6110 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
6111 |
return fields;
|
| - |
|
6112 |
}
|
| - |
|
6113 |
|
| - |
|
6114 |
/**
|
| - |
|
6115 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
6116 |
*/
|
| - |
|
6117 |
public static _Fields findByName(String name) {
|
| - |
|
6118 |
return byName.get(name);
|
| - |
|
6119 |
}
|
| - |
|
6120 |
|
| - |
|
6121 |
private final short _thriftId;
|
| - |
|
6122 |
private final String _fieldName;
|
| - |
|
6123 |
|
| - |
|
6124 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
6125 |
_thriftId = thriftId;
|
| - |
|
6126 |
_fieldName = fieldName;
|
| - |
|
6127 |
}
|
| - |
|
6128 |
|
| - |
|
6129 |
public short getThriftFieldId() {
|
| - |
|
6130 |
return _thriftId;
|
| - |
|
6131 |
}
|
| - |
|
6132 |
|
| - |
|
6133 |
public String getFieldName() {
|
| - |
|
6134 |
return _fieldName;
|
| - |
|
6135 |
}
|
| - |
|
6136 |
}
|
| - |
|
6137 |
|
| - |
|
6138 |
// isset id assignments
|
| - |
|
6139 |
|
| - |
|
6140 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
6141 |
static {
|
| - |
|
6142 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
6143 |
tmpMap.put(_Fields.ADGROUPAD, new org.apache.thrift.meta_data.FieldMetaData("adgroupad", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
6144 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AdwordsAdGroupAd.class)));
|
| - |
|
6145 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
6146 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateAdwordsAdGroupAd_args.class, metaDataMap);
|
| - |
|
6147 |
}
|
| - |
|
6148 |
|
| - |
|
6149 |
public updateAdwordsAdGroupAd_args() {
|
| - |
|
6150 |
}
|
| - |
|
6151 |
|
| - |
|
6152 |
public updateAdwordsAdGroupAd_args(
|
| - |
|
6153 |
AdwordsAdGroupAd adgroupad)
|
| - |
|
6154 |
{
|
| - |
|
6155 |
this();
|
| - |
|
6156 |
this.adgroupad = adgroupad;
|
| - |
|
6157 |
}
|
| - |
|
6158 |
|
| - |
|
6159 |
/**
|
| - |
|
6160 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
6161 |
*/
|
| - |
|
6162 |
public updateAdwordsAdGroupAd_args(updateAdwordsAdGroupAd_args other) {
|
| - |
|
6163 |
if (other.isSetAdgroupad()) {
|
| - |
|
6164 |
this.adgroupad = new AdwordsAdGroupAd(other.adgroupad);
|
| - |
|
6165 |
}
|
| - |
|
6166 |
}
|
| - |
|
6167 |
|
| - |
|
6168 |
public updateAdwordsAdGroupAd_args deepCopy() {
|
| - |
|
6169 |
return new updateAdwordsAdGroupAd_args(this);
|
| - |
|
6170 |
}
|
| - |
|
6171 |
|
| - |
|
6172 |
@Override
|
| - |
|
6173 |
public void clear() {
|
| - |
|
6174 |
this.adgroupad = null;
|
| - |
|
6175 |
}
|
| - |
|
6176 |
|
| - |
|
6177 |
public AdwordsAdGroupAd getAdgroupad() {
|
| - |
|
6178 |
return this.adgroupad;
|
| - |
|
6179 |
}
|
| - |
|
6180 |
|
| - |
|
6181 |
public void setAdgroupad(AdwordsAdGroupAd adgroupad) {
|
| - |
|
6182 |
this.adgroupad = adgroupad;
|
| - |
|
6183 |
}
|
| - |
|
6184 |
|
| - |
|
6185 |
public void unsetAdgroupad() {
|
| - |
|
6186 |
this.adgroupad = null;
|
| - |
|
6187 |
}
|
| - |
|
6188 |
|
| - |
|
6189 |
/** Returns true if field adgroupad is set (has been assigned a value) and false otherwise */
|
| - |
|
6190 |
public boolean isSetAdgroupad() {
|
| - |
|
6191 |
return this.adgroupad != null;
|
| - |
|
6192 |
}
|
| - |
|
6193 |
|
| - |
|
6194 |
public void setAdgroupadIsSet(boolean value) {
|
| - |
|
6195 |
if (!value) {
|
| - |
|
6196 |
this.adgroupad = null;
|
| - |
|
6197 |
}
|
| - |
|
6198 |
}
|
| - |
|
6199 |
|
| - |
|
6200 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
6201 |
switch (field) {
|
| - |
|
6202 |
case ADGROUPAD:
|
| - |
|
6203 |
if (value == null) {
|
| - |
|
6204 |
unsetAdgroupad();
|
| - |
|
6205 |
} else {
|
| - |
|
6206 |
setAdgroupad((AdwordsAdGroupAd)value);
|
| - |
|
6207 |
}
|
| - |
|
6208 |
break;
|
| - |
|
6209 |
|
| - |
|
6210 |
}
|
| - |
|
6211 |
}
|
| - |
|
6212 |
|
| - |
|
6213 |
public Object getFieldValue(_Fields field) {
|
| - |
|
6214 |
switch (field) {
|
| - |
|
6215 |
case ADGROUPAD:
|
| - |
|
6216 |
return getAdgroupad();
|
| - |
|
6217 |
|
| - |
|
6218 |
}
|
| - |
|
6219 |
throw new IllegalStateException();
|
| - |
|
6220 |
}
|
| - |
|
6221 |
|
| - |
|
6222 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
6223 |
public boolean isSet(_Fields field) {
|
| - |
|
6224 |
if (field == null) {
|
| - |
|
6225 |
throw new IllegalArgumentException();
|
| - |
|
6226 |
}
|
| - |
|
6227 |
|
| - |
|
6228 |
switch (field) {
|
| - |
|
6229 |
case ADGROUPAD:
|
| - |
|
6230 |
return isSetAdgroupad();
|
| - |
|
6231 |
}
|
| - |
|
6232 |
throw new IllegalStateException();
|
| - |
|
6233 |
}
|
| - |
|
6234 |
|
| - |
|
6235 |
@Override
|
| - |
|
6236 |
public boolean equals(Object that) {
|
| - |
|
6237 |
if (that == null)
|
| - |
|
6238 |
return false;
|
| - |
|
6239 |
if (that instanceof updateAdwordsAdGroupAd_args)
|
| - |
|
6240 |
return this.equals((updateAdwordsAdGroupAd_args)that);
|
| - |
|
6241 |
return false;
|
| - |
|
6242 |
}
|
| - |
|
6243 |
|
| - |
|
6244 |
public boolean equals(updateAdwordsAdGroupAd_args that) {
|
| - |
|
6245 |
if (that == null)
|
| - |
|
6246 |
return false;
|
| - |
|
6247 |
|
| - |
|
6248 |
boolean this_present_adgroupad = true && this.isSetAdgroupad();
|
| - |
|
6249 |
boolean that_present_adgroupad = true && that.isSetAdgroupad();
|
| - |
|
6250 |
if (this_present_adgroupad || that_present_adgroupad) {
|
| - |
|
6251 |
if (!(this_present_adgroupad && that_present_adgroupad))
|
| - |
|
6252 |
return false;
|
| - |
|
6253 |
if (!this.adgroupad.equals(that.adgroupad))
|
| - |
|
6254 |
return false;
|
| - |
|
6255 |
}
|
| - |
|
6256 |
|
| - |
|
6257 |
return true;
|
| - |
|
6258 |
}
|
| - |
|
6259 |
|
| - |
|
6260 |
@Override
|
| - |
|
6261 |
public int hashCode() {
|
| - |
|
6262 |
return 0;
|
| - |
|
6263 |
}
|
| - |
|
6264 |
|
| - |
|
6265 |
public int compareTo(updateAdwordsAdGroupAd_args other) {
|
| - |
|
6266 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
6267 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
6268 |
}
|
| - |
|
6269 |
|
| - |
|
6270 |
int lastComparison = 0;
|
| - |
|
6271 |
updateAdwordsAdGroupAd_args typedOther = (updateAdwordsAdGroupAd_args)other;
|
| - |
|
6272 |
|
| - |
|
6273 |
lastComparison = Boolean.valueOf(isSetAdgroupad()).compareTo(typedOther.isSetAdgroupad());
|
| - |
|
6274 |
if (lastComparison != 0) {
|
| - |
|
6275 |
return lastComparison;
|
| - |
|
6276 |
}
|
| - |
|
6277 |
if (isSetAdgroupad()) {
|
| - |
|
6278 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.adgroupad, typedOther.adgroupad);
|
| - |
|
6279 |
if (lastComparison != 0) {
|
| - |
|
6280 |
return lastComparison;
|
| - |
|
6281 |
}
|
| - |
|
6282 |
}
|
| - |
|
6283 |
return 0;
|
| - |
|
6284 |
}
|
| - |
|
6285 |
|
| - |
|
6286 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
6287 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
6288 |
}
|
| - |
|
6289 |
|
| - |
|
6290 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
6291 |
org.apache.thrift.protocol.TField field;
|
| - |
|
6292 |
iprot.readStructBegin();
|
| - |
|
6293 |
while (true)
|
| - |
|
6294 |
{
|
| - |
|
6295 |
field = iprot.readFieldBegin();
|
| - |
|
6296 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
6297 |
break;
|
| - |
|
6298 |
}
|
| - |
|
6299 |
switch (field.id) {
|
| - |
|
6300 |
case 1: // ADGROUPAD
|
| - |
|
6301 |
if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
|
| - |
|
6302 |
this.adgroupad = new AdwordsAdGroupAd();
|
| - |
|
6303 |
this.adgroupad.read(iprot);
|
| - |
|
6304 |
} else {
|
| - |
|
6305 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
6306 |
}
|
| - |
|
6307 |
break;
|
| - |
|
6308 |
default:
|
| - |
|
6309 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
6310 |
}
|
| - |
|
6311 |
iprot.readFieldEnd();
|
| - |
|
6312 |
}
|
| - |
|
6313 |
iprot.readStructEnd();
|
| - |
|
6314 |
validate();
|
| - |
|
6315 |
}
|
| - |
|
6316 |
|
| - |
|
6317 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
6318 |
validate();
|
| - |
|
6319 |
|
| - |
|
6320 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
6321 |
if (this.adgroupad != null) {
|
| - |
|
6322 |
oprot.writeFieldBegin(ADGROUPAD_FIELD_DESC);
|
| - |
|
6323 |
this.adgroupad.write(oprot);
|
| - |
|
6324 |
oprot.writeFieldEnd();
|
| - |
|
6325 |
}
|
| - |
|
6326 |
oprot.writeFieldStop();
|
| - |
|
6327 |
oprot.writeStructEnd();
|
| - |
|
6328 |
}
|
| - |
|
6329 |
|
| - |
|
6330 |
@Override
|
| - |
|
6331 |
public String toString() {
|
| - |
|
6332 |
StringBuilder sb = new StringBuilder("updateAdwordsAdGroupAd_args(");
|
| - |
|
6333 |
boolean first = true;
|
| - |
|
6334 |
|
| - |
|
6335 |
sb.append("adgroupad:");
|
| - |
|
6336 |
if (this.adgroupad == null) {
|
| - |
|
6337 |
sb.append("null");
|
| - |
|
6338 |
} else {
|
| - |
|
6339 |
sb.append(this.adgroupad);
|
| - |
|
6340 |
}
|
| - |
|
6341 |
first = false;
|
| - |
|
6342 |
sb.append(")");
|
| - |
|
6343 |
return sb.toString();
|
| - |
|
6344 |
}
|
| - |
|
6345 |
|
| - |
|
6346 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
6347 |
// check for required fields
|
| - |
|
6348 |
}
|
| - |
|
6349 |
|
| - |
|
6350 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
6351 |
try {
|
| - |
|
6352 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
6353 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
6354 |
throw new java.io.IOException(te);
|
| - |
|
6355 |
}
|
| - |
|
6356 |
}
|
| - |
|
6357 |
|
| - |
|
6358 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
6359 |
try {
|
| - |
|
6360 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
6361 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
6362 |
throw new java.io.IOException(te);
|
| - |
|
6363 |
}
|
| - |
|
6364 |
}
|
| - |
|
6365 |
|
| - |
|
6366 |
}
|
| - |
|
6367 |
|
| - |
|
6368 |
public static class updateAdwordsAdGroupAd_result implements org.apache.thrift.TBase<updateAdwordsAdGroupAd_result, updateAdwordsAdGroupAd_result._Fields>, java.io.Serializable, Cloneable {
|
| - |
|
6369 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateAdwordsAdGroupAd_result");
|
| - |
|
6370 |
|
| - |
|
6371 |
private static final org.apache.thrift.protocol.TField GASEX_FIELD_DESC = new org.apache.thrift.protocol.TField("gasex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
|
| - |
|
6372 |
|
| - |
|
6373 |
private GoogleAdwordsServiceException gasex; // required
|
| - |
|
6374 |
|
| - |
|
6375 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| - |
|
6376 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| - |
|
6377 |
GASEX((short)1, "gasex");
|
| - |
|
6378 |
|
| - |
|
6379 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| - |
|
6380 |
|
| - |
|
6381 |
static {
|
| - |
|
6382 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| - |
|
6383 |
byName.put(field.getFieldName(), field);
|
| - |
|
6384 |
}
|
| - |
|
6385 |
}
|
| - |
|
6386 |
|
| - |
|
6387 |
/**
|
| - |
|
6388 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| - |
|
6389 |
*/
|
| - |
|
6390 |
public static _Fields findByThriftId(int fieldId) {
|
| - |
|
6391 |
switch(fieldId) {
|
| - |
|
6392 |
case 1: // GASEX
|
| - |
|
6393 |
return GASEX;
|
| - |
|
6394 |
default:
|
| - |
|
6395 |
return null;
|
| - |
|
6396 |
}
|
| - |
|
6397 |
}
|
| - |
|
6398 |
|
| - |
|
6399 |
/**
|
| - |
|
6400 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
| - |
|
6401 |
* if it is not found.
|
| - |
|
6402 |
*/
|
| - |
|
6403 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
| - |
|
6404 |
_Fields fields = findByThriftId(fieldId);
|
| - |
|
6405 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
| - |
|
6406 |
return fields;
|
| - |
|
6407 |
}
|
| - |
|
6408 |
|
| - |
|
6409 |
/**
|
| - |
|
6410 |
* Find the _Fields constant that matches name, or null if its not found.
|
| - |
|
6411 |
*/
|
| - |
|
6412 |
public static _Fields findByName(String name) {
|
| - |
|
6413 |
return byName.get(name);
|
| - |
|
6414 |
}
|
| - |
|
6415 |
|
| - |
|
6416 |
private final short _thriftId;
|
| - |
|
6417 |
private final String _fieldName;
|
| - |
|
6418 |
|
| - |
|
6419 |
_Fields(short thriftId, String fieldName) {
|
| - |
|
6420 |
_thriftId = thriftId;
|
| - |
|
6421 |
_fieldName = fieldName;
|
| - |
|
6422 |
}
|
| - |
|
6423 |
|
| - |
|
6424 |
public short getThriftFieldId() {
|
| - |
|
6425 |
return _thriftId;
|
| - |
|
6426 |
}
|
| - |
|
6427 |
|
| - |
|
6428 |
public String getFieldName() {
|
| - |
|
6429 |
return _fieldName;
|
| - |
|
6430 |
}
|
| - |
|
6431 |
}
|
| - |
|
6432 |
|
| - |
|
6433 |
// isset id assignments
|
| - |
|
6434 |
|
| - |
|
6435 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| - |
|
6436 |
static {
|
| - |
|
6437 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| - |
|
6438 |
tmpMap.put(_Fields.GASEX, new org.apache.thrift.meta_data.FieldMetaData("gasex", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
6439 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
|
| - |
|
6440 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| - |
|
6441 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateAdwordsAdGroupAd_result.class, metaDataMap);
|
| - |
|
6442 |
}
|
| - |
|
6443 |
|
| - |
|
6444 |
public updateAdwordsAdGroupAd_result() {
|
| - |
|
6445 |
}
|
| - |
|
6446 |
|
| - |
|
6447 |
public updateAdwordsAdGroupAd_result(
|
| - |
|
6448 |
GoogleAdwordsServiceException gasex)
|
| - |
|
6449 |
{
|
| - |
|
6450 |
this();
|
| - |
|
6451 |
this.gasex = gasex;
|
| - |
|
6452 |
}
|
| - |
|
6453 |
|
| - |
|
6454 |
/**
|
| - |
|
6455 |
* Performs a deep copy on <i>other</i>.
|
| - |
|
6456 |
*/
|
| - |
|
6457 |
public updateAdwordsAdGroupAd_result(updateAdwordsAdGroupAd_result other) {
|
| - |
|
6458 |
if (other.isSetGasex()) {
|
| - |
|
6459 |
this.gasex = new GoogleAdwordsServiceException(other.gasex);
|
| - |
|
6460 |
}
|
| - |
|
6461 |
}
|
| - |
|
6462 |
|
| - |
|
6463 |
public updateAdwordsAdGroupAd_result deepCopy() {
|
| - |
|
6464 |
return new updateAdwordsAdGroupAd_result(this);
|
| - |
|
6465 |
}
|
| - |
|
6466 |
|
| - |
|
6467 |
@Override
|
| - |
|
6468 |
public void clear() {
|
| - |
|
6469 |
this.gasex = null;
|
| - |
|
6470 |
}
|
| - |
|
6471 |
|
| - |
|
6472 |
public GoogleAdwordsServiceException getGasex() {
|
| - |
|
6473 |
return this.gasex;
|
| - |
|
6474 |
}
|
| - |
|
6475 |
|
| - |
|
6476 |
public void setGasex(GoogleAdwordsServiceException gasex) {
|
| - |
|
6477 |
this.gasex = gasex;
|
| - |
|
6478 |
}
|
| - |
|
6479 |
|
| - |
|
6480 |
public void unsetGasex() {
|
| - |
|
6481 |
this.gasex = null;
|
| - |
|
6482 |
}
|
| - |
|
6483 |
|
| - |
|
6484 |
/** Returns true if field gasex is set (has been assigned a value) and false otherwise */
|
| - |
|
6485 |
public boolean isSetGasex() {
|
| - |
|
6486 |
return this.gasex != null;
|
| - |
|
6487 |
}
|
| - |
|
6488 |
|
| - |
|
6489 |
public void setGasexIsSet(boolean value) {
|
| - |
|
6490 |
if (!value) {
|
| - |
|
6491 |
this.gasex = null;
|
| - |
|
6492 |
}
|
| - |
|
6493 |
}
|
| - |
|
6494 |
|
| - |
|
6495 |
public void setFieldValue(_Fields field, Object value) {
|
| - |
|
6496 |
switch (field) {
|
| - |
|
6497 |
case GASEX:
|
| - |
|
6498 |
if (value == null) {
|
| - |
|
6499 |
unsetGasex();
|
| - |
|
6500 |
} else {
|
| - |
|
6501 |
setGasex((GoogleAdwordsServiceException)value);
|
| - |
|
6502 |
}
|
| - |
|
6503 |
break;
|
| - |
|
6504 |
|
| - |
|
6505 |
}
|
| - |
|
6506 |
}
|
| - |
|
6507 |
|
| - |
|
6508 |
public Object getFieldValue(_Fields field) {
|
| - |
|
6509 |
switch (field) {
|
| - |
|
6510 |
case GASEX:
|
| - |
|
6511 |
return getGasex();
|
| - |
|
6512 |
|
| - |
|
6513 |
}
|
| - |
|
6514 |
throw new IllegalStateException();
|
| - |
|
6515 |
}
|
| - |
|
6516 |
|
| - |
|
6517 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| - |
|
6518 |
public boolean isSet(_Fields field) {
|
| - |
|
6519 |
if (field == null) {
|
| - |
|
6520 |
throw new IllegalArgumentException();
|
| - |
|
6521 |
}
|
| - |
|
6522 |
|
| - |
|
6523 |
switch (field) {
|
| - |
|
6524 |
case GASEX:
|
| - |
|
6525 |
return isSetGasex();
|
| - |
|
6526 |
}
|
| - |
|
6527 |
throw new IllegalStateException();
|
| - |
|
6528 |
}
|
| - |
|
6529 |
|
| - |
|
6530 |
@Override
|
| - |
|
6531 |
public boolean equals(Object that) {
|
| - |
|
6532 |
if (that == null)
|
| - |
|
6533 |
return false;
|
| - |
|
6534 |
if (that instanceof updateAdwordsAdGroupAd_result)
|
| - |
|
6535 |
return this.equals((updateAdwordsAdGroupAd_result)that);
|
| - |
|
6536 |
return false;
|
| - |
|
6537 |
}
|
| - |
|
6538 |
|
| - |
|
6539 |
public boolean equals(updateAdwordsAdGroupAd_result that) {
|
| - |
|
6540 |
if (that == null)
|
| - |
|
6541 |
return false;
|
| - |
|
6542 |
|
| - |
|
6543 |
boolean this_present_gasex = true && this.isSetGasex();
|
| - |
|
6544 |
boolean that_present_gasex = true && that.isSetGasex();
|
| - |
|
6545 |
if (this_present_gasex || that_present_gasex) {
|
| - |
|
6546 |
if (!(this_present_gasex && that_present_gasex))
|
| - |
|
6547 |
return false;
|
| - |
|
6548 |
if (!this.gasex.equals(that.gasex))
|
| - |
|
6549 |
return false;
|
| - |
|
6550 |
}
|
| - |
|
6551 |
|
| - |
|
6552 |
return true;
|
| - |
|
6553 |
}
|
| - |
|
6554 |
|
| - |
|
6555 |
@Override
|
| - |
|
6556 |
public int hashCode() {
|
| - |
|
6557 |
return 0;
|
| - |
|
6558 |
}
|
| - |
|
6559 |
|
| - |
|
6560 |
public int compareTo(updateAdwordsAdGroupAd_result other) {
|
| - |
|
6561 |
if (!getClass().equals(other.getClass())) {
|
| - |
|
6562 |
return getClass().getName().compareTo(other.getClass().getName());
|
| - |
|
6563 |
}
|
| - |
|
6564 |
|
| - |
|
6565 |
int lastComparison = 0;
|
| - |
|
6566 |
updateAdwordsAdGroupAd_result typedOther = (updateAdwordsAdGroupAd_result)other;
|
| - |
|
6567 |
|
| - |
|
6568 |
lastComparison = Boolean.valueOf(isSetGasex()).compareTo(typedOther.isSetGasex());
|
| - |
|
6569 |
if (lastComparison != 0) {
|
| - |
|
6570 |
return lastComparison;
|
| - |
|
6571 |
}
|
| - |
|
6572 |
if (isSetGasex()) {
|
| - |
|
6573 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.gasex, typedOther.gasex);
|
| - |
|
6574 |
if (lastComparison != 0) {
|
| - |
|
6575 |
return lastComparison;
|
| - |
|
6576 |
}
|
| - |
|
6577 |
}
|
| - |
|
6578 |
return 0;
|
| - |
|
6579 |
}
|
| - |
|
6580 |
|
| - |
|
6581 |
public _Fields fieldForId(int fieldId) {
|
| - |
|
6582 |
return _Fields.findByThriftId(fieldId);
|
| - |
|
6583 |
}
|
| - |
|
6584 |
|
| - |
|
6585 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
| - |
|
6586 |
org.apache.thrift.protocol.TField field;
|
| - |
|
6587 |
iprot.readStructBegin();
|
| - |
|
6588 |
while (true)
|
| - |
|
6589 |
{
|
| - |
|
6590 |
field = iprot.readFieldBegin();
|
| - |
|
6591 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| - |
|
6592 |
break;
|
| - |
|
6593 |
}
|
| - |
|
6594 |
switch (field.id) {
|
| - |
|
6595 |
case 1: // GASEX
|
| - |
|
6596 |
if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
|
| - |
|
6597 |
this.gasex = new GoogleAdwordsServiceException();
|
| - |
|
6598 |
this.gasex.read(iprot);
|
| - |
|
6599 |
} else {
|
| - |
|
6600 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
6601 |
}
|
| - |
|
6602 |
break;
|
| - |
|
6603 |
default:
|
| - |
|
6604 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
6605 |
}
|
| - |
|
6606 |
iprot.readFieldEnd();
|
| - |
|
6607 |
}
|
| - |
|
6608 |
iprot.readStructEnd();
|
| - |
|
6609 |
validate();
|
| - |
|
6610 |
}
|
| - |
|
6611 |
|
| - |
|
6612 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| - |
|
6613 |
oprot.writeStructBegin(STRUCT_DESC);
|
| - |
|
6614 |
|
| - |
|
6615 |
if (this.isSetGasex()) {
|
| - |
|
6616 |
oprot.writeFieldBegin(GASEX_FIELD_DESC);
|
| - |
|
6617 |
this.gasex.write(oprot);
|
| - |
|
6618 |
oprot.writeFieldEnd();
|
| - |
|
6619 |
}
|
| - |
|
6620 |
oprot.writeFieldStop();
|
| - |
|
6621 |
oprot.writeStructEnd();
|
| - |
|
6622 |
}
|
| - |
|
6623 |
|
| - |
|
6624 |
@Override
|
| - |
|
6625 |
public String toString() {
|
| - |
|
6626 |
StringBuilder sb = new StringBuilder("updateAdwordsAdGroupAd_result(");
|
| - |
|
6627 |
boolean first = true;
|
| - |
|
6628 |
|
| - |
|
6629 |
sb.append("gasex:");
|
| - |
|
6630 |
if (this.gasex == null) {
|
| - |
|
6631 |
sb.append("null");
|
| - |
|
6632 |
} else {
|
| - |
|
6633 |
sb.append(this.gasex);
|
| - |
|
6634 |
}
|
| - |
|
6635 |
first = false;
|
| - |
|
6636 |
sb.append(")");
|
| - |
|
6637 |
return sb.toString();
|
| - |
|
6638 |
}
|
| - |
|
6639 |
|
| - |
|
6640 |
public void validate() throws org.apache.thrift.TException {
|
| - |
|
6641 |
// check for required fields
|
| - |
|
6642 |
}
|
| - |
|
6643 |
|
| - |
|
6644 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
| - |
|
6645 |
try {
|
| - |
|
6646 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
| - |
|
6647 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
6648 |
throw new java.io.IOException(te);
|
| - |
|
6649 |
}
|
| - |
|
6650 |
}
|
| - |
|
6651 |
|
| - |
|
6652 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| - |
|
6653 |
try {
|
| - |
|
6654 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| - |
|
6655 |
} catch (org.apache.thrift.TException te) {
|
| - |
|
6656 |
throw new java.io.IOException(te);
|
| - |
|
6657 |
}
|
| - |
|
6658 |
}
|
| - |
|
6659 |
|
| - |
|
6660 |
}
|
| - |
|
6661 |
|
| 5989 |
public static class deleteAdwordsCampaign_args implements org.apache.thrift.TBase<deleteAdwordsCampaign_args, deleteAdwordsCampaign_args._Fields>, java.io.Serializable, Cloneable {
|
6662 |
public static class deleteAdwordsCampaign_args implements org.apache.thrift.TBase<deleteAdwordsCampaign_args, deleteAdwordsCampaign_args._Fields>, java.io.Serializable, Cloneable {
|
| 5990 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteAdwordsCampaign_args");
|
6663 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteAdwordsCampaign_args");
|
| 5991 |
|
6664 |
|
| 5992 |
private static final org.apache.thrift.protocol.TField CAMPAIGN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("campaignId", org.apache.thrift.protocol.TType.I64, (short)1);
|
6665 |
private static final org.apache.thrift.protocol.TField CAMPAIGN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("campaignId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 5993 |
|
6666 |
|
| Line 10364... |
Line 11037... |
| 10364 |
}
|
11037 |
}
|
| 10365 |
}
|
11038 |
}
|
| 10366 |
|
11039 |
|
| 10367 |
}
|
11040 |
}
|
| 10368 |
|
11041 |
|
| 10369 |
public static class getAdwordsAdKeywordByCriterionId_args implements org.apache.thrift.TBase<getAdwordsAdKeywordByCriterionId_args, getAdwordsAdKeywordByCriterionId_args._Fields>, java.io.Serializable, Cloneable {
|
11042 |
public static class getAdwordsAdKeywordByCriterionIdAndAdGroupId_args implements org.apache.thrift.TBase<getAdwordsAdKeywordByCriterionIdAndAdGroupId_args, getAdwordsAdKeywordByCriterionIdAndAdGroupId_args._Fields>, java.io.Serializable, Cloneable {
|
| 10370 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAdwordsAdKeywordByCriterionId_args");
|
11043 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAdwordsAdKeywordByCriterionIdAndAdGroupId_args");
|
| 10371 |
|
11044 |
|
| 10372 |
private static final org.apache.thrift.protocol.TField CRITERION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("criterionId", org.apache.thrift.protocol.TType.I64, (short)1);
|
11045 |
private static final org.apache.thrift.protocol.TField CRITERION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("criterionId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| - |
|
11046 |
private static final org.apache.thrift.protocol.TField ADGROUP_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("adgroupId", org.apache.thrift.protocol.TType.I64, (short)2);
|
| 10373 |
|
11047 |
|
| 10374 |
private long criterionId; // required
|
11048 |
private long criterionId; // required
|
| - |
|
11049 |
private long adgroupId; // required
|
| 10375 |
|
11050 |
|
| 10376 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
11051 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 10377 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
11052 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 10378 |
CRITERION_ID((short)1, "criterionId");
|
11053 |
CRITERION_ID((short)1, "criterionId"),
|
| - |
|
11054 |
ADGROUP_ID((short)2, "adgroupId");
|
| 10379 |
|
11055 |
|
| 10380 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
11056 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 10381 |
|
11057 |
|
| 10382 |
static {
|
11058 |
static {
|
| 10383 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
11059 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 10390... |
Line 11066... |
| 10390 |
*/
|
11066 |
*/
|
| 10391 |
public static _Fields findByThriftId(int fieldId) {
|
11067 |
public static _Fields findByThriftId(int fieldId) {
|
| 10392 |
switch(fieldId) {
|
11068 |
switch(fieldId) {
|
| 10393 |
case 1: // CRITERION_ID
|
11069 |
case 1: // CRITERION_ID
|
| 10394 |
return CRITERION_ID;
|
11070 |
return CRITERION_ID;
|
| - |
|
11071 |
case 2: // ADGROUP_ID
|
| - |
|
11072 |
return ADGROUP_ID;
|
| 10395 |
default:
|
11073 |
default:
|
| 10396 |
return null;
|
11074 |
return null;
|
| 10397 |
}
|
11075 |
}
|
| 10398 |
}
|
11076 |
}
|
| 10399 |
|
11077 |
|
| Line 10431... |
Line 11109... |
| 10431 |
}
|
11109 |
}
|
| 10432 |
}
|
11110 |
}
|
| 10433 |
|
11111 |
|
| 10434 |
// isset id assignments
|
11112 |
// isset id assignments
|
| 10435 |
private static final int __CRITERIONID_ISSET_ID = 0;
|
11113 |
private static final int __CRITERIONID_ISSET_ID = 0;
|
| - |
|
11114 |
private static final int __ADGROUPID_ISSET_ID = 1;
|
| 10436 |
private BitSet __isset_bit_vector = new BitSet(1);
|
11115 |
private BitSet __isset_bit_vector = new BitSet(2);
|
| 10437 |
|
11116 |
|
| 10438 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
11117 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 10439 |
static {
|
11118 |
static {
|
| 10440 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
11119 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 10441 |
tmpMap.put(_Fields.CRITERION_ID, new org.apache.thrift.meta_data.FieldMetaData("criterionId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
11120 |
tmpMap.put(_Fields.CRITERION_ID, new org.apache.thrift.meta_data.FieldMetaData("criterionId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 10442 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
11121 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
11122 |
tmpMap.put(_Fields.ADGROUP_ID, new org.apache.thrift.meta_data.FieldMetaData("adgroupId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
11123 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 10443 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
11124 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 10444 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAdwordsAdKeywordByCriterionId_args.class, metaDataMap);
|
11125 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAdwordsAdKeywordByCriterionIdAndAdGroupId_args.class, metaDataMap);
|
| 10445 |
}
|
11126 |
}
|
| 10446 |
|
11127 |
|
| 10447 |
public getAdwordsAdKeywordByCriterionId_args() {
|
11128 |
public getAdwordsAdKeywordByCriterionIdAndAdGroupId_args() {
|
| 10448 |
}
|
11129 |
}
|
| 10449 |
|
11130 |
|
| 10450 |
public getAdwordsAdKeywordByCriterionId_args(
|
11131 |
public getAdwordsAdKeywordByCriterionIdAndAdGroupId_args(
|
| 10451 |
long criterionId)
|
11132 |
long criterionId,
|
| - |
|
11133 |
long adgroupId)
|
| 10452 |
{
|
11134 |
{
|
| 10453 |
this();
|
11135 |
this();
|
| 10454 |
this.criterionId = criterionId;
|
11136 |
this.criterionId = criterionId;
|
| 10455 |
setCriterionIdIsSet(true);
|
11137 |
setCriterionIdIsSet(true);
|
| - |
|
11138 |
this.adgroupId = adgroupId;
|
| - |
|
11139 |
setAdgroupIdIsSet(true);
|
| 10456 |
}
|
11140 |
}
|
| 10457 |
|
11141 |
|
| 10458 |
/**
|
11142 |
/**
|
| 10459 |
* Performs a deep copy on <i>other</i>.
|
11143 |
* Performs a deep copy on <i>other</i>.
|
| 10460 |
*/
|
11144 |
*/
|
| 10461 |
public getAdwordsAdKeywordByCriterionId_args(getAdwordsAdKeywordByCriterionId_args other) {
|
11145 |
public getAdwordsAdKeywordByCriterionIdAndAdGroupId_args(getAdwordsAdKeywordByCriterionIdAndAdGroupId_args other) {
|
| 10462 |
__isset_bit_vector.clear();
|
11146 |
__isset_bit_vector.clear();
|
| 10463 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
11147 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 10464 |
this.criterionId = other.criterionId;
|
11148 |
this.criterionId = other.criterionId;
|
| - |
|
11149 |
this.adgroupId = other.adgroupId;
|
| 10465 |
}
|
11150 |
}
|
| 10466 |
|
11151 |
|
| 10467 |
public getAdwordsAdKeywordByCriterionId_args deepCopy() {
|
11152 |
public getAdwordsAdKeywordByCriterionIdAndAdGroupId_args deepCopy() {
|
| 10468 |
return new getAdwordsAdKeywordByCriterionId_args(this);
|
11153 |
return new getAdwordsAdKeywordByCriterionIdAndAdGroupId_args(this);
|
| 10469 |
}
|
11154 |
}
|
| 10470 |
|
11155 |
|
| 10471 |
@Override
|
11156 |
@Override
|
| 10472 |
public void clear() {
|
11157 |
public void clear() {
|
| 10473 |
setCriterionIdIsSet(false);
|
11158 |
setCriterionIdIsSet(false);
|
| 10474 |
this.criterionId = 0;
|
11159 |
this.criterionId = 0;
|
| - |
|
11160 |
setAdgroupIdIsSet(false);
|
| - |
|
11161 |
this.adgroupId = 0;
|
| 10475 |
}
|
11162 |
}
|
| 10476 |
|
11163 |
|
| 10477 |
public long getCriterionId() {
|
11164 |
public long getCriterionId() {
|
| 10478 |
return this.criterionId;
|
11165 |
return this.criterionId;
|
| 10479 |
}
|
11166 |
}
|
| Line 10494... |
Line 11181... |
| 10494 |
|
11181 |
|
| 10495 |
public void setCriterionIdIsSet(boolean value) {
|
11182 |
public void setCriterionIdIsSet(boolean value) {
|
| 10496 |
__isset_bit_vector.set(__CRITERIONID_ISSET_ID, value);
|
11183 |
__isset_bit_vector.set(__CRITERIONID_ISSET_ID, value);
|
| 10497 |
}
|
11184 |
}
|
| 10498 |
|
11185 |
|
| - |
|
11186 |
public long getAdgroupId() {
|
| - |
|
11187 |
return this.adgroupId;
|
| - |
|
11188 |
}
|
| - |
|
11189 |
|
| - |
|
11190 |
public void setAdgroupId(long adgroupId) {
|
| - |
|
11191 |
this.adgroupId = adgroupId;
|
| - |
|
11192 |
setAdgroupIdIsSet(true);
|
| - |
|
11193 |
}
|
| - |
|
11194 |
|
| - |
|
11195 |
public void unsetAdgroupId() {
|
| - |
|
11196 |
__isset_bit_vector.clear(__ADGROUPID_ISSET_ID);
|
| - |
|
11197 |
}
|
| - |
|
11198 |
|
| - |
|
11199 |
/** Returns true if field adgroupId is set (has been assigned a value) and false otherwise */
|
| - |
|
11200 |
public boolean isSetAdgroupId() {
|
| - |
|
11201 |
return __isset_bit_vector.get(__ADGROUPID_ISSET_ID);
|
| - |
|
11202 |
}
|
| - |
|
11203 |
|
| - |
|
11204 |
public void setAdgroupIdIsSet(boolean value) {
|
| - |
|
11205 |
__isset_bit_vector.set(__ADGROUPID_ISSET_ID, value);
|
| - |
|
11206 |
}
|
| - |
|
11207 |
|
| 10499 |
public void setFieldValue(_Fields field, Object value) {
|
11208 |
public void setFieldValue(_Fields field, Object value) {
|
| 10500 |
switch (field) {
|
11209 |
switch (field) {
|
| 10501 |
case CRITERION_ID:
|
11210 |
case CRITERION_ID:
|
| 10502 |
if (value == null) {
|
11211 |
if (value == null) {
|
| 10503 |
unsetCriterionId();
|
11212 |
unsetCriterionId();
|
| 10504 |
} else {
|
11213 |
} else {
|
| 10505 |
setCriterionId((Long)value);
|
11214 |
setCriterionId((Long)value);
|
| 10506 |
}
|
11215 |
}
|
| 10507 |
break;
|
11216 |
break;
|
| 10508 |
|
11217 |
|
| - |
|
11218 |
case ADGROUP_ID:
|
| - |
|
11219 |
if (value == null) {
|
| - |
|
11220 |
unsetAdgroupId();
|
| - |
|
11221 |
} else {
|
| - |
|
11222 |
setAdgroupId((Long)value);
|
| - |
|
11223 |
}
|
| - |
|
11224 |
break;
|
| - |
|
11225 |
|
| 10509 |
}
|
11226 |
}
|
| 10510 |
}
|
11227 |
}
|
| 10511 |
|
11228 |
|
| 10512 |
public Object getFieldValue(_Fields field) {
|
11229 |
public Object getFieldValue(_Fields field) {
|
| 10513 |
switch (field) {
|
11230 |
switch (field) {
|
| 10514 |
case CRITERION_ID:
|
11231 |
case CRITERION_ID:
|
| 10515 |
return Long.valueOf(getCriterionId());
|
11232 |
return Long.valueOf(getCriterionId());
|
| 10516 |
|
11233 |
|
| - |
|
11234 |
case ADGROUP_ID:
|
| - |
|
11235 |
return Long.valueOf(getAdgroupId());
|
| - |
|
11236 |
|
| 10517 |
}
|
11237 |
}
|
| 10518 |
throw new IllegalStateException();
|
11238 |
throw new IllegalStateException();
|
| 10519 |
}
|
11239 |
}
|
| 10520 |
|
11240 |
|
| 10521 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
11241 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 10525... |
Line 11245... |
| 10525 |
}
|
11245 |
}
|
| 10526 |
|
11246 |
|
| 10527 |
switch (field) {
|
11247 |
switch (field) {
|
| 10528 |
case CRITERION_ID:
|
11248 |
case CRITERION_ID:
|
| 10529 |
return isSetCriterionId();
|
11249 |
return isSetCriterionId();
|
| - |
|
11250 |
case ADGROUP_ID:
|
| - |
|
11251 |
return isSetAdgroupId();
|
| 10530 |
}
|
11252 |
}
|
| 10531 |
throw new IllegalStateException();
|
11253 |
throw new IllegalStateException();
|
| 10532 |
}
|
11254 |
}
|
| 10533 |
|
11255 |
|
| 10534 |
@Override
|
11256 |
@Override
|
| 10535 |
public boolean equals(Object that) {
|
11257 |
public boolean equals(Object that) {
|
| 10536 |
if (that == null)
|
11258 |
if (that == null)
|
| 10537 |
return false;
|
11259 |
return false;
|
| 10538 |
if (that instanceof getAdwordsAdKeywordByCriterionId_args)
|
11260 |
if (that instanceof getAdwordsAdKeywordByCriterionIdAndAdGroupId_args)
|
| 10539 |
return this.equals((getAdwordsAdKeywordByCriterionId_args)that);
|
11261 |
return this.equals((getAdwordsAdKeywordByCriterionIdAndAdGroupId_args)that);
|
| 10540 |
return false;
|
11262 |
return false;
|
| 10541 |
}
|
11263 |
}
|
| 10542 |
|
11264 |
|
| 10543 |
public boolean equals(getAdwordsAdKeywordByCriterionId_args that) {
|
11265 |
public boolean equals(getAdwordsAdKeywordByCriterionIdAndAdGroupId_args that) {
|
| 10544 |
if (that == null)
|
11266 |
if (that == null)
|
| 10545 |
return false;
|
11267 |
return false;
|
| 10546 |
|
11268 |
|
| 10547 |
boolean this_present_criterionId = true;
|
11269 |
boolean this_present_criterionId = true;
|
| 10548 |
boolean that_present_criterionId = true;
|
11270 |
boolean that_present_criterionId = true;
|
| Line 10551... |
Line 11273... |
| 10551 |
return false;
|
11273 |
return false;
|
| 10552 |
if (this.criterionId != that.criterionId)
|
11274 |
if (this.criterionId != that.criterionId)
|
| 10553 |
return false;
|
11275 |
return false;
|
| 10554 |
}
|
11276 |
}
|
| 10555 |
|
11277 |
|
| - |
|
11278 |
boolean this_present_adgroupId = true;
|
| - |
|
11279 |
boolean that_present_adgroupId = true;
|
| - |
|
11280 |
if (this_present_adgroupId || that_present_adgroupId) {
|
| - |
|
11281 |
if (!(this_present_adgroupId && that_present_adgroupId))
|
| - |
|
11282 |
return false;
|
| - |
|
11283 |
if (this.adgroupId != that.adgroupId)
|
| - |
|
11284 |
return false;
|
| - |
|
11285 |
}
|
| - |
|
11286 |
|
| 10556 |
return true;
|
11287 |
return true;
|
| 10557 |
}
|
11288 |
}
|
| 10558 |
|
11289 |
|
| 10559 |
@Override
|
11290 |
@Override
|
| 10560 |
public int hashCode() {
|
11291 |
public int hashCode() {
|
| 10561 |
return 0;
|
11292 |
return 0;
|
| 10562 |
}
|
11293 |
}
|
| 10563 |
|
11294 |
|
| 10564 |
public int compareTo(getAdwordsAdKeywordByCriterionId_args other) {
|
11295 |
public int compareTo(getAdwordsAdKeywordByCriterionIdAndAdGroupId_args other) {
|
| 10565 |
if (!getClass().equals(other.getClass())) {
|
11296 |
if (!getClass().equals(other.getClass())) {
|
| 10566 |
return getClass().getName().compareTo(other.getClass().getName());
|
11297 |
return getClass().getName().compareTo(other.getClass().getName());
|
| 10567 |
}
|
11298 |
}
|
| 10568 |
|
11299 |
|
| 10569 |
int lastComparison = 0;
|
11300 |
int lastComparison = 0;
|
| 10570 |
getAdwordsAdKeywordByCriterionId_args typedOther = (getAdwordsAdKeywordByCriterionId_args)other;
|
11301 |
getAdwordsAdKeywordByCriterionIdAndAdGroupId_args typedOther = (getAdwordsAdKeywordByCriterionIdAndAdGroupId_args)other;
|
| 10571 |
|
11302 |
|
| 10572 |
lastComparison = Boolean.valueOf(isSetCriterionId()).compareTo(typedOther.isSetCriterionId());
|
11303 |
lastComparison = Boolean.valueOf(isSetCriterionId()).compareTo(typedOther.isSetCriterionId());
|
| 10573 |
if (lastComparison != 0) {
|
11304 |
if (lastComparison != 0) {
|
| 10574 |
return lastComparison;
|
11305 |
return lastComparison;
|
| 10575 |
}
|
11306 |
}
|
| Line 10577... |
Line 11308... |
| 10577 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.criterionId, typedOther.criterionId);
|
11308 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.criterionId, typedOther.criterionId);
|
| 10578 |
if (lastComparison != 0) {
|
11309 |
if (lastComparison != 0) {
|
| 10579 |
return lastComparison;
|
11310 |
return lastComparison;
|
| 10580 |
}
|
11311 |
}
|
| 10581 |
}
|
11312 |
}
|
| - |
|
11313 |
lastComparison = Boolean.valueOf(isSetAdgroupId()).compareTo(typedOther.isSetAdgroupId());
|
| - |
|
11314 |
if (lastComparison != 0) {
|
| - |
|
11315 |
return lastComparison;
|
| - |
|
11316 |
}
|
| - |
|
11317 |
if (isSetAdgroupId()) {
|
| - |
|
11318 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.adgroupId, typedOther.adgroupId);
|
| - |
|
11319 |
if (lastComparison != 0) {
|
| - |
|
11320 |
return lastComparison;
|
| - |
|
11321 |
}
|
| - |
|
11322 |
}
|
| 10582 |
return 0;
|
11323 |
return 0;
|
| 10583 |
}
|
11324 |
}
|
| 10584 |
|
11325 |
|
| 10585 |
public _Fields fieldForId(int fieldId) {
|
11326 |
public _Fields fieldForId(int fieldId) {
|
| 10586 |
return _Fields.findByThriftId(fieldId);
|
11327 |
return _Fields.findByThriftId(fieldId);
|
| Line 10602... |
Line 11343... |
| 10602 |
setCriterionIdIsSet(true);
|
11343 |
setCriterionIdIsSet(true);
|
| 10603 |
} else {
|
11344 |
} else {
|
| 10604 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
11345 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 10605 |
}
|
11346 |
}
|
| 10606 |
break;
|
11347 |
break;
|
| - |
|
11348 |
case 2: // ADGROUP_ID
|
| - |
|
11349 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
11350 |
this.adgroupId = iprot.readI64();
|
| - |
|
11351 |
setAdgroupIdIsSet(true);
|
| - |
|
11352 |
} else {
|
| - |
|
11353 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
11354 |
}
|
| - |
|
11355 |
break;
|
| 10607 |
default:
|
11356 |
default:
|
| 10608 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
11357 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 10609 |
}
|
11358 |
}
|
| 10610 |
iprot.readFieldEnd();
|
11359 |
iprot.readFieldEnd();
|
| 10611 |
}
|
11360 |
}
|
| Line 10618... |
Line 11367... |
| 10618 |
|
11367 |
|
| 10619 |
oprot.writeStructBegin(STRUCT_DESC);
|
11368 |
oprot.writeStructBegin(STRUCT_DESC);
|
| 10620 |
oprot.writeFieldBegin(CRITERION_ID_FIELD_DESC);
|
11369 |
oprot.writeFieldBegin(CRITERION_ID_FIELD_DESC);
|
| 10621 |
oprot.writeI64(this.criterionId);
|
11370 |
oprot.writeI64(this.criterionId);
|
| 10622 |
oprot.writeFieldEnd();
|
11371 |
oprot.writeFieldEnd();
|
| - |
|
11372 |
oprot.writeFieldBegin(ADGROUP_ID_FIELD_DESC);
|
| - |
|
11373 |
oprot.writeI64(this.adgroupId);
|
| - |
|
11374 |
oprot.writeFieldEnd();
|
| 10623 |
oprot.writeFieldStop();
|
11375 |
oprot.writeFieldStop();
|
| 10624 |
oprot.writeStructEnd();
|
11376 |
oprot.writeStructEnd();
|
| 10625 |
}
|
11377 |
}
|
| 10626 |
|
11378 |
|
| 10627 |
@Override
|
11379 |
@Override
|
| 10628 |
public String toString() {
|
11380 |
public String toString() {
|
| 10629 |
StringBuilder sb = new StringBuilder("getAdwordsAdKeywordByCriterionId_args(");
|
11381 |
StringBuilder sb = new StringBuilder("getAdwordsAdKeywordByCriterionIdAndAdGroupId_args(");
|
| 10630 |
boolean first = true;
|
11382 |
boolean first = true;
|
| 10631 |
|
11383 |
|
| 10632 |
sb.append("criterionId:");
|
11384 |
sb.append("criterionId:");
|
| 10633 |
sb.append(this.criterionId);
|
11385 |
sb.append(this.criterionId);
|
| 10634 |
first = false;
|
11386 |
first = false;
|
| - |
|
11387 |
if (!first) sb.append(", ");
|
| - |
|
11388 |
sb.append("adgroupId:");
|
| - |
|
11389 |
sb.append(this.adgroupId);
|
| - |
|
11390 |
first = false;
|
| 10635 |
sb.append(")");
|
11391 |
sb.append(")");
|
| 10636 |
return sb.toString();
|
11392 |
return sb.toString();
|
| 10637 |
}
|
11393 |
}
|
| 10638 |
|
11394 |
|
| 10639 |
public void validate() throws org.apache.thrift.TException {
|
11395 |
public void validate() throws org.apache.thrift.TException {
|
| Line 10658... |
Line 11414... |
| 10658 |
}
|
11414 |
}
|
| 10659 |
}
|
11415 |
}
|
| 10660 |
|
11416 |
|
| 10661 |
}
|
11417 |
}
|
| 10662 |
|
11418 |
|
| 10663 |
public static class getAdwordsAdKeywordByCriterionId_result implements org.apache.thrift.TBase<getAdwordsAdKeywordByCriterionId_result, getAdwordsAdKeywordByCriterionId_result._Fields>, java.io.Serializable, Cloneable {
|
11419 |
public static class getAdwordsAdKeywordByCriterionIdAndAdGroupId_result implements org.apache.thrift.TBase<getAdwordsAdKeywordByCriterionIdAndAdGroupId_result, getAdwordsAdKeywordByCriterionIdAndAdGroupId_result._Fields>, java.io.Serializable, Cloneable {
|
| 10664 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAdwordsAdKeywordByCriterionId_result");
|
11420 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAdwordsAdKeywordByCriterionIdAndAdGroupId_result");
|
| 10665 |
|
11421 |
|
| 10666 |
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
|
11422 |
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
|
| 10667 |
private static final org.apache.thrift.protocol.TField GASEX_FIELD_DESC = new org.apache.thrift.protocol.TField("gasex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
|
11423 |
private static final org.apache.thrift.protocol.TField GASEX_FIELD_DESC = new org.apache.thrift.protocol.TField("gasex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
|
| 10668 |
|
11424 |
|
| 10669 |
private AdwordsAdKeyword success; // required
|
11425 |
private AdwordsAdKeyword success; // required
|
| Line 10738... |
Line 11494... |
| 10738 |
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
11494 |
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 10739 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AdwordsAdKeyword.class)));
|
11495 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AdwordsAdKeyword.class)));
|
| 10740 |
tmpMap.put(_Fields.GASEX, new org.apache.thrift.meta_data.FieldMetaData("gasex", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
11496 |
tmpMap.put(_Fields.GASEX, new org.apache.thrift.meta_data.FieldMetaData("gasex", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 10741 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
|
11497 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
|
| 10742 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
11498 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 10743 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAdwordsAdKeywordByCriterionId_result.class, metaDataMap);
|
11499 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAdwordsAdKeywordByCriterionIdAndAdGroupId_result.class, metaDataMap);
|
| 10744 |
}
|
11500 |
}
|
| 10745 |
|
11501 |
|
| 10746 |
public getAdwordsAdKeywordByCriterionId_result() {
|
11502 |
public getAdwordsAdKeywordByCriterionIdAndAdGroupId_result() {
|
| 10747 |
}
|
11503 |
}
|
| 10748 |
|
11504 |
|
| 10749 |
public getAdwordsAdKeywordByCriterionId_result(
|
11505 |
public getAdwordsAdKeywordByCriterionIdAndAdGroupId_result(
|
| 10750 |
AdwordsAdKeyword success,
|
11506 |
AdwordsAdKeyword success,
|
| 10751 |
GoogleAdwordsServiceException gasex)
|
11507 |
GoogleAdwordsServiceException gasex)
|
| 10752 |
{
|
11508 |
{
|
| 10753 |
this();
|
11509 |
this();
|
| 10754 |
this.success = success;
|
11510 |
this.success = success;
|
| Line 10756... |
Line 11512... |
| 10756 |
}
|
11512 |
}
|
| 10757 |
|
11513 |
|
| 10758 |
/**
|
11514 |
/**
|
| 10759 |
* Performs a deep copy on <i>other</i>.
|
11515 |
* Performs a deep copy on <i>other</i>.
|
| 10760 |
*/
|
11516 |
*/
|
| 10761 |
public getAdwordsAdKeywordByCriterionId_result(getAdwordsAdKeywordByCriterionId_result other) {
|
11517 |
public getAdwordsAdKeywordByCriterionIdAndAdGroupId_result(getAdwordsAdKeywordByCriterionIdAndAdGroupId_result other) {
|
| 10762 |
if (other.isSetSuccess()) {
|
11518 |
if (other.isSetSuccess()) {
|
| 10763 |
this.success = new AdwordsAdKeyword(other.success);
|
11519 |
this.success = new AdwordsAdKeyword(other.success);
|
| 10764 |
}
|
11520 |
}
|
| 10765 |
if (other.isSetGasex()) {
|
11521 |
if (other.isSetGasex()) {
|
| 10766 |
this.gasex = new GoogleAdwordsServiceException(other.gasex);
|
11522 |
this.gasex = new GoogleAdwordsServiceException(other.gasex);
|
| 10767 |
}
|
11523 |
}
|
| 10768 |
}
|
11524 |
}
|
| 10769 |
|
11525 |
|
| 10770 |
public getAdwordsAdKeywordByCriterionId_result deepCopy() {
|
11526 |
public getAdwordsAdKeywordByCriterionIdAndAdGroupId_result deepCopy() {
|
| 10771 |
return new getAdwordsAdKeywordByCriterionId_result(this);
|
11527 |
return new getAdwordsAdKeywordByCriterionIdAndAdGroupId_result(this);
|
| 10772 |
}
|
11528 |
}
|
| 10773 |
|
11529 |
|
| 10774 |
@Override
|
11530 |
@Override
|
| 10775 |
public void clear() {
|
11531 |
public void clear() {
|
| 10776 |
this.success = null;
|
11532 |
this.success = null;
|
| Line 10873... |
Line 11629... |
| 10873 |
|
11629 |
|
| 10874 |
@Override
|
11630 |
@Override
|
| 10875 |
public boolean equals(Object that) {
|
11631 |
public boolean equals(Object that) {
|
| 10876 |
if (that == null)
|
11632 |
if (that == null)
|
| 10877 |
return false;
|
11633 |
return false;
|
| 10878 |
if (that instanceof getAdwordsAdKeywordByCriterionId_result)
|
11634 |
if (that instanceof getAdwordsAdKeywordByCriterionIdAndAdGroupId_result)
|
| 10879 |
return this.equals((getAdwordsAdKeywordByCriterionId_result)that);
|
11635 |
return this.equals((getAdwordsAdKeywordByCriterionIdAndAdGroupId_result)that);
|
| 10880 |
return false;
|
11636 |
return false;
|
| 10881 |
}
|
11637 |
}
|
| 10882 |
|
11638 |
|
| 10883 |
public boolean equals(getAdwordsAdKeywordByCriterionId_result that) {
|
11639 |
public boolean equals(getAdwordsAdKeywordByCriterionIdAndAdGroupId_result that) {
|
| 10884 |
if (that == null)
|
11640 |
if (that == null)
|
| 10885 |
return false;
|
11641 |
return false;
|
| 10886 |
|
11642 |
|
| 10887 |
boolean this_present_success = true && this.isSetSuccess();
|
11643 |
boolean this_present_success = true && this.isSetSuccess();
|
| 10888 |
boolean that_present_success = true && that.isSetSuccess();
|
11644 |
boolean that_present_success = true && that.isSetSuccess();
|
| Line 10908... |
Line 11664... |
| 10908 |
@Override
|
11664 |
@Override
|
| 10909 |
public int hashCode() {
|
11665 |
public int hashCode() {
|
| 10910 |
return 0;
|
11666 |
return 0;
|
| 10911 |
}
|
11667 |
}
|
| 10912 |
|
11668 |
|
| 10913 |
public int compareTo(getAdwordsAdKeywordByCriterionId_result other) {
|
11669 |
public int compareTo(getAdwordsAdKeywordByCriterionIdAndAdGroupId_result other) {
|
| 10914 |
if (!getClass().equals(other.getClass())) {
|
11670 |
if (!getClass().equals(other.getClass())) {
|
| 10915 |
return getClass().getName().compareTo(other.getClass().getName());
|
11671 |
return getClass().getName().compareTo(other.getClass().getName());
|
| 10916 |
}
|
11672 |
}
|
| 10917 |
|
11673 |
|
| 10918 |
int lastComparison = 0;
|
11674 |
int lastComparison = 0;
|
| 10919 |
getAdwordsAdKeywordByCriterionId_result typedOther = (getAdwordsAdKeywordByCriterionId_result)other;
|
11675 |
getAdwordsAdKeywordByCriterionIdAndAdGroupId_result typedOther = (getAdwordsAdKeywordByCriterionIdAndAdGroupId_result)other;
|
| 10920 |
|
11676 |
|
| 10921 |
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
|
11677 |
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
|
| 10922 |
if (lastComparison != 0) {
|
11678 |
if (lastComparison != 0) {
|
| 10923 |
return lastComparison;
|
11679 |
return lastComparison;
|
| 10924 |
}
|
11680 |
}
|
| Line 10996... |
Line 11752... |
| 10996 |
oprot.writeStructEnd();
|
11752 |
oprot.writeStructEnd();
|
| 10997 |
}
|
11753 |
}
|
| 10998 |
|
11754 |
|
| 10999 |
@Override
|
11755 |
@Override
|
| 11000 |
public String toString() {
|
11756 |
public String toString() {
|
| 11001 |
StringBuilder sb = new StringBuilder("getAdwordsAdKeywordByCriterionId_result(");
|
11757 |
StringBuilder sb = new StringBuilder("getAdwordsAdKeywordByCriterionIdAndAdGroupId_result(");
|
| 11002 |
boolean first = true;
|
11758 |
boolean first = true;
|
| 11003 |
|
11759 |
|
| 11004 |
sb.append("success:");
|
11760 |
sb.append("success:");
|
| 11005 |
if (this.success == null) {
|
11761 |
if (this.success == null) {
|
| 11006 |
sb.append("null");
|
11762 |
sb.append("null");
|