You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

203 lines
9.3 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/resources/change_status.proto
  3. package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import wrappers "github.com/golang/protobuf/ptypes/wrappers"
  8. import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  18. // Describes the status of returned resource.
  19. type ChangeStatus struct {
  20. // The resource name of the change status.
  21. // Change status resource names have the form:
  22. //
  23. // `customers/{customer_id}/changeStatus/{change_status_id}`
  24. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  25. // Time at which the most recent change has occurred on this resource.
  26. LastChangeDateTime *wrappers.StringValue `protobuf:"bytes,3,opt,name=last_change_date_time,json=lastChangeDateTime,proto3" json:"last_change_date_time,omitempty"`
  27. // Represents the type of the changed resource. This dictates what fields
  28. // will be set. For example, for AD_GROUP, campaign and ad_group fields will
  29. // be set.
  30. ResourceType enums.ChangeStatusResourceTypeEnum_ChangeStatusResourceType `protobuf:"varint,4,opt,name=resource_type,json=resourceType,proto3,enum=google.ads.googleads.v0.enums.ChangeStatusResourceTypeEnum_ChangeStatusResourceType" json:"resource_type,omitempty"`
  31. // The Campaign affected by this change.
  32. Campaign *wrappers.StringValue `protobuf:"bytes,5,opt,name=campaign,proto3" json:"campaign,omitempty"`
  33. // The AdGroup affected by this change.
  34. AdGroup *wrappers.StringValue `protobuf:"bytes,6,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"`
  35. // Represents the status of the changed resource.
  36. ResourceStatus enums.ChangeStatusOperationEnum_ChangeStatusOperation `protobuf:"varint,8,opt,name=resource_status,json=resourceStatus,proto3,enum=google.ads.googleads.v0.enums.ChangeStatusOperationEnum_ChangeStatusOperation" json:"resource_status,omitempty"`
  37. // The AdGroupAd affected by this change.
  38. AdGroupAd *wrappers.StringValue `protobuf:"bytes,9,opt,name=ad_group_ad,json=adGroupAd,proto3" json:"ad_group_ad,omitempty"`
  39. // The AdGroupCriterion affected by this change.
  40. AdGroupCriterion *wrappers.StringValue `protobuf:"bytes,10,opt,name=ad_group_criterion,json=adGroupCriterion,proto3" json:"ad_group_criterion,omitempty"`
  41. // The CampaignCriterion affected by this change.
  42. CampaignCriterion *wrappers.StringValue `protobuf:"bytes,11,opt,name=campaign_criterion,json=campaignCriterion,proto3" json:"campaign_criterion,omitempty"`
  43. // The Feed affected by this change.
  44. Feed *wrappers.StringValue `protobuf:"bytes,12,opt,name=feed,proto3" json:"feed,omitempty"`
  45. // The FeedItem affected by this change.
  46. FeedItem *wrappers.StringValue `protobuf:"bytes,13,opt,name=feed_item,json=feedItem,proto3" json:"feed_item,omitempty"`
  47. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  48. XXX_unrecognized []byte `json:"-"`
  49. XXX_sizecache int32 `json:"-"`
  50. }
  51. func (m *ChangeStatus) Reset() { *m = ChangeStatus{} }
  52. func (m *ChangeStatus) String() string { return proto.CompactTextString(m) }
  53. func (*ChangeStatus) ProtoMessage() {}
  54. func (*ChangeStatus) Descriptor() ([]byte, []int) {
  55. return fileDescriptor_change_status_835f588a9485472b, []int{0}
  56. }
  57. func (m *ChangeStatus) XXX_Unmarshal(b []byte) error {
  58. return xxx_messageInfo_ChangeStatus.Unmarshal(m, b)
  59. }
  60. func (m *ChangeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  61. return xxx_messageInfo_ChangeStatus.Marshal(b, m, deterministic)
  62. }
  63. func (dst *ChangeStatus) XXX_Merge(src proto.Message) {
  64. xxx_messageInfo_ChangeStatus.Merge(dst, src)
  65. }
  66. func (m *ChangeStatus) XXX_Size() int {
  67. return xxx_messageInfo_ChangeStatus.Size(m)
  68. }
  69. func (m *ChangeStatus) XXX_DiscardUnknown() {
  70. xxx_messageInfo_ChangeStatus.DiscardUnknown(m)
  71. }
  72. var xxx_messageInfo_ChangeStatus proto.InternalMessageInfo
  73. func (m *ChangeStatus) GetResourceName() string {
  74. if m != nil {
  75. return m.ResourceName
  76. }
  77. return ""
  78. }
  79. func (m *ChangeStatus) GetLastChangeDateTime() *wrappers.StringValue {
  80. if m != nil {
  81. return m.LastChangeDateTime
  82. }
  83. return nil
  84. }
  85. func (m *ChangeStatus) GetResourceType() enums.ChangeStatusResourceTypeEnum_ChangeStatusResourceType {
  86. if m != nil {
  87. return m.ResourceType
  88. }
  89. return enums.ChangeStatusResourceTypeEnum_UNSPECIFIED
  90. }
  91. func (m *ChangeStatus) GetCampaign() *wrappers.StringValue {
  92. if m != nil {
  93. return m.Campaign
  94. }
  95. return nil
  96. }
  97. func (m *ChangeStatus) GetAdGroup() *wrappers.StringValue {
  98. if m != nil {
  99. return m.AdGroup
  100. }
  101. return nil
  102. }
  103. func (m *ChangeStatus) GetResourceStatus() enums.ChangeStatusOperationEnum_ChangeStatusOperation {
  104. if m != nil {
  105. return m.ResourceStatus
  106. }
  107. return enums.ChangeStatusOperationEnum_UNSPECIFIED
  108. }
  109. func (m *ChangeStatus) GetAdGroupAd() *wrappers.StringValue {
  110. if m != nil {
  111. return m.AdGroupAd
  112. }
  113. return nil
  114. }
  115. func (m *ChangeStatus) GetAdGroupCriterion() *wrappers.StringValue {
  116. if m != nil {
  117. return m.AdGroupCriterion
  118. }
  119. return nil
  120. }
  121. func (m *ChangeStatus) GetCampaignCriterion() *wrappers.StringValue {
  122. if m != nil {
  123. return m.CampaignCriterion
  124. }
  125. return nil
  126. }
  127. func (m *ChangeStatus) GetFeed() *wrappers.StringValue {
  128. if m != nil {
  129. return m.Feed
  130. }
  131. return nil
  132. }
  133. func (m *ChangeStatus) GetFeedItem() *wrappers.StringValue {
  134. if m != nil {
  135. return m.FeedItem
  136. }
  137. return nil
  138. }
  139. func init() {
  140. proto.RegisterType((*ChangeStatus)(nil), "google.ads.googleads.v0.resources.ChangeStatus")
  141. }
  142. func init() {
  143. proto.RegisterFile("google/ads/googleads/v0/resources/change_status.proto", fileDescriptor_change_status_835f588a9485472b)
  144. }
  145. var fileDescriptor_change_status_835f588a9485472b = []byte{
  146. // 535 bytes of a gzipped FileDescriptorProto
  147. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xd1, 0x6a, 0xdb, 0x30,
  148. 0x14, 0x86, 0x71, 0xda, 0x65, 0x89, 0x92, 0x76, 0xab, 0x60, 0x60, 0xca, 0x18, 0xe9, 0x46, 0x21,
  149. 0x57, 0xb2, 0xe9, 0x18, 0xdb, 0xdc, 0xc1, 0x70, 0xbb, 0x11, 0xd6, 0x41, 0x5b, 0xd2, 0x90, 0x8b,
  150. 0x11, 0x30, 0x6a, 0x74, 0xea, 0x19, 0x62, 0xcb, 0x48, 0x72, 0x4b, 0x5e, 0x67, 0x97, 0xbb, 0xd9,
  151. 0x7b, 0xec, 0x51, 0xf6, 0x10, 0x63, 0xd8, 0x96, 0xd4, 0xb0, 0x91, 0xd5, 0xbd, 0xca, 0x51, 0xf4,
  152. 0xff, 0xdf, 0x39, 0x47, 0x47, 0x32, 0x7a, 0x15, 0x73, 0x1e, 0x2f, 0xc0, 0xa3, 0x4c, 0x7a, 0x75,
  153. 0x58, 0x46, 0xd7, 0xbe, 0x27, 0x40, 0xf2, 0x42, 0xcc, 0x41, 0x7a, 0xf3, 0xaf, 0x34, 0x8b, 0x21,
  154. 0x92, 0x8a, 0xaa, 0x42, 0x92, 0x5c, 0x70, 0xc5, 0xf1, 0x5e, 0xad, 0x25, 0x94, 0x49, 0x62, 0x6d,
  155. 0xe4, 0xda, 0x27, 0xd6, 0xb6, 0x7b, 0xb8, 0x8e, 0x0c, 0x59, 0x91, 0xfe, 0x45, 0x8d, 0x78, 0x0e,
  156. 0x82, 0xaa, 0x84, 0x67, 0x35, 0x7f, 0xf7, 0xfd, 0x7d, 0xcc, 0x26, 0x67, 0xa4, 0x96, 0x39, 0x68,
  157. 0xc0, 0x33, 0x0d, 0xa8, 0x56, 0x97, 0xc5, 0x95, 0x77, 0x23, 0x68, 0x9e, 0x83, 0xd0, 0x0d, 0x3c,
  158. 0xff, 0xd1, 0x46, 0xfd, 0xe3, 0x8a, 0x72, 0x51, 0x41, 0xf0, 0x0b, 0xb4, 0x65, 0x39, 0x19, 0x4d,
  159. 0xc1, 0x75, 0x06, 0xce, 0xb0, 0x3b, 0xee, 0x9b, 0x3f, 0x4f, 0x69, 0x0a, 0xf8, 0x0c, 0x3d, 0x59,
  160. 0x50, 0xa9, 0x22, 0x9d, 0x9f, 0x51, 0x05, 0x91, 0x4a, 0x52, 0x70, 0x37, 0x06, 0xce, 0xb0, 0x77,
  161. 0xf0, 0x54, 0x9f, 0x05, 0x31, 0x59, 0xc9, 0x85, 0x12, 0x49, 0x16, 0x4f, 0xe9, 0xa2, 0x80, 0x31,
  162. 0x2e, 0xad, 0x75, 0xce, 0x0f, 0x54, 0xc1, 0x24, 0x49, 0x01, 0x2f, 0x57, 0xb2, 0x96, 0xd5, 0xbb,
  163. 0x9b, 0x03, 0x67, 0xb8, 0x7d, 0x30, 0x21, 0xeb, 0xce, 0xb7, 0xea, 0x9f, 0xac, 0x56, 0x3e, 0xd6,
  164. 0xfe, 0xc9, 0x32, 0x87, 0x8f, 0x59, 0x91, 0xae, 0xdd, 0xbc, 0xed, 0xa5, 0x5c, 0xe1, 0x37, 0xa8,
  165. 0x33, 0xa7, 0x69, 0x4e, 0x93, 0x38, 0x73, 0x1f, 0x34, 0x28, 0xdf, 0xaa, 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x1a, 0x19, 0x32, 0x49, 0xea, 0xb0,
  177. 0x8c, 0xa6, 0x3e, 0x31, 0xb7, 0x5e, 0xfe, 0x34, 0x9a, 0x59, 0xc8, 0xe4, 0xcc, 0x6a, 0x66, 0x53,
  178. 0x7f, 0x66, 0x35, 0xbf, 0x5a, 0xfb, 0xf5, 0x46, 0x10, 0x84, 0x4c, 0x06, 0x81, 0x55, 0x05, 0xc1,
  179. 0xd4, 0x0f, 0x02, 0xab, 0xbb, 0x6c, 0x57, 0xc5, 0xbe, 0xfc, 0x13, 0x00, 0x00, 0xff, 0xff, 0x21,
  180. 0xc6, 0x81, 0xba, 0x33, 0x05, 0x00, 0x00,
  181. }