类:VertexCredentials.Builder
java.lang.Object
com.google.adk.models.VertexCredentials.Builder
- Enclosing class:
VertexCredentials
“Builder for”是一个用于描述某种构建工具或框架的术语。它通常表示该工具/框架用于帮助开发者或系统管理员快速、高效地创建或构建特定类型的应用程序、系统或组件。例如:“Builder for Web Applications”(用于构建Web应用程序的工具)或“Builder for Cloud Services”(用于构建云服务的工具)。
VertexCredentials.-
构造函数概述
Constructors -
方法概述
Modifier and TypeMethodDescriptionabstract VertexCredentialsbuild()abstract VertexCredentials.Buildercredentials(@Nullable com.google.auth.oauth2.GoogleCredentials value) abstract VertexCredentials.Builderabstract VertexCredentials.BuildersetCredentials(@Nullable com.google.auth.oauth2.GoogleCredentials value) 已弃用(Deprecated)。setLocation(@Nullable String value) 已弃用(Deprecated)。setProject(@Nullable String value) 已弃用(Deprecated)。
-
构造函数详细信息
-
Builder
public Builder()
-
-
方法详细信息(Method Details)
-
setProject
@Deprecated @CanIgnoreReturnValue public final VertexCredentials.Builder setProject(@Nullable String value) Deprecated. -
project
-
setLocation
@Deprecated @CanIgnoreReturnValue public final VertexCredentials.Builder setLocation(@Nullable String value) Deprecated. -
location
-
setCredentials
@Deprecated @CanIgnoreReturnValue public final VertexCredentials.Builder setCredentials(@Nullable com.google.auth.oauth2.GoogleCredentials value) Deprecated. -
credentials
@CanIgnoreReturnValue public abstract VertexCredentials.Builder credentials(@Nullable com.google.auth.oauth2.GoogleCredentials value) -
build
-