Class 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.GeneratedMessageV3.Builder<TestError.Builder>
    implements TestErrorOrBuilder
     Error info for running a test.
     
    Protobuf type google.cloud.dialogflow.cx.v3.TestError
    • 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<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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

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

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

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

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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 com.google.rpc.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​(com.google.rpc.Status value)
         The status associated with the test.
         
        .google.rpc.Status status = 2;
      • setStatus

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

        public TestError.Builder mergeStatus​(com.google.rpc.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 com.google.rpc.Status.Builder getStatusBuilder()
         The status associated with the test.
         
        .google.rpc.Status status = 2;
      • getStatusOrBuilder

        public com.google.rpc.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
      • setUnknownFields

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

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