Interface AutomatedAgentConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AutomatedAgentConfig, AutomatedAgentConfig.Builder

@Generated public interface AutomatedAgentConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    com.google.protobuf.Duration
    Optional.
    com.google.protobuf.DurationOrBuilder
    Optional.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getAgent

      String 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](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.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:
      The agent.
    • getAgentBytes

      com.google.protobuf.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](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.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:
      The bytes for agent.
    • hasSessionTtl

      boolean hasSessionTtl()
       Optional. Configure lifetime of the Dialogflow session.
       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:
      Whether the sessionTtl field is set.
    • getSessionTtl

      com.google.protobuf.Duration getSessionTtl()
       Optional. Configure lifetime of the Dialogflow session.
       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:
      The sessionTtl.
    • getSessionTtlOrBuilder

      com.google.protobuf.DurationOrBuilder getSessionTtlOrBuilder()
       Optional. Configure lifetime of the Dialogflow session.
       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];