Class UploadConversationRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<UploadConversationRequest.Builder> implements UploadConversationRequestOrBuilder
Request to upload a conversation.
Protobuf typegoogle.cloud.contactcenterinsights.v1.UploadConversationRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UploadConversationRequest.Builder>
-
clear
public UploadConversationRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UploadConversationRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UploadConversationRequest.Builder>
-
getDefaultInstanceForType
public UploadConversationRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UploadConversationRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UploadConversationRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UploadConversationRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UploadConversationRequest.Builder>
-
setField
public UploadConversationRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UploadConversationRequest.Builder>
-
clearField
public UploadConversationRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UploadConversationRequest.Builder>
-
clearOneof
public UploadConversationRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<UploadConversationRequest.Builder>
-
setRepeatedField
public UploadConversationRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UploadConversationRequest.Builder>
-
addRepeatedField
public UploadConversationRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UploadConversationRequest.Builder>
-
mergeFrom
public UploadConversationRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UploadConversationRequest.Builder>
-
mergeFrom
public UploadConversationRequest.Builder mergeFrom(UploadConversationRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UploadConversationRequest.Builder>
-
mergeFrom
public UploadConversationRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UploadConversationRequest.Builder>
- Throws:
IOException
-
getParent
public String getParent()
Required. The parent resource of the conversation.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getParent
in 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:
getParentBytes
in interfaceUploadConversationRequestOrBuilder
- Returns:
- The bytes for parent.
-
setParent
public UploadConversationRequest.Builder setParent(String value)
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
public UploadConversationRequest.Builder 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
public UploadConversationRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
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:
hasConversation
in interfaceUploadConversationRequestOrBuilder
- Returns:
- Whether the conversation field is set.
-
getConversation
public Conversation getConversation()
Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getConversation
in interfaceUploadConversationRequestOrBuilder
- Returns:
- The conversation.
-
setConversation
public UploadConversationRequest.Builder setConversation(Conversation value)
Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];
-
setConversation
public UploadConversationRequest.Builder setConversation(Conversation.Builder builderForValue)
Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];
-
mergeConversation
public UploadConversationRequest.Builder mergeConversation(Conversation value)
Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];
-
clearConversation
public UploadConversationRequest.Builder clearConversation()
Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];
-
getConversationBuilder
public Conversation.Builder getConversationBuilder()
Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];
-
getConversationOrBuilder
public ConversationOrBuilder getConversationOrBuilder()
Required. The conversation resource to create.
.google.cloud.contactcenterinsights.v1.Conversation conversation = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getConversationOrBuilder
in interfaceUploadConversationRequestOrBuilder
-
getConversationId
public String 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:
getConversationId
in 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:
getConversationIdBytes
in interfaceUploadConversationRequestOrBuilder
- Returns:
- The bytes for conversationId.
-
setConversationId
public UploadConversationRequest.Builder setConversationId(String 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 conversationId to set.- Returns:
- This builder for chaining.
-
clearConversationId
public UploadConversationRequest.Builder 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. Optional, will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasRedactionConfig
in interfaceUploadConversationRequestOrBuilder
- Returns:
- Whether the redactionConfig field is set.
-
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 = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRedactionConfig
in interfaceUploadConversationRequestOrBuilder
- Returns:
- The redactionConfig.
-
setRedactionConfig
public UploadConversationRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
-
setRedactionConfig
public UploadConversationRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
-
mergeRedactionConfig
public UploadConversationRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
-
clearRedactionConfig
public UploadConversationRequest.Builder clearRedactionConfig()
Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 4 [(.google.api.field_behavior) = OPTIONAL];
-
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 = 4 [(.google.api.field_behavior) = OPTIONAL];
-
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 = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRedactionConfigOrBuilder
in interfaceUploadConversationRequestOrBuilder
-
setUnknownFields
public final UploadConversationRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UploadConversationRequest.Builder>
-
mergeUnknownFields
public final UploadConversationRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UploadConversationRequest.Builder>
-
-