Python google.protobuf.pyext._message.OneofDescriptor() Examples
The following are 12
code examples of google.protobuf.pyext._message.OneofDescriptor().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
google.protobuf.pyext._message
, or try the search function
.
Example #1
Source File: descriptor.py From lambda-packs with MIT License | 5 votes |
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
Source File: descriptor.py From auto-alt-text-lambda-api with MIT License | 5 votes |
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
Source File: descriptor.py From coremltools with BSD 3-Clause "New" or "Revised" License | 5 votes |
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
Source File: descriptor.py From go2mapillary with GNU General Public License v3.0 | 5 votes |
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 #5
Source File: descriptor.py From luci-py with Apache License 2.0 | 5 votes |
def __init__( self, name, full_name, index, containing_type, fields, options=None, serialized_options=None, create_key=None): """Arguments are as described in the attribute description above.""" if create_key is not _internal_create_key: _Deprecated('OneofDescriptor') 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 #6
Source File: descriptor.py From luci-py with Apache License 2.0 | 5 votes |
def __init__( self, name, full_name, index, containing_type, fields, options=None, serialized_options=None, create_key=None): """Arguments are as described in the attribute description above.""" if create_key is not _internal_create_key: _Deprecated('OneofDescriptor') 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
Source File: descriptor.py From luci-py with Apache License 2.0 | 5 votes |
def __init__( self, name, full_name, index, containing_type, fields, options=None, serialized_options=None, create_key=None): """Arguments are as described in the attribute description above.""" if create_key is not _internal_create_key: _Deprecated('OneofDescriptor') 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 #8
Source File: descriptor.py From luci-py with Apache License 2.0 | 5 votes |
def __init__( self, name, full_name, index, containing_type, fields, options=None, serialized_options=None, create_key=None): """Arguments are as described in the attribute description above.""" if create_key is not _internal_create_key: _Deprecated('OneofDescriptor') 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 #9
Source File: descriptor.py From luci-py with Apache License 2.0 | 5 votes |
def __init__( self, name, full_name, index, containing_type, fields, options=None, serialized_options=None, create_key=None): """Arguments are as described in the attribute description above.""" if create_key is not _internal_create_key: _Deprecated('OneofDescriptor') 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 #10
Source File: descriptor.py From Serverless-Deep-Learning-with-TensorFlow-and-AWS-Lambda with MIT License | 5 votes |
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 #11
Source File: descriptor.py From Serverless-Deep-Learning-with-TensorFlow-and-AWS-Lambda with MIT License | 5 votes |
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 #12
Source File: descriptor.py From keras-lambda with MIT License | 5 votes |
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