Class ExportTestCasesResponse.Builder

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

public static final class ExportTestCasesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportTestCasesResponse.Builder> implements ExportTestCasesResponseOrBuilder
 The response message for
 [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3beta1.TestCases.ExportTestCases].
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportTestCasesResponse
  • 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<ExportTestCasesResponse.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<ExportTestCasesResponse.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<ExportTestCasesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public ExportTestCasesResponse.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<ExportTestCasesResponse.Builder>
      Throws:
      IOException
    • getDestinationCase

      public ExportTestCasesResponse.DestinationCase getDestinationCase()
      Specified by:
      getDestinationCase in interface ExportTestCasesResponseOrBuilder
    • clearDestination

      public ExportTestCasesResponse.Builder clearDestination()
    • hasGcsUri

      public boolean hasGcsUri()
       The URI to a file containing the exported test cases. This field is
       populated only if `gcs_uri` is specified in
       [ExportTestCasesRequest][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest].
       
      string gcs_uri = 1;
      Specified by:
      hasGcsUri in interface ExportTestCasesResponseOrBuilder
      Returns:
      Whether the gcsUri field is set.
    • getGcsUri

      public String getGcsUri()
       The URI to a file containing the exported test cases. This field is
       populated only if `gcs_uri` is specified in
       [ExportTestCasesRequest][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest].
       
      string gcs_uri = 1;
      Specified by:
      getGcsUri in interface ExportTestCasesResponseOrBuilder
      Returns:
      The gcsUri.
    • getGcsUriBytes

      public com.google.protobuf.ByteString getGcsUriBytes()
       The URI to a file containing the exported test cases. This field is
       populated only if `gcs_uri` is specified in
       [ExportTestCasesRequest][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest].
       
      string gcs_uri = 1;
      Specified by:
      getGcsUriBytes in interface ExportTestCasesResponseOrBuilder
      Returns:
      The bytes for gcsUri.
    • setGcsUri

      public ExportTestCasesResponse.Builder setGcsUri(String value)
       The URI to a file containing the exported test cases. This field is
       populated only if `gcs_uri` is specified in
       [ExportTestCasesRequest][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest].
       
      string gcs_uri = 1;
      Parameters:
      value - The gcsUri to set.
      Returns:
      This builder for chaining.
    • clearGcsUri

      public ExportTestCasesResponse.Builder clearGcsUri()
       The URI to a file containing the exported test cases. This field is
       populated only if `gcs_uri` is specified in
       [ExportTestCasesRequest][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest].
       
      string gcs_uri = 1;
      Returns:
      This builder for chaining.
    • setGcsUriBytes

      public ExportTestCasesResponse.Builder setGcsUriBytes(com.google.protobuf.ByteString value)
       The URI to a file containing the exported test cases. This field is
       populated only if `gcs_uri` is specified in
       [ExportTestCasesRequest][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest].
       
      string gcs_uri = 1;
      Parameters:
      value - The bytes for gcsUri to set.
      Returns:
      This builder for chaining.
    • hasContent

      public boolean hasContent()
       Uncompressed raw byte content for test cases.
       
      bytes content = 2;
      Specified by:
      hasContent in interface ExportTestCasesResponseOrBuilder
      Returns:
      Whether the content field is set.
    • getContent

      public com.google.protobuf.ByteString getContent()
       Uncompressed raw byte content for test cases.
       
      bytes content = 2;
      Specified by:
      getContent in interface ExportTestCasesResponseOrBuilder
      Returns:
      The content.
    • setContent

      public ExportTestCasesResponse.Builder setContent(com.google.protobuf.ByteString value)
       Uncompressed raw byte content for test cases.
       
      bytes content = 2;
      Parameters:
      value - The content to set.
      Returns:
      This builder for chaining.
    • clearContent

      public ExportTestCasesResponse.Builder clearContent()
       Uncompressed raw byte content for test cases.
       
      bytes content = 2;
      Returns:
      This builder for chaining.