AttributeValueType
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
ATTRIBUTE_VALUE_TYPE_UNSPECIFIED |
未指定。 |
BOOL |
此属性的值是布尔值。 |
ENUM |
此属性具有预定的可用值列表。此属性的元数据将列出这些值。 |
URL |
此属性的值是网址。 |
REPEATED_ENUM |
该属性值是一个包含多个可能值(可以明确设置或取消设置)的枚举。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe attribute value type determines the kind of data associated with it, such as boolean, enum, URL, or repeated enum.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eATTRIBUTE_VALUE_TYPE_UNSPECIFIED\u003c/code\u003e is used when the value type is not explicitly defined.\u003c/p\u003e\n"],["\u003cp\u003eEnum attributes have a predefined set of values, while repeated enums allow for multiple values to be selected.\u003c/p\u003e\n"],["\u003cp\u003eURL attributes store web addresses, and boolean attributes hold true/false values.\u003c/p\u003e\n"]]],[],null,["# AttributeValueType\n\nThe value type of the attribute.\n\n| Enums ||\n|------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|\n| `ATTRIBUTE_VALUE_TYPE_UNSPECIFIED` | Not specified. |\n| `BOOL` | The values for this attribute are boolean values. |\n| `ENUM` | The attribute has a predetermined list of available values that can be used. Metadata for this attribute will list these values. |\n| `URL` | The values for this attribute are URLs. |\n| `REPEATED_ENUM` | The attribute value is an enum with multiple possible values that can be explicitly set or unset. |"]]