使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder
public
static
abstract
class
StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder
extends Object
java.lang.Object
|
↳ |
com.google.android.play.core.integrity.StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder
|
StandardIntegrityManager.PrepareIntegrityTokenRequest
的构建器。
摘要
继承的方法 |
继承自
java.lang.Object
类
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
公共构造函数
Builder
public Builder ()
公共方法
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder\n\nSummary: [Ctors](#pubctors) \\| [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \n\nStandardIntegrityManager.PrepareIntegrityTokenRequest.Builder\n=============================================================\n\n\n`\npublic\nstatic\n\nabstract\nclass\nStandardIntegrityManager.PrepareIntegrityTokenRequest.Builder\n`\n\n\n`\n\nextends `[Object](https://developer.android.com/reference/java/lang/Object.html)`\n\n\n`\n\n`\n\n\n`\n\n|---|------------------------------------------------------------------------------------------------------|\n| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) ||\n| ↳ | com.google.android.play.core.integrity.StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nBuilder for [StandardIntegrityManager.PrepareIntegrityTokenRequest](../../../../../../../reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest.html).\n\nSummary\n-------\n\n| ### Public constructors ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[Builder](../../../../../../../reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder.html#Builder())`() ` |\n\n| ### Public methods ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract `[StandardIntegrityManager.PrepareIntegrityTokenRequest](../../../../../../../reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest.html) | ` `[build](../../../../../../../reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder.html#build())`() ` Builds a [StandardIntegrityManager.PrepareIntegrityTokenRequest](../../../../../../../reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest.html). |\n| ` abstract `[StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder](../../../../../../../reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder.html) | ` `[setCloudProjectNumber](../../../../../../../reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder.html#setCloudProjectNumber(long))`(long value) ` A cloud project number to link to the integrity token. |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)` ` |-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | ` boolean` | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` final `[Class](https://developer.android.com/reference/java/lang/Class.html)`\u003c?\u003e` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` `[String](https://developer.android.com/reference/java/lang/String.html) | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||\n\nPublic constructors\n-------------------\n\n### Builder\n\n```\npublic Builder ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### build\n\n```\npublic abstract StandardIntegrityManager.PrepareIntegrityTokenRequest build ()\n```\n\nBuilds a [StandardIntegrityManager.PrepareIntegrityTokenRequest](../../../../../../../reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest.html).\n\n\u003cbr /\u003e\n\n| Returns ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|\n| [StandardIntegrityManager.PrepareIntegrityTokenRequest](../../../../../../../reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest.html) | \u003cbr /\u003e |\n\n### setCloudProjectNumber\n\n```\npublic abstract StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder setCloudProjectNumber (long value)\n```\n\nA cloud project number to link to the integrity token.\n\nThis field is required.\n\nCloud project number can be found in Project info in your Google Cloud Console for the\ncloud project where Play Integrity API is enabled.\n\nCalls to [decrypt the token on Google's server](https://developer.android.com/google/play/integrity/verdict#decrypt-verify-google-servers) must be authenticated using the cloud account that\nwas linked to the token in this request.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------|---------------|\n| `value` | `long` \u003cbr /\u003e |\n\n| Returns ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|\n| [StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder](../../../../../../../reference/com/google/android/play/core/integrity/StandardIntegrityManager.PrepareIntegrityTokenRequest.Builder.html) | \u003cbr /\u003e |"]]