1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v2/resources/mutate_job.proto 3 4package resources 5 6import ( 7 fmt "fmt" 8 math "math" 9 10 proto "github.com/golang/protobuf/proto" 11 wrappers "github.com/golang/protobuf/ptypes/wrappers" 12 enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" 13 _ "google.golang.org/genproto/googleapis/api/annotations" 14) 15 16// Reference imports to suppress errors if they are not otherwise used. 17var _ = proto.Marshal 18var _ = fmt.Errorf 19var _ = math.Inf 20 21// This is a compile-time assertion to ensure that this generated file 22// is compatible with the proto package it is being compiled against. 23// A compilation error at this line likely means your copy of the 24// proto package needs to be updated. 25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 26 27// A list of mutates being processed asynchronously. The mutates are uploaded 28// by the user. The mutates themselves aren't readable and the results of the 29// job can only be read using MutateJobService.ListMutateJobResults. 30type MutateJob struct { 31 // Immutable. The resource name of the mutate job. 32 // Mutate job resource names have the form: 33 // 34 // `customers/{customer_id}/mutateJobs/{mutate_job_id}` 35 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 36 // Output only. ID of this mutate job. 37 Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 38 // Output only. The next sequence token to use when adding operations. Only set when the 39 // mutate job status is PENDING. 40 NextAddSequenceToken *wrappers.StringValue `protobuf:"bytes,3,opt,name=next_add_sequence_token,json=nextAddSequenceToken,proto3" json:"next_add_sequence_token,omitempty"` 41 // Output only. Contains additional information about this mutate job. 42 Metadata *MutateJob_MutateJobMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` 43 // Output only. Status of this mutate job. 44 Status enums.MutateJobStatusEnum_MutateJobStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.MutateJobStatusEnum_MutateJobStatus" json:"status,omitempty"` 45 // Output only. The resource name of the long-running operation that can be used to poll 46 // for completion. Only set when the mutate job status is RUNNING or DONE. 47 LongRunningOperation *wrappers.StringValue `protobuf:"bytes,6,opt,name=long_running_operation,json=longRunningOperation,proto3" json:"long_running_operation,omitempty"` 48 XXX_NoUnkeyedLiteral struct{} `json:"-"` 49 XXX_unrecognized []byte `json:"-"` 50 XXX_sizecache int32 `json:"-"` 51} 52 53func (m *MutateJob) Reset() { *m = MutateJob{} } 54func (m *MutateJob) String() string { return proto.CompactTextString(m) } 55func (*MutateJob) ProtoMessage() {} 56func (*MutateJob) Descriptor() ([]byte, []int) { 57 return fileDescriptor_8b00c4276f3d9f90, []int{0} 58} 59 60func (m *MutateJob) XXX_Unmarshal(b []byte) error { 61 return xxx_messageInfo_MutateJob.Unmarshal(m, b) 62} 63func (m *MutateJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 64 return xxx_messageInfo_MutateJob.Marshal(b, m, deterministic) 65} 66func (m *MutateJob) XXX_Merge(src proto.Message) { 67 xxx_messageInfo_MutateJob.Merge(m, src) 68} 69func (m *MutateJob) XXX_Size() int { 70 return xxx_messageInfo_MutateJob.Size(m) 71} 72func (m *MutateJob) XXX_DiscardUnknown() { 73 xxx_messageInfo_MutateJob.DiscardUnknown(m) 74} 75 76var xxx_messageInfo_MutateJob proto.InternalMessageInfo 77 78func (m *MutateJob) GetResourceName() string { 79 if m != nil { 80 return m.ResourceName 81 } 82 return "" 83} 84 85func (m *MutateJob) GetId() *wrappers.Int64Value { 86 if m != nil { 87 return m.Id 88 } 89 return nil 90} 91 92func (m *MutateJob) GetNextAddSequenceToken() *wrappers.StringValue { 93 if m != nil { 94 return m.NextAddSequenceToken 95 } 96 return nil 97} 98 99func (m *MutateJob) GetMetadata() *MutateJob_MutateJobMetadata { 100 if m != nil { 101 return m.Metadata 102 } 103 return nil 104} 105 106func (m *MutateJob) GetStatus() enums.MutateJobStatusEnum_MutateJobStatus { 107 if m != nil { 108 return m.Status 109 } 110 return enums.MutateJobStatusEnum_UNSPECIFIED 111} 112 113func (m *MutateJob) GetLongRunningOperation() *wrappers.StringValue { 114 if m != nil { 115 return m.LongRunningOperation 116 } 117 return nil 118} 119 120// Additional information about the mutate job. This message is also used as 121// metadata returned in mutate job Long Running Operations. 122type MutateJob_MutateJobMetadata struct { 123 // Output only. The time when this mutate job was created. 124 // Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" 125 CreationDateTime *wrappers.StringValue `protobuf:"bytes,1,opt,name=creation_date_time,json=creationDateTime,proto3" json:"creation_date_time,omitempty"` 126 // Output only. The time when this mutate job was completed. 127 // Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" 128 CompletionDateTime *wrappers.StringValue `protobuf:"bytes,2,opt,name=completion_date_time,json=completionDateTime,proto3" json:"completion_date_time,omitempty"` 129 // Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. 130 // This is empty if the job hasn't started running yet. 131 EstimatedCompletionRatio *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=estimated_completion_ratio,json=estimatedCompletionRatio,proto3" json:"estimated_completion_ratio,omitempty"` 132 // Output only. The number of mutate operations in the mutate job. 133 OperationCount *wrappers.Int64Value `protobuf:"bytes,4,opt,name=operation_count,json=operationCount,proto3" json:"operation_count,omitempty"` 134 // Output only. The number of mutate operations executed by the mutate job. 135 // Present only if the job has started running. 136 ExecutedOperationCount *wrappers.Int64Value `protobuf:"bytes,5,opt,name=executed_operation_count,json=executedOperationCount,proto3" json:"executed_operation_count,omitempty"` 137 XXX_NoUnkeyedLiteral struct{} `json:"-"` 138 XXX_unrecognized []byte `json:"-"` 139 XXX_sizecache int32 `json:"-"` 140} 141 142func (m *MutateJob_MutateJobMetadata) Reset() { *m = MutateJob_MutateJobMetadata{} } 143func (m *MutateJob_MutateJobMetadata) String() string { return proto.CompactTextString(m) } 144func (*MutateJob_MutateJobMetadata) ProtoMessage() {} 145func (*MutateJob_MutateJobMetadata) Descriptor() ([]byte, []int) { 146 return fileDescriptor_8b00c4276f3d9f90, []int{0, 0} 147} 148 149func (m *MutateJob_MutateJobMetadata) XXX_Unmarshal(b []byte) error { 150 return xxx_messageInfo_MutateJob_MutateJobMetadata.Unmarshal(m, b) 151} 152func (m *MutateJob_MutateJobMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 153 return xxx_messageInfo_MutateJob_MutateJobMetadata.Marshal(b, m, deterministic) 154} 155func (m *MutateJob_MutateJobMetadata) XXX_Merge(src proto.Message) { 156 xxx_messageInfo_MutateJob_MutateJobMetadata.Merge(m, src) 157} 158func (m *MutateJob_MutateJobMetadata) XXX_Size() int { 159 return xxx_messageInfo_MutateJob_MutateJobMetadata.Size(m) 160} 161func (m *MutateJob_MutateJobMetadata) XXX_DiscardUnknown() { 162 xxx_messageInfo_MutateJob_MutateJobMetadata.DiscardUnknown(m) 163} 164 165var xxx_messageInfo_MutateJob_MutateJobMetadata proto.InternalMessageInfo 166 167func (m *MutateJob_MutateJobMetadata) GetCreationDateTime() *wrappers.StringValue { 168 if m != nil { 169 return m.CreationDateTime 170 } 171 return nil 172} 173 174func (m *MutateJob_MutateJobMetadata) GetCompletionDateTime() *wrappers.StringValue { 175 if m != nil { 176 return m.CompletionDateTime 177 } 178 return nil 179} 180 181func (m *MutateJob_MutateJobMetadata) GetEstimatedCompletionRatio() *wrappers.DoubleValue { 182 if m != nil { 183 return m.EstimatedCompletionRatio 184 } 185 return nil 186} 187 188func (m *MutateJob_MutateJobMetadata) GetOperationCount() *wrappers.Int64Value { 189 if m != nil { 190 return m.OperationCount 191 } 192 return nil 193} 194 195func (m *MutateJob_MutateJobMetadata) GetExecutedOperationCount() *wrappers.Int64Value { 196 if m != nil { 197 return m.ExecutedOperationCount 198 } 199 return nil 200} 201 202func init() { 203 proto.RegisterType((*MutateJob)(nil), "google.ads.googleads.v2.resources.MutateJob") 204 proto.RegisterType((*MutateJob_MutateJobMetadata)(nil), "google.ads.googleads.v2.resources.MutateJob.MutateJobMetadata") 205} 206 207func init() { 208 proto.RegisterFile("google/ads/googleads/v2/resources/mutate_job.proto", fileDescriptor_8b00c4276f3d9f90) 209} 210 211var fileDescriptor_8b00c4276f3d9f90 = []byte{ 212 // 666 bytes of a gzipped FileDescriptorProto 213 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xdd, 0x4e, 0xd4, 0x40, 214 0x14, 0xc7, 0xb3, 0xbb, 0x42, 0x60, 0x54, 0xd4, 0x09, 0xc1, 0xba, 0x12, 0x05, 0x22, 0x09, 0x31, 215 0xa6, 0x35, 0xf5, 0xe3, 0xa2, 0x26, 0x26, 0x5d, 0x30, 0x04, 0x12, 0x5c, 0xb2, 0x8b, 0xab, 0x21, 216 0x9b, 0x4c, 0xa6, 0x9d, 0x43, 0xad, 0xb6, 0x33, 0xb5, 0x33, 0x45, 0x12, 0xc2, 0xab, 0x78, 0xe1, 217 0xa5, 0x6f, 0xe1, 0xad, 0x4f, 0xc1, 0x35, 0x8f, 0xa0, 0x37, 0xa6, 0x5f, 0xb3, 0x2b, 0x04, 0xd9, 218 0xbb, 0xb3, 0x7b, 0xfe, 0xff, 0xdf, 0x39, 0xa7, 0x73, 0x66, 0x90, 0x1d, 0x08, 0x11, 0x44, 0x60, 219 0x51, 0x26, 0xad, 0x32, 0xcc, 0xa3, 0x43, 0xdb, 0x4a, 0x41, 0x8a, 0x2c, 0xf5, 0x41, 0x5a, 0x71, 220 0xa6, 0xa8, 0x02, 0xf2, 0x49, 0x78, 0x66, 0x92, 0x0a, 0x25, 0xf0, 0x72, 0x29, 0x34, 0x29, 0x93, 221 0xa6, 0xf6, 0x98, 0x87, 0xb6, 0xa9, 0x3d, 0xed, 0x17, 0x97, 0x61, 0x81, 0x67, 0xf1, 0x38, 0x92, 222 0x48, 0x45, 0x55, 0x26, 0x4b, 0x72, 0xfb, 0x61, 0x6d, 0x4b, 0x42, 0xeb, 0x20, 0x84, 0x88, 0x11, 223 0x0f, 0x3e, 0xd2, 0xc3, 0x50, 0xa4, 0x95, 0xe0, 0xde, 0x98, 0xa0, 0xae, 0x56, 0xa5, 0x1e, 0x54, 224 0xa9, 0xe2, 0x97, 0x97, 0x1d, 0x58, 0x5f, 0x53, 0x9a, 0x24, 0x90, 0xd6, 0xec, 0xc5, 0x31, 0x2b, 225 0xe5, 0x5c, 0x28, 0xaa, 0x42, 0xc1, 0xab, 0xec, 0xca, 0xb7, 0x19, 0x34, 0xbb, 0x53, 0x74, 0xb5, 226 0x2d, 0x3c, 0xdc, 0x45, 0x37, 0x6b, 0x3a, 0xe1, 0x34, 0x06, 0xa3, 0xb1, 0xd4, 0x58, 0x9b, 0xed, 227 0x3c, 0x3e, 0x75, 0xa7, 0x7e, 0xbb, 0x8f, 0xd0, 0xca, 0x68, 0xea, 0x2a, 0x4a, 0x42, 0x69, 0xfa, 228 0x22, 0xb6, 0x34, 0xa2, 0x77, 0xa3, 0x06, 0xbc, 0xa5, 0x31, 0xe0, 0xa7, 0xa8, 0x19, 0x32, 0xa3, 229 0xb9, 0xd4, 0x58, 0xbb, 0x6e, 0xdf, 0xaf, 0x4c, 0x66, 0xdd, 0xa9, 0xb9, 0xc5, 0xd5, 0xcb, 0xe7, 230 0x03, 0x1a, 0x65, 0xd0, 0x69, 0x9d, 0xba, 0xad, 0x5e, 0x33, 0x64, 0xf8, 0x03, 0xba, 0xcb, 0xe1, 231 0x48, 0x11, 0xca, 0x18, 0x91, 0xf0, 0x25, 0x03, 0xee, 0x03, 0x51, 0xe2, 0x33, 0x70, 0xa3, 0x55, 232 0x60, 0x16, 0x2f, 0x60, 0xfa, 0x2a, 0x0d, 0x79, 0x30, 0xc6, 0x99, 0xcf, 0x09, 0x2e, 0x63, 0xfd, 233 0xca, 0xbf, 0x97, 0xdb, 0x31, 0x41, 0x33, 0x31, 0x28, 0xca, 0xa8, 0xa2, 0xc6, 0xb5, 0x02, 0xf5, 234 0xda, 0xbc, 0xf2, 0x44, 0x4d, 0x3d, 0xd9, 0x28, 0xda, 0xa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 0x99, 0xdb, 246 0x9b, 0xe4, 0x86, 0xe2, 0x27, 0x7e, 0x26, 0x95, 0x88, 0x21, 0x95, 0xd6, 0x71, 0x1d, 0x9e, 0x54, 247 0x4f, 0xd3, 0xb6, 0xf0, 0xa4, 0x75, 0x3c, 0x7a, 0xa6, 0x4e, 0x3a, 0x7f, 0x1a, 0x68, 0xd5, 0x17, 248 0xf1, 0xd5, 0x37, 0xa5, 0x33, 0xa7, 0x4b, 0xec, 0xe6, 0xbd, 0xef, 0x36, 0xf6, 0xb7, 0x2b, 0x53, 249 0x20, 0x22, 0xca, 0x03, 0x53, 0xa4, 0x81, 0x15, 0x00, 0x2f, 0x26, 0xb3, 0x46, 0xed, 0xfd, 0xe7, 250 0x0d, 0x7e, 0xa5, 0xa3, 0xef, 0xcd, 0xd6, 0xa6, 0xeb, 0xfe, 0x68, 0x2e, 0x6f, 0x96, 0x48, 0x97, 251 0x49, 0xb3, 0x0c, 0xf3, 0x68, 0x60, 0x9b, 0xbd, 0x5a, 0xf9, 0xab, 0xd6, 0x0c, 0x5d, 0x26, 0x87, 252 0x5a, 0x33, 0x1c, 0xd8, 0x43, 0xad, 0x39, 0x6b, 0xae, 0x96, 0x09, 0xc7, 0x71, 0x99, 0x74, 0x1c, 253 0xad, 0x72, 0x9c, 0x81, 0xed, 0x38, 0x5a, 0xe7, 0x4d, 0x17, 0xcd, 0x3e, 0xfb, 0x1b, 0x00, 0x00, 254 0xff, 0xff, 0x3b, 0x9b, 0xdb, 0xb8, 0x2f, 0x06, 0x00, 0x00, 255} 256