All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.metadata.Translations Maven / Gradle / Ivy

The newest version!
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 Translations extends com.sforce.soap.metadata.Metadata {

    /**
     * Constructor
     */
    public Translations() {}

    /* 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 : botBlocks of type {http://soap.sforce.com/2006/04/metadata}BotBlockTranslation
     * java type: com.sforce.soap.metadata.BotBlockTranslation[]
     */
    private boolean botBlocks__is_set = false;

    private com.sforce.soap.metadata.BotBlockTranslation[] botBlocks = new com.sforce.soap.metadata.BotBlockTranslation[0];

    public com.sforce.soap.metadata.BotBlockTranslation[] getBotBlocks() {
      return botBlocks;
    }

    public void setBotBlocks(com.sforce.soap.metadata.BotBlockTranslation[] botBlocks) {
      this.botBlocks = botBlocks;
      botBlocks__is_set = true;
    }

    protected void setBotBlocks(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("botBlocks", "http://soap.sforce.com/2006/04/metadata","botBlocks","http://soap.sforce.com/2006/04/metadata","BotBlockTranslation",0,-1,true))) {
        setBotBlocks((com.sforce.soap.metadata.BotBlockTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("botBlocks", "http://soap.sforce.com/2006/04/metadata","botBlocks","http://soap.sforce.com/2006/04/metadata","BotBlockTranslation",0,-1,true), com.sforce.soap.metadata.BotBlockTranslation[].class));
      }
    }

    private void writeFieldBotBlocks(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("botBlocks", "http://soap.sforce.com/2006/04/metadata","botBlocks","http://soap.sforce.com/2006/04/metadata","BotBlockTranslation",0,-1,true), botBlocks, botBlocks__is_set);
    }

    /**
     * element : botTemplates of type {http://soap.sforce.com/2006/04/metadata}BotTemplateTranslation
     * java type: com.sforce.soap.metadata.BotTemplateTranslation[]
     */
    private boolean botTemplates__is_set = false;

    private com.sforce.soap.metadata.BotTemplateTranslation[] botTemplates = new com.sforce.soap.metadata.BotTemplateTranslation[0];

    public com.sforce.soap.metadata.BotTemplateTranslation[] getBotTemplates() {
      return botTemplates;
    }

    public void setBotTemplates(com.sforce.soap.metadata.BotTemplateTranslation[] botTemplates) {
      this.botTemplates = botTemplates;
      botTemplates__is_set = true;
    }

    protected void setBotTemplates(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("botTemplates", "http://soap.sforce.com/2006/04/metadata","botTemplates","http://soap.sforce.com/2006/04/metadata","BotTemplateTranslation",0,-1,true))) {
        setBotTemplates((com.sforce.soap.metadata.BotTemplateTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("botTemplates", "http://soap.sforce.com/2006/04/metadata","botTemplates","http://soap.sforce.com/2006/04/metadata","BotTemplateTranslation",0,-1,true), com.sforce.soap.metadata.BotTemplateTranslation[].class));
      }
    }

    private void writeFieldBotTemplates(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("botTemplates", "http://soap.sforce.com/2006/04/metadata","botTemplates","http://soap.sforce.com/2006/04/metadata","BotTemplateTranslation",0,-1,true), botTemplates, botTemplates__is_set);
    }

    /**
     * element : bots of type {http://soap.sforce.com/2006/04/metadata}BotTranslation
     * java type: com.sforce.soap.metadata.BotTranslation[]
     */
    private boolean bots__is_set = false;

    private com.sforce.soap.metadata.BotTranslation[] bots = new com.sforce.soap.metadata.BotTranslation[0];

    public com.sforce.soap.metadata.BotTranslation[] getBots() {
      return bots;
    }

    public void setBots(com.sforce.soap.metadata.BotTranslation[] bots) {
      this.bots = bots;
      bots__is_set = true;
    }

    protected void setBots(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("bots", "http://soap.sforce.com/2006/04/metadata","bots","http://soap.sforce.com/2006/04/metadata","BotTranslation",0,-1,true))) {
        setBots((com.sforce.soap.metadata.BotTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("bots", "http://soap.sforce.com/2006/04/metadata","bots","http://soap.sforce.com/2006/04/metadata","BotTranslation",0,-1,true), com.sforce.soap.metadata.BotTranslation[].class));
      }
    }

    private void writeFieldBots(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("bots", "http://soap.sforce.com/2006/04/metadata","bots","http://soap.sforce.com/2006/04/metadata","BotTranslation",0,-1,true), bots, bots__is_set);
    }

    /**
     * element : conversationMessageDefinitions of type {http://soap.sforce.com/2006/04/metadata}ConversationMessageDefinitionTranslation
     * java type: com.sforce.soap.metadata.ConversationMessageDefinitionTranslation[]
     */
    private boolean conversationMessageDefinitions__is_set = false;

    private com.sforce.soap.metadata.ConversationMessageDefinitionTranslation[] conversationMessageDefinitions = new com.sforce.soap.metadata.ConversationMessageDefinitionTranslation[0];

    public com.sforce.soap.metadata.ConversationMessageDefinitionTranslation[] getConversationMessageDefinitions() {
      return conversationMessageDefinitions;
    }

    public void setConversationMessageDefinitions(com.sforce.soap.metadata.ConversationMessageDefinitionTranslation[] conversationMessageDefinitions) {
      this.conversationMessageDefinitions = conversationMessageDefinitions;
      conversationMessageDefinitions__is_set = true;
    }

    protected void setConversationMessageDefinitions(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("conversationMessageDefinitions", "http://soap.sforce.com/2006/04/metadata","conversationMessageDefinitions","http://soap.sforce.com/2006/04/metadata","ConversationMessageDefinitionTranslation",0,-1,true))) {
        setConversationMessageDefinitions((com.sforce.soap.metadata.ConversationMessageDefinitionTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("conversationMessageDefinitions", "http://soap.sforce.com/2006/04/metadata","conversationMessageDefinitions","http://soap.sforce.com/2006/04/metadata","ConversationMessageDefinitionTranslation",0,-1,true), com.sforce.soap.metadata.ConversationMessageDefinitionTranslation[].class));
      }
    }

    private void writeFieldConversationMessageDefinitions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("conversationMessageDefinitions", "http://soap.sforce.com/2006/04/metadata","conversationMessageDefinitions","http://soap.sforce.com/2006/04/metadata","ConversationMessageDefinitionTranslation",0,-1,true), conversationMessageDefinitions, conversationMessageDefinitions__is_set);
    }

    /**
     * element : customApplications of type {http://soap.sforce.com/2006/04/metadata}CustomApplicationTranslation
     * java type: com.sforce.soap.metadata.CustomApplicationTranslation[]
     */
    private boolean customApplications__is_set = false;

    private com.sforce.soap.metadata.CustomApplicationTranslation[] customApplications = new com.sforce.soap.metadata.CustomApplicationTranslation[0];

    public com.sforce.soap.metadata.CustomApplicationTranslation[] getCustomApplications() {
      return customApplications;
    }

    public void setCustomApplications(com.sforce.soap.metadata.CustomApplicationTranslation[] customApplications) {
      this.customApplications = customApplications;
      customApplications__is_set = true;
    }

    protected void setCustomApplications(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("customApplications", "http://soap.sforce.com/2006/04/metadata","customApplications","http://soap.sforce.com/2006/04/metadata","CustomApplicationTranslation",0,-1,true))) {
        setCustomApplications((com.sforce.soap.metadata.CustomApplicationTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("customApplications", "http://soap.sforce.com/2006/04/metadata","customApplications","http://soap.sforce.com/2006/04/metadata","CustomApplicationTranslation",0,-1,true), com.sforce.soap.metadata.CustomApplicationTranslation[].class));
      }
    }

    private void writeFieldCustomApplications(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("customApplications", "http://soap.sforce.com/2006/04/metadata","customApplications","http://soap.sforce.com/2006/04/metadata","CustomApplicationTranslation",0,-1,true), customApplications, customApplications__is_set);
    }

    /**
     * element : customLabels of type {http://soap.sforce.com/2006/04/metadata}CustomLabelTranslation
     * java type: com.sforce.soap.metadata.CustomLabelTranslation[]
     */
    private boolean customLabels__is_set = false;

    private com.sforce.soap.metadata.CustomLabelTranslation[] customLabels = new com.sforce.soap.metadata.CustomLabelTranslation[0];

    public com.sforce.soap.metadata.CustomLabelTranslation[] getCustomLabels() {
      return customLabels;
    }

    public void setCustomLabels(com.sforce.soap.metadata.CustomLabelTranslation[] customLabels) {
      this.customLabels = customLabels;
      customLabels__is_set = true;
    }

    protected void setCustomLabels(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("customLabels", "http://soap.sforce.com/2006/04/metadata","customLabels","http://soap.sforce.com/2006/04/metadata","CustomLabelTranslation",0,-1,true))) {
        setCustomLabels((com.sforce.soap.metadata.CustomLabelTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("customLabels", "http://soap.sforce.com/2006/04/metadata","customLabels","http://soap.sforce.com/2006/04/metadata","CustomLabelTranslation",0,-1,true), com.sforce.soap.metadata.CustomLabelTranslation[].class));
      }
    }

    private void writeFieldCustomLabels(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("customLabels", "http://soap.sforce.com/2006/04/metadata","customLabels","http://soap.sforce.com/2006/04/metadata","CustomLabelTranslation",0,-1,true), customLabels, customLabels__is_set);
    }

    /**
     * element : customPageWebLinks of type {http://soap.sforce.com/2006/04/metadata}CustomPageWebLinkTranslation
     * java type: com.sforce.soap.metadata.CustomPageWebLinkTranslation[]
     */
    private boolean customPageWebLinks__is_set = false;

    private com.sforce.soap.metadata.CustomPageWebLinkTranslation[] customPageWebLinks = new com.sforce.soap.metadata.CustomPageWebLinkTranslation[0];

    public com.sforce.soap.metadata.CustomPageWebLinkTranslation[] getCustomPageWebLinks() {
      return customPageWebLinks;
    }

    public void setCustomPageWebLinks(com.sforce.soap.metadata.CustomPageWebLinkTranslation[] customPageWebLinks) {
      this.customPageWebLinks = customPageWebLinks;
      customPageWebLinks__is_set = true;
    }

    protected void setCustomPageWebLinks(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("customPageWebLinks", "http://soap.sforce.com/2006/04/metadata","customPageWebLinks","http://soap.sforce.com/2006/04/metadata","CustomPageWebLinkTranslation",0,-1,true))) {
        setCustomPageWebLinks((com.sforce.soap.metadata.CustomPageWebLinkTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("customPageWebLinks", "http://soap.sforce.com/2006/04/metadata","customPageWebLinks","http://soap.sforce.com/2006/04/metadata","CustomPageWebLinkTranslation",0,-1,true), com.sforce.soap.metadata.CustomPageWebLinkTranslation[].class));
      }
    }

    private void writeFieldCustomPageWebLinks(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("customPageWebLinks", "http://soap.sforce.com/2006/04/metadata","customPageWebLinks","http://soap.sforce.com/2006/04/metadata","CustomPageWebLinkTranslation",0,-1,true), customPageWebLinks, customPageWebLinks__is_set);
    }

    /**
     * element : customTabs of type {http://soap.sforce.com/2006/04/metadata}CustomTabTranslation
     * java type: com.sforce.soap.metadata.CustomTabTranslation[]
     */
    private boolean customTabs__is_set = false;

    private com.sforce.soap.metadata.CustomTabTranslation[] customTabs = new com.sforce.soap.metadata.CustomTabTranslation[0];

    public com.sforce.soap.metadata.CustomTabTranslation[] getCustomTabs() {
      return customTabs;
    }

    public void setCustomTabs(com.sforce.soap.metadata.CustomTabTranslation[] customTabs) {
      this.customTabs = customTabs;
      customTabs__is_set = true;
    }

    protected void setCustomTabs(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("customTabs", "http://soap.sforce.com/2006/04/metadata","customTabs","http://soap.sforce.com/2006/04/metadata","CustomTabTranslation",0,-1,true))) {
        setCustomTabs((com.sforce.soap.metadata.CustomTabTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("customTabs", "http://soap.sforce.com/2006/04/metadata","customTabs","http://soap.sforce.com/2006/04/metadata","CustomTabTranslation",0,-1,true), com.sforce.soap.metadata.CustomTabTranslation[].class));
      }
    }

    private void writeFieldCustomTabs(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("customTabs", "http://soap.sforce.com/2006/04/metadata","customTabs","http://soap.sforce.com/2006/04/metadata","CustomTabTranslation",0,-1,true), customTabs, customTabs__is_set);
    }

    /**
     * element : desFieldTemplateMessages of type {http://soap.sforce.com/2006/04/metadata}ExplainabilityMsgTemplateFieldTranslation
     * java type: com.sforce.soap.metadata.ExplainabilityMsgTemplateFieldTranslation[]
     */
    private boolean desFieldTemplateMessages__is_set = false;

    private com.sforce.soap.metadata.ExplainabilityMsgTemplateFieldTranslation[] desFieldTemplateMessages = new com.sforce.soap.metadata.ExplainabilityMsgTemplateFieldTranslation[0];

    public com.sforce.soap.metadata.ExplainabilityMsgTemplateFieldTranslation[] getDesFieldTemplateMessages() {
      return desFieldTemplateMessages;
    }

    public void setDesFieldTemplateMessages(com.sforce.soap.metadata.ExplainabilityMsgTemplateFieldTranslation[] desFieldTemplateMessages) {
      this.desFieldTemplateMessages = desFieldTemplateMessages;
      desFieldTemplateMessages__is_set = true;
    }

    protected void setDesFieldTemplateMessages(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("desFieldTemplateMessages", "http://soap.sforce.com/2006/04/metadata","desFieldTemplateMessages","http://soap.sforce.com/2006/04/metadata","ExplainabilityMsgTemplateFieldTranslation",0,-1,true))) {
        setDesFieldTemplateMessages((com.sforce.soap.metadata.ExplainabilityMsgTemplateFieldTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("desFieldTemplateMessages", "http://soap.sforce.com/2006/04/metadata","desFieldTemplateMessages","http://soap.sforce.com/2006/04/metadata","ExplainabilityMsgTemplateFieldTranslation",0,-1,true), com.sforce.soap.metadata.ExplainabilityMsgTemplateFieldTranslation[].class));
      }
    }

    private void writeFieldDesFieldTemplateMessages(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("desFieldTemplateMessages", "http://soap.sforce.com/2006/04/metadata","desFieldTemplateMessages","http://soap.sforce.com/2006/04/metadata","ExplainabilityMsgTemplateFieldTranslation",0,-1,true), desFieldTemplateMessages, desFieldTemplateMessages__is_set);
    }

    /**
     * element : flowDefinitions of type {http://soap.sforce.com/2006/04/metadata}FlowDefinitionTranslation
     * java type: com.sforce.soap.metadata.FlowDefinitionTranslation[]
     */
    private boolean flowDefinitions__is_set = false;

    private com.sforce.soap.metadata.FlowDefinitionTranslation[] flowDefinitions = new com.sforce.soap.metadata.FlowDefinitionTranslation[0];

    public com.sforce.soap.metadata.FlowDefinitionTranslation[] getFlowDefinitions() {
      return flowDefinitions;
    }

    public void setFlowDefinitions(com.sforce.soap.metadata.FlowDefinitionTranslation[] flowDefinitions) {
      this.flowDefinitions = flowDefinitions;
      flowDefinitions__is_set = true;
    }

    protected void setFlowDefinitions(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("flowDefinitions", "http://soap.sforce.com/2006/04/metadata","flowDefinitions","http://soap.sforce.com/2006/04/metadata","FlowDefinitionTranslation",0,-1,true))) {
        setFlowDefinitions((com.sforce.soap.metadata.FlowDefinitionTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("flowDefinitions", "http://soap.sforce.com/2006/04/metadata","flowDefinitions","http://soap.sforce.com/2006/04/metadata","FlowDefinitionTranslation",0,-1,true), com.sforce.soap.metadata.FlowDefinitionTranslation[].class));
      }
    }

    private void writeFieldFlowDefinitions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("flowDefinitions", "http://soap.sforce.com/2006/04/metadata","flowDefinitions","http://soap.sforce.com/2006/04/metadata","FlowDefinitionTranslation",0,-1,true), flowDefinitions, flowDefinitions__is_set);
    }

    /**
     * element : identityVerificationCustomFieldLabels of type {http://soap.sforce.com/2006/04/metadata}IdentityVerificationFieldTranslation
     * java type: com.sforce.soap.metadata.IdentityVerificationFieldTranslation[]
     */
    private boolean identityVerificationCustomFieldLabels__is_set = false;

    private com.sforce.soap.metadata.IdentityVerificationFieldTranslation[] identityVerificationCustomFieldLabels = new com.sforce.soap.metadata.IdentityVerificationFieldTranslation[0];

    public com.sforce.soap.metadata.IdentityVerificationFieldTranslation[] getIdentityVerificationCustomFieldLabels() {
      return identityVerificationCustomFieldLabels;
    }

    public void setIdentityVerificationCustomFieldLabels(com.sforce.soap.metadata.IdentityVerificationFieldTranslation[] identityVerificationCustomFieldLabels) {
      this.identityVerificationCustomFieldLabels = identityVerificationCustomFieldLabels;
      identityVerificationCustomFieldLabels__is_set = true;
    }

    protected void setIdentityVerificationCustomFieldLabels(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("identityVerificationCustomFieldLabels", "http://soap.sforce.com/2006/04/metadata","identityVerificationCustomFieldLabels","http://soap.sforce.com/2006/04/metadata","IdentityVerificationFieldTranslation",0,-1,true))) {
        setIdentityVerificationCustomFieldLabels((com.sforce.soap.metadata.IdentityVerificationFieldTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("identityVerificationCustomFieldLabels", "http://soap.sforce.com/2006/04/metadata","identityVerificationCustomFieldLabels","http://soap.sforce.com/2006/04/metadata","IdentityVerificationFieldTranslation",0,-1,true), com.sforce.soap.metadata.IdentityVerificationFieldTranslation[].class));
      }
    }

    private void writeFieldIdentityVerificationCustomFieldLabels(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("identityVerificationCustomFieldLabels", "http://soap.sforce.com/2006/04/metadata","identityVerificationCustomFieldLabels","http://soap.sforce.com/2006/04/metadata","IdentityVerificationFieldTranslation",0,-1,true), identityVerificationCustomFieldLabels, identityVerificationCustomFieldLabels__is_set);
    }

    /**
     * element : pipelineInspMetricConfigs of type {http://soap.sforce.com/2006/04/metadata}PipelineInspMetricConfigTranslation
     * java type: com.sforce.soap.metadata.PipelineInspMetricConfigTranslation[]
     */
    private boolean pipelineInspMetricConfigs__is_set = false;

    private com.sforce.soap.metadata.PipelineInspMetricConfigTranslation[] pipelineInspMetricConfigs = new com.sforce.soap.metadata.PipelineInspMetricConfigTranslation[0];

    public com.sforce.soap.metadata.PipelineInspMetricConfigTranslation[] getPipelineInspMetricConfigs() {
      return pipelineInspMetricConfigs;
    }

    public void setPipelineInspMetricConfigs(com.sforce.soap.metadata.PipelineInspMetricConfigTranslation[] pipelineInspMetricConfigs) {
      this.pipelineInspMetricConfigs = pipelineInspMetricConfigs;
      pipelineInspMetricConfigs__is_set = true;
    }

    protected void setPipelineInspMetricConfigs(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("pipelineInspMetricConfigs", "http://soap.sforce.com/2006/04/metadata","pipelineInspMetricConfigs","http://soap.sforce.com/2006/04/metadata","PipelineInspMetricConfigTranslation",0,-1,true))) {
        setPipelineInspMetricConfigs((com.sforce.soap.metadata.PipelineInspMetricConfigTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("pipelineInspMetricConfigs", "http://soap.sforce.com/2006/04/metadata","pipelineInspMetricConfigs","http://soap.sforce.com/2006/04/metadata","PipelineInspMetricConfigTranslation",0,-1,true), com.sforce.soap.metadata.PipelineInspMetricConfigTranslation[].class));
      }
    }

    private void writeFieldPipelineInspMetricConfigs(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("pipelineInspMetricConfigs", "http://soap.sforce.com/2006/04/metadata","pipelineInspMetricConfigs","http://soap.sforce.com/2006/04/metadata","PipelineInspMetricConfigTranslation",0,-1,true), pipelineInspMetricConfigs, pipelineInspMetricConfigs__is_set);
    }

    /**
     * element : prompts of type {http://soap.sforce.com/2006/04/metadata}PromptTranslation
     * java type: com.sforce.soap.metadata.PromptTranslation[]
     */
    private boolean prompts__is_set = false;

    private com.sforce.soap.metadata.PromptTranslation[] prompts = new com.sforce.soap.metadata.PromptTranslation[0];

    public com.sforce.soap.metadata.PromptTranslation[] getPrompts() {
      return prompts;
    }

    public void setPrompts(com.sforce.soap.metadata.PromptTranslation[] prompts) {
      this.prompts = prompts;
      prompts__is_set = true;
    }

    protected void setPrompts(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("prompts", "http://soap.sforce.com/2006/04/metadata","prompts","http://soap.sforce.com/2006/04/metadata","PromptTranslation",0,-1,true))) {
        setPrompts((com.sforce.soap.metadata.PromptTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("prompts", "http://soap.sforce.com/2006/04/metadata","prompts","http://soap.sforce.com/2006/04/metadata","PromptTranslation",0,-1,true), com.sforce.soap.metadata.PromptTranslation[].class));
      }
    }

    private void writeFieldPrompts(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("prompts", "http://soap.sforce.com/2006/04/metadata","prompts","http://soap.sforce.com/2006/04/metadata","PromptTranslation",0,-1,true), prompts, prompts__is_set);
    }

    /**
     * element : quickActions of type {http://soap.sforce.com/2006/04/metadata}GlobalQuickActionTranslation
     * java type: com.sforce.soap.metadata.GlobalQuickActionTranslation[]
     */
    private boolean quickActions__is_set = false;

    private com.sforce.soap.metadata.GlobalQuickActionTranslation[] quickActions = new com.sforce.soap.metadata.GlobalQuickActionTranslation[0];

    public com.sforce.soap.metadata.GlobalQuickActionTranslation[] getQuickActions() {
      return quickActions;
    }

    public void setQuickActions(com.sforce.soap.metadata.GlobalQuickActionTranslation[] quickActions) {
      this.quickActions = quickActions;
      quickActions__is_set = true;
    }

    protected void setQuickActions(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("quickActions", "http://soap.sforce.com/2006/04/metadata","quickActions","http://soap.sforce.com/2006/04/metadata","GlobalQuickActionTranslation",0,-1,true))) {
        setQuickActions((com.sforce.soap.metadata.GlobalQuickActionTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("quickActions", "http://soap.sforce.com/2006/04/metadata","quickActions","http://soap.sforce.com/2006/04/metadata","GlobalQuickActionTranslation",0,-1,true), com.sforce.soap.metadata.GlobalQuickActionTranslation[].class));
      }
    }

    private void writeFieldQuickActions(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("quickActions", "http://soap.sforce.com/2006/04/metadata","quickActions","http://soap.sforce.com/2006/04/metadata","GlobalQuickActionTranslation",0,-1,true), quickActions, quickActions__is_set);
    }

    /**
     * element : reportTypes of type {http://soap.sforce.com/2006/04/metadata}ReportTypeTranslation
     * java type: com.sforce.soap.metadata.ReportTypeTranslation[]
     */
    private boolean reportTypes__is_set = false;

    private com.sforce.soap.metadata.ReportTypeTranslation[] reportTypes = new com.sforce.soap.metadata.ReportTypeTranslation[0];

    public com.sforce.soap.metadata.ReportTypeTranslation[] getReportTypes() {
      return reportTypes;
    }

    public void setReportTypes(com.sforce.soap.metadata.ReportTypeTranslation[] reportTypes) {
      this.reportTypes = reportTypes;
      reportTypes__is_set = true;
    }

    protected void setReportTypes(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("reportTypes", "http://soap.sforce.com/2006/04/metadata","reportTypes","http://soap.sforce.com/2006/04/metadata","ReportTypeTranslation",0,-1,true))) {
        setReportTypes((com.sforce.soap.metadata.ReportTypeTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("reportTypes", "http://soap.sforce.com/2006/04/metadata","reportTypes","http://soap.sforce.com/2006/04/metadata","ReportTypeTranslation",0,-1,true), com.sforce.soap.metadata.ReportTypeTranslation[].class));
      }
    }

    private void writeFieldReportTypes(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("reportTypes", "http://soap.sforce.com/2006/04/metadata","reportTypes","http://soap.sforce.com/2006/04/metadata","ReportTypeTranslation",0,-1,true), reportTypes, reportTypes__is_set);
    }

    /**
     * element : scontrols of type {http://soap.sforce.com/2006/04/metadata}ScontrolTranslation
     * java type: com.sforce.soap.metadata.ScontrolTranslation[]
     */
    private boolean scontrols__is_set = false;

    private com.sforce.soap.metadata.ScontrolTranslation[] scontrols = new com.sforce.soap.metadata.ScontrolTranslation[0];

    public com.sforce.soap.metadata.ScontrolTranslation[] getScontrols() {
      return scontrols;
    }

    public void setScontrols(com.sforce.soap.metadata.ScontrolTranslation[] scontrols) {
      this.scontrols = scontrols;
      scontrols__is_set = true;
    }

    protected void setScontrols(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("scontrols", "http://soap.sforce.com/2006/04/metadata","scontrols","http://soap.sforce.com/2006/04/metadata","ScontrolTranslation",0,-1,true))) {
        setScontrols((com.sforce.soap.metadata.ScontrolTranslation[])__typeMapper.readObject(__in, _lookupTypeInfo("scontrols", "http://soap.sforce.com/2006/04/metadata","scontrols","http://soap.sforce.com/2006/04/metadata","ScontrolTranslation",0,-1,true), com.sforce.soap.metadata.ScontrolTranslation[].class));
      }
    }

    private void writeFieldScontrols(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("scontrols", "http://soap.sforce.com/2006/04/metadata","scontrols","http://soap.sforce.com/2006/04/metadata","ScontrolTranslation",0,-1,true), scontrols, scontrols__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());
      __typeMapper.writeXsiType(__out, "http://soap.sforce.com/2006/04/metadata", "Translations");
      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 {
       super.writeFields(__out, __typeMapper);
       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 {
        super.loadFields(__in, __typeMapper);
        loadFields1(__in, __typeMapper);
    }

    @Override
    public String toString() {
      java.lang.StringBuilder sb = new java.lang.StringBuilder();
      sb.append("[Translations ");
      sb.append(super.toString());
      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 {
      writeFieldBotBlocks(__out, __typeMapper);
      writeFieldBotTemplates(__out, __typeMapper);
      writeFieldBots(__out, __typeMapper);
      writeFieldConversationMessageDefinitions(__out, __typeMapper);
      writeFieldCustomApplications(__out, __typeMapper);
      writeFieldCustomLabels(__out, __typeMapper);
      writeFieldCustomPageWebLinks(__out, __typeMapper);
      writeFieldCustomTabs(__out, __typeMapper);
      writeFieldDesFieldTemplateMessages(__out, __typeMapper);
      writeFieldFlowDefinitions(__out, __typeMapper);
      writeFieldIdentityVerificationCustomFieldLabels(__out, __typeMapper);
      writeFieldPipelineInspMetricConfigs(__out, __typeMapper);
      writeFieldPrompts(__out, __typeMapper);
      writeFieldQuickActions(__out, __typeMapper);
      writeFieldReportTypes(__out, __typeMapper);
      writeFieldScontrols(__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 {
      setBotBlocks(__in, __typeMapper);
      setBotTemplates(__in, __typeMapper);
      setBots(__in, __typeMapper);
      setConversationMessageDefinitions(__in, __typeMapper);
      setCustomApplications(__in, __typeMapper);
      setCustomLabels(__in, __typeMapper);
      setCustomPageWebLinks(__in, __typeMapper);
      setCustomTabs(__in, __typeMapper);
      setDesFieldTemplateMessages(__in, __typeMapper);
      setFlowDefinitions(__in, __typeMapper);
      setIdentityVerificationCustomFieldLabels(__in, __typeMapper);
      setPipelineInspMetricConfigs(__in, __typeMapper);
      setPrompts(__in, __typeMapper);
      setQuickActions(__in, __typeMapper);
      setReportTypes(__in, __typeMapper);
      setScontrols(__in, __typeMapper);
    }

    private void toString1(StringBuilder sb) {
      toStringHelper(sb, "botBlocks", botBlocks);
      toStringHelper(sb, "botTemplates", botTemplates);
      toStringHelper(sb, "bots", bots);
      toStringHelper(sb, "conversationMessageDefinitions", conversationMessageDefinitions);
      toStringHelper(sb, "customApplications", customApplications);
      toStringHelper(sb, "customLabels", customLabels);
      toStringHelper(sb, "customPageWebLinks", customPageWebLinks);
      toStringHelper(sb, "customTabs", customTabs);
      toStringHelper(sb, "desFieldTemplateMessages", desFieldTemplateMessages);
      toStringHelper(sb, "flowDefinitions", flowDefinitions);
      toStringHelper(sb, "identityVerificationCustomFieldLabels", identityVerificationCustomFieldLabels);
      toStringHelper(sb, "pipelineInspMetricConfigs", pipelineInspMetricConfigs);
      toStringHelper(sb, "prompts", prompts);
      toStringHelper(sb, "quickActions", quickActions);
      toStringHelper(sb, "reportTypes", reportTypes);
      toStringHelper(sb, "scontrols", scontrols);
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy