| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/resources/offline_user_data_job.proto |
| |
| package resources |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| common "google.golang.org/genproto/googleapis/ads/googleads/v3/common" |
| enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // A job containing offline user data of store visitors, or user list members |
| // that will be processed asynchronously. The uploaded data isn't readable and |
| // the processing results of the job can only be read using |
| // OfflineUserDataJobService.GetOfflineUserDataJob. |
| type OfflineUserDataJob struct { |
| // Immutable. The resource name of the offline user data job. |
| // Offline user data job resource names have the form: |
| // |
| // `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| // Output only. ID of this offline user data job. |
| Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` |
| // Output only. User specified job ID. |
| ExternalId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` |
| // Output only. Type of the job. |
| Type enums.OfflineUserDataJobTypeEnum_OfflineUserDataJobType `protobuf:"varint,4,opt,name=type,proto3,enum=google.ads.googleads.v3.enums.OfflineUserDataJobTypeEnum_OfflineUserDataJobType" json:"type,omitempty"` |
| // Output only. Status of the job. |
| Status enums.OfflineUserDataJobStatusEnum_OfflineUserDataJobStatus `protobuf:"varint,5,opt,name=status,proto3,enum=google.ads.googleads.v3.enums.OfflineUserDataJobStatusEnum_OfflineUserDataJobStatus" json:"status,omitempty"` |
| // Output only. Reason for the processing failure, if status is FAILED. |
| FailureReason enums.OfflineUserDataJobFailureReasonEnum_OfflineUserDataJobFailureReason `protobuf:"varint,6,opt,name=failure_reason,json=failureReason,proto3,enum=google.ads.googleads.v3.enums.OfflineUserDataJobFailureReasonEnum_OfflineUserDataJobFailureReason" json:"failure_reason,omitempty"` |
| // Metadata of the job. |
| // |
| // Types that are valid to be assigned to Metadata: |
| // *OfflineUserDataJob_CustomerMatchUserListMetadata |
| // *OfflineUserDataJob_StoreSalesMetadata |
| Metadata isOfflineUserDataJob_Metadata `protobuf_oneof:"metadata"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *OfflineUserDataJob) Reset() { *m = OfflineUserDataJob{} } |
| func (m *OfflineUserDataJob) String() string { return proto.CompactTextString(m) } |
| func (*OfflineUserDataJob) ProtoMessage() {} |
| func (*OfflineUserDataJob) Descriptor() ([]byte, []int) { |
| return fileDescriptor_f7a781c59cc1896d, []int{0} |
| } |
| |
| func (m *OfflineUserDataJob) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_OfflineUserDataJob.Unmarshal(m, b) |
| } |
| func (m *OfflineUserDataJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_OfflineUserDataJob.Marshal(b, m, deterministic) |
| } |
| func (m *OfflineUserDataJob) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_OfflineUserDataJob.Merge(m, src) |
| } |
| func (m *OfflineUserDataJob) XXX_Size() int { |
| return xxx_messageInfo_OfflineUserDataJob.Size(m) |
| } |
| func (m *OfflineUserDataJob) XXX_DiscardUnknown() { |
| xxx_messageInfo_OfflineUserDataJob.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_OfflineUserDataJob proto.InternalMessageInfo |
| |
| func (m *OfflineUserDataJob) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func (m *OfflineUserDataJob) GetId() *wrappers.Int64Value { |
| if m != nil { |
| return m.Id |
| } |
| return nil |
| } |
| |
| func (m *OfflineUserDataJob) GetExternalId() *wrappers.Int64Value { |
| if m != nil { |
| return m.ExternalId |
| } |
| return nil |
| } |
| |
| func (m *OfflineUserDataJob) GetType() enums.OfflineUserDataJobTypeEnum_OfflineUserDataJobType { |
| if m != nil { |
| return m.Type |
| } |
| return enums.OfflineUserDataJobTypeEnum_UNSPECIFIED |
| } |
| |
| func (m *OfflineUserDataJob) GetStatus() enums.OfflineUserDataJobStatusEnum_OfflineUserDataJobStatus { |
| if m != nil { |
| return m.Status |
| } |
| return enums.OfflineUserDataJobStatusEnum_UNSPECIFIED |
| } |
| |
| func (m *OfflineUserDataJob) GetFailureReason() enums.OfflineUserDataJobFailureReasonEnum_OfflineUserDataJobFailureReason { |
| if m != nil { |
| return m.FailureReason |
| } |
| return enums.OfflineUserDataJobFailureReasonEnum_UNSPECIFIED |
| } |
| |
| type isOfflineUserDataJob_Metadata interface { |
| isOfflineUserDataJob_Metadata() |
| } |
| |
| type OfflineUserDataJob_CustomerMatchUserListMetadata struct { |
| CustomerMatchUserListMetadata *common.CustomerMatchUserListMetadata `protobuf:"bytes,7,opt,name=customer_match_user_list_metadata,json=customerMatchUserListMetadata,proto3,oneof"` |
| } |
| |
| type OfflineUserDataJob_StoreSalesMetadata struct { |
| StoreSalesMetadata *common.StoreSalesMetadata `protobuf:"bytes,8,opt,name=store_sales_metadata,json=storeSalesMetadata,proto3,oneof"` |
| } |
| |
| func (*OfflineUserDataJob_CustomerMatchUserListMetadata) isOfflineUserDataJob_Metadata() {} |
| |
| func (*OfflineUserDataJob_StoreSalesMetadata) isOfflineUserDataJob_Metadata() {} |
| |
| func (m *OfflineUserDataJob) GetMetadata() isOfflineUserDataJob_Metadata { |
| if m != nil { |
| return m.Metadata |
| } |
| return nil |
| } |
| |
| func (m *OfflineUserDataJob) GetCustomerMatchUserListMetadata() *common.CustomerMatchUserListMetadata { |
| if x, ok := m.GetMetadata().(*OfflineUserDataJob_CustomerMatchUserListMetadata); ok { |
| return x.CustomerMatchUserListMetadata |
| } |
| return nil |
| } |
| |
| func (m *OfflineUserDataJob) GetStoreSalesMetadata() *common.StoreSalesMetadata { |
| if x, ok := m.GetMetadata().(*OfflineUserDataJob_StoreSalesMetadata); ok { |
| return x.StoreSalesMetadata |
| } |
| return nil |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*OfflineUserDataJob) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*OfflineUserDataJob_CustomerMatchUserListMetadata)(nil), |
| (*OfflineUserDataJob_StoreSalesMetadata)(nil), |
| } |
| } |
| |
| func init() { |
| proto.RegisterType((*OfflineUserDataJob)(nil), "google.ads.googleads.v3.resources.OfflineUserDataJob") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/resources/offline_user_data_job.proto", fileDescriptor_f7a781c59cc1896d) |
| } |
| |
| var fileDescriptor_f7a781c59cc1896d = []byte{ |
| // 662 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x4b, 0x4f, 0xd4, 0x40, |
| 0x1c, 0x77, 0x77, 0x79, 0x39, 0x08, 0x87, 0xc6, 0xc4, 0x8a, 0x2f, 0x30, 0x21, 0x21, 0x31, 0x4e, |
| 0x0d, 0x35, 0x1c, 0x6a, 0x30, 0x74, 0x7d, 0xf0, 0x88, 0x28, 0x59, 0x70, 0x63, 0xcc, 0x26, 0xcd, |
| 0x6c, 0x3b, 0xbb, 0x8c, 0xb6, 0x33, 0x75, 0x66, 0x8a, 0x12, 0xc2, 0xcd, 0xb3, 0x1f, 0xc2, 0xa3, |
| 0x1f, 0xc5,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 0x49, 0x3f, 0x12, 0x50, 0x95, 0x79, |
| 0xd5, 0x76, 0x61, 0xcb, 0x20, 0x7f, 0x1a, 0x4c, 0xc7, 0x8f, 0x44, 0xa7, 0xc4, 0x74, 0xda, 0x6e, |
| 0xa7, 0xc4, 0x1c, 0xd7, 0xe7, 0x55, 0xc3, 0xf3, 0xfc, 0x48, 0x78, 0x5e, 0x89, 0xf2, 0xbc, 0xb6, |
| 0xeb, 0x79, 0x25, 0xae, 0x3b, 0x56, 0x84, 0x75, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xfd, 0x81, |
| 0x0c, 0x80, 0xc2, 0x06, 0x00, 0x00, |
| } |