public final class AutomatedAgentConfig extends GeneratedMessageV3 implements AutomatedAgentConfigOrBuilder
Defines the Automated Agent to connect to a conversation.
Protobuf type google.cloud.dialogflow.v2beta1.AutomatedAgentConfig
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>)
Static Fields
AGENT_FIELD_NUMBER
public static final int AGENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SESSION_TTL_FIELD_NUMBER
public static final int SESSION_TTL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AutomatedAgentConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AutomatedAgentConfig.Builder newBuilder()
newBuilder(AutomatedAgentConfig prototype)
public static AutomatedAgentConfig.Builder newBuilder(AutomatedAgentConfig prototype)
public static AutomatedAgentConfig parseDelimitedFrom(InputStream input)
public static AutomatedAgentConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AutomatedAgentConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutomatedAgentConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AutomatedAgentConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutomatedAgentConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutomatedAgentConfig parseFrom(CodedInputStream input)
public static AutomatedAgentConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutomatedAgentConfig parseFrom(InputStream input)
public static AutomatedAgentConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AutomatedAgentConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutomatedAgentConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AutomatedAgentConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAgent()
Required. ID of the Dialogflow agent environment to use.
This project needs to either be the same project as the conversation or you
need to grant service-<Conversation Project
Number>@gcp-sa-dialogflow.iam.gserviceaccount.com
the Dialogflow API
Service Agent
role in this project.
For ES agents, use format: projects/<Project ID>/locations/<Location
ID>/agent/environments/<Environment ID or '-'>
. If environment is not
specified, the default draft
environment is used. Refer to
DetectIntentRequest
for more details.
For CX agents, use format projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/environments/<Environment ID
or '-'>
. If environment is not specified, the default draft
environment
is used.
string agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The agent.
|
getAgentBytes()
public ByteString getAgentBytes()
Required. ID of the Dialogflow agent environment to use.
This project needs to either be the same project as the conversation or you
need to grant service-<Conversation Project
Number>@gcp-sa-dialogflow.iam.gserviceaccount.com
the Dialogflow API
Service Agent
role in this project.
For ES agents, use format: projects/<Project ID>/locations/<Location
ID>/agent/environments/<Environment ID or '-'>
. If environment is not
specified, the default draft
environment is used. Refer to
DetectIntentRequest
for more details.
For CX agents, use format projects/<Project ID>/locations/<Location
ID>/agents/<Agent ID>/environments/<Environment ID
or '-'>
. If environment is not specified, the default draft
environment
is used.
string agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for agent.
|
getDefaultInstanceForType()
public AutomatedAgentConfig getDefaultInstanceForType()
getParserForType()
public Parser<AutomatedAgentConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSessionTtl()
public Duration getSessionTtl()
Optional. Sets Dialogflow CX session life time.
By default, a Dialogflow CX session remains active and its data is stored
for 30 minutes after the last request is sent for the session. This value
should be no longer than 1 day.
.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Duration |
The sessionTtl.
|
getSessionTtlOrBuilder()
public DurationOrBuilder getSessionTtlOrBuilder()
Optional. Sets Dialogflow CX session life time.
By default, a Dialogflow CX session remains active and its data is stored
for 30 minutes after the last request is sent for the session. This value
should be no longer than 1 day.
.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
hasSessionTtl()
public boolean hasSessionTtl()
Optional. Sets Dialogflow CX session life time.
By default, a Dialogflow CX session remains active and its data is stored
for 30 minutes after the last request is sent for the session. This value
should be no longer than 1 day.
.google.protobuf.Duration session_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the sessionTtl field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AutomatedAgentConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutomatedAgentConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AutomatedAgentConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides