public static final class Tool.Authentication.ServiceAgentAuthConfig extends GeneratedMessage implements Tool.Authentication.ServiceAgentAuthConfigOrBuilderConfig for auth using Diglogflow service agent.
Protobuf type
google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Tool.Authentication.ServiceAgentAuthConfigStatic Fields
SERVICE_AGENT_AUTH_FIELD_NUMBER
public static final int SERVICE_AGENT_AUTH_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Tool.Authentication.ServiceAgentAuthConfig getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Tool.Authentication.ServiceAgentAuthConfig.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig.Builder |
|
newBuilder(Tool.Authentication.ServiceAgentAuthConfig prototype)
public static Tool.Authentication.ServiceAgentAuthConfig.Builder newBuilder(Tool.Authentication.ServiceAgentAuthConfig prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Tool.Authentication.ServiceAgentAuthConfig |
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig.Builder |
|
parseDelimitedFrom(InputStream input)
public static Tool.Authentication.ServiceAgentAuthConfig parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Tool.Authentication.ServiceAgentAuthConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Tool.Authentication.ServiceAgentAuthConfig parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Tool.Authentication.ServiceAgentAuthConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Tool.Authentication.ServiceAgentAuthConfig parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Tool.Authentication.ServiceAgentAuthConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Tool.Authentication.ServiceAgentAuthConfig parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Tool.Authentication.ServiceAgentAuthConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Tool.Authentication.ServiceAgentAuthConfig parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Tool.Authentication.ServiceAgentAuthConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Tool.Authentication.ServiceAgentAuthConfig parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Tool.Authentication.ServiceAgentAuthConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Tool.Authentication.ServiceAgentAuthConfig> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ServiceAgentAuthConfig> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public Tool.Authentication.ServiceAgentAuthConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig |
|
getParserForType()
public Parser<Tool.Authentication.ServiceAgentAuthConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ServiceAgentAuthConfig> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getServiceAgentAuth()
public Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth getServiceAgentAuth()Optional. Indicate the auth token type generated from the Diglogflow service agent. The generated token is sent in the Authorization header.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth service_agent_auth = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth |
The serviceAgentAuth. |
getServiceAgentAuthValue()
public int getServiceAgentAuthValue()Optional. Indicate the auth token type generated from the Diglogflow service agent. The generated token is sent in the Authorization header.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth service_agent_auth = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for serviceAgentAuth. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Tool.Authentication.ServiceAgentAuthConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Tool.Authentication.ServiceAgentAuthConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig.Builder |
|
toBuilder()
public Tool.Authentication.ServiceAgentAuthConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Tool.Authentication.ServiceAgentAuthConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|