Class TestError.Builder

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

public static final class TestError.Builder extends com.google.protobuf.GeneratedMessage.Builder<TestError.Builder> implements TestErrorOrBuilder
 Error info for running a test.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.TestError
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    The status associated with the test.
    The test case resource name.
    The timestamp when the test was completed.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The status associated with the test.
    The status associated with the test.
    The status associated with the test.
    The test case resource name.
    com.google.protobuf.ByteString
    The test case resource name.
    com.google.protobuf.Timestamp
    The timestamp when the test was completed.
    com.google.protobuf.Timestamp.Builder
    The timestamp when the test was completed.
    com.google.protobuf.TimestampOrBuilder
    The timestamp when the test was completed.
    boolean
    The status associated with the test.
    boolean
    The timestamp when the test was completed.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    The status associated with the test.
    mergeTestTime(com.google.protobuf.Timestamp value)
    The timestamp when the test was completed.
    The status associated with the test.
    setStatus(Status.Builder builderForValue)
    The status associated with the test.
    The test case resource name.
    setTestCaseBytes(com.google.protobuf.ByteString value)
    The test case resource name.
    setTestTime(com.google.protobuf.Timestamp value)
    The timestamp when the test was completed.
    setTestTime(com.google.protobuf.Timestamp.Builder builderForValue)
    The timestamp when the test was completed.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<TestError.Builder>
    • clear

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

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

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

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

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

      public TestError.Builder mergeFrom(TestError other)
    • isInitialized

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

      public TestError.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<TestError.Builder>
      Throws:
      IOException
    • getTestCase

      public String getTestCase()
       The test case resource name.
       
      string test_case = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getTestCase in interface TestErrorOrBuilder
      Returns:
      The testCase.
    • getTestCaseBytes

      public com.google.protobuf.ByteString getTestCaseBytes()
       The test case resource name.
       
      string test_case = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getTestCaseBytes in interface TestErrorOrBuilder
      Returns:
      The bytes for testCase.
    • setTestCase

      public TestError.Builder setTestCase(String value)
       The test case resource name.
       
      string test_case = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The testCase to set.
      Returns:
      This builder for chaining.
    • clearTestCase

      public TestError.Builder clearTestCase()
       The test case resource name.
       
      string test_case = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setTestCaseBytes

      public TestError.Builder setTestCaseBytes(com.google.protobuf.ByteString value)
       The test case resource name.
       
      string test_case = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for testCase to set.
      Returns:
      This builder for chaining.
    • hasStatus

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

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

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

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

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

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

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

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

      public boolean hasTestTime()
       The timestamp when the test was completed.
       
      .google.protobuf.Timestamp test_time = 3;
      Specified by:
      hasTestTime in interface TestErrorOrBuilder
      Returns:
      Whether the testTime field is set.
    • getTestTime

      public com.google.protobuf.Timestamp getTestTime()
       The timestamp when the test was completed.
       
      .google.protobuf.Timestamp test_time = 3;
      Specified by:
      getTestTime in interface TestErrorOrBuilder
      Returns:
      The testTime.
    • setTestTime

      public TestError.Builder setTestTime(com.google.protobuf.Timestamp value)
       The timestamp when the test was completed.
       
      .google.protobuf.Timestamp test_time = 3;
    • setTestTime

      public TestError.Builder setTestTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The timestamp when the test was completed.
       
      .google.protobuf.Timestamp test_time = 3;
    • mergeTestTime

      public TestError.Builder mergeTestTime(com.google.protobuf.Timestamp value)
       The timestamp when the test was completed.
       
      .google.protobuf.Timestamp test_time = 3;
    • clearTestTime

      public TestError.Builder clearTestTime()
       The timestamp when the test was completed.
       
      .google.protobuf.Timestamp test_time = 3;
    • getTestTimeBuilder

      public com.google.protobuf.Timestamp.Builder getTestTimeBuilder()
       The timestamp when the test was completed.
       
      .google.protobuf.Timestamp test_time = 3;
    • getTestTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getTestTimeOrBuilder()
       The timestamp when the test was completed.
       
      .google.protobuf.Timestamp test_time = 3;
      Specified by:
      getTestTimeOrBuilder in interface TestErrorOrBuilder