Class ConversationDataSource (2.30.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
TypeDescription
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ConversationDataSource getDefaultInstance()
Returns
TypeDescription
ConversationDataSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ConversationDataSource.Builder newBuilder()
Returns
TypeDescription
ConversationDataSource.Builder

newBuilder(ConversationDataSource prototype)

public static ConversationDataSource.Builder newBuilder(ConversationDataSource prototype)
Parameter
NameDescription
prototypeConversationDataSource
Returns
TypeDescription
ConversationDataSource.Builder

parseDelimitedFrom(InputStream input)

public static ConversationDataSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConversationDataSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationDataSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationDataSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ConversationDataSource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ConversationDataSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConversationDataSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationDataSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConversationDataSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ConversationDataSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConversationDataSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationDataSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConversationDataSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ConversationDataSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationDataSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationDataSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ConversationDataSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConversationDataSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationDataSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationDataSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ConversationDataSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ConversationDataSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConversationDataSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationDataSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ConversationDataSource> parser()
Returns
TypeDescription
Parser<ConversationDataSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ConversationDataSource getDefaultInstanceForType()
Returns
TypeDescription
ConversationDataSource

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.

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.

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

getParserForType()

public Parser<ConversationDataSource> getParserForType()
Returns
TypeDescription
Parser<ConversationDataSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConversationDataSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ConversationDataSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException