Class ConversationDataSource (2.54.0)

public final class ConversationDataSource extends GeneratedMessageV3 implements ConversationDataSourceOrBuilder

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

Protobuf type google.cloud.contactcenterinsights.v1.ConversationDataSource

Static Fields

DIALOGFLOW_SOURCE_FIELD_NUMBER

public static final int DIALOGFLOW_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConversationDataSource getDefaultInstance()
Returns
Type Description
ConversationDataSource

getDescriptor()

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

newBuilder()

public static ConversationDataSource.Builder newBuilder()
Returns
Type Description
ConversationDataSource.Builder

newBuilder(ConversationDataSource prototype)

public static ConversationDataSource.Builder newBuilder(ConversationDataSource prototype)
Parameter
Name Description
prototype ConversationDataSource
Returns
Type Description
ConversationDataSource.Builder

parseDelimitedFrom(InputStream input)

public static ConversationDataSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConversationDataSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationDataSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationDataSource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ConversationDataSource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ConversationDataSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConversationDataSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationDataSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConversationDataSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ConversationDataSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConversationDataSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationDataSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConversationDataSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ConversationDataSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationDataSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationDataSource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ConversationDataSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConversationDataSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationDataSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationDataSource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ConversationDataSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ConversationDataSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConversationDataSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationDataSource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ConversationDataSource> parser()
Returns
Type Description
Parser<ConversationDataSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ConversationDataSource getDefaultInstanceForType()
Returns
Type Description
ConversationDataSource

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.

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.

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

getParserForType()

public Parser<ConversationDataSource> getParserForType()
Returns
Type Description
Parser<ConversationDataSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConversationDataSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ConversationDataSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException