Class ConversationDataSource.Builder (2.52.0)

public static final class ConversationDataSource.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConversationDataSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConversationDataSource.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ConversationDataSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ConversationDataSource.Builder
Overrides

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ConversationDataSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ConversationDataSource.Builder
Overrides

clearSource()

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConversationDataSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConversationDataSource.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public ConversationDataSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConversationDataSource.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ConversationDataSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ConversationDataSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ConversationDataSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConversationDataSource.Builder
Overrides