Class TestRunDifference.Builder

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

public static final class TestRunDifference.Builder extends com.google.protobuf.GeneratedMessage.Builder<TestRunDifference.Builder> implements TestRunDifferenceOrBuilder
 The description of differences between original and replayed agent output.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.TestRunDifference
  • 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<TestRunDifference.Builder>
    • clear

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

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

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

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

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

      public TestRunDifference.Builder mergeFrom(TestRunDifference other)
    • isInitialized

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

      public TestRunDifference.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<TestRunDifference.Builder>
      Throws:
      IOException
    • getTypeValue

      public int getTypeValue()
       The type of diff.
       
      .google.cloud.dialogflow.cx.v3beta1.TestRunDifference.DiffType type = 1;
      Specified by:
      getTypeValue in interface TestRunDifferenceOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public TestRunDifference.Builder setTypeValue(int value)
       The type of diff.
       
      .google.cloud.dialogflow.cx.v3beta1.TestRunDifference.DiffType type = 1;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public TestRunDifference.DiffType getType()
       The type of diff.
       
      .google.cloud.dialogflow.cx.v3beta1.TestRunDifference.DiffType type = 1;
      Specified by:
      getType in interface TestRunDifferenceOrBuilder
      Returns:
      The type.
    • setType

       The type of diff.
       
      .google.cloud.dialogflow.cx.v3beta1.TestRunDifference.DiffType type = 1;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public TestRunDifference.Builder clearType()
       The type of diff.
       
      .google.cloud.dialogflow.cx.v3beta1.TestRunDifference.DiffType type = 1;
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       A human readable description of the diff, showing the actual output vs
       expected output.
       
      string description = 2;
      Specified by:
      getDescription in interface TestRunDifferenceOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       A human readable description of the diff, showing the actual output vs
       expected output.
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface TestRunDifferenceOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public TestRunDifference.Builder setDescription(String value)
       A human readable description of the diff, showing the actual output vs
       expected output.
       
      string description = 2;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public TestRunDifference.Builder clearDescription()
       A human readable description of the diff, showing the actual output vs
       expected output.
       
      string description = 2;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public TestRunDifference.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       A human readable description of the diff, showing the actual output vs
       expected output.
       
      string description = 2;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.