Python google.protobuf.pyext._message.OneofDescriptor() Examples

The following are code examples for showing how to use google.protobuf.pyext._message.OneofDescriptor(). They are from open source Python projects. You can vote up the examples you like or vote down the ones you don't like.

Example 1
Project: bigquerylayers   Author: smandaric   File: descriptor.py    GNU General Public License v3.0 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None,
      serialized_options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(
        options, serialized_options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 2
Project: RouteOptimization   Author: andre-le   File: descriptor.py    MIT License 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 3
Project: deoplete-asm   Author: deoplete-plugins   File: descriptor.py    MIT License 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 4
Project: FUTU_Stop_Loss   Author: BigtoC   File: descriptor.py    MIT License 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None,
      serialized_options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(
        options, serialized_options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 5
Project: auto-alt-text-lambda-api   Author: abhisuri97   File: descriptor.py    MIT License 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 6
Project: chrome_os_updater   Author: MuntashirAkon   File: descriptor.py    GNU General Public License v3.0 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None,
      serialized_options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(
        options, serialized_options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 7
Project: poker   Author: surgebiswas   File: descriptor.py    MIT License 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 8
Project: poker   Author: surgebiswas   File: descriptor.py    MIT License 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 9
Project: syndicate-core   Author: syndicate-storage   File: descriptor.py    Apache License 2.0 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 10
Project: Emotion-Evaluator   Author: Attriumph   File: descriptor.py    MIT License 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None,
      serialized_options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(
        options, serialized_options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 11
Project: geofire-python   Author: ininex   File: descriptor.py    MIT License 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 12
Project: go2mapillary   Author: enricofer   File: descriptor.py    GNU General Public License v3.0 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 13
Project: luci-py   Author: luci   File: descriptor.py    Apache License 2.0 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None,
      serialized_options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(
        options, serialized_options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 14
Project: luci-py   Author: luci   File: descriptor.py    Apache License 2.0 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None,
      serialized_options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(
        options, serialized_options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 15
Project: luci-py   Author: luci   File: descriptor.py    Apache License 2.0 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None,
      serialized_options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(
        options, serialized_options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 16
Project: luci-py   Author: luci   File: descriptor.py    Apache License 2.0 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None,
      serialized_options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(
        options, serialized_options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 17
Project: luci-py   Author: luci   File: descriptor.py    Apache License 2.0 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None,
      serialized_options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(
        options, serialized_options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields 
Example 18
Project: lambda-tensorflow-object-detection   Author: mikylucky   File: descriptor.py    GNU General Public License v3.0 5 votes vote down vote up
def __init__(
      self, name, full_name, index, containing_type, fields, options=None,
      serialized_options=None):
    """Arguments are as described in the attribute description above."""
    super(OneofDescriptor, self).__init__(
        options, serialized_options, 'OneofOptions')
    self.name = name
    self.full_name = full_name
    self.index = index
    self.containing_type = containing_type
    self.fields = fields