# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads_v1/proto/services/user_list_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.v1.proto.resources import user_list_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='google/ads/googleads_v1/proto/services/user_list_service.proto',
  package='google.ads.googleads.v1.services',
  syntax='proto3',
  serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\024UserListServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'),
  serialized_pb=_b('\n>google/ads/googleads_v1/proto/services/user_list_service.proto\x12 google.ads.googleads.v1.services\x1a\x37google/ads/googleads_v1/proto/resources/user_list.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"+\n\x12GetUserListRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xa6\x01\n\x16MutateUserListsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12G\n\noperations\x18\x02 \x03(\x0b\x32\x33.google.ads.googleads.v1.services.UserListOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xe1\x01\n\x11UserListOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12=\n\x06\x63reate\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v1.resources.UserListH\x00\x12=\n\x06update\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v1.resources.UserListH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x95\x01\n\x17MutateUserListsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12G\n\x07results\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v1.services.MutateUserListResult\"-\n\x14MutateUserListResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xfd\x02\n\x0fUserListService\x12\xa5\x01\n\x0bGetUserList\x12\x34.google.ads.googleads.v1.services.GetUserListRequest\x1a+.google.ads.googleads.v1.resources.UserList\"3\x82\xd3\xe4\x93\x02-\x12+/v1/{resource_name=customers/*/userLists/*}\x12\xc1\x01\n\x0fMutateUserLists\x12\x38.google.ads.googleads.v1.services.MutateUserListsRequest\x1a\x39.google.ads.googleads.v1.services.MutateUserListsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v1/customers/{customer_id=*}/userLists:mutate:\x01*B\xfb\x01\n$com.google.ads.googleads.v1.servicesB\x14UserListServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3')
  ,
  dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,])




_GETUSERLISTREQUEST = _descriptor.Descriptor(
  name='GetUserListRequest',
  full_name='google.ads.googleads.v1.services.GetUserListRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='resource_name', full_name='google.ads.googleads.v1.services.GetUserListRequest.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=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=278,
  serialized_end=321,
)


_MUTATEUSERLISTSREQUEST = _descriptor.Descriptor(
  name='MutateUserListsRequest',
  full_name='google.ads.googleads.v1.services.MutateUserListsRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='customer_id', full_name='google.ads.googleads.v1.services.MutateUserListsRequest.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=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='operations', full_name='google.ads.googleads.v1.services.MutateUserListsRequest.operations', index=1,
      number=2, 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=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='partial_failure', full_name='google.ads.googleads.v1.services.MutateUserListsRequest.partial_failure', index=2,
      number=3, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='validate_only', full_name='google.ads.googleads.v1.services.MutateUserListsRequest.validate_only', index=3,
      number=4, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      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=324,
  serialized_end=490,
)


_USERLISTOPERATION = _descriptor.Descriptor(
  name='UserListOperation',
  full_name='google.ads.googleads.v1.services.UserListOperation',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='update_mask', full_name='google.ads.googleads.v1.services.UserListOperation.update_mask', index=0,
      number=4, 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='create', full_name='google.ads.googleads.v1.services.UserListOperation.create', index=1,
      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='update', full_name='google.ads.googleads.v1.services.UserListOperation.update', 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),
    _descriptor.FieldDescriptor(
      name='remove', full_name='google.ads.googleads.v1.services.UserListOperation.remove', index=3,
      number=3, 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=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.v1.services.UserListOperation.operation',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=493,
  serialized_end=718,
)


_MUTATEUSERLISTSRESPONSE = _descriptor.Descriptor(
  name='MutateUserListsResponse',
  full_name='google.ads.googleads.v1.services.MutateUserListsResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateUserListsResponse.partial_failure_error', index=0,
      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=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='results', full_name='google.ads.googleads.v1.services.MutateUserListsResponse.results', index=1,
      number=2, 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=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=721,
  serialized_end=870,
)


_MUTATEUSERLISTRESULT = _descriptor.Descriptor(
  name='MutateUserListResult',
  full_name='google.ads.googleads.v1.services.MutateUserListResult',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='resource_name', full_name='google.ads.googleads.v1.services.MutateUserListResult.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=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=872,
  serialized_end=917,
)

_MUTATEUSERLISTSREQUEST.fields_by_name['operations'].message_type = _USERLISTOPERATION
_USERLISTOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
_USERLISTOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2._USERLIST
_USERLISTOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2._USERLIST
_USERLISTOPERATION.oneofs_by_name['operation'].fields.append(
  _USERLISTOPERATION.fields_by_name['create'])
_USERLISTOPERATION.fields_by_name['create'].containing_oneof = _USERLISTOPERATION.oneofs_by_name['operation']
_USERLISTOPERATION.oneofs_by_name['operation'].fields.append(
  _USERLISTOPERATION.fields_by_name['update'])
_USERLISTOPERATION.fields_by_name['update'].containing_oneof = _USERLISTOPERATION.oneofs_by_name['operation']
_USERLISTOPERATION.oneofs_by_name['operation'].fields.append(
  _USERLISTOPERATION.fields_by_name['remove'])
_USERLISTOPERATION.fields_by_name['remove'].containing_oneof = _USERLISTOPERATION.oneofs_by_name['operation']
_MUTATEUSERLISTSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS
_MUTATEUSERLISTSRESPONSE.fields_by_name['results'].message_type = _MUTATEUSERLISTRESULT
DESCRIPTOR.message_types_by_name['GetUserListRequest'] = _GETUSERLISTREQUEST
DESCRIPTOR.message_types_by_name['MutateUserListsRequest'] = _MUTATEUSERLISTSREQUEST
DESCRIPTOR.message_types_by_name['UserListOperation'] = _USERLISTOPERATION
DESCRIPTOR.message_types_by_name['MutateUserListsResponse'] = _MUTATEUSERLISTSRESPONSE
DESCRIPTOR.message_types_by_name['MutateUserListResult'] = _MUTATEUSERLISTRESULT
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

GetUserListRequest = _reflection.GeneratedProtocolMessageType('GetUserListRequest', (_message.Message,), dict(
  DESCRIPTOR = _GETUSERLISTREQUEST,
  __module__ = 'google.ads.googleads_v1.proto.services.user_list_service_pb2'
  ,
  __doc__ = """Request message for
  [UserListService.GetUserList][google.ads.googleads.v1.services.UserListService.GetUserList].
  
  
  Attributes:
      resource_name:
          The resource name of the user list to fetch.
  """,
  # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetUserListRequest)
  ))
_sym_db.RegisterMessage(GetUserListRequest)

MutateUserListsRequest = _reflection.GeneratedProtocolMessageType('MutateUserListsRequest', (_message.Message,), dict(
  DESCRIPTOR = _MUTATEUSERLISTSREQUEST,
  __module__ = 'google.ads.googleads_v1.proto.services.user_list_service_pb2'
  ,
  __doc__ = """Request message for
  [UserListService.MutateUserLists][google.ads.googleads.v1.services.UserListService.MutateUserLists].
  
  
  Attributes:
      customer_id:
          The ID of the customer whose user lists are being modified.
      operations:
          The list of operations to perform on individual user lists.
      partial_failure:
          If true, successful operations will be carried out and invalid
          operations will return errors. If false, all operations will
          be carried out in one transaction if and only if they are all
          valid. Default is false.
      validate_only:
          If true, the request is validated but not executed. Only
          errors are returned, not results.
  """,
  # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateUserListsRequest)
  ))
_sym_db.RegisterMessage(MutateUserListsRequest)

UserListOperation = _reflection.GeneratedProtocolMessageType('UserListOperation', (_message.Message,), dict(
  DESCRIPTOR = _USERLISTOPERATION,
  __module__ = 'google.ads.googleads_v1.proto.services.user_list_service_pb2'
  ,
  __doc__ = """A single operation (create, update) on a user list.
  
  
  Attributes:
      update_mask:
          FieldMask that determines which resource fields are modified
          in an update.
      operation:
          The mutate operation.
      create:
          Create operation: No resource name is expected for the new
          user list.
      update:
          Update operation: The user list is expected to have a valid
          resource name.
      remove:
          Remove operation: A resource name for the removed user list is
          expected, in this format:
          ``customers/{customer_id}/userLists/{user_list_id}``
  """,
  # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.UserListOperation)
  ))
_sym_db.RegisterMessage(UserListOperation)

MutateUserListsResponse = _reflection.GeneratedProtocolMessageType('MutateUserListsResponse', (_message.Message,), dict(
  DESCRIPTOR = _MUTATEUSERLISTSRESPONSE,
  __module__ = 'google.ads.googleads_v1.proto.services.user_list_service_pb2'
  ,
  __doc__ = """Response message for user list mutate.
  
  
  Attributes:
      partial_failure_error:
          Errors that pertain to operation failures in the partial
          failure mode. Returned only when partial\_failure = true and
          all errors occur inside the operations. If any errors occur
          outside the operations (e.g. auth errors), we return an RPC
          level error.
      results:
          All results for the mutate.
  """,
  # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateUserListsResponse)
  ))
_sym_db.RegisterMessage(MutateUserListsResponse)

MutateUserListResult = _reflection.GeneratedProtocolMessageType('MutateUserListResult', (_message.Message,), dict(
  DESCRIPTOR = _MUTATEUSERLISTRESULT,
  __module__ = 'google.ads.googleads_v1.proto.services.user_list_service_pb2'
  ,
  __doc__ = """The result for the user list mutate.
  
  
  Attributes:
      resource_name:
          Returned for successful operations.
  """,
  # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateUserListResult)
  ))
_sym_db.RegisterMessage(MutateUserListResult)


DESCRIPTOR._options = None

_USERLISTSERVICE = _descriptor.ServiceDescriptor(
  name='UserListService',
  full_name='google.ads.googleads.v1.services.UserListService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  serialized_start=920,
  serialized_end=1301,
  methods=[
  _descriptor.MethodDescriptor(
    name='GetUserList',
    full_name='google.ads.googleads.v1.services.UserListService.GetUserList',
    index=0,
    containing_service=None,
    input_type=_GETUSERLISTREQUEST,
    output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2._USERLIST,
    serialized_options=_b('\202\323\344\223\002-\022+/v1/{resource_name=customers/*/userLists/*}'),
  ),
  _descriptor.MethodDescriptor(
    name='MutateUserLists',
    full_name='google.ads.googleads.v1.services.UserListService.MutateUserLists',
    index=1,
    containing_service=None,
    input_type=_MUTATEUSERLISTSREQUEST,
    output_type=_MUTATEUSERLISTSRESPONSE,
    serialized_options=_b('\202\323\344\223\0023\"./v1/customers/{customer_id=*}/userLists:mutate:\001*'),
  ),
])
_sym_db.RegisterServiceDescriptor(_USERLISTSERVICE)

DESCRIPTOR.services_by_name['UserListService'] = _USERLISTSERVICE

# @@protoc_insertion_point(module_scope)
