Class Tool.Authentication (0.87.0)
public static final class Tool.Authentication extends GeneratedMessageV3 implements Tool.AuthenticationOrBuilder
Authentication information required for API calls
Protobuf type google.cloud.dialogflow.cx.v3beta1.Tool.Authentication
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int API_KEY_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int BEARER_TOKEN_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int OAUTH_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SERVICE_AGENT_AUTH_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static Tool.Authentication getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Tool.Authentication.Builder newBuilder()
public static Tool.Authentication.Builder newBuilder(Tool.Authentication prototype)
public static Tool.Authentication parseDelimitedFrom(InputStream input)
public static Tool.Authentication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Tool.Authentication parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static Tool.Authentication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Tool.Authentication parseFrom(ByteString data)
public static Tool.Authentication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Tool.Authentication parseFrom(CodedInputStream input)
public static Tool.Authentication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Tool.Authentication parseFrom(InputStream input)
public static Tool.Authentication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Tool.Authentication parseFrom(ByteBuffer data)
public static Tool.Authentication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Tool.Authentication> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Tool.Authentication.ApiKeyConfig getApiKeyConfig()
Config for API key auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;
public Tool.Authentication.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()
Config for API key auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;
public Tool.Authentication.AuthConfigCase getAuthConfigCase()
public Tool.Authentication.BearerTokenConfig getBearerTokenConfig()
Config for bearer token auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;
public Tool.Authentication.BearerTokenConfigOrBuilder getBearerTokenConfigOrBuilder()
Config for bearer token auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;
public Tool.Authentication getDefaultInstanceForType()
public Tool.Authentication.OAuthConfig getOauthConfig()
Config for OAuth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;
public Tool.Authentication.OAuthConfigOrBuilder getOauthConfigOrBuilder()
Config for OAuth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;
public Parser<Tool.Authentication> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public Tool.Authentication.ServiceAgentAuthConfig getServiceAgentAuthConfig()
Config for Diglogflow service
agent
auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;
public Tool.Authentication.ServiceAgentAuthConfigOrBuilder getServiceAgentAuthConfigOrBuilder()
Config for Diglogflow service
agent
auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;
public boolean hasApiKeyConfig()
Config for API key auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;
Returns |
Type |
Description |
boolean |
Whether the apiKeyConfig field is set.
|
public boolean hasBearerTokenConfig()
Config for bearer token auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;
Returns |
Type |
Description |
boolean |
Whether the bearerTokenConfig field is set.
|
public boolean hasOauthConfig()
Config for OAuth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;
Returns |
Type |
Description |
boolean |
Whether the oauthConfig field is set.
|
public boolean hasServiceAgentAuthConfig()
Config for Diglogflow service
agent
auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;
Returns |
Type |
Description |
boolean |
Whether the serviceAgentAuthConfig field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Tool.Authentication.Builder newBuilderForType()
protected Tool.Authentication.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public Tool.Authentication.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]