Class IngestConversationsRequest.Builder (2.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IngestConversationsRequest build()
Returns
TypeDescription
IngestConversationsRequest

buildPartial()

public IngestConversationsRequest buildPartial()
Returns
TypeDescription
IngestConversationsRequest

clear()

public IngestConversationsRequest.Builder clear()
Returns
TypeDescription
IngestConversationsRequest.Builder
Overrides

clearConversationConfig()

public IngestConversationsRequest.Builder clearConversationConfig()

Configuration that applies to all conversations.

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

Returns
TypeDescription
IngestConversationsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearObjectConfig()

public IngestConversationsRequest.Builder clearObjectConfig()
Returns
TypeDescription
IngestConversationsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public IngestConversationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
IngestConversationsRequest.Builder

clearSource()

public IngestConversationsRequest.Builder clearSource()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
IngestConversationsRequest.Builder

clone()

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

getConversationConfig()

public IngestConversationsRequest.ConversationConfig getConversationConfig()

Configuration that applies to all conversations.

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

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

getConversationConfigOrBuilder()

public IngestConversationsRequest.ConversationConfigOrBuilder getConversationConfigOrBuilder()

Configuration that applies to all conversations.

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

Returns
TypeDescription
IngestConversationsRequest.ConversationConfigOrBuilder

getDefaultInstanceForType()

public IngestConversationsRequest getDefaultInstanceForType()
Returns
TypeDescription
IngestConversationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
IngestConversationsRequest.GcsSourceOrBuilder

getObjectConfigCase()

public IngestConversationsRequest.ObjectConfigCase getObjectConfigCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
RedactionConfigOrBuilder

getSourceCase()

public IngestConversationsRequest.SourceCase getSourceCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SpeechConfigOrBuilder

getTranscriptObjectConfig()

public IngestConversationsRequest.TranscriptObjectConfig getTranscriptObjectConfig()

Configuration for when source contains conversation transcripts.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
IngestConversationsRequest.TranscriptObjectConfigOrBuilder

hasConversationConfig()

public boolean hasConversationConfig()

Configuration that applies to all conversations.

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

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

Whether the transcriptObjectConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueIngestConversationsRequest.ConversationConfig
Returns
TypeDescription
IngestConversationsRequest.Builder

mergeFrom(IngestConversationsRequest other)

public IngestConversationsRequest.Builder mergeFrom(IngestConversationsRequest other)
Parameter
NameDescription
otherIngestConversationsRequest
Returns
TypeDescription
IngestConversationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public IngestConversationsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueIngestConversationsRequest.GcsSource
Returns
TypeDescription
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
NameDescription
valueRedactionConfig
Returns
TypeDescription
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
NameDescription
valueSpeechConfig
Returns
TypeDescription
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
NameDescription
valueIngestConversationsRequest.TranscriptObjectConfig
Returns
TypeDescription
IngestConversationsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IngestConversationsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueIngestConversationsRequest.ConversationConfig
Returns
TypeDescription
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
NameDescription
builderForValueIngestConversationsRequest.ConversationConfig.Builder
Returns
TypeDescription
IngestConversationsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IngestConversationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueIngestConversationsRequest.GcsSource
Returns
TypeDescription
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
NameDescription
builderForValueIngestConversationsRequest.GcsSource.Builder
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
valueRedactionConfig
Returns
TypeDescription
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
NameDescription
builderForValueRedactionConfig.Builder
Returns
TypeDescription
IngestConversationsRequest.Builder

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

public IngestConversationsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSpeechConfig
Returns
TypeDescription
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
NameDescription
builderForValueSpeechConfig.Builder
Returns
TypeDescription
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
NameDescription
valueIngestConversationsRequest.TranscriptObjectConfig
Returns
TypeDescription
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
NameDescription
builderForValueIngestConversationsRequest.TranscriptObjectConfig.Builder
Returns
TypeDescription
IngestConversationsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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