Class UploadConversationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UploadConversationRequest.Builder>
com.google.cloud.contactcenterinsights.v1.UploadConversationRequest.Builder
- All Implemented Interfaces:
UploadConversationRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UploadConversationRequest
public static final class UploadConversationRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UploadConversationRequest.Builder>
implements UploadConversationRequestOrBuilder
Request to upload a conversation.Protobuf type
google.cloud.contactcenterinsights.v1.UploadConversationRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Optional.Required.Optional.Optional.Required.Required.Optional.com.google.protobuf.ByteStringOptional.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Optional.Optional.Optional.Optional.Optional.Optional.booleanRequired.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeConversation(Conversation value) Required.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.mergeSpeechConfig(SpeechConfig value) Optional.setConversation(Conversation value) Required.setConversation(Conversation.Builder builderForValue) Required.setConversationId(String value) Optional.setConversationIdBytes(com.google.protobuf.ByteString value) Optional.Required.setParentBytes(com.google.protobuf.ByteString value) Required.Optional.setRedactionConfig(RedactionConfig.Builder builderForValue) Optional.setSpeechConfig(SpeechConfig value) Optional.setSpeechConfig(SpeechConfig.Builder builderForValue) Optional.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<UploadConversationRequest.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<UploadConversationRequest.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<UploadConversationRequest.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<UploadConversationRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UploadConversationRequest.Builder>
-
mergeFrom
public UploadConversationRequest.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<UploadConversationRequest.Builder>- Throws:
IOException
-
getParent
Required. The parent resource of the conversation.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceUploadConversationRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. The parent resource of the conversation.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceUploadConversationRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
Required. The parent resource of the conversation.
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 of the conversation.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
Required. The parent resource of the conversation.
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.
-
hasConversation
public boolean hasConversation()Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasConversationin interfaceUploadConversationRequestOrBuilder- Returns:
- Whether the conversation field is set.
-
getConversation
Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getConversationin interfaceUploadConversationRequestOrBuilder- Returns:
- The conversation.
-
setConversation
Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; -
setConversation
Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; -
mergeConversation
Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; -
clearConversation
Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; -
getConversationBuilder
Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED]; -
getConversationOrBuilder
Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getConversationOrBuilderin interfaceUploadConversationRequestOrBuilder
-
getConversationId
Optional. A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`string conversation_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConversationIdin interfaceUploadConversationRequestOrBuilder- Returns:
- The conversationId.
-
getConversationIdBytes
public com.google.protobuf.ByteString getConversationIdBytes()Optional. A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`string conversation_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConversationIdBytesin interfaceUploadConversationRequestOrBuilder- Returns:
- The bytes for conversationId.
-
setConversationId
Optional. A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`string conversation_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The conversationId to set.- Returns:
- This builder for chaining.
-
clearConversationId
Optional. A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`string conversation_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setConversationIdBytes
public UploadConversationRequest.Builder setConversationIdBytes(com.google.protobuf.ByteString value) Optional. A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`string conversation_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for conversationId to set.- Returns:
- This builder for chaining.
-
hasRedactionConfig
public boolean hasRedactionConfig()Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRedactionConfigin interfaceUploadConversationRequestOrBuilder- Returns:
- Whether the redactionConfig field is set.
-
getRedactionConfig
Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRedactionConfigin interfaceUploadConversationRequestOrBuilder- Returns:
- The redactionConfig.
-
setRedactionConfig
Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setRedactionConfig
public UploadConversationRequest.Builder setRedactionConfig(RedactionConfig.Builder builderForValue) Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergeRedactionConfig
Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearRedactionConfig
Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getRedactionConfigBuilder
Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getRedactionConfigOrBuilder
Optional. DLP settings for transcript redaction. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRedactionConfigOrBuilderin interfaceUploadConversationRequestOrBuilder
-
hasSpeechConfig
public boolean hasSpeechConfig()Optional. Speech-to-Text configuration. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSpeechConfigin interfaceUploadConversationRequestOrBuilder- Returns:
- Whether the speechConfig field is set.
-
getSpeechConfig
Optional. Speech-to-Text configuration. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSpeechConfigin interfaceUploadConversationRequestOrBuilder- Returns:
- The speechConfig.
-
setSpeechConfig
Optional. Speech-to-Text configuration. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL]; -
setSpeechConfig
Optional. Speech-to-Text configuration. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL]; -
mergeSpeechConfig
Optional. Speech-to-Text configuration. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL]; -
clearSpeechConfig
Optional. Speech-to-Text configuration. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getSpeechConfigBuilder
Optional. Speech-to-Text configuration. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getSpeechConfigOrBuilder
Optional. Speech-to-Text configuration. Will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSpeechConfigOrBuilderin interfaceUploadConversationRequestOrBuilder
-