# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads_v3/proto/services/user_data_service.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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
from google.api import client_pb2 as google_dot_api_dot_client__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='google/ads/googleads_v3/proto/services/user_data_service.proto',
  package='google.ads.googleads.v3.services',
  syntax='proto3',
  serialized_options=_b('\n$com.google.ads.googleads.v3.servicesB\024UserDataServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v3/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V3.Services\312\002 Google\\Ads\\GoogleAds\\V3\\Services\352\002$Google::Ads::GoogleAds::V3::Services'),
  serialized_pb=_b('\n>google/ads/googleads_v3/proto/services/user_data_service.proto\x12 google.ads.googleads.v3.services\x1a<google/ads/googleads_v3/proto/common/offline_user_data.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/api/client.proto\"\xf7\x01\n\x15UploadUserDataRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12L\n\noperations\x18\x03 \x03(\x0b\x32\x33.google.ads.googleads.v3.services.UserDataOperationB\x03\xe0\x41\x02\x12j\n!customer_match_user_list_metadata\x18\x02 \x01(\x0b\x32=.google.ads.googleads.v3.common.CustomerMatchUserListMetadataH\x00\x42\n\n\x08metadata\"\\\n\x11UserDataOperation\x12:\n\x06\x63reate\x18\x01 \x01(\x0b\x32(.google.ads.googleads.v3.common.UserDataH\x00\x42\x0b\n\toperation\"\x90\x01\n\x16UploadUserDataResponse\x12\x36\n\x10upload_date_time\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12>\n\x19received_operations_count\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32Value2\xed\x01\n\x0fUserDataService\x12\xbc\x01\n\x0eUploadUserData\x12\x37.google.ads.googleads.v3.services.UploadUserDataRequest\x1a\x38.google.ads.googleads.v3.services.UploadUserDataResponse\"7\x82\xd3\xe4\x93\x02\x31\",/v3/customers/{customer_id=*}:uploadUserData:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfb\x01\n$com.google.ads.googleads.v3.servicesB\x14UserDataServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v3/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V3.Services\xca\x02 Google\\Ads\\GoogleAds\\V3\\Services\xea\x02$Google::Ads::GoogleAds::V3::Servicesb\x06proto3')
  ,
  dependencies=[google_dot_ads_dot_googleads__v3_dot_proto_dot_common_dot_offline__user__data__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,])




_UPLOADUSERDATAREQUEST = _descriptor.Descriptor(
  name='UploadUserDataRequest',
  full_name='google.ads.googleads.v3.services.UploadUserDataRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='customer_id', full_name='google.ads.googleads.v3.services.UploadUserDataRequest.customer_id', 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\002'), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='operations', full_name='google.ads.googleads.v3.services.UploadUserDataRequest.operations', index=1,
      number=3, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=_b('\340A\002'), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='customer_match_user_list_metadata', full_name='google.ads.googleads.v3.services.UploadUserDataRequest.customer_match_user_list_metadata', index=2,
      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=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='metadata', full_name='google.ads.googleads.v3.services.UploadUserDataRequest.metadata',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=283,
  serialized_end=530,
)


_USERDATAOPERATION = _descriptor.Descriptor(
  name='UserDataOperation',
  full_name='google.ads.googleads.v3.services.UserDataOperation',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='create', full_name='google.ads.googleads.v3.services.UserDataOperation.create', index=0,
      number=1, 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=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='operation', full_name='google.ads.googleads.v3.services.UserDataOperation.operation',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=532,
  serialized_end=624,
)


_UPLOADUSERDATARESPONSE = _descriptor.Descriptor(
  name='UploadUserDataResponse',
  full_name='google.ads.googleads.v3.services.UploadUserDataResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='upload_date_time', full_name='google.ads.googleads.v3.services.UploadUserDataResponse.upload_date_time', index=0,
      number=1, 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=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='received_operations_count', full_name='google.ads.googleads.v3.services.UploadUserDataResponse.received_operations_count', 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=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=627,
  serialized_end=771,
)

_UPLOADUSERDATAREQUEST.fields_by_name['operations'].message_type = _USERDATAOPERATION
_UPLOADUSERDATAREQUEST.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
_UPLOADUSERDATAREQUEST.oneofs_by_name['metadata'].fields.append(
  _UPLOADUSERDATAREQUEST.fields_by_name['customer_match_user_list_metadata'])
_UPLOADUSERDATAREQUEST.fields_by_name['customer_match_user_list_metadata'].containing_oneof = _UPLOADUSERDATAREQUEST.oneofs_by_name['metadata']
_USERDATAOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v3_dot_proto_dot_common_dot_offline__user__data__pb2._USERDATA
_USERDATAOPERATION.oneofs_by_name['operation'].fields.append(
  _USERDATAOPERATION.fields_by_name['create'])
_USERDATAOPERATION.fields_by_name['create'].containing_oneof = _USERDATAOPERATION.oneofs_by_name['operation']
_UPLOADUSERDATARESPONSE.fields_by_name['upload_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE
_UPLOADUSERDATARESPONSE.fields_by_name['received_operations_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE
DESCRIPTOR.message_types_by_name['UploadUserDataRequest'] = _UPLOADUSERDATAREQUEST
DESCRIPTOR.message_types_by_name['UserDataOperation'] = _USERDATAOPERATION
DESCRIPTOR.message_types_by_name['UploadUserDataResponse'] = _UPLOADUSERDATARESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

UploadUserDataRequest = _reflection.GeneratedProtocolMessageType('UploadUserDataRequest', (_message.Message,), dict(
  DESCRIPTOR = _UPLOADUSERDATAREQUEST,
  __module__ = 'google.ads.googleads_v3.proto.services.user_data_service_pb2'
  ,
  __doc__ = """Request message for
  [UserDataService.UploadUserData][google.ads.googleads.v3.services.UserDataService.UploadUserData]
  
  
  Attributes:
      customer_id:
          Required. The ID of the customer for which to update the user
          data.
      operations:
          Required. The list of operations to be done.
      metadata:
          Metadata of the request.
      customer_match_user_list_metadata:
          Metadata for data updates to a Customer Match user list.
  """,
  # @@protoc_insertion_point(class_scope:google.ads.googleads.v3.services.UploadUserDataRequest)
  ))
_sym_db.RegisterMessage(UploadUserDataRequest)

UserDataOperation = _reflection.GeneratedProtocolMessageType('UserDataOperation', (_message.Message,), dict(
  DESCRIPTOR = _USERDATAOPERATION,
  __module__ = 'google.ads.googleads_v3.proto.services.user_data_service_pb2'
  ,
  __doc__ = """Operation to be made for the UploadUserDataRequest.
  
  
  Attributes:
      operation:
          Operation to be made for the UploadUserDataRequest.
      create:
          The list of user data to be appended to the user list.
  """,
  # @@protoc_insertion_point(class_scope:google.ads.googleads.v3.services.UserDataOperation)
  ))
_sym_db.RegisterMessage(UserDataOperation)

UploadUserDataResponse = _reflection.GeneratedProtocolMessageType('UploadUserDataResponse', (_message.Message,), dict(
  DESCRIPTOR = _UPLOADUSERDATARESPONSE,
  __module__ = 'google.ads.googleads_v3.proto.services.user_data_service_pb2'
  ,
  __doc__ = """Response message for
  [UserDataService.UploadUserData][google.ads.googleads.v3.services.UserDataService.UploadUserData]
  
  
  Attributes:
      upload_date_time:
          The date time at which the request was received by API,
          formatted as "yyyy-mm-dd hh:mm:ss+\|-hh:mm", e.g. "2019-01-01
          12:32:45-08:00".
      received_operations_count:
          Number of upload data operations received by API.
  """,
  # @@protoc_insertion_point(class_scope:google.ads.googleads.v3.services.UploadUserDataResponse)
  ))
_sym_db.RegisterMessage(UploadUserDataResponse)


DESCRIPTOR._options = None
_UPLOADUSERDATAREQUEST.fields_by_name['customer_id']._options = None
_UPLOADUSERDATAREQUEST.fields_by_name['operations']._options = None

_USERDATASERVICE = _descriptor.ServiceDescriptor(
  name='UserDataService',
  full_name='google.ads.googleads.v3.services.UserDataService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=_b('\312A\030googleads.googleapis.com'),
  serialized_start=774,
  serialized_end=1011,
  methods=[
  _descriptor.MethodDescriptor(
    name='UploadUserData',
    full_name='google.ads.googleads.v3.services.UserDataService.UploadUserData',
    index=0,
    containing_service=None,
    input_type=_UPLOADUSERDATAREQUEST,
    output_type=_UPLOADUSERDATARESPONSE,
    serialized_options=_b('\202\323\344\223\0021\",/v3/customers/{customer_id=*}:uploadUserData:\001*'),
  ),
])
_sym_db.RegisterServiceDescriptor(_USERDATASERVICE)

DESCRIPTOR.services_by_name['UserDataService'] = _USERDATASERVICE

# @@protoc_insertion_point(module_scope)
