Class ConversationDataSource.Builder (2.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConversationDataSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConversationDataSource.Builder
Overrides

build()

public ConversationDataSource build()
Returns
TypeDescription
ConversationDataSource

buildPartial()

public ConversationDataSource buildPartial()
Returns
TypeDescription
ConversationDataSource

clear()

public ConversationDataSource.Builder clear()
Returns
TypeDescription
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
TypeDescription
ConversationDataSource.Builder

clearField(Descriptors.FieldDescriptor field)

public ConversationDataSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ConversationDataSource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ConversationDataSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ConversationDataSource.Builder
Overrides

clearSource()

public ConversationDataSource.Builder clearSource()
Returns
TypeDescription
ConversationDataSource.Builder

clone()

public ConversationDataSource.Builder clone()
Returns
TypeDescription
ConversationDataSource.Builder
Overrides

getDefaultInstanceForType()

public ConversationDataSource getDefaultInstanceForType()
Returns
TypeDescription
ConversationDataSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDialogflowSource()

public DialogflowSource getDialogflowSource()

The source when the conversation comes from Dialogflow.

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

Returns
TypeDescription
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
TypeDescription
DialogflowSource.Builder

getDialogflowSourceOrBuilder()

public DialogflowSourceOrBuilder getDialogflowSourceOrBuilder()

The source when the conversation comes from Dialogflow.

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

Returns
TypeDescription
DialogflowSourceOrBuilder

getGcsSource()

public GcsSource getGcsSource()

A Cloud Storage location specification for the audio and transcript.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GcsSourceOrBuilder

getSourceCase()

public ConversationDataSource.SourceCase getSourceCase()
Returns
TypeDescription
ConversationDataSource.SourceCase

hasDialogflowSource()

public boolean hasDialogflowSource()

The source when the conversation comes from Dialogflow.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the gcsSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDialogflowSource
Returns
TypeDescription
ConversationDataSource.Builder

mergeFrom(ConversationDataSource other)

public ConversationDataSource.Builder mergeFrom(ConversationDataSource other)
Parameter
NameDescription
otherConversationDataSource
Returns
TypeDescription
ConversationDataSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConversationDataSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationDataSource.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ConversationDataSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGcsSource
Returns
TypeDescription
ConversationDataSource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConversationDataSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDialogflowSource
Returns
TypeDescription
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
NameDescription
builderForValueDialogflowSource.Builder
Returns
TypeDescription
ConversationDataSource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ConversationDataSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueGcsSource
Returns
TypeDescription
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
NameDescription
builderForValueGcsSource.Builder
Returns
TypeDescription
ConversationDataSource.Builder

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

public ConversationDataSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConversationDataSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ConversationDataSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConversationDataSource.Builder
Overrides