Class ConversationDataSource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConversationDataSource.Builder>
com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder
All Implemented Interfaces:
ConversationDataSourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ConversationDataSource

public static final class ConversationDataSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConversationDataSource.Builder> implements ConversationDataSourceOrBuilder
 The conversation source, which is a combination of transcript and audio.
 
Protobuf type google.cloud.contactcenterinsights.v1.ConversationDataSource
  • 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<ConversationDataSource.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<ConversationDataSource.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<ConversationDataSource.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ConversationDataSource.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<ConversationDataSource.Builder>
      Throws:
      IOException
    • getSourceCase

      public ConversationDataSource.SourceCase getSourceCase()
      Specified by:
      getSourceCase in interface ConversationDataSourceOrBuilder
    • clearSource

      public ConversationDataSource.Builder clearSource()
    • hasGcsSource

      public boolean hasGcsSource()
       A Cloud Storage location specification for the audio and transcript.
       
      .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;
      Specified by:
      hasGcsSource in interface ConversationDataSourceOrBuilder
      Returns:
      Whether the gcsSource field is set.
    • getGcsSource

      public GcsSource getGcsSource()
       A Cloud Storage location specification for the audio and transcript.
       
      .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;
      Specified by:
      getGcsSource in interface ConversationDataSourceOrBuilder
      Returns:
      The gcsSource.
    • setGcsSource

      public ConversationDataSource.Builder setGcsSource(GcsSource value)
       A Cloud Storage location specification for the audio and transcript.
       
      .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;
    • setGcsSource

      public ConversationDataSource.Builder setGcsSource(GcsSource.Builder builderForValue)
       A Cloud Storage location specification for the audio and transcript.
       
      .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;
    • mergeGcsSource

      public ConversationDataSource.Builder mergeGcsSource(GcsSource value)
       A Cloud Storage location specification for the audio and transcript.
       
      .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;
    • clearGcsSource

      public ConversationDataSource.Builder clearGcsSource()
       A Cloud Storage location specification for the audio and transcript.
       
      .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;
    • getGcsSourceBuilder

      public GcsSource.Builder getGcsSourceBuilder()
       A Cloud Storage location specification for the audio and transcript.
       
      .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;
    • getGcsSourceOrBuilder

      public GcsSourceOrBuilder getGcsSourceOrBuilder()
       A Cloud Storage location specification for the audio and transcript.
       
      .google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;
      Specified by:
      getGcsSourceOrBuilder in interface ConversationDataSourceOrBuilder
    • hasDialogflowSource

      public boolean hasDialogflowSource()
       The source when the conversation comes from Dialogflow.
       
      .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;
      Specified by:
      hasDialogflowSource in interface ConversationDataSourceOrBuilder
      Returns:
      Whether the dialogflowSource field is set.
    • getDialogflowSource

      public DialogflowSource getDialogflowSource()
       The source when the conversation comes from Dialogflow.
       
      .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;
      Specified by:
      getDialogflowSource in interface ConversationDataSourceOrBuilder
      Returns:
      The dialogflowSource.
    • setDialogflowSource

      public ConversationDataSource.Builder setDialogflowSource(DialogflowSource value)
       The source when the conversation comes from Dialogflow.
       
      .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;
    • setDialogflowSource

      public ConversationDataSource.Builder setDialogflowSource(DialogflowSource.Builder builderForValue)
       The source when the conversation comes from Dialogflow.
       
      .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;
    • mergeDialogflowSource

      public ConversationDataSource.Builder mergeDialogflowSource(DialogflowSource value)
       The source when the conversation comes from Dialogflow.
       
      .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;
    • clearDialogflowSource

      public ConversationDataSource.Builder clearDialogflowSource()
       The source when the conversation comes from Dialogflow.
       
      .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;
    • getDialogflowSourceBuilder

      public DialogflowSource.Builder getDialogflowSourceBuilder()
       The source when the conversation comes from Dialogflow.
       
      .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;
    • getDialogflowSourceOrBuilder

      public DialogflowSourceOrBuilder getDialogflowSourceOrBuilder()
       The source when the conversation comes from Dialogflow.
       
      .google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;
      Specified by:
      getDialogflowSourceOrBuilder in interface ConversationDataSourceOrBuilder