Class IngestConversationsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IngestConversationsRequest.Builder>
com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder
- All Implemented Interfaces:
IngestConversationsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- IngestConversationsRequest
public static final class IngestConversationsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<IngestConversationsRequest.Builder>
implements IngestConversationsRequestOrBuilder
The request to ingest conversations.Protobuf type
google.cloud.contactcenterinsights.v1.IngestConversationsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Configuration that applies to all conversations.A cloud storage bucket source.Required.Optional.Optional.Optional.Configuration for when `source` contains conversation transcripts.Configuration that applies to all conversations.Configuration that applies to all conversations.Configuration that applies to all conversations.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA cloud storage bucket source.A cloud storage bucket source.A cloud storage bucket source.Required.com.google.protobuf.ByteStringRequired.Optional.Optional.Optional.intOptional.Optional.Optional.Optional.Configuration for when `source` contains conversation transcripts.Configuration for when `source` contains conversation transcripts.Configuration for when `source` contains conversation transcripts.booleanConfiguration that applies to all conversations.booleanA cloud storage bucket source.booleanOptional.booleanOptional.booleanOptional.booleanConfiguration for when `source` contains conversation transcripts.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanConfiguration that applies to all conversations.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) A cloud storage bucket source.Optional.mergeSpeechConfig(SpeechConfig value) Optional.Configuration for when `source` contains conversation transcripts.Configuration that applies to all conversations.Configuration that applies to all conversations.A cloud storage bucket source.setGcsSource(IngestConversationsRequest.GcsSource.Builder builderForValue) A cloud storage bucket source.Required.setParentBytes(com.google.protobuf.ByteString value) Required.Optional.setRedactionConfig(RedactionConfig.Builder builderForValue) Optional.setSampleSize(int value) Optional.setSpeechConfig(SpeechConfig value) Optional.setSpeechConfig(SpeechConfig.Builder builderForValue) Optional.Configuration for when `source` contains conversation transcripts.setTranscriptObjectConfig(IngestConversationsRequest.TranscriptObjectConfig.Builder builderForValue) Configuration for when `source` contains conversation transcripts.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<IngestConversationsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<IngestConversationsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<IngestConversationsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IngestConversationsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<IngestConversationsRequest.Builder>
-
mergeFrom
public IngestConversationsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IngestConversationsRequest.Builder>- Throws:
IOException
-
getSourceCase
- Specified by:
getSourceCasein interfaceIngestConversationsRequestOrBuilder
-
clearSource
-
getObjectConfigCase
- Specified by:
getObjectConfigCasein interfaceIngestConversationsRequestOrBuilder
-
clearObjectConfig
-
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;- Specified by:
hasGcsSourcein interfaceIngestConversationsRequestOrBuilder- Returns:
- Whether the gcsSource field is set.
-
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;- Specified by:
getGcsSourcein interfaceIngestConversationsRequestOrBuilder- Returns:
- The gcsSource.
-
setGcsSource
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; -
setGcsSource
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; -
mergeGcsSource
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; -
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; -
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; -
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;- Specified by:
getGcsSourceOrBuilderin interfaceIngestConversationsRequestOrBuilder
-
hasTranscriptObjectConfig
public boolean hasTranscriptObjectConfig()Configuration for when `source` contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;- Specified by:
hasTranscriptObjectConfigin interfaceIngestConversationsRequestOrBuilder- Returns:
- Whether the transcriptObjectConfig field is set.
-
getTranscriptObjectConfig
Configuration for when `source` contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;- Specified by:
getTranscriptObjectConfigin interfaceIngestConversationsRequestOrBuilder- Returns:
- The transcriptObjectConfig.
-
setTranscriptObjectConfig
public IngestConversationsRequest.Builder setTranscriptObjectConfig(IngestConversationsRequest.TranscriptObjectConfig value) Configuration for when `source` contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; -
setTranscriptObjectConfig
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; -
mergeTranscriptObjectConfig
public IngestConversationsRequest.Builder mergeTranscriptObjectConfig(IngestConversationsRequest.TranscriptObjectConfig value) Configuration for when `source` contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; -
clearTranscriptObjectConfig
Configuration for when `source` contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; -
getTranscriptObjectConfigBuilder
Configuration for when `source` contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3; -
getTranscriptObjectConfigOrBuilder
public IngestConversationsRequest.TranscriptObjectConfigOrBuilder getTranscriptObjectConfigOrBuilder()Configuration for when `source` contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;- Specified by:
getTranscriptObjectConfigOrBuilderin interfaceIngestConversationsRequestOrBuilder
-
getParent
Required. The parent resource for new conversations.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceIngestConversationsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. The parent resource for new conversations.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceIngestConversationsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
Required. The parent resource for new conversations.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
Required. The parent resource for new conversations.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
Required. The parent resource for new conversations.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
hasConversationConfig
public boolean hasConversationConfig()Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;- Specified by:
hasConversationConfigin interfaceIngestConversationsRequestOrBuilder- Returns:
- Whether the conversationConfig field is set.
-
getConversationConfig
Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;- Specified by:
getConversationConfigin interfaceIngestConversationsRequestOrBuilder- Returns:
- The conversationConfig.
-
setConversationConfig
public IngestConversationsRequest.Builder setConversationConfig(IngestConversationsRequest.ConversationConfig value) Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; -
setConversationConfig
public IngestConversationsRequest.Builder setConversationConfig(IngestConversationsRequest.ConversationConfig.Builder builderForValue) Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; -
mergeConversationConfig
public IngestConversationsRequest.Builder mergeConversationConfig(IngestConversationsRequest.ConversationConfig value) Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; -
clearConversationConfig
Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; -
getConversationConfigBuilder
Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4; -
getConversationConfigOrBuilder
Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;- Specified by:
getConversationConfigOrBuilderin interfaceIngestConversationsRequestOrBuilder
-
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];- Specified by:
hasRedactionConfigin interfaceIngestConversationsRequestOrBuilder- Returns:
- Whether the redactionConfig field is set.
-
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];- Specified by:
getRedactionConfigin interfaceIngestConversationsRequestOrBuilder- Returns:
- The redactionConfig.
-
setRedactionConfig
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]; -
setRedactionConfig
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]; -
mergeRedactionConfig
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]; -
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]; -
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]; -
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];- Specified by:
getRedactionConfigOrBuilderin interfaceIngestConversationsRequestOrBuilder
-
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];- Specified by:
hasSpeechConfigin interfaceIngestConversationsRequestOrBuilder- Returns:
- Whether the speechConfig field is set.
-
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];- Specified by:
getSpeechConfigin interfaceIngestConversationsRequestOrBuilder- Returns:
- The speechConfig.
-
setSpeechConfig
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]; -
setSpeechConfig
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]; -
mergeSpeechConfig
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]; -
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]; -
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]; -
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];- Specified by:
getSpeechConfigOrBuilderin interfaceIngestConversationsRequestOrBuilder
-
hasSampleSize
public boolean hasSampleSize()Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests.
optional int32 sample_size = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSampleSizein interfaceIngestConversationsRequestOrBuilder- Returns:
- Whether the sampleSize field is set.
-
getSampleSize
public int getSampleSize()Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests.
optional int32 sample_size = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSampleSizein interfaceIngestConversationsRequestOrBuilder- Returns:
- The sampleSize.
-
setSampleSize
Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests.
optional int32 sample_size = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The sampleSize to set.- Returns:
- This builder for chaining.
-
clearSampleSize
Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests.
optional int32 sample_size = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-