Interface Conversation.ContextReferenceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Conversation.ContextReference, Conversation.ContextReference.Builder
Enclosing class:
Conversation

public static interface Conversation.ContextReferenceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getContextContentsList

       Required. The list of content updates for a context reference.
       
      repeated .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED];
    • getContextContents

      Conversation.ContextReference.ContextContent getContextContents(int index)
       Required. The list of content updates for a context reference.
       
      repeated .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED];
    • getContextContentsCount

      int getContextContentsCount()
       Required. The list of content updates for a context reference.
       
      repeated .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED];
    • getContextContentsOrBuilderList

      List<? extends Conversation.ContextReference.ContextContentOrBuilder> getContextContentsOrBuilderList()
       Required. The list of content updates for a context reference.
       
      repeated .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED];
    • getContextContentsOrBuilder

      Conversation.ContextReference.ContextContentOrBuilder getContextContentsOrBuilder(int index)
       Required. The list of content updates for a context reference.
       
      repeated .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateModeValue

      int getUpdateModeValue()
       Required. The mode in which context reference contents are updated.
       
      .google.cloud.dialogflow.v2.Conversation.ContextReference.UpdateMode update_mode = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for updateMode.
    • getUpdateMode

       Required. The mode in which context reference contents are updated.
       
      .google.cloud.dialogflow.v2.Conversation.ContextReference.UpdateMode update_mode = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The updateMode.
    • getLanguageCode

      String getLanguageCode()
       Optional. The language of the information ingested, defaults to "en-US"
       if not set.
       
      string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      com.google.protobuf.ByteString getLanguageCodeBytes()
       Optional. The language of the information ingested, defaults to "en-US"
       if not set.
       
      string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for languageCode.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The time the context reference was first created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The time the context reference was first created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time the context reference was first created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];