Home
last modified time | relevance | path

Searched refs:EnumField (Results 1 – 25 of 40) sorted by relevance

12

/external/python/apitools/samples/storage_sample/storage_v1/
Dstorage_v1_messages.py846 alt = _messages.EnumField('AltValueValuesEnum', 1, default=u'json')
957 projection = _messages.EnumField('ProjectionValueValuesEnum', 4)
1040 predefinedAcl = _messages.EnumField('PredefinedAclValueValuesEnum', 2)
1041 predefinedDefaultObjectAcl = _messages.EnumField('PredefinedDefaultObjectAclValueValuesEnum', 3)
1043 projection = _messages.EnumField('ProjectionValueValuesEnum', 5)
1075 projection = _messages.EnumField('ProjectionValueValuesEnum', 5)
1160 predefinedAcl = _messages.EnumField('PredefinedAclValueValuesEnum', 5)
1161 predefinedDefaultObjectAcl = _messages.EnumField('PredefinedDefaultObjectAclValueValuesEnum', 6)
1162 projection = _messages.EnumField('ProjectionValueValuesEnum', 7)
1271 predefinedAcl = _messages.EnumField('PredefinedAclValueValuesEnum', 5)
[all …]
/external/python/apitools/samples/iam_sample/iam_v1/
Diam_v1_messages.py129 iam = _messages.EnumField('IamValueValuesEnum', 1)
130 op = _messages.EnumField('OpValueValuesEnum', 2)
132 sys = _messages.EnumField('SysValueValuesEnum', 4)
177 privateKeyType = _messages.EnumField('PrivateKeyTypeValueValuesEnum', 1)
367 publicKeyType = _messages.EnumField('PublicKeyTypeValueValuesEnum', 2)
403 keyTypes = _messages.EnumField('KeyTypesValueValuesEnum', 1, repeated=True)
697 action = _messages.EnumField('ActionValueValuesEnum', 1)
800 privateKeyType = _messages.EnumField('PrivateKeyTypeValueValuesEnum', 3)
914 f__xgafv = _messages.EnumField('FXgafvValueValuesEnum', 1)
916 alt = _messages.EnumField('AltValueValuesEnum', 3, default=u'json')
/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/
Dservicemanagement_v1_messages.py62 syntax = _messages.EnumField('SyntaxValueValuesEnum', 6)
401 fileType = _messages.EnumField('FileTypeValueValuesEnum', 4)
630 kind = _messages.EnumField('KindValueValuesEnum', 1)
763 billingInteraction = _messages.EnumField('BillingInteractionValueValuesEnum', 2)
831 syntax = _messages.EnumField('SyntaxValueValuesEnum', 5)
931 cardinality = _messages.EnumField('CardinalityValueValuesEnum', 1)
934 kind = _messages.EnumField('KindValueValuesEnum', 4)
1123 valueType = _messages.EnumField('ValueTypeValueValuesEnum', 3)
1316 syntax = _messages.EnumField('SyntaxValueValuesEnum', 7)
1425 metricKind = _messages.EnumField('MetricKindValueValuesEnum', 4)
[all …]
/external/python/apitools/apitools/base/protorpclite/
Ddescriptor.py138 messages.EnumField: lambda value: six.text_type(value.number),
147 messages.EnumField: int,
207 label = messages.EnumField(Label, 4, default=Label.OPTIONAL)
208 variant = messages.EnumField(Variant, 5)
319 if isinstance(field_definition, messages.EnumField):
Dmessages_test.py655 field = messages.EnumField(Symbol, 1, default=Symbol.ALPHA)
661 field = messages.EnumField(
671 field = messages.EnumField(
681 field = messages.EnumField(descriptor.FieldDescriptor.Label,
693 messages.EnumField,
700 field = messages.EnumField(
1059 messages.EnumField,
1064 messages.EnumField,
1073 field = messages.EnumField(Color, 10)
1080 messages.EnumField,
[all …]
Dmessages.py1723 class EnumField(Field): class
1790 super(EnumField, self).__init__(number, **kwargs)
1815 return super(EnumField, self).validate_default_element(value)
1841 resolved_default = super(EnumField, self).default
Dtest_util.py299 enum_value = messages.EnumField(SimpleEnum, 10)
334 enum_value = messages.EnumField(SimpleEnum,
Ddescriptor_test.py165 field = messages.EnumField(MyEnum, 10, default=MyEnum.VAL)
172 expected.variant = messages.EnumField.DEFAULT_VARIANT
Dprotojson.py302 if isinstance(field, messages.EnumField):
/external/python/apitools/apitools/base/py/
Dencoding_test.py76 value = messages.EnumField('UnrecognizedEnumMessage.ThisEnum', 2)
93 field_one = messages.EnumField(ThisEnum, 1)
94 field_two = messages.EnumField(ThisEnum, 2, default=ThisEnum.VALUE_TWO)
95 ignored_field = messages.EnumField(ThisEnum, 3)
124 enum_field = messages.EnumField(SomeEnum, 1)
125 double_encoding = messages.EnumField(SomeEnum, 2)
127 repeated_enum = messages.EnumField(SomeEnum, 4, repeated=True)
Dencoding.py315 elif isinstance(field, messages.EnumField):
359 if isinstance(field, messages.EnumField):
504 if (isinstance(field, messages.EnumField) and
Dutil_test.py39 enum_field = messages.EnumField('AnEnum', 2)
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py429 class EnumField(object): class
682 ('nested_enum', EnumField(1, 'NestedEnum', 'ETA')),
686 ('nested_enum', EnumField(1, 'NestedEnum', 'ZETA')),
691 ('nested_enum', EnumField(1, 'NestedEnum', 'BETA')),
702 ('nested_enum', EnumField(1, 'NestedEnum', 'MU')),
706 ('nested_enum', EnumField(1, 'NestedEnum', 'IOTA')),
711 ('nested_enum', EnumField(1, 'NestedEnum', 'GAMMA')),
728 ('nested_enum', EnumField(1, 'NestedEnum', 'RHO')),
732 ('nested_enum', EnumField(1, 'NestedEnum', 'PI')),
737 ('nested_enum', EnumField(1, 'NestedEnum', 'XI')),
/external/scapy/scapy/
Dfields.py982 class EnumField(_EnumField): class
985 class CharEnumField(EnumField):
987 EnumField.__init__(self, name, default, enum, fmt)
1001 __slots__ = EnumField.__slots__
1011 class ShortEnumField(EnumField):
1012 __slots__ = EnumField.__slots__
1014 EnumField.__init__(self, name, default, enum, "H")
1016 class LEShortEnumField(EnumField):
1018 EnumField.__init__(self, name, default, enum, "<H")
1020 class ByteEnumField(EnumField):
[all …]
/external/python/apitools/samples/dns_sample/dns_v1/
Ddns_v1_messages.py48 status = _messages.EnumField('StatusValueValuesEnum', 6)
136 sortBy = _messages.EnumField('SortByValueValuesEnum', 5, default=u'changeSequence')
416 alt = _messages.EnumField('AltValueValuesEnum', 1, default=u'json')
/external/scapy/test/
Dfields.uts727 + EnumField tests
729 = EnumField tests initialization
731 # Basic EnumField
732 f = EnumField('test', 0, {0: 'Foo', 1: 'Bar'})
734 rf = EnumField('test', 0, {'Foo': 0, 'Bar': 1})
735 # EnumField initialized with a list
736 lf = EnumField('test', 0, ['Foo', 'Bar'])
737 # EnumField with i2s_cb/s2i_cb
738 fcb = EnumField('test', 0, (
752 = EnumField.any2i_one
[all …]
/external/toolchain-utils/crosperf/
Dfield.py134 class EnumField(Field): class
144 super(EnumField, self).__init__(name, required, default, inheritable,
/external/python/apitools/apitools/gen/
Dextended_descriptor.py329 if field_type in (messages.EnumField, messages.MessageField):
518 if field_type in (messages.EnumField, messages.MessageField):
533 elif field_type is messages.EnumField:
/external/scapy/scapy/layers/tls/
Dkeyexchange.py83 class SigAndHashAlgField(EnumField):
86 getfield = phantom_decorate(EnumField.getfield, True)
87 addfield = phantom_decorate(EnumField.addfield, False)
413 EnumField.__init__(self, name, default, enum, "B")
Dhandshake_sslv2.py201 class _SSLv2CipherSuiteField(EnumField):
203 EnumField.__init__(self, name, default, dico)
Dhandshake.py320 EnumField("cipher", None, _tls_cipher_suites),
401 EnumField("cipher", None, _tls_cipher_suites),
821 EnumField("hash_sig", None, _tls_hash_sig),
/external/scapy/scapy/contrib/
Dmodbus.py635 class ModbusByteEnumField(EnumField):
639 EnumField.__init__(self, name, default, enum, "B")
Dhttp2.py1701 fields.EnumField('error', 0, H2ErrorCodes.literal, fmt='!I')
1719 fields.EnumField('id', 0, {
1888 fields.EnumField('error', 0, H2ErrorCodes.literal, fmt='!I'),
1946 fields.EnumField('type', None, {
/external/python/apitools/samples/bigquery_sample/bigquery_v2/
Dbigquery_v2_messages.py213 projection = _messages.EnumField('ProjectionValueValuesEnum', 5)
214 stateFilter = _messages.EnumField('StateFilterValueValuesEnum', 6, repeated=True)
1705 alt = _messages.EnumField('AltValueValuesEnum', 1, default=u'json')
/external/scapy/scapy/layers/
Dl2.py391 class LoIntEnumField(EnumField):
393 EnumField.__init__(self, name, default, enum, "!I")

12