Class TestCase.Builder

  • All Implemented Interfaces:
    TestCaseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    TestCase

    public static final class TestCase.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
    implements TestCaseOrBuilder
     Represents a test case.
     
    Protobuf type google.cloud.dialogflow.cx.v3beta1.TestCase
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
      • clear

        public TestCase.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
      • getDefaultInstanceForType

        public TestCase getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public TestCase build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public TestCase buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public TestCase.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
      • setField

        public TestCase.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                         Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
      • clearField

        public TestCase.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
      • clearOneof

        public TestCase.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
      • setRepeatedField

        public TestCase.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 int index,
                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
      • addRepeatedField

        public TestCase.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
      • mergeFrom

        public TestCase.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TestCase.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
      • mergeFrom

        public TestCase.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TestCase.Builder>
        Throws:
        IOException
      • getName

        public 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/<Project ID>/locations/<LocationID>/agents/
         <AgentID>/testCases/<TestCase ID>`.
         
        string name = 1;
        Specified by:
        getName in interface TestCaseOrBuilder
        Returns:
        The name.
      • getNameBytes

        public 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/<Project ID>/locations/<LocationID>/agents/
         <AgentID>/testCases/<TestCase ID>`.
         
        string name = 1;
        Specified by:
        getNameBytes in interface TestCaseOrBuilder
        Returns:
        The bytes for name.
      • setName

        public TestCase.Builder setName​(String value)
         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/<Project ID>/locations/<LocationID>/agents/
         <AgentID>/testCases/<TestCase ID>`.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public TestCase.Builder clearName()
         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/<Project ID>/locations/<LocationID>/agents/
         <AgentID>/testCases/<TestCase ID>`.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public TestCase.Builder setNameBytes​(com.google.protobuf.ByteString value)
         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/<Project ID>/locations/<LocationID>/agents/
         <AgentID>/testCases/<TestCase ID>`.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getTagsList

        public com.google.protobuf.ProtocolStringList 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;
        Specified by:
        getTagsList in interface TestCaseOrBuilder
        Returns:
        A list containing the tags.
      • getTagsCount

        public 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;
        Specified by:
        getTagsCount in interface TestCaseOrBuilder
        Returns:
        The count of tags.
      • getTags

        public 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;
        Specified by:
        getTags in interface TestCaseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The tags at the given index.
      • getTagsBytes

        public 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;
        Specified by:
        getTagsBytes in interface TestCaseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tags at the given index.
      • setTags

        public TestCase.Builder setTags​(int index,
                                        String value)
         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 to set the value at.
        value - The tags to set.
        Returns:
        This builder for chaining.
      • addTags

        public TestCase.Builder addTags​(String value)
         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:
        value - The tags to add.
        Returns:
        This builder for chaining.
      • addAllTags

        public TestCase.Builder addAllTags​(Iterable<String> values)
         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:
        values - The tags to add.
        Returns:
        This builder for chaining.
      • clearTags

        public TestCase.Builder clearTags()
         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:
        This builder for chaining.
      • addTagsBytes

        public TestCase.Builder addTagsBytes​(com.google.protobuf.ByteString value)
         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:
        value - The bytes of the tags to add.
        Returns:
        This builder for chaining.
      • getDisplayName

        public 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];
        Specified by:
        getDisplayName in interface TestCaseOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public 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];
        Specified by:
        getDisplayNameBytes in interface TestCaseOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public TestCase.Builder setDisplayName​(String value)
         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];
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public TestCase.Builder clearDisplayName()
         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:
        This builder for chaining.
      • setDisplayNameBytes

        public TestCase.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         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];
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getNotes

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

        public com.google.protobuf.ByteString getNotesBytes()
         Additional freeform notes about the test case. Limit of 400 characters.
         
        string notes = 4;
        Specified by:
        getNotesBytes in interface TestCaseOrBuilder
        Returns:
        The bytes for notes.
      • setNotes

        public TestCase.Builder setNotes​(String value)
         Additional freeform notes about the test case. Limit of 400 characters.
         
        string notes = 4;
        Parameters:
        value - The notes to set.
        Returns:
        This builder for chaining.
      • clearNotes

        public TestCase.Builder clearNotes()
         Additional freeform notes about the test case. Limit of 400 characters.
         
        string notes = 4;
        Returns:
        This builder for chaining.
      • setNotesBytes

        public TestCase.Builder setNotesBytes​(com.google.protobuf.ByteString value)
         Additional freeform notes about the test case. Limit of 400 characters.
         
        string notes = 4;
        Parameters:
        value - The bytes for notes to set.
        Returns:
        This builder for chaining.
      • hasTestConfig

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

        public TestConfig getTestConfig()
         Config for the test case.
         
        .google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
        Specified by:
        getTestConfig in interface TestCaseOrBuilder
        Returns:
        The testConfig.
      • setTestConfig

        public TestCase.Builder setTestConfig​(TestConfig value)
         Config for the test case.
         
        .google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
      • setTestConfig

        public TestCase.Builder setTestConfig​(TestConfig.Builder builderForValue)
         Config for the test case.
         
        .google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
      • mergeTestConfig

        public TestCase.Builder mergeTestConfig​(TestConfig value)
         Config for the test case.
         
        .google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
      • clearTestConfig

        public TestCase.Builder clearTestConfig()
         Config for the test case.
         
        .google.cloud.dialogflow.cx.v3beta1.TestConfig test_config = 13;
      • getTestConfigBuilder

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

        public 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;
        Specified by:
        getTestCaseConversationTurnsList in interface TestCaseOrBuilder
      • getTestCaseConversationTurnsCount

        public 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;
        Specified by:
        getTestCaseConversationTurnsCount in interface TestCaseOrBuilder
      • getTestCaseConversationTurns

        public 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;
        Specified by:
        getTestCaseConversationTurns in interface TestCaseOrBuilder
      • setTestCaseConversationTurns

        public TestCase.Builder setTestCaseConversationTurns​(int index,
                                                             ConversationTurn value)
         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;
      • setTestCaseConversationTurns

        public TestCase.Builder setTestCaseConversationTurns​(int index,
                                                             ConversationTurn.Builder builderForValue)
         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;
      • addTestCaseConversationTurns

        public TestCase.Builder addTestCaseConversationTurns​(ConversationTurn value)
         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;
      • addTestCaseConversationTurns

        public TestCase.Builder addTestCaseConversationTurns​(int index,
                                                             ConversationTurn value)
         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;
      • addTestCaseConversationTurns

        public TestCase.Builder addTestCaseConversationTurns​(ConversationTurn.Builder builderForValue)
         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;
      • addTestCaseConversationTurns

        public TestCase.Builder addTestCaseConversationTurns​(int index,
                                                             ConversationTurn.Builder builderForValue)
         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;
      • addAllTestCaseConversationTurns

        public TestCase.Builder addAllTestCaseConversationTurns​(Iterable<? extends ConversationTurn> values)
         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;
      • clearTestCaseConversationTurns

        public TestCase.Builder clearTestCaseConversationTurns()
         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;
      • removeTestCaseConversationTurns

        public TestCase.Builder removeTestCaseConversationTurns​(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;
      • getTestCaseConversationTurnsBuilder

        public ConversationTurn.Builder getTestCaseConversationTurnsBuilder​(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;
      • getTestCaseConversationTurnsOrBuilder

        public 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;
        Specified by:
        getTestCaseConversationTurnsOrBuilder in interface TestCaseOrBuilder
      • getTestCaseConversationTurnsOrBuilderList

        public 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;
        Specified by:
        getTestCaseConversationTurnsOrBuilderList in interface TestCaseOrBuilder
      • addTestCaseConversationTurnsBuilder

        public ConversationTurn.Builder addTestCaseConversationTurnsBuilder()
         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;
      • addTestCaseConversationTurnsBuilder

        public ConversationTurn.Builder addTestCaseConversationTurnsBuilder​(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;
      • getTestCaseConversationTurnsBuilderList

        public List<ConversationTurn.Builder> getTestCaseConversationTurnsBuilderList()
         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

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

        public com.google.protobuf.Timestamp getCreationTime()
         Output only. When the test was created.
         
        .google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreationTime in interface TestCaseOrBuilder
        Returns:
        The creationTime.
      • setCreationTime

        public TestCase.Builder setCreationTime​(com.google.protobuf.Timestamp value)
         Output only. When the test was created.
         
        .google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreationTime

        public TestCase.Builder setCreationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. When the test was created.
         
        .google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreationTime

        public TestCase.Builder mergeCreationTime​(com.google.protobuf.Timestamp value)
         Output only. When the test was created.
         
        .google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreationTime

        public TestCase.Builder clearCreationTime()
         Output only. When the test was created.
         
        .google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreationTimeBuilder

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

        public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
         Output only. When the test was created.
         
        .google.protobuf.Timestamp creation_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreationTimeOrBuilder in interface TestCaseOrBuilder
      • hasLastTestResult

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

        public TestCaseResult getLastTestResult()
         The latest test result.
         
        .google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
        Specified by:
        getLastTestResult in interface TestCaseOrBuilder
        Returns:
        The lastTestResult.
      • setLastTestResult

        public TestCase.Builder setLastTestResult​(TestCaseResult value)
         The latest test result.
         
        .google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
      • setLastTestResult

        public TestCase.Builder setLastTestResult​(TestCaseResult.Builder builderForValue)
         The latest test result.
         
        .google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
      • mergeLastTestResult

        public TestCase.Builder mergeLastTestResult​(TestCaseResult value)
         The latest test result.
         
        .google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
      • clearLastTestResult

        public TestCase.Builder clearLastTestResult()
         The latest test result.
         
        .google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
      • getLastTestResultBuilder

        public TestCaseResult.Builder getLastTestResultBuilder()
         The latest test result.
         
        .google.cloud.dialogflow.cx.v3beta1.TestCaseResult last_test_result = 12;
      • setUnknownFields

        public final TestCase.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>
      • mergeUnknownFields

        public final TestCase.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TestCase.Builder>