Class ConversationDataSource.Builder (2.83.0)

public static final class ConversationDataSource.Builder extends GeneratedMessage.Builder<ConversationDataSource.Builder> implements ConversationDataSourceOrBuilder

The conversation source, which is a combination of transcript and audio.

Protobuf type google.cloud.contactcenterinsights.v1.ConversationDataSource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ConversationDataSource build()
Returns
Type Description
ConversationDataSource

buildPartial()

public ConversationDataSource buildPartial()
Returns
Type Description
ConversationDataSource

clear()

public ConversationDataSource.Builder clear()
Returns
Type Description
ConversationDataSource.Builder
Overrides

clearDialogflowSource()

public ConversationDataSource.Builder clearDialogflowSource()

The source when the conversation comes from Dialogflow.

.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;

Returns
Type Description
ConversationDataSource.Builder

clearGcsSource()

public ConversationDataSource.Builder clearGcsSource()

A Cloud Storage location specification for the audio and transcript.

.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;

Returns
Type Description
ConversationDataSource.Builder

clearSource()

public ConversationDataSource.Builder clearSource()
Returns
Type Description
ConversationDataSource.Builder

getDefaultInstanceForType()

public ConversationDataSource getDefaultInstanceForType()
Returns
Type Description
ConversationDataSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDialogflowSource()

public DialogflowSource getDialogflowSource()

The source when the conversation comes from Dialogflow.

.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;

Returns
Type Description
DialogflowSource

The dialogflowSource.

getDialogflowSourceBuilder()

public DialogflowSource.Builder getDialogflowSourceBuilder()

The source when the conversation comes from Dialogflow.

.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;

Returns
Type Description
DialogflowSource.Builder

getDialogflowSourceOrBuilder()

public DialogflowSourceOrBuilder getDialogflowSourceOrBuilder()

The source when the conversation comes from Dialogflow.

.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;

Returns
Type Description
DialogflowSourceOrBuilder

getGcsSource()

public GcsSource getGcsSource()

A Cloud Storage location specification for the audio and transcript.

.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceBuilder()

public GcsSource.Builder getGcsSourceBuilder()

A Cloud Storage location specification for the audio and transcript.

.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;

Returns
Type Description
GcsSource.Builder

getGcsSourceOrBuilder()

public GcsSourceOrBuilder getGcsSourceOrBuilder()

A Cloud Storage location specification for the audio and transcript.

.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;

Returns
Type Description
GcsSourceOrBuilder

getSourceCase()

public ConversationDataSource.SourceCase getSourceCase()
Returns
Type Description
ConversationDataSource.SourceCase

hasDialogflowSource()

public boolean hasDialogflowSource()

The source when the conversation comes from Dialogflow.

.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;

Returns
Type Description
boolean

Whether the dialogflowSource field is set.

hasGcsSource()

public boolean hasGcsSource()

A Cloud Storage location specification for the audio and transcript.

.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;

Returns
Type Description
boolean

Whether the gcsSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDialogflowSource(DialogflowSource value)

public ConversationDataSource.Builder mergeDialogflowSource(DialogflowSource value)

The source when the conversation comes from Dialogflow.

.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;

Parameter
Name Description
value DialogflowSource
Returns
Type Description
ConversationDataSource.Builder

mergeFrom(ConversationDataSource other)

public ConversationDataSource.Builder mergeFrom(ConversationDataSource other)
Parameter
Name Description
other ConversationDataSource
Returns
Type Description
ConversationDataSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConversationDataSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationDataSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConversationDataSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConversationDataSource.Builder
Overrides

mergeGcsSource(GcsSource value)

public ConversationDataSource.Builder mergeGcsSource(GcsSource value)

A Cloud Storage location specification for the audio and transcript.

.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;

Parameter
Name Description
value GcsSource
Returns
Type Description
ConversationDataSource.Builder

setDialogflowSource(DialogflowSource value)

public ConversationDataSource.Builder setDialogflowSource(DialogflowSource value)

The source when the conversation comes from Dialogflow.

.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;

Parameter
Name Description
value DialogflowSource
Returns
Type Description
ConversationDataSource.Builder

setDialogflowSource(DialogflowSource.Builder builderForValue)

public ConversationDataSource.Builder setDialogflowSource(DialogflowSource.Builder builderForValue)

The source when the conversation comes from Dialogflow.

.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;

Parameter
Name Description
builderForValue DialogflowSource.Builder
Returns
Type Description
ConversationDataSource.Builder

setGcsSource(GcsSource value)

public ConversationDataSource.Builder setGcsSource(GcsSource value)

A Cloud Storage location specification for the audio and transcript.

.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;

Parameter
Name Description
value GcsSource
Returns
Type Description
ConversationDataSource.Builder

setGcsSource(GcsSource.Builder builderForValue)

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;

Parameter
Name Description
builderForValue GcsSource.Builder
Returns
Type Description
ConversationDataSource.Builder