Interface TestCaseOrBuilder

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

@Generated public interface TestCaseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       The unique identifier of the test case.
       [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase]
       will populate the name automatically. Otherwise use format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The unique identifier of the test case.
       [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase]
       will populate the name automatically. Otherwise use format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getTagsList

      List<String> getTagsList()
       Tags are short descriptions that users may apply to test cases for
       organizational and filtering purposes. Each tag should start with "#" and
       has a limit of 30 characters.
       
      repeated string tags = 2;
      Returns:
      A list containing the tags.
    • getTagsCount

      int getTagsCount()
       Tags are short descriptions that users may apply to test cases for
       organizational and filtering purposes. Each tag should start with "#" and
       has a limit of 30 characters.
       
      repeated string tags = 2;
      Returns:
      The count of tags.
    • getTags

      String getTags(int index)
       Tags are short descriptions that users may apply to test cases for
       organizational and filtering purposes. Each tag should start with "#" and
       has a limit of 30 characters.
       
      repeated string tags = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      com.google.protobuf.ByteString getTagsBytes(int index)
       Tags are short descriptions that users may apply to test cases for
       organizational and filtering purposes. Each tag should start with "#" and
       has a limit of 30 characters.
       
      repeated string tags = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • getDisplayName

      String getDisplayName()
       Required. The human-readable name of the test case, unique within the
       agent. Limit of 200 characters.
       
      string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The human-readable name of the test case, unique within the
       agent. Limit of 200 characters.
       
      string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for displayName.
    • getNotes

      String getNotes()
       Additional freeform notes about the test case. Limit of 400 characters.
       
      string notes = 4;
      Returns:
      The notes.
    • getNotesBytes

      com.google.protobuf.ByteString getNotesBytes()
       Additional freeform notes about the test case. Limit of 400 characters.
       
      string notes = 4;
      Returns:
      The bytes for notes.
    • hasTestConfig

      boolean hasTestConfig()
       Config for the test case.
       
      .google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
      Returns:
      Whether the testConfig field is set.
    • getTestConfig

      TestConfig getTestConfig()
       Config for the test case.
       
      .google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
      Returns:
      The testConfig.
    • getTestConfigOrBuilder

      TestConfigOrBuilder getTestConfigOrBuilder()
       Config for the test case.
       
      .google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
    • getTestCaseConversationTurnsList

      List<ConversationTurn> getTestCaseConversationTurnsList()
       The conversation turns uttered when the test case was created, in
       chronological order. These include the canonical set of agent utterances
       that should occur when the agent is working properly.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ConversationTurn test_case_conversation_turns = 5;
    • getTestCaseConversationTurns

      ConversationTurn getTestCaseConversationTurns(int index)
       The conversation turns uttered when the test case was created, in
       chronological order. These include the canonical set of agent utterances
       that should occur when the agent is working properly.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ConversationTurn test_case_conversation_turns = 5;
    • getTestCaseConversationTurnsCount

      int getTestCaseConversationTurnsCount()
       The conversation turns uttered when the test case was created, in
       chronological order. These include the canonical set of agent utterances
       that should occur when the agent is working properly.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ConversationTurn test_case_conversation_turns = 5;
    • getTestCaseConversationTurnsOrBuilderList

      List<? extends ConversationTurnOrBuilder> getTestCaseConversationTurnsOrBuilderList()
       The conversation turns uttered when the test case was created, in
       chronological order. These include the canonical set of agent utterances
       that should occur when the agent is working properly.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ConversationTurn test_case_conversation_turns = 5;
    • getTestCaseConversationTurnsOrBuilder

      ConversationTurnOrBuilder getTestCaseConversationTurnsOrBuilder(int index)
       The conversation turns uttered when the test case was created, in
       chronological order. These include the canonical set of agent utterances
       that should occur when the agent is working properly.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ConversationTurn test_case_conversation_turns = 5;
    • hasCreationTime

      boolean hasCreationTime()
       Output only. When the test was created.
       
      .google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the creationTime field is set.
    • getCreationTime

      com.google.protobuf.Timestamp getCreationTime()
       Output only. When the test was created.
       
      .google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The creationTime.
    • getCreationTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
       Output only. When the test was created.
       
      .google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasLastTestResult

      boolean hasLastTestResult()
       The latest test result.
       
      .google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
      Returns:
      Whether the lastTestResult field is set.
    • getLastTestResult

      TestCaseResult getLastTestResult()
       The latest test result.
       
      .google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
      Returns:
      The lastTestResult.
    • getLastTestResultOrBuilder

      TestCaseResultOrBuilder getLastTestResultOrBuilder()
       The latest test result.
       
      .google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;