# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads_v3/proto/resources/offline_user_data_job.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.ads.google_ads.v3.proto.common import offline_user_data_pb2 as google_dot_ads_dot_googleads__v3_dot_proto_dot_common_dot_offline__user__data__pb2
from google.ads.google_ads.v3.proto.enums import offline_user_data_job_failure_reason_pb2 as google_dot_ads_dot_googleads__v3_dot_proto_dot_enums_dot_offline__user__data__job__failure__reason__pb2
from google.ads.google_ads.v3.proto.enums import offline_user_data_job_status_pb2 as google_dot_ads_dot_googleads__v3_dot_proto_dot_enums_dot_offline__user__data__job__status__pb2
from google.ads.google_ads.v3.proto.enums import offline_user_data_job_type_pb2 as google_dot_ads_dot_googleads__v3_dot_proto_dot_enums_dot_offline__user__data__job__type__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='google/ads/googleads_v3/proto/resources/offline_user_data_job.proto',
  package='google.ads.googleads.v3.resources',
  syntax='proto3',
  serialized_options=_b('\n%com.google.ads.googleads.v3.resourcesB\027OfflineUserDataJobProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v3/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V3.Resources\312\002!Google\\Ads\\GoogleAds\\V3\\Resources\352\002%Google::Ads::GoogleAds::V3::Resources'),
  serialized_pb=_b('\nCgoogle/ads/googleads_v3/proto/resources/offline_user_data_job.proto\x12!google.ads.googleads.v3.resources\x1a<google/ads/googleads_v3/proto/common/offline_user_data.proto\x1aNgoogle/ads/googleads_v3/proto/enums/offline_user_data_job_failure_reason.proto\x1a\x46google/ads/googleads_v3/proto/enums/offline_user_data_job_status.proto\x1a\x44google/ads/googleads_v3/proto/enums/offline_user_data_job_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xe0\x06\n\x12OfflineUserDataJob\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x05\xfa\x41-\n+googleads.googleapis.com/OfflineUserDataJob\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x35\n\x0b\x65xternal_id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x63\n\x04type\x18\x04 \x01(\x0e\x32P.google.ads.googleads.v3.enums.OfflineUserDataJobTypeEnum.OfflineUserDataJobTypeB\x03\xe0\x41\x03\x12i\n\x06status\x18\x05 \x01(\x0e\x32T.google.ads.googleads.v3.enums.OfflineUserDataJobStatusEnum.OfflineUserDataJobStatusB\x03\xe0\x41\x03\x12\x7f\n\x0e\x66\x61ilure_reason\x18\x06 \x01(\x0e\x32\x62.google.ads.googleads.v3.enums.OfflineUserDataJobFailureReasonEnum.OfflineUserDataJobFailureReasonB\x03\xe0\x41\x03\x12o\n!customer_match_user_list_metadata\x18\x07 \x01(\x0b\x32=.google.ads.googleads.v3.common.CustomerMatchUserListMetadataB\x03\xe0\x41\x03H\x00\x12W\n\x14store_sales_metadata\x18\x08 \x01(\x0b\x32\x32.google.ads.googleads.v3.common.StoreSalesMetadataB\x03\xe0\x41\x03H\x00:r\xea\x41o\n+googleads.googleapis.com/OfflineUserDataJob\x12@customers/{customer}/offlineUserDataJobs/{offline_user_data_job}B\n\n\x08metadataB\x84\x02\n%com.google.ads.googleads.v3.resourcesB\x17OfflineUserDataJobProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v3/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V3.Resources\xca\x02!Google\\Ads\\GoogleAds\\V3\\Resources\xea\x02%Google::Ads::GoogleAds::V3::Resourcesb\x06proto3')
  ,
  dependencies=[google_dot_ads_dot_googleads__v3_dot_proto_dot_common_dot_offline__user__data__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v3_dot_proto_dot_enums_dot_offline__user__data__job__failure__reason__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v3_dot_proto_dot_enums_dot_offline__user__data__job__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v3_dot_proto_dot_enums_dot_offline__user__data__job__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,])




_OFFLINEUSERDATAJOB = _descriptor.Descriptor(
  name='OfflineUserDataJob',
  full_name='google.ads.googleads.v3.resources.OfflineUserDataJob',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='resource_name', full_name='google.ads.googleads.v3.resources.OfflineUserDataJob.resource_name', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=_b('\340A\005\372A-\n+googleads.googleapis.com/OfflineUserDataJob'), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='id', full_name='google.ads.googleads.v3.resources.OfflineUserDataJob.id', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=_b('\340A\003'), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='external_id', full_name='google.ads.googleads.v3.resources.OfflineUserDataJob.external_id', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=_b('\340A\003'), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='type', full_name='google.ads.googleads.v3.resources.OfflineUserDataJob.type', index=3,
      number=4, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=_b('\340A\003'), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='status', full_name='google.ads.googleads.v3.resources.OfflineUserDataJob.status', index=4,
      number=5, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=_b('\340A\003'), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='failure_reason', full_name='google.ads.googleads.v3.resources.OfflineUserDataJob.failure_reason', index=5,
      number=6, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=_b('\340A\003'), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='customer_match_user_list_metadata', full_name='google.ads.googleads.v3.resources.OfflineUserDataJob.customer_match_user_list_metadata', index=6,
      number=7, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=_b('\340A\003'), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='store_sales_metadata', full_name='google.ads.googleads.v3.resources.OfflineUserDataJob.store_sales_metadata', index=7,
      number=8, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=_b('\340A\003'), file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=_b('\352Ao\n+googleads.googleapis.com/OfflineUserDataJob\022@customers/{customer}/offlineUserDataJobs/{offline_user_data_job}'),
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='metadata', full_name='google.ads.googleads.v3.resources.OfflineUserDataJob.metadata',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=513,
  serialized_end=1377,
)

_OFFLINEUSERDATAJOB.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
_OFFLINEUSERDATAJOB.fields_by_name['external_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
_OFFLINEUSERDATAJOB.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v3_dot_proto_dot_enums_dot_offline__user__data__job__type__pb2._OFFLINEUSERDATAJOBTYPEENUM_OFFLINEUSERDATAJOBTYPE
_OFFLINEUSERDATAJOB.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v3_dot_proto_dot_enums_dot_offline__user__data__job__status__pb2._OFFLINEUSERDATAJOBSTATUSENUM_OFFLINEUSERDATAJOBSTATUS
_OFFLINEUSERDATAJOB.fields_by_name['failure_reason'].enum_type = google_dot_ads_dot_googleads__v3_dot_proto_dot_enums_dot_offline__user__data__job__failure__reason__pb2._OFFLINEUSERDATAJOBFAILUREREASONENUM_OFFLINEUSERDATAJOBFAILUREREASON
_OFFLINEUSERDATAJOB.fields_by_name['customer_match_user_list_metadata'].message_type = google_dot_ads_dot_googleads__v3_dot_proto_dot_common_dot_offline__user__data__pb2._CUSTOMERMATCHUSERLISTMETADATA
_OFFLINEUSERDATAJOB.fields_by_name['store_sales_metadata'].message_type = google_dot_ads_dot_googleads__v3_dot_proto_dot_common_dot_offline__user__data__pb2._STORESALESMETADATA
_OFFLINEUSERDATAJOB.oneofs_by_name['metadata'].fields.append(
  _OFFLINEUSERDATAJOB.fields_by_name['customer_match_user_list_metadata'])
_OFFLINEUSERDATAJOB.fields_by_name['customer_match_user_list_metadata'].containing_oneof = _OFFLINEUSERDATAJOB.oneofs_by_name['metadata']
_OFFLINEUSERDATAJOB.oneofs_by_name['metadata'].fields.append(
  _OFFLINEUSERDATAJOB.fields_by_name['store_sales_metadata'])
_OFFLINEUSERDATAJOB.fields_by_name['store_sales_metadata'].containing_oneof = _OFFLINEUSERDATAJOB.oneofs_by_name['metadata']
DESCRIPTOR.message_types_by_name['OfflineUserDataJob'] = _OFFLINEUSERDATAJOB
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

OfflineUserDataJob = _reflection.GeneratedProtocolMessageType('OfflineUserDataJob', (_message.Message,), dict(
  DESCRIPTOR = _OFFLINEUSERDATAJOB,
  __module__ = 'google.ads.googleads_v3.proto.resources.offline_user_data_job_pb2'
  ,
  __doc__ = """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.
  
  
  Attributes:
      resource_name:
          Immutable. The resource name of the offline user data job.
          Offline user data job resource names have the form:  ``custome
          rs/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id
          }``
      id:
          Output only. ID of this offline user data job.
      external_id:
          Output only. User specified job ID.
      type:
          Output only. Type of the job.
      status:
          Output only. Status of the job.
      failure_reason:
          Output only. Reason for the processing failure, if status is
          FAILED.
      metadata:
          Metadata of the job.
      customer_match_user_list_metadata:
          Output only. Metadata for data updates to a CRM-based user
          list.
      store_sales_metadata:
          Output only. Metadata for store sales data update.
  """,
  # @@protoc_insertion_point(class_scope:google.ads.googleads.v3.resources.OfflineUserDataJob)
  ))
_sym_db.RegisterMessage(OfflineUserDataJob)


DESCRIPTOR._options = None
_OFFLINEUSERDATAJOB.fields_by_name['resource_name']._options = None
_OFFLINEUSERDATAJOB.fields_by_name['id']._options = None
_OFFLINEUSERDATAJOB.fields_by_name['external_id']._options = None
_OFFLINEUSERDATAJOB.fields_by_name['type']._options = None
_OFFLINEUSERDATAJOB.fields_by_name['status']._options = None
_OFFLINEUSERDATAJOB.fields_by_name['failure_reason']._options = None
_OFFLINEUSERDATAJOB.fields_by_name['customer_match_user_list_metadata']._options = None
_OFFLINEUSERDATAJOB.fields_by_name['store_sales_metadata']._options = None
_OFFLINEUSERDATAJOB._options = None
# @@protoc_insertion_point(module_scope)
