Home
last modified time | relevance | path

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

12

/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/samples/storage_sample/storage/
Dstorage_v1_messages.py655 alt = _messages.EnumField('AltValueValuesEnum', 1, default=u'json')
756 projection = _messages.EnumField('ProjectionValueValuesEnum', 4)
839 predefinedAcl = _messages.EnumField('PredefinedAclValueValuesEnum', 2)
840 predefinedDefaultObjectAcl = _messages.EnumField('PredefinedDefaultObjectAclValueValuesEnum', 3)
842 projection = _messages.EnumField('ProjectionValueValuesEnum', 5)
874 projection = _messages.EnumField('ProjectionValueValuesEnum', 5)
959 predefinedAcl = _messages.EnumField('PredefinedAclValueValuesEnum', 5)
960 predefinedDefaultObjectAcl = _messages.EnumField('PredefinedDefaultObjectAclValueValuesEnum', 6)
961 projection = _messages.EnumField('ProjectionValueValuesEnum', 7)
1046 predefinedAcl = _messages.EnumField('PredefinedAclValueValuesEnum', 5)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/gslib/third_party/storage_apitools/
Dstorage_v1_messages.py663 alt = messages.EnumField('AltValueValuesEnum', 1, default=u'json')
764 projection = messages.EnumField('ProjectionValueValuesEnum', 4)
847 predefinedAcl = messages.EnumField('PredefinedAclValueValuesEnum', 2)
848 predefinedDefaultObjectAcl = messages.EnumField('PredefinedDefaultObjectAclValueValuesEnum', 3)
850 projection = messages.EnumField('ProjectionValueValuesEnum', 5)
882 projection = messages.EnumField('ProjectionValueValuesEnum', 5)
967 predefinedAcl = messages.EnumField('PredefinedAclValueValuesEnum', 5)
968 predefinedDefaultObjectAcl = messages.EnumField('PredefinedDefaultObjectAclValueValuesEnum', 6)
969 projection = messages.EnumField('ProjectionValueValuesEnum', 7)
1054 predefinedAcl = messages.EnumField('PredefinedAclValueValuesEnum', 5)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/echo/
Dservices.py60 required = messages.EnumField(Color, 1,
71 a_color = messages.EnumField(Color, 7)
80 colors = messages.EnumField(Color, 14, repeated=True)
89 default_color = messages.EnumField(Color, 24, default=Color.GREEN)
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py312 class EnumField(object): class
498 ('nested_enum', EnumField(1, 'NestedEnum', 'ETA')),
502 ('nested_enum', EnumField(1, 'NestedEnum', 'ZETA')),
507 ('nested_enum', EnumField(1, 'NestedEnum', 'BETA')),
518 ('nested_enum', EnumField(1, 'NestedEnum', 'MU')),
522 ('nested_enum', EnumField(1, 'NestedEnum', 'IOTA')),
527 ('nested_enum', EnumField(1, 'NestedEnum', 'GAMMA')),
544 ('nested_enum', EnumField(1, 'NestedEnum', 'RHO')),
548 ('nested_enum', EnumField(1, 'NestedEnum', 'PI')),
553 ('nested_enum', EnumField(1, 'NestedEnum', 'XI')),
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dencoding_test.py50 value = messages.EnumField('UnrecognizedEnumMessage.ThisEnum', 2)
67 field_one = messages.EnumField(ThisEnum, 1)
68 field_two = messages.EnumField(ThisEnum, 2, default=ThisEnum.VALUE_TWO)
69 ignored_field = messages.EnumField(ThisEnum, 3)
98 enum_field = messages.EnumField(SomeEnum, 1)
99 double_encoding = messages.EnumField(SomeEnum, 2)
101 repeated_enum = messages.EnumField(SomeEnum, 4, repeated=True)
Dencoding.py297 elif isinstance(field, messages.EnumField):
338 if isinstance(field, messages.EnumField):
407 elif isinstance(value_type, messages.EnumField):
484 if (isinstance(field, messages.EnumField) and
Dutil_test.py24 enum_field = messages.EnumField('AnEnum', 2)
Dbase_api_test.py32 enum_field = messages.EnumField('AnEnum', 2)
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Ddescriptor.py147 messages.EnumField: lambda value: six.text_type(value.number),
156 messages.EnumField: int,
216 label = messages.EnumField(Label, 4, default=Label.OPTIONAL)
217 variant = messages.EnumField(Variant, 5)
355 if isinstance(field_definition, messages.EnumField):
Dgenerate_python.py80 if field_type in (messages.EnumField, messages.MessageField):
99 elif field_type is messages.EnumField:
Dmessages_test.py639 field = messages.EnumField(Symbol, 1, default=Symbol.ALPHA)
645 field = messages.EnumField('protorpc.descriptor.FieldDescriptor.Label',
653 field = messages.EnumField('protorpc.descriptor.FieldDescriptor.Label',
661 field = messages.EnumField(descriptor.FieldDescriptor.Label,
672 messages.EnumField,
679 field = messages.EnumField('protorpc.descriptor.FieldDescriptor.Label',
1013 messages.EnumField,
1018 messages.EnumField,
1027 field = messages.EnumField(Color, 10)
1034 messages.EnumField,
[all …]
Dregistry.py178 elif isinstance(field, messages.EnumField):
Dmessages.py1658 class EnumField(Field): class
1724 super(EnumField, self).__init__(number, **kwargs)
1747 super(EnumField, self).validate_default_element(value)
1771 resolved_default = super(EnumField, self).default
Dtest_util.py293 enum_value = messages.EnumField(SimpleEnum, 10)
334 enum_value = messages.EnumField(SimpleEnum,
Ddefinition.py130 elif field_class in (messages.EnumField, messages.MessageField):
Dprotojson.py302 if isinstance(field, messages.EnumField):
Ddescriptor_test.py161 field = messages.EnumField(MyEnum, 10, default=MyEnum.VAL)
168 expected.variant = messages.EnumField.DEFAULT_VARIANT
Dprotobuf.py337 if isinstance(field, messages.EnumField):
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/experimental/javascript/
Dmessages.js764 ProtoRpc.EnumField = function(enum_type, number, options) { class in ProtoRpc
770 goog.inherits(ProtoRpc.EnumField, ProtoRpc.Field);
774 ProtoRpc.EnumField.prototype.variants_ = [
780 ProtoRpc.EnumField.prototype.defaultVariant_ = ProtoRpc.Variant.ENUM;
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/quotas/backend/quotas/
Dservices.py90 mode = messages.EnumField(Mode, 3, default=Mode.ALL)
128 status = messages.EnumField(Status, 1, required=True)
148 all_status = messages.EnumField(CheckResult.Status, 1, required=True)
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/guestbook/client/
Dguestbook.py33 order = messages.EnumField('guestbook.GetNotesRequest.Order', 3, default=1)
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/
Dextended_descriptor.py314 if field_type in (messages.EnumField, messages.MessageField):
503 if field_type in (messages.EnumField, messages.MessageField):
518 elif field_type is messages.EnumField:
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/guestbook/server/
Dguestbook.py93 order = messages.EnumField(Order, 3, default=Order.WHEN)
/external/protobuf/java/src/test/java/com/google/protobuf/
Dtest_bad_identifiers.proto138 repeated TestEnum EnumField = 22; field
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/webapp/
Dservice_handlers_test.py69 enum_field = messages.EnumField(Enum1, 3)
77 enum_field = messages.EnumField(Enum1, 3)
99 enums = messages.EnumField(Enum1, 3, repeated=True)

12