Class IngestConversationsRequest (2.49.0)

public final class IngestConversationsRequest extends GeneratedMessageV3 implements IngestConversationsRequestOrBuilder

The request to ingest conversations.

Protobuf type google.cloud.contactcenterinsights.v1.IngestConversationsRequest

Static Fields

CONVERSATION_CONFIG_FIELD_NUMBER

public static final int CONVERSATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

REDACTION_CONFIG_FIELD_NUMBER

public static final int REDACTION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SPEECH_CONFIG_FIELD_NUMBER

public static final int SPEECH_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

TRANSCRIPT_OBJECT_CONFIG_FIELD_NUMBER

public static final int TRANSCRIPT_OBJECT_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IngestConversationsRequest getDefaultInstance()
Returns
Type Description
IngestConversationsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(IngestConversationsRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConversationConfig()

public IngestConversationsRequest.ConversationConfig getConversationConfig()

Configuration that applies to all conversations.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;

Returns
Type Description
IngestConversationsRequest.ConversationConfig

The conversationConfig.

getConversationConfigOrBuilder()

public IngestConversationsRequest.ConversationConfigOrBuilder getConversationConfigOrBuilder()

Configuration that applies to all conversations.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;

Returns
Type Description
IngestConversationsRequest.ConversationConfigOrBuilder

getDefaultInstanceForType()

public IngestConversationsRequest getDefaultInstanceForType()
Returns
Type Description
IngestConversationsRequest

getGcsSource()

public IngestConversationsRequest.GcsSource getGcsSource()

A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;

Returns
Type Description
IngestConversationsRequest.GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public IngestConversationsRequest.GcsSourceOrBuilder getGcsSourceOrBuilder()

A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;

Returns
Type Description
IngestConversationsRequest.GcsSourceOrBuilder

getObjectConfigCase()

public IngestConversationsRequest.ObjectConfigCase getObjectConfigCase()
Returns
Type Description
IngestConversationsRequest.ObjectConfigCase

getParent()

public String getParent()

Required. The parent resource for new conversations.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource for new conversations.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

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

getRedactionConfig()

public RedactionConfig getRedactionConfig()

Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.

.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RedactionConfig

The redactionConfig.

getRedactionConfigOrBuilder()

public RedactionConfigOrBuilder getRedactionConfigOrBuilder()

Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.

.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RedactionConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

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

getSpeechConfig()

public SpeechConfig getSpeechConfig()

Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.

.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SpeechConfig

The speechConfig.

getSpeechConfigOrBuilder()

public SpeechConfigOrBuilder getSpeechConfigOrBuilder()

Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.

.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SpeechConfigOrBuilder

getTranscriptObjectConfig()

public IngestConversationsRequest.TranscriptObjectConfig getTranscriptObjectConfig()

Configuration for when source contains conversation transcripts.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;

Returns
Type Description
IngestConversationsRequest.TranscriptObjectConfig

The transcriptObjectConfig.

getTranscriptObjectConfigOrBuilder()

public IngestConversationsRequest.TranscriptObjectConfigOrBuilder getTranscriptObjectConfigOrBuilder()

Configuration for when source contains conversation transcripts.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;

Returns
Type Description
IngestConversationsRequest.TranscriptObjectConfigOrBuilder

hasConversationConfig()

public boolean hasConversationConfig()

Configuration that applies to all conversations.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;

Returns
Type Description
boolean

Whether the conversationConfig field is set.

hasGcsSource()

public boolean hasGcsSource()

A cloud storage bucket source. Note that any previously ingested objects from the source will be skipped to avoid duplication.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;

Returns
Type Description
boolean

Whether the gcsSource field is set.

hasRedactionConfig()

public boolean hasRedactionConfig()

Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.

.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the redactionConfig field is set.

hasSpeechConfig()

public boolean hasSpeechConfig()

Optional. Default Speech-to-Text configuration. Optional, will default to the config specified in Settings.

.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the speechConfig field is set.

hasTranscriptObjectConfig()

public boolean hasTranscriptObjectConfig()

Configuration for when source contains conversation transcripts.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;

Returns
Type Description
boolean

Whether the transcriptObjectConfig 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 IngestConversationsRequest.Builder newBuilderForType()
Returns
Type Description
IngestConversationsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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