package com.sforce.soap.metadata; /** * This is a generated class for the SObject Enterprise API. * Do not edit this file, as your changes will be lost. */ public class BotVariableOperation implements com.sforce.ws.bind.XMLizable { /** * Constructor */ public BotVariableOperation() {} /* Cache the typeInfo instead of declaring static fields throughout*/ private transient java.util.Map typeInfoCache = new java.util.HashMap(); private com.sforce.ws.bind.TypeInfo _lookupTypeInfo(String fieldName, String namespace, String name, String typeNS, String type, int minOcc, int maxOcc, boolean elementForm) { com.sforce.ws.bind.TypeInfo typeInfo = typeInfoCache.get(fieldName); if (typeInfo == null) { typeInfo = new com.sforce.ws.bind.TypeInfo(namespace, name, typeNS, type, minOcc, maxOcc, elementForm); typeInfoCache.put(fieldName, typeInfo); } return typeInfo; } /** * element : askCollectIfSet of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean askCollectIfSet__is_set = false; private boolean askCollectIfSet; public boolean getAskCollectIfSet() { return askCollectIfSet; } public boolean isAskCollectIfSet() { return askCollectIfSet; } public void setAskCollectIfSet(boolean askCollectIfSet) { this.askCollectIfSet = askCollectIfSet; askCollectIfSet__is_set = true; } protected void setAskCollectIfSet(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("askCollectIfSet", "http://soap.sforce.com/2006/04/metadata","askCollectIfSet","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setAskCollectIfSet(__typeMapper.readBoolean(__in, _lookupTypeInfo("askCollectIfSet", "http://soap.sforce.com/2006/04/metadata","askCollectIfSet","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldAskCollectIfSet(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("askCollectIfSet", "http://soap.sforce.com/2006/04/metadata","askCollectIfSet","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), askCollectIfSet, askCollectIfSet__is_set); } /** * element : autoSelectIfSingleChoice of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean autoSelectIfSingleChoice__is_set = false; private boolean autoSelectIfSingleChoice; public boolean getAutoSelectIfSingleChoice() { return autoSelectIfSingleChoice; } public boolean isAutoSelectIfSingleChoice() { return autoSelectIfSingleChoice; } public void setAutoSelectIfSingleChoice(boolean autoSelectIfSingleChoice) { this.autoSelectIfSingleChoice = autoSelectIfSingleChoice; autoSelectIfSingleChoice__is_set = true; } protected void setAutoSelectIfSingleChoice(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("autoSelectIfSingleChoice", "http://soap.sforce.com/2006/04/metadata","autoSelectIfSingleChoice","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setAutoSelectIfSingleChoice(__typeMapper.readBoolean(__in, _lookupTypeInfo("autoSelectIfSingleChoice", "http://soap.sforce.com/2006/04/metadata","autoSelectIfSingleChoice","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldAutoSelectIfSingleChoice(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("autoSelectIfSingleChoice", "http://soap.sforce.com/2006/04/metadata","autoSelectIfSingleChoice","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), autoSelectIfSingleChoice, autoSelectIfSingleChoice__is_set); } /** * element : botInvocation of type {http://soap.sforce.com/2006/04/metadata}BotInvocation * java type: com.sforce.soap.metadata.BotInvocation */ private boolean botInvocation__is_set = false; private com.sforce.soap.metadata.BotInvocation botInvocation; public com.sforce.soap.metadata.BotInvocation getBotInvocation() { return botInvocation; } public void setBotInvocation(com.sforce.soap.metadata.BotInvocation botInvocation) { this.botInvocation = botInvocation; botInvocation__is_set = true; } protected void setBotInvocation(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("botInvocation", "http://soap.sforce.com/2006/04/metadata","botInvocation","http://soap.sforce.com/2006/04/metadata","BotInvocation",0,1,true))) { setBotInvocation((com.sforce.soap.metadata.BotInvocation)__typeMapper.readObject(__in, _lookupTypeInfo("botInvocation", "http://soap.sforce.com/2006/04/metadata","botInvocation","http://soap.sforce.com/2006/04/metadata","BotInvocation",0,1,true), com.sforce.soap.metadata.BotInvocation.class)); } } private void writeFieldBotInvocation(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("botInvocation", "http://soap.sforce.com/2006/04/metadata","botInvocation","http://soap.sforce.com/2006/04/metadata","BotInvocation",0,1,true), botInvocation, botInvocation__is_set); } /** * element : botMessages of type {http://soap.sforce.com/2006/04/metadata}BotMessage * java type: com.sforce.soap.metadata.BotMessage[] */ private boolean botMessages__is_set = false; private com.sforce.soap.metadata.BotMessage[] botMessages = new com.sforce.soap.metadata.BotMessage[0]; public com.sforce.soap.metadata.BotMessage[] getBotMessages() { return botMessages; } public void setBotMessages(com.sforce.soap.metadata.BotMessage[] botMessages) { this.botMessages = botMessages; botMessages__is_set = true; } protected void setBotMessages(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("botMessages", "http://soap.sforce.com/2006/04/metadata","botMessages","http://soap.sforce.com/2006/04/metadata","BotMessage",0,-1,true))) { setBotMessages((com.sforce.soap.metadata.BotMessage[])__typeMapper.readObject(__in, _lookupTypeInfo("botMessages", "http://soap.sforce.com/2006/04/metadata","botMessages","http://soap.sforce.com/2006/04/metadata","BotMessage",0,-1,true), com.sforce.soap.metadata.BotMessage[].class)); } } private void writeFieldBotMessages(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("botMessages", "http://soap.sforce.com/2006/04/metadata","botMessages","http://soap.sforce.com/2006/04/metadata","BotMessage",0,-1,true), botMessages, botMessages__is_set); } /** * element : botQuickReplyOptions of type {http://soap.sforce.com/2006/04/metadata}BotQuickReplyOption * java type: com.sforce.soap.metadata.BotQuickReplyOption[] */ private boolean botQuickReplyOptions__is_set = false; private com.sforce.soap.metadata.BotQuickReplyOption[] botQuickReplyOptions = new com.sforce.soap.metadata.BotQuickReplyOption[0]; public com.sforce.soap.metadata.BotQuickReplyOption[] getBotQuickReplyOptions() { return botQuickReplyOptions; } public void setBotQuickReplyOptions(com.sforce.soap.metadata.BotQuickReplyOption[] botQuickReplyOptions) { this.botQuickReplyOptions = botQuickReplyOptions; botQuickReplyOptions__is_set = true; } protected void setBotQuickReplyOptions(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("botQuickReplyOptions", "http://soap.sforce.com/2006/04/metadata","botQuickReplyOptions","http://soap.sforce.com/2006/04/metadata","BotQuickReplyOption",0,-1,true))) { setBotQuickReplyOptions((com.sforce.soap.metadata.BotQuickReplyOption[])__typeMapper.readObject(__in, _lookupTypeInfo("botQuickReplyOptions", "http://soap.sforce.com/2006/04/metadata","botQuickReplyOptions","http://soap.sforce.com/2006/04/metadata","BotQuickReplyOption",0,-1,true), com.sforce.soap.metadata.BotQuickReplyOption[].class)); } } private void writeFieldBotQuickReplyOptions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("botQuickReplyOptions", "http://soap.sforce.com/2006/04/metadata","botQuickReplyOptions","http://soap.sforce.com/2006/04/metadata","BotQuickReplyOption",0,-1,true), botQuickReplyOptions, botQuickReplyOptions__is_set); } /** * element : botVariableOperands of type {http://soap.sforce.com/2006/04/metadata}BotVariableOperand * java type: com.sforce.soap.metadata.BotVariableOperand[] */ private boolean botVariableOperands__is_set = false; private com.sforce.soap.metadata.BotVariableOperand[] botVariableOperands = new com.sforce.soap.metadata.BotVariableOperand[0]; public com.sforce.soap.metadata.BotVariableOperand[] getBotVariableOperands() { return botVariableOperands; } public void setBotVariableOperands(com.sforce.soap.metadata.BotVariableOperand[] botVariableOperands) { this.botVariableOperands = botVariableOperands; botVariableOperands__is_set = true; } protected void setBotVariableOperands(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("botVariableOperands", "http://soap.sforce.com/2006/04/metadata","botVariableOperands","http://soap.sforce.com/2006/04/metadata","BotVariableOperand",0,-1,true))) { setBotVariableOperands((com.sforce.soap.metadata.BotVariableOperand[])__typeMapper.readObject(__in, _lookupTypeInfo("botVariableOperands", "http://soap.sforce.com/2006/04/metadata","botVariableOperands","http://soap.sforce.com/2006/04/metadata","BotVariableOperand",0,-1,true), com.sforce.soap.metadata.BotVariableOperand[].class)); } } private void writeFieldBotVariableOperands(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("botVariableOperands", "http://soap.sforce.com/2006/04/metadata","botVariableOperands","http://soap.sforce.com/2006/04/metadata","BotVariableOperand",0,-1,true), botVariableOperands, botVariableOperands__is_set); } /** * element : ignoreIntentRecognition of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean ignoreIntentRecognition__is_set = false; private boolean ignoreIntentRecognition; public boolean getIgnoreIntentRecognition() { return ignoreIntentRecognition; } public boolean isIgnoreIntentRecognition() { return ignoreIntentRecognition; } public void setIgnoreIntentRecognition(boolean ignoreIntentRecognition) { this.ignoreIntentRecognition = ignoreIntentRecognition; ignoreIntentRecognition__is_set = true; } protected void setIgnoreIntentRecognition(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("ignoreIntentRecognition", "http://soap.sforce.com/2006/04/metadata","ignoreIntentRecognition","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setIgnoreIntentRecognition(__typeMapper.readBoolean(__in, _lookupTypeInfo("ignoreIntentRecognition", "http://soap.sforce.com/2006/04/metadata","ignoreIntentRecognition","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldIgnoreIntentRecognition(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("ignoreIntentRecognition", "http://soap.sforce.com/2006/04/metadata","ignoreIntentRecognition","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), ignoreIntentRecognition, ignoreIntentRecognition__is_set); } /** * element : invalidInputBotNavigation of type {http://soap.sforce.com/2006/04/metadata}BotNavigation * java type: com.sforce.soap.metadata.BotNavigation */ private boolean invalidInputBotNavigation__is_set = false; private com.sforce.soap.metadata.BotNavigation invalidInputBotNavigation; public com.sforce.soap.metadata.BotNavigation getInvalidInputBotNavigation() { return invalidInputBotNavigation; } public void setInvalidInputBotNavigation(com.sforce.soap.metadata.BotNavigation invalidInputBotNavigation) { this.invalidInputBotNavigation = invalidInputBotNavigation; invalidInputBotNavigation__is_set = true; } protected void setInvalidInputBotNavigation(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("invalidInputBotNavigation", "http://soap.sforce.com/2006/04/metadata","invalidInputBotNavigation","http://soap.sforce.com/2006/04/metadata","BotNavigation",0,1,true))) { setInvalidInputBotNavigation((com.sforce.soap.metadata.BotNavigation)__typeMapper.readObject(__in, _lookupTypeInfo("invalidInputBotNavigation", "http://soap.sforce.com/2006/04/metadata","invalidInputBotNavigation","http://soap.sforce.com/2006/04/metadata","BotNavigation",0,1,true), com.sforce.soap.metadata.BotNavigation.class)); } } private void writeFieldInvalidInputBotNavigation(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("invalidInputBotNavigation", "http://soap.sforce.com/2006/04/metadata","invalidInputBotNavigation","http://soap.sforce.com/2006/04/metadata","BotNavigation",0,1,true), invalidInputBotNavigation, invalidInputBotNavigation__is_set); } /** * element : messageDefinition of type {http://soap.sforce.com/2006/04/metadata}ConversationDefinitionRichMessage * java type: com.sforce.soap.metadata.ConversationDefinitionRichMessage */ private boolean messageDefinition__is_set = false; private com.sforce.soap.metadata.ConversationDefinitionRichMessage messageDefinition; public com.sforce.soap.metadata.ConversationDefinitionRichMessage getMessageDefinition() { return messageDefinition; } public void setMessageDefinition(com.sforce.soap.metadata.ConversationDefinitionRichMessage messageDefinition) { this.messageDefinition = messageDefinition; messageDefinition__is_set = true; } protected void setMessageDefinition(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("messageDefinition", "http://soap.sforce.com/2006/04/metadata","messageDefinition","http://soap.sforce.com/2006/04/metadata","ConversationDefinitionRichMessage",0,1,true))) { setMessageDefinition((com.sforce.soap.metadata.ConversationDefinitionRichMessage)__typeMapper.readObject(__in, _lookupTypeInfo("messageDefinition", "http://soap.sforce.com/2006/04/metadata","messageDefinition","http://soap.sforce.com/2006/04/metadata","ConversationDefinitionRichMessage",0,1,true), com.sforce.soap.metadata.ConversationDefinitionRichMessage.class)); } } private void writeFieldMessageDefinition(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("messageDefinition", "http://soap.sforce.com/2006/04/metadata","messageDefinition","http://soap.sforce.com/2006/04/metadata","ConversationDefinitionRichMessage",0,1,true), messageDefinition, messageDefinition__is_set); } /** * element : optionalCollect of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean optionalCollect__is_set = false; private boolean optionalCollect; public boolean getOptionalCollect() { return optionalCollect; } public boolean isOptionalCollect() { return optionalCollect; } public void setOptionalCollect(boolean optionalCollect) { this.optionalCollect = optionalCollect; optionalCollect__is_set = true; } protected void setOptionalCollect(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("optionalCollect", "http://soap.sforce.com/2006/04/metadata","optionalCollect","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setOptionalCollect(__typeMapper.readBoolean(__in, _lookupTypeInfo("optionalCollect", "http://soap.sforce.com/2006/04/metadata","optionalCollect","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldOptionalCollect(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("optionalCollect", "http://soap.sforce.com/2006/04/metadata","optionalCollect","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), optionalCollect, optionalCollect__is_set); } /** * element : quickReplyOptionTemplate of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean quickReplyOptionTemplate__is_set = false; private java.lang.String quickReplyOptionTemplate; public java.lang.String getQuickReplyOptionTemplate() { return quickReplyOptionTemplate; } public void setQuickReplyOptionTemplate(java.lang.String quickReplyOptionTemplate) { this.quickReplyOptionTemplate = quickReplyOptionTemplate; quickReplyOptionTemplate__is_set = true; } protected void setQuickReplyOptionTemplate(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("quickReplyOptionTemplate", "http://soap.sforce.com/2006/04/metadata","quickReplyOptionTemplate","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setQuickReplyOptionTemplate(__typeMapper.readString(__in, _lookupTypeInfo("quickReplyOptionTemplate", "http://soap.sforce.com/2006/04/metadata","quickReplyOptionTemplate","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldQuickReplyOptionTemplate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("quickReplyOptionTemplate", "http://soap.sforce.com/2006/04/metadata","quickReplyOptionTemplate","http://www.w3.org/2001/XMLSchema","string",0,1,true), quickReplyOptionTemplate, quickReplyOptionTemplate__is_set); } /** * element : quickReplyType of type {http://soap.sforce.com/2006/04/metadata}BotQuickReplyType * java type: com.sforce.soap.metadata.BotQuickReplyType */ private boolean quickReplyType__is_set = false; private com.sforce.soap.metadata.BotQuickReplyType quickReplyType; public com.sforce.soap.metadata.BotQuickReplyType getQuickReplyType() { return quickReplyType; } public void setQuickReplyType(com.sforce.soap.metadata.BotQuickReplyType quickReplyType) { this.quickReplyType = quickReplyType; quickReplyType__is_set = true; } protected void setQuickReplyType(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("quickReplyType", "http://soap.sforce.com/2006/04/metadata","quickReplyType","http://soap.sforce.com/2006/04/metadata","BotQuickReplyType",0,1,true))) { setQuickReplyType((com.sforce.soap.metadata.BotQuickReplyType)__typeMapper.readObject(__in, _lookupTypeInfo("quickReplyType", "http://soap.sforce.com/2006/04/metadata","quickReplyType","http://soap.sforce.com/2006/04/metadata","BotQuickReplyType",0,1,true), com.sforce.soap.metadata.BotQuickReplyType.class)); } } private void writeFieldQuickReplyType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("quickReplyType", "http://soap.sforce.com/2006/04/metadata","quickReplyType","http://soap.sforce.com/2006/04/metadata","BotQuickReplyType",0,1,true), quickReplyType, quickReplyType__is_set); } /** * element : quickReplyWidgetType of type {http://soap.sforce.com/2006/04/metadata}BotWidgetType * java type: com.sforce.soap.metadata.BotWidgetType */ private boolean quickReplyWidgetType__is_set = false; private com.sforce.soap.metadata.BotWidgetType quickReplyWidgetType; public com.sforce.soap.metadata.BotWidgetType getQuickReplyWidgetType() { return quickReplyWidgetType; } public void setQuickReplyWidgetType(com.sforce.soap.metadata.BotWidgetType quickReplyWidgetType) { this.quickReplyWidgetType = quickReplyWidgetType; quickReplyWidgetType__is_set = true; } protected void setQuickReplyWidgetType(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("quickReplyWidgetType", "http://soap.sforce.com/2006/04/metadata","quickReplyWidgetType","http://soap.sforce.com/2006/04/metadata","BotWidgetType",0,1,true))) { setQuickReplyWidgetType((com.sforce.soap.metadata.BotWidgetType)__typeMapper.readObject(__in, _lookupTypeInfo("quickReplyWidgetType", "http://soap.sforce.com/2006/04/metadata","quickReplyWidgetType","http://soap.sforce.com/2006/04/metadata","BotWidgetType",0,1,true), com.sforce.soap.metadata.BotWidgetType.class)); } } private void writeFieldQuickReplyWidgetType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("quickReplyWidgetType", "http://soap.sforce.com/2006/04/metadata","quickReplyWidgetType","http://soap.sforce.com/2006/04/metadata","BotWidgetType",0,1,true), quickReplyWidgetType, quickReplyWidgetType__is_set); } /** * element : retryMessages of type {http://soap.sforce.com/2006/04/metadata}BotMessage * java type: com.sforce.soap.metadata.BotMessage[] */ private boolean retryMessages__is_set = false; private com.sforce.soap.metadata.BotMessage[] retryMessages = new com.sforce.soap.metadata.BotMessage[0]; public com.sforce.soap.metadata.BotMessage[] getRetryMessages() { return retryMessages; } public void setRetryMessages(com.sforce.soap.metadata.BotMessage[] retryMessages) { this.retryMessages = retryMessages; retryMessages__is_set = true; } protected void setRetryMessages(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("retryMessages", "http://soap.sforce.com/2006/04/metadata","retryMessages","http://soap.sforce.com/2006/04/metadata","BotMessage",0,-1,true))) { setRetryMessages((com.sforce.soap.metadata.BotMessage[])__typeMapper.readObject(__in, _lookupTypeInfo("retryMessages", "http://soap.sforce.com/2006/04/metadata","retryMessages","http://soap.sforce.com/2006/04/metadata","BotMessage",0,-1,true), com.sforce.soap.metadata.BotMessage[].class)); } } private void writeFieldRetryMessages(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("retryMessages", "http://soap.sforce.com/2006/04/metadata","retryMessages","http://soap.sforce.com/2006/04/metadata","BotMessage",0,-1,true), retryMessages, retryMessages__is_set); } /** * element : sourceVariableName of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean sourceVariableName__is_set = false; private java.lang.String sourceVariableName; public java.lang.String getSourceVariableName() { return sourceVariableName; } public void setSourceVariableName(java.lang.String sourceVariableName) { this.sourceVariableName = sourceVariableName; sourceVariableName__is_set = true; } protected void setSourceVariableName(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("sourceVariableName", "http://soap.sforce.com/2006/04/metadata","sourceVariableName","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setSourceVariableName(__typeMapper.readString(__in, _lookupTypeInfo("sourceVariableName", "http://soap.sforce.com/2006/04/metadata","sourceVariableName","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldSourceVariableName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("sourceVariableName", "http://soap.sforce.com/2006/04/metadata","sourceVariableName","http://www.w3.org/2001/XMLSchema","string",0,1,true), sourceVariableName, sourceVariableName__is_set); } /** * element : sourceVariableType of type {http://soap.sforce.com/2006/04/metadata}ConversationVariableType * java type: com.sforce.soap.metadata.ConversationVariableType */ private boolean sourceVariableType__is_set = false; private com.sforce.soap.metadata.ConversationVariableType sourceVariableType; public com.sforce.soap.metadata.ConversationVariableType getSourceVariableType() { return sourceVariableType; } public void setSourceVariableType(com.sforce.soap.metadata.ConversationVariableType sourceVariableType) { this.sourceVariableType = sourceVariableType; sourceVariableType__is_set = true; } protected void setSourceVariableType(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("sourceVariableType", "http://soap.sforce.com/2006/04/metadata","sourceVariableType","http://soap.sforce.com/2006/04/metadata","ConversationVariableType",0,1,true))) { setSourceVariableType((com.sforce.soap.metadata.ConversationVariableType)__typeMapper.readObject(__in, _lookupTypeInfo("sourceVariableType", "http://soap.sforce.com/2006/04/metadata","sourceVariableType","http://soap.sforce.com/2006/04/metadata","ConversationVariableType",0,1,true), com.sforce.soap.metadata.ConversationVariableType.class)); } } private void writeFieldSourceVariableType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("sourceVariableType", "http://soap.sforce.com/2006/04/metadata","sourceVariableType","http://soap.sforce.com/2006/04/metadata","ConversationVariableType",0,1,true), sourceVariableType, sourceVariableType__is_set); } /** * element : successMessages of type {http://soap.sforce.com/2006/04/metadata}BotMessage * java type: com.sforce.soap.metadata.BotMessage[] */ private boolean successMessages__is_set = false; private com.sforce.soap.metadata.BotMessage[] successMessages = new com.sforce.soap.metadata.BotMessage[0]; public com.sforce.soap.metadata.BotMessage[] getSuccessMessages() { return successMessages; } public void setSuccessMessages(com.sforce.soap.metadata.BotMessage[] successMessages) { this.successMessages = successMessages; successMessages__is_set = true; } protected void setSuccessMessages(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("successMessages", "http://soap.sforce.com/2006/04/metadata","successMessages","http://soap.sforce.com/2006/04/metadata","BotMessage",0,-1,true))) { setSuccessMessages((com.sforce.soap.metadata.BotMessage[])__typeMapper.readObject(__in, _lookupTypeInfo("successMessages", "http://soap.sforce.com/2006/04/metadata","successMessages","http://soap.sforce.com/2006/04/metadata","BotMessage",0,-1,true), com.sforce.soap.metadata.BotMessage[].class)); } } private void writeFieldSuccessMessages(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("successMessages", "http://soap.sforce.com/2006/04/metadata","successMessages","http://soap.sforce.com/2006/04/metadata","BotMessage",0,-1,true), successMessages, successMessages__is_set); } /** * element : type of type {http://soap.sforce.com/2006/04/metadata}BotVariableOperationType * java type: com.sforce.soap.metadata.BotVariableOperationType */ private boolean type__is_set = false; private com.sforce.soap.metadata.BotVariableOperationType type; public com.sforce.soap.metadata.BotVariableOperationType getType() { return type; } public void setType(com.sforce.soap.metadata.BotVariableOperationType type) { this.type = type; type__is_set = true; } protected void setType(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.verifyElement(__in, _lookupTypeInfo("type", "http://soap.sforce.com/2006/04/metadata","type","http://soap.sforce.com/2006/04/metadata","BotVariableOperationType",1,1,true))) { setType((com.sforce.soap.metadata.BotVariableOperationType)__typeMapper.readObject(__in, _lookupTypeInfo("type", "http://soap.sforce.com/2006/04/metadata","type","http://soap.sforce.com/2006/04/metadata","BotVariableOperationType",1,1,true), com.sforce.soap.metadata.BotVariableOperationType.class)); } } private void writeFieldType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("type", "http://soap.sforce.com/2006/04/metadata","type","http://soap.sforce.com/2006/04/metadata","BotVariableOperationType",1,1,true), type, type__is_set); } /** * element : variableOperationIdentifier of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean variableOperationIdentifier__is_set = false; private java.lang.String variableOperationIdentifier; public java.lang.String getVariableOperationIdentifier() { return variableOperationIdentifier; } public void setVariableOperationIdentifier(java.lang.String variableOperationIdentifier) { this.variableOperationIdentifier = variableOperationIdentifier; variableOperationIdentifier__is_set = true; } protected void setVariableOperationIdentifier(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.isElement(__in, _lookupTypeInfo("variableOperationIdentifier", "http://soap.sforce.com/2006/04/metadata","variableOperationIdentifier","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setVariableOperationIdentifier(__typeMapper.readString(__in, _lookupTypeInfo("variableOperationIdentifier", "http://soap.sforce.com/2006/04/metadata","variableOperationIdentifier","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldVariableOperationIdentifier(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("variableOperationIdentifier", "http://soap.sforce.com/2006/04/metadata","variableOperationIdentifier","http://www.w3.org/2001/XMLSchema","string",0,1,true), variableOperationIdentifier, variableOperationIdentifier__is_set); } /** */ @Override public void write(javax.xml.namespace.QName __element, com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __out.writeStartTag(__element.getNamespaceURI(), __element.getLocalPart()); writeFields(__out, __typeMapper); __out.writeEndTag(__element.getNamespaceURI(), __element.getLocalPart()); } protected void writeFields(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { writeFields1(__out, __typeMapper); } @Override public void load(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __typeMapper.consumeStartTag(__in); loadFields(__in, __typeMapper); __typeMapper.consumeEndTag(__in); } protected void loadFields(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { loadFields1(__in, __typeMapper); } @Override public String toString() { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("[BotVariableOperation "); toString1(sb); sb.append("]\n"); return sb.toString(); } private void toStringHelper(StringBuilder sb, String name, Object value) { sb.append(' ').append(name).append("='").append(com.sforce.ws.util.Verbose.toString(value)).append("'\n"); } private void writeFields1(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { writeFieldAskCollectIfSet(__out, __typeMapper); writeFieldAutoSelectIfSingleChoice(__out, __typeMapper); writeFieldBotInvocation(__out, __typeMapper); writeFieldBotMessages(__out, __typeMapper); writeFieldBotQuickReplyOptions(__out, __typeMapper); writeFieldBotVariableOperands(__out, __typeMapper); writeFieldIgnoreIntentRecognition(__out, __typeMapper); writeFieldInvalidInputBotNavigation(__out, __typeMapper); writeFieldMessageDefinition(__out, __typeMapper); writeFieldOptionalCollect(__out, __typeMapper); writeFieldQuickReplyOptionTemplate(__out, __typeMapper); writeFieldQuickReplyType(__out, __typeMapper); writeFieldQuickReplyWidgetType(__out, __typeMapper); writeFieldRetryMessages(__out, __typeMapper); writeFieldSourceVariableName(__out, __typeMapper); writeFieldSourceVariableType(__out, __typeMapper); writeFieldSuccessMessages(__out, __typeMapper); writeFieldType(__out, __typeMapper); writeFieldVariableOperationIdentifier(__out, __typeMapper); } private void loadFields1(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { setAskCollectIfSet(__in, __typeMapper); setAutoSelectIfSingleChoice(__in, __typeMapper); setBotInvocation(__in, __typeMapper); setBotMessages(__in, __typeMapper); setBotQuickReplyOptions(__in, __typeMapper); setBotVariableOperands(__in, __typeMapper); setIgnoreIntentRecognition(__in, __typeMapper); setInvalidInputBotNavigation(__in, __typeMapper); setMessageDefinition(__in, __typeMapper); setOptionalCollect(__in, __typeMapper); setQuickReplyOptionTemplate(__in, __typeMapper); setQuickReplyType(__in, __typeMapper); setQuickReplyWidgetType(__in, __typeMapper); setRetryMessages(__in, __typeMapper); setSourceVariableName(__in, __typeMapper); setSourceVariableType(__in, __typeMapper); setSuccessMessages(__in, __typeMapper); setType(__in, __typeMapper); setVariableOperationIdentifier(__in, __typeMapper); } private void toString1(StringBuilder sb) { toStringHelper(sb, "askCollectIfSet", askCollectIfSet); toStringHelper(sb, "autoSelectIfSingleChoice", autoSelectIfSingleChoice); toStringHelper(sb, "botInvocation", botInvocation); toStringHelper(sb, "botMessages", botMessages); toStringHelper(sb, "botQuickReplyOptions", botQuickReplyOptions); toStringHelper(sb, "botVariableOperands", botVariableOperands); toStringHelper(sb, "ignoreIntentRecognition", ignoreIntentRecognition); toStringHelper(sb, "invalidInputBotNavigation", invalidInputBotNavigation); toStringHelper(sb, "messageDefinition", messageDefinition); toStringHelper(sb, "optionalCollect", optionalCollect); toStringHelper(sb, "quickReplyOptionTemplate", quickReplyOptionTemplate); toStringHelper(sb, "quickReplyType", quickReplyType); toStringHelper(sb, "quickReplyWidgetType", quickReplyWidgetType); toStringHelper(sb, "retryMessages", retryMessages); toStringHelper(sb, "sourceVariableName", sourceVariableName); toStringHelper(sb, "sourceVariableType", sourceVariableType); toStringHelper(sb, "successMessages", successMessages); toStringHelper(sb, "type", type); toStringHelper(sb, "variableOperationIdentifier", variableOperationIdentifier); } }