Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

213 rader
10 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/resources/mutate_job.proto
  3. package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v1/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/v1/enums"
  9. import _ "google.golang.org/genproto/googleapis/api/annotations"
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  19. // A list of mutates being processed asynchronously. The mutates are uploaded
  20. // by the user. The mutates themselves aren’t readable and the results of the
  21. // job can only be read using MutateJobService.ListMutateJobResults.
  22. type MutateJob struct {
  23. // The resource name of the mutate job.
  24. // Mutate job resource names have the form:
  25. //
  26. // `customers/{customer_id}/mutateJobs/{mutate_job_id}`
  27. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  28. // ID of this mutate job.
  29. Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  30. // The next sequence token to use when adding operations. Only set when the
  31. // mutate job status is PENDING.
  32. NextAddSequenceToken *wrappers.StringValue `protobuf:"bytes,3,opt,name=next_add_sequence_token,json=nextAddSequenceToken,proto3" json:"next_add_sequence_token,omitempty"`
  33. // Contains additional information about this mutate job.
  34. Metadata *MutateJob_MutateJobMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
  35. // Status of this mutate job.
  36. Status enums.MutateJobStatusEnum_MutateJobStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.MutateJobStatusEnum_MutateJobStatus" json:"status,omitempty"`
  37. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  38. XXX_unrecognized []byte `json:"-"`
  39. XXX_sizecache int32 `json:"-"`
  40. }
  41. func (m *MutateJob) Reset() { *m = MutateJob{} }
  42. func (m *MutateJob) String() string { return proto.CompactTextString(m) }
  43. func (*MutateJob) ProtoMessage() {}
  44. func (*MutateJob) Descriptor() ([]byte, []int) {
  45. return fileDescriptor_mutate_job_d4fbd659e595845f, []int{0}
  46. }
  47. func (m *MutateJob) XXX_Unmarshal(b []byte) error {
  48. return xxx_messageInfo_MutateJob.Unmarshal(m, b)
  49. }
  50. func (m *MutateJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  51. return xxx_messageInfo_MutateJob.Marshal(b, m, deterministic)
  52. }
  53. func (dst *MutateJob) XXX_Merge(src proto.Message) {
  54. xxx_messageInfo_MutateJob.Merge(dst, src)
  55. }
  56. func (m *MutateJob) XXX_Size() int {
  57. return xxx_messageInfo_MutateJob.Size(m)
  58. }
  59. func (m *MutateJob) XXX_DiscardUnknown() {
  60. xxx_messageInfo_MutateJob.DiscardUnknown(m)
  61. }
  62. var xxx_messageInfo_MutateJob proto.InternalMessageInfo
  63. func (m *MutateJob) GetResourceName() string {
  64. if m != nil {
  65. return m.ResourceName
  66. }
  67. return ""
  68. }
  69. func (m *MutateJob) GetId() *wrappers.Int64Value {
  70. if m != nil {
  71. return m.Id
  72. }
  73. return nil
  74. }
  75. func (m *MutateJob) GetNextAddSequenceToken() *wrappers.StringValue {
  76. if m != nil {
  77. return m.NextAddSequenceToken
  78. }
  79. return nil
  80. }
  81. func (m *MutateJob) GetMetadata() *MutateJob_MutateJobMetadata {
  82. if m != nil {
  83. return m.Metadata
  84. }
  85. return nil
  86. }
  87. func (m *MutateJob) GetStatus() enums.MutateJobStatusEnum_MutateJobStatus {
  88. if m != nil {
  89. return m.Status
  90. }
  91. return enums.MutateJobStatusEnum_UNSPECIFIED
  92. }
  93. // Additional information about the mutate job. This message is also used as
  94. // metadata returned in mutate job Long Running Operations.
  95. type MutateJob_MutateJobMetadata struct {
  96. // The time when this mutate job was created.
  97. // Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00"
  98. CreationDateTime *wrappers.StringValue `protobuf:"bytes,1,opt,name=creation_date_time,json=creationDateTime,proto3" json:"creation_date_time,omitempty"`
  99. // The time when this mutate job was completed.
  100. // Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00"
  101. CompletionDateTime *wrappers.StringValue `protobuf:"bytes,2,opt,name=completion_date_time,json=completionDateTime,proto3" json:"completion_date_time,omitempty"`
  102. // The fraction (between 0.0 and 1.0) of mutates that have been processed.
  103. // This is empty if the job hasn't started running yet.
  104. EstimatedCompletionRatio *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=estimated_completion_ratio,json=estimatedCompletionRatio,proto3" json:"estimated_completion_ratio,omitempty"`
  105. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  106. XXX_unrecognized []byte `json:"-"`
  107. XXX_sizecache int32 `json:"-"`
  108. }
  109. func (m *MutateJob_MutateJobMetadata) Reset() { *m = MutateJob_MutateJobMetadata{} }
  110. func (m *MutateJob_MutateJobMetadata) String() string { return proto.CompactTextString(m) }
  111. func (*MutateJob_MutateJobMetadata) ProtoMessage() {}
  112. func (*MutateJob_MutateJobMetadata) Descriptor() ([]byte, []int) {
  113. return fileDescriptor_mutate_job_d4fbd659e595845f, []int{0, 0}
  114. }
  115. func (m *MutateJob_MutateJobMetadata) XXX_Unmarshal(b []byte) error {
  116. return xxx_messageInfo_MutateJob_MutateJobMetadata.Unmarshal(m, b)
  117. }
  118. func (m *MutateJob_MutateJobMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  119. return xxx_messageInfo_MutateJob_MutateJobMetadata.Marshal(b, m, deterministic)
  120. }
  121. func (dst *MutateJob_MutateJobMetadata) XXX_Merge(src proto.Message) {
  122. xxx_messageInfo_MutateJob_MutateJobMetadata.Merge(dst, src)
  123. }
  124. func (m *MutateJob_MutateJobMetadata) XXX_Size() int {
  125. return xxx_messageInfo_MutateJob_MutateJobMetadata.Size(m)
  126. }
  127. func (m *MutateJob_MutateJobMetadata) XXX_DiscardUnknown() {
  128. xxx_messageInfo_MutateJob_MutateJobMetadata.DiscardUnknown(m)
  129. }
  130. var xxx_messageInfo_MutateJob_MutateJobMetadata proto.InternalMessageInfo
  131. func (m *MutateJob_MutateJobMetadata) GetCreationDateTime() *wrappers.StringValue {
  132. if m != nil {
  133. return m.CreationDateTime
  134. }
  135. return nil
  136. }
  137. func (m *MutateJob_MutateJobMetadata) GetCompletionDateTime() *wrappers.StringValue {
  138. if m != nil {
  139. return m.CompletionDateTime
  140. }
  141. return nil
  142. }
  143. func (m *MutateJob_MutateJobMetadata) GetEstimatedCompletionRatio() *wrappers.DoubleValue {
  144. if m != nil {
  145. return m.EstimatedCompletionRatio
  146. }
  147. return nil
  148. }
  149. func init() {
  150. proto.RegisterType((*MutateJob)(nil), "google.ads.googleads.v1.resources.MutateJob")
  151. proto.RegisterType((*MutateJob_MutateJobMetadata)(nil), "google.ads.googleads.v1.resources.MutateJob.MutateJobMetadata")
  152. }
  153. func init() {
  154. proto.RegisterFile("google/ads/googleads/v1/resources/mutate_job.proto", fileDescriptor_mutate_job_d4fbd659e595845f)
  155. }
  156. var fileDescriptor_mutate_job_d4fbd659e595845f = []byte{
  157. // 514 bytes of a gzipped FileDescriptorProto
  158. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdd, 0x6a, 0xd4, 0x40,
  159. 0x14, 0xc7, 0x49, 0x5a, 0x8b, 0x1d, 0xb5, 0xe8, 0x50, 0x30, 0xac, 0x45, 0xb6, 0x4a, 0x61, 0x41,
  160. 0x98, 0x90, 0xf5, 0xe3, 0x22, 0x82, 0x90, 0xb5, 0x52, 0x5c, 0x68, 0x29, 0xd9, 0xb2, 0x17, 0xcb,
  161. 0x42, 0x98, 0x64, 0x8e, 0x21, 0x9a, 0x99, 0x89, 0x99, 0x49, 0xf5, 0x1d, 0x7c, 0x0b, 0x2f, 0x7d,
  162. 0x14, 0x1f, 0xc5, 0x27, 0x10, 0xbc, 0x91, 0x7c, 0xcd, 0x96, 0x96, 0x75, 0xbd, 0x3b, 0xc9, 0xfc,
  163. 0x7f, 0xbf, 0x33, 0x39, 0x87, 0xa0, 0x71, 0x2a, 0x65, 0x9a, 0x83, 0x4b, 0x99, 0x72, 0xdb, 0xb2,
  164. 0xae, 0x2e, 0x3d, 0xb7, 0x04, 0x25, 0xab, 0x32, 0x01, 0xe5, 0xf2, 0x4a, 0x53, 0x0d, 0xd1, 0x47,
  165. 0x19, 0x93, 0xa2, 0x94, 0x5a, 0xe2, 0xc3, 0x36, 0x48, 0x28, 0x53, 0xc4, 0x30, 0xe4, 0xd2, 0x23,
  166. 0x86, 0x19, 0xbc, 0x5c, 0xa7, 0x05, 0x51, 0xf1, 0xab, 0xca, 0x48, 0x69, 0xaa, 0x2b, 0xd5, 0x9a,
  167. 0x07, 0x8f, 0x3b, 0xac, 0x79, 0x8a, 0xab, 0x0f, 0xee, 0x97, 0x92, 0x16, 0x05, 0x94, 0xfd, 0xf9,
  168. 0x41, 0xaf, 0x2d, 0x32, 0x97, 0x0a, 0x21, 0x35, 0xd5, 0x99, 0x14, 0xdd, 0xe9, 0x93, 0xdf, 0xdb,
  169. 0x68, 0xf7, 0xb4, 0x31, 0x4f, 0x65, 0x8c, 0x9f, 0xa2, 0x7b, 0xfd, 0x7d, 0x22, 0x41, 0x39, 0x38,
  170. 0xd6, 0xd0, 0x1a, 0xed, 0x86, 0x77, 0xfb, 0x97, 0x67, 0x94, 0x03, 0x7e, 0x86, 0xec, 0x8c, 0x39,
  171. 0xf6, 0xd0, 0x1a, 0xdd, 0x19, 0x3f, 0xea, 0x3e, 0x86, 0xf4, 0xdd, 0xc9, 0x7b, 0xa1, 0x5f, 0xbd,
  172. 0x98, 0xd3, 0xbc, 0x82, 0xd0, 0xce, 0x18, 0x9e, 0xa1, 0x87, 0x02, 0xbe, 0xea, 0x88, 0x32, 0x16,
  173. 0x29, 0xf8, 0x5c, 0x81, 0x48, 0x20, 0xd2, 0xf2, 0x13, 0x08, 0x67, 0xab, 0x31, 0x1c, 0xdc, 0x30,
  174. 0xcc, 0x74, 0x99, 0x89, 0xb4, 0x55, 0xec, 0xd7, 0x70, 0xc0, 0xd8, 0xac, 0x43, 0x2f, 0x6a, 0x12,
  175. 0x2f, 0xd0, 0x6d, 0x0e, 0x9a, 0x32, 0xaa, 0xa9, 0xb3, 0xdd, 0x58, 0xde, 0x90, 0x8d, 0xf3, 0x25,
  176. 0xe6, 0x33, 0x57, 0xd5, 0x69, 0x67, 0x09, 0x8d, 0x0f, 0x2f, 0xd0, 0x4e, 0x3b, 0x5e, 0xe7, 0xd6,
  177. 0xd0, 0x1a, 0xed, 0x8d, 0x27, 0x6b, 0xcd, 0xcd, 0x5a, 0x56, 0xae, 0x59, 0x43, 0xbd, 0x13, 0x15,
  178. 0xbf, 0xfe, 0x2e, 0xec, 0x8c, 0x83, 0x6f, 0x36, 0x7a, 0x70, 0xa3, 0x37, 0x9e, 0x22, 0x9c, 0x94,
  179. 0xd0, 0x6c, 0x25, 0x62, 0xf5, 0x8a, 0x75, 0xd6, 0x4d, 0x7e, 0xd3, 0x74, 0xee, 0xf7, 0xdc, 0x31,
  180. 0xd5, 0x70, 0x91, 0x71, 0xc0, 0x67, 0x68, 0x3f, 0x91, 0xbc, 0xc8, 0xe1, 0x9a, 0xcd, 0xfe, 0x0f,
  181. 0x1b, 0x5e, 0x91, 0xc6, 0xb7, 0x40, 0x03, 0x50, 0x3a, 0xe3, 0x54, 0x03, 0x8b, 0xae, 0x98, 0xcb,
  182. 0xba, 0xed, 0xda, 0x0d, 0x1e, 0xcb, 0x2a, 0xce, 0xa1, 0xb5, 0x3a, 0x86, 0x7f, 0x6b, 0xf0, 0xb0,
  183. 0xa6, 0x27, 0x7f, 0x2c, 0x74, 0x94, 0x48, 0xbe, 0x79, 0x73, 0x93, 0x3d, 0x33, 0xb4, 0xf3, 0xba,
  184. 0xc5, 0xb9, 0xb5, 0x98, 0x76, 0x50, 0x2a, 0x73, 0x2a, 0x52, 0x22, 0xcb, 0xd4, 0x4d, 0x41, 0x34,
  185. 0x17, 0xe8, 0xff, 0x9d, 0x22, 0x53, 0xff, 0xf8, 0x43, 0x5f, 0x9b, 0xea, 0xbb, 0xbd, 0x75, 0x12,
  186. 0x04, 0x3f, 0xec, 0xc3, 0x93, 0x56, 0x19, 0x30, 0x45, 0xda, 0xb2, 0xae, 0xe6, 0x1e, 0x09, 0xfb,
  187. 0xe4, 0xcf, 0x3e, 0xb3, 0x0c, 0x98, 0x5a, 0x9a, 0xcc, 0x72, 0xee, 0x2d, 0x4d, 0xe6, 0x97, 0x7d,
  188. 0xd4, 0x1e, 0xf8, 0x7e, 0xc0, 0x94, 0xef, 0x9b, 0x94, 0xef, 0xcf, 0x3d, 0xdf, 0x37, 0xb9, 0x78,
  189. 0xa7, 0xb9, 0xec, 0xf3, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb9, 0x83, 0x65, 0xde, 0x4d, 0x04,
  190. 0x00, 0x00,
  191. }