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 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 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 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)
Overrides
public Tool.Authentication.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides