Class TestCaseError.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TestCaseError.Builder>
com.google.cloud.dialogflow.cx.v3beta1.TestCaseError.Builder
All Implemented Interfaces:
TestCaseErrorOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TestCaseError

public static final class TestCaseError.Builder extends com.google.protobuf.GeneratedMessage.Builder<TestCaseError.Builder> implements TestCaseErrorOrBuilder
 Error info for importing a test.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.TestCaseError
  • Method Details

    • getDescriptor

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

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

      public TestCaseError.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.GeneratedMessage.Builder<TestCaseError.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.GeneratedMessage.Builder<TestCaseError.Builder>
    • getDefaultInstanceForType

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

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

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

      public TestCaseError.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<TestCaseError.Builder>
    • mergeFrom

      public TestCaseError.Builder mergeFrom(TestCaseError other)
    • isInitialized

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

      public TestCaseError.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<TestCaseError.Builder>
      Throws:
      IOException
    • hasTestCase

      public boolean hasTestCase()
       The test case.
       
      .google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;
      Specified by:
      hasTestCase in interface TestCaseErrorOrBuilder
      Returns:
      Whether the testCase field is set.
    • getTestCase

      public TestCase getTestCase()
       The test case.
       
      .google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;
      Specified by:
      getTestCase in interface TestCaseErrorOrBuilder
      Returns:
      The testCase.
    • setTestCase

      public TestCaseError.Builder setTestCase(TestCase value)
       The test case.
       
      .google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;
    • setTestCase

      public TestCaseError.Builder setTestCase(TestCase.Builder builderForValue)
       The test case.
       
      .google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;
    • mergeTestCase

      public TestCaseError.Builder mergeTestCase(TestCase value)
       The test case.
       
      .google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;
    • clearTestCase

      public TestCaseError.Builder clearTestCase()
       The test case.
       
      .google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;
    • getTestCaseBuilder

      public TestCase.Builder getTestCaseBuilder()
       The test case.
       
      .google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;
    • getTestCaseOrBuilder

      public TestCaseOrBuilder getTestCaseOrBuilder()
       The test case.
       
      .google.cloud.dialogflow.cx.v3beta1.TestCase test_case = 1;
      Specified by:
      getTestCaseOrBuilder in interface TestCaseErrorOrBuilder
    • hasStatus

      public boolean hasStatus()
       The status associated with the test case.
       
      .google.rpc.Status status = 2;
      Specified by:
      hasStatus in interface TestCaseErrorOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public Status getStatus()
       The status associated with the test case.
       
      .google.rpc.Status status = 2;
      Specified by:
      getStatus in interface TestCaseErrorOrBuilder
      Returns:
      The status.
    • setStatus

      public TestCaseError.Builder setStatus(Status value)
       The status associated with the test case.
       
      .google.rpc.Status status = 2;
    • setStatus

      public TestCaseError.Builder setStatus(Status.Builder builderForValue)
       The status associated with the test case.
       
      .google.rpc.Status status = 2;
    • mergeStatus

      public TestCaseError.Builder mergeStatus(Status value)
       The status associated with the test case.
       
      .google.rpc.Status status = 2;
    • clearStatus

      public TestCaseError.Builder clearStatus()
       The status associated with the test case.
       
      .google.rpc.Status status = 2;
    • getStatusBuilder

      public Status.Builder getStatusBuilder()
       The status associated with the test case.
       
      .google.rpc.Status status = 2;
    • getStatusOrBuilder

      public StatusOrBuilder getStatusOrBuilder()
       The status associated with the test case.
       
      .google.rpc.Status status = 2;
      Specified by:
      getStatusOrBuilder in interface TestCaseErrorOrBuilder