Class IngestConversationsRequest.Builder (2.51.0)

public static final class IngestConversationsRequest.Builder extends GeneratedMessageV3.Builder<IngestConversationsRequest.Builder> implements IngestConversationsRequestOrBuilder

The request to ingest conversations.

Protobuf type google.cloud.contactcenterinsights.v1.IngestConversationsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IngestConversationsRequest build()
Returns
Type Description
IngestConversationsRequest

buildPartial()

public IngestConversationsRequest buildPartial()
Returns
Type Description
IngestConversationsRequest

clear()

public IngestConversationsRequest.Builder clear()
Returns
Type Description
IngestConversationsRequest.Builder
Overrides

clearConversationConfig()

public IngestConversationsRequest.Builder clearConversationConfig()

Configuration that applies to all conversations.

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

Returns
Type Description
IngestConversationsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGcsSource()

public IngestConversationsRequest.Builder clearGcsSource()

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

clearObjectConfig()

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public IngestConversationsRequest.Builder clearParent()

Required. The parent resource for new conversations.

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

Returns
Type Description
IngestConversationsRequest.Builder

This builder for chaining.

clearRedactionConfig()

public IngestConversationsRequest.Builder clearRedactionConfig()

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
IngestConversationsRequest.Builder

clearSource()

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

clearSpeechConfig()

public IngestConversationsRequest.Builder clearSpeechConfig()

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
IngestConversationsRequest.Builder

clearTranscriptObjectConfig()

public IngestConversationsRequest.Builder clearTranscriptObjectConfig()

Configuration for when source contains conversation transcripts.

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

Returns
Type Description
IngestConversationsRequest.Builder

clone()

public IngestConversationsRequest.Builder clone()
Returns
Type Description
IngestConversationsRequest.Builder
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.

getConversationConfigBuilder()

public IngestConversationsRequest.ConversationConfig.Builder getConversationConfigBuilder()

Configuration that applies to all conversations.

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

Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getGcsSourceBuilder()

public IngestConversationsRequest.GcsSource.Builder getGcsSourceBuilder()

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

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.

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.

getRedactionConfigBuilder()

public RedactionConfig.Builder getRedactionConfigBuilder()

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

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

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.

getSpeechConfigBuilder()

public SpeechConfig.Builder getSpeechConfigBuilder()

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

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.

getTranscriptObjectConfigBuilder()

public IngestConversationsRequest.TranscriptObjectConfig.Builder getTranscriptObjectConfigBuilder()

Configuration for when source contains conversation transcripts.

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

Returns
Type Description
IngestConversationsRequest.TranscriptObjectConfig.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConversationConfig(IngestConversationsRequest.ConversationConfig value)

public IngestConversationsRequest.Builder mergeConversationConfig(IngestConversationsRequest.ConversationConfig value)

Configuration that applies to all conversations.

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

Parameter
Name Description
value IngestConversationsRequest.ConversationConfig
Returns
Type Description
IngestConversationsRequest.Builder

mergeFrom(IngestConversationsRequest other)

public IngestConversationsRequest.Builder mergeFrom(IngestConversationsRequest other)
Parameter
Name Description
other IngestConversationsRequest
Returns
Type Description
IngestConversationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IngestConversationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestConversationsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IngestConversationsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IngestConversationsRequest.Builder
Overrides

mergeGcsSource(IngestConversationsRequest.GcsSource value)

public IngestConversationsRequest.Builder mergeGcsSource(IngestConversationsRequest.GcsSource value)

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;

Parameter
Name Description
value IngestConversationsRequest.GcsSource
Returns
Type Description
IngestConversationsRequest.Builder

mergeRedactionConfig(RedactionConfig value)

public IngestConversationsRequest.Builder mergeRedactionConfig(RedactionConfig value)

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];

Parameter
Name Description
value RedactionConfig
Returns
Type Description
IngestConversationsRequest.Builder

mergeSpeechConfig(SpeechConfig value)

public IngestConversationsRequest.Builder mergeSpeechConfig(SpeechConfig value)

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];

Parameter
Name Description
value SpeechConfig
Returns
Type Description
IngestConversationsRequest.Builder

mergeTranscriptObjectConfig(IngestConversationsRequest.TranscriptObjectConfig value)

public IngestConversationsRequest.Builder mergeTranscriptObjectConfig(IngestConversationsRequest.TranscriptObjectConfig value)

Configuration for when source contains conversation transcripts.

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

Parameter
Name Description
value IngestConversationsRequest.TranscriptObjectConfig
Returns
Type Description
IngestConversationsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConversationConfig(IngestConversationsRequest.ConversationConfig value)

public IngestConversationsRequest.Builder setConversationConfig(IngestConversationsRequest.ConversationConfig value)

Configuration that applies to all conversations.

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

Parameter
Name Description
value IngestConversationsRequest.ConversationConfig
Returns
Type Description
IngestConversationsRequest.Builder

setConversationConfig(IngestConversationsRequest.ConversationConfig.Builder builderForValue)

public IngestConversationsRequest.Builder setConversationConfig(IngestConversationsRequest.ConversationConfig.Builder builderForValue)

Configuration that applies to all conversations.

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

Parameter
Name Description
builderForValue IngestConversationsRequest.ConversationConfig.Builder
Returns
Type Description
IngestConversationsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsSource(IngestConversationsRequest.GcsSource value)

public IngestConversationsRequest.Builder setGcsSource(IngestConversationsRequest.GcsSource value)

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;

Parameter
Name Description
value IngestConversationsRequest.GcsSource
Returns
Type Description
IngestConversationsRequest.Builder

setGcsSource(IngestConversationsRequest.GcsSource.Builder builderForValue)

public IngestConversationsRequest.Builder setGcsSource(IngestConversationsRequest.GcsSource.Builder builderForValue)

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;

Parameter
Name Description
builderForValue IngestConversationsRequest.GcsSource.Builder
Returns
Type Description
IngestConversationsRequest.Builder

setParent(String value)

public IngestConversationsRequest.Builder setParent(String value)

Required. The parent resource for new conversations.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
IngestConversationsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public IngestConversationsRequest.Builder setParentBytes(ByteString value)

Required. The parent resource for new conversations.

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
IngestConversationsRequest.Builder

This builder for chaining.

setRedactionConfig(RedactionConfig value)

public IngestConversationsRequest.Builder setRedactionConfig(RedactionConfig value)

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];

Parameter
Name Description
value RedactionConfig
Returns
Type Description
IngestConversationsRequest.Builder

setRedactionConfig(RedactionConfig.Builder builderForValue)

public IngestConversationsRequest.Builder setRedactionConfig(RedactionConfig.Builder builderForValue)

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];

Parameter
Name Description
builderForValue RedactionConfig.Builder
Returns
Type Description
IngestConversationsRequest.Builder

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

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

setSpeechConfig(SpeechConfig value)

public IngestConversationsRequest.Builder setSpeechConfig(SpeechConfig value)

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];

Parameter
Name Description
value SpeechConfig
Returns
Type Description
IngestConversationsRequest.Builder

setSpeechConfig(SpeechConfig.Builder builderForValue)

public IngestConversationsRequest.Builder setSpeechConfig(SpeechConfig.Builder builderForValue)

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];

Parameter
Name Description
builderForValue SpeechConfig.Builder
Returns
Type Description
IngestConversationsRequest.Builder

setTranscriptObjectConfig(IngestConversationsRequest.TranscriptObjectConfig value)

public IngestConversationsRequest.Builder setTranscriptObjectConfig(IngestConversationsRequest.TranscriptObjectConfig value)

Configuration for when source contains conversation transcripts.

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

Parameter
Name Description
value IngestConversationsRequest.TranscriptObjectConfig
Returns
Type Description
IngestConversationsRequest.Builder

setTranscriptObjectConfig(IngestConversationsRequest.TranscriptObjectConfig.Builder builderForValue)

public IngestConversationsRequest.Builder setTranscriptObjectConfig(IngestConversationsRequest.TranscriptObjectConfig.Builder builderForValue)

Configuration for when source contains conversation transcripts.

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

Parameter
Name Description
builderForValue IngestConversationsRequest.TranscriptObjectConfig.Builder
Returns
Type Description
IngestConversationsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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