datai/docs/reference-code/com/sforce/soap/metadata/EinsteinGptSettings.java

482 lines
26 KiB
Java
Raw Permalink Normal View History

2026-01-22 10:52:30 +08:00
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 EinsteinGptSettings extends com.sforce.soap.metadata.Metadata {
/**
* Constructor
*/
public EinsteinGptSettings() {}
/* Cache the typeInfo instead of declaring static fields throughout*/
private transient java.util.Map<String, com.sforce.ws.bind.TypeInfo> typeInfoCache = new java.util.HashMap<String, com.sforce.ws.bind.TypeInfo>();
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 : disableAIProvAWSBedrock of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean disableAIProvAWSBedrock__is_set = false;
private boolean disableAIProvAWSBedrock;
public boolean getDisableAIProvAWSBedrock() {
return disableAIProvAWSBedrock;
}
public boolean isDisableAIProvAWSBedrock() {
return disableAIProvAWSBedrock;
}
public void setDisableAIProvAWSBedrock(boolean disableAIProvAWSBedrock) {
this.disableAIProvAWSBedrock = disableAIProvAWSBedrock;
disableAIProvAWSBedrock__is_set = true;
}
protected void setDisableAIProvAWSBedrock(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("disableAIProvAWSBedrock", "http://soap.sforce.com/2006/04/metadata","disableAIProvAWSBedrock","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setDisableAIProvAWSBedrock(__typeMapper.readBoolean(__in, _lookupTypeInfo("disableAIProvAWSBedrock", "http://soap.sforce.com/2006/04/metadata","disableAIProvAWSBedrock","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldDisableAIProvAWSBedrock(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("disableAIProvAWSBedrock", "http://soap.sforce.com/2006/04/metadata","disableAIProvAWSBedrock","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), disableAIProvAWSBedrock, disableAIProvAWSBedrock__is_set);
}
/**
* element : disableAIProvAzureOpenAI of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean disableAIProvAzureOpenAI__is_set = false;
private boolean disableAIProvAzureOpenAI;
public boolean getDisableAIProvAzureOpenAI() {
return disableAIProvAzureOpenAI;
}
public boolean isDisableAIProvAzureOpenAI() {
return disableAIProvAzureOpenAI;
}
public void setDisableAIProvAzureOpenAI(boolean disableAIProvAzureOpenAI) {
this.disableAIProvAzureOpenAI = disableAIProvAzureOpenAI;
disableAIProvAzureOpenAI__is_set = true;
}
protected void setDisableAIProvAzureOpenAI(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("disableAIProvAzureOpenAI", "http://soap.sforce.com/2006/04/metadata","disableAIProvAzureOpenAI","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setDisableAIProvAzureOpenAI(__typeMapper.readBoolean(__in, _lookupTypeInfo("disableAIProvAzureOpenAI", "http://soap.sforce.com/2006/04/metadata","disableAIProvAzureOpenAI","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldDisableAIProvAzureOpenAI(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("disableAIProvAzureOpenAI", "http://soap.sforce.com/2006/04/metadata","disableAIProvAzureOpenAI","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), disableAIProvAzureOpenAI, disableAIProvAzureOpenAI__is_set);
}
/**
* element : disableAIProvOpenAI of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean disableAIProvOpenAI__is_set = false;
private boolean disableAIProvOpenAI;
public boolean getDisableAIProvOpenAI() {
return disableAIProvOpenAI;
}
public boolean isDisableAIProvOpenAI() {
return disableAIProvOpenAI;
}
public void setDisableAIProvOpenAI(boolean disableAIProvOpenAI) {
this.disableAIProvOpenAI = disableAIProvOpenAI;
disableAIProvOpenAI__is_set = true;
}
protected void setDisableAIProvOpenAI(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("disableAIProvOpenAI", "http://soap.sforce.com/2006/04/metadata","disableAIProvOpenAI","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setDisableAIProvOpenAI(__typeMapper.readBoolean(__in, _lookupTypeInfo("disableAIProvOpenAI", "http://soap.sforce.com/2006/04/metadata","disableAIProvOpenAI","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldDisableAIProvOpenAI(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("disableAIProvOpenAI", "http://soap.sforce.com/2006/04/metadata","disableAIProvOpenAI","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), disableAIProvOpenAI, disableAIProvOpenAI__is_set);
}
/**
* element : disableAIProvVertexGemini of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean disableAIProvVertexGemini__is_set = false;
private boolean disableAIProvVertexGemini;
public boolean getDisableAIProvVertexGemini() {
return disableAIProvVertexGemini;
}
public boolean isDisableAIProvVertexGemini() {
return disableAIProvVertexGemini;
}
public void setDisableAIProvVertexGemini(boolean disableAIProvVertexGemini) {
this.disableAIProvVertexGemini = disableAIProvVertexGemini;
disableAIProvVertexGemini__is_set = true;
}
protected void setDisableAIProvVertexGemini(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("disableAIProvVertexGemini", "http://soap.sforce.com/2006/04/metadata","disableAIProvVertexGemini","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setDisableAIProvVertexGemini(__typeMapper.readBoolean(__in, _lookupTypeInfo("disableAIProvVertexGemini", "http://soap.sforce.com/2006/04/metadata","disableAIProvVertexGemini","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldDisableAIProvVertexGemini(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("disableAIProvVertexGemini", "http://soap.sforce.com/2006/04/metadata","disableAIProvVertexGemini","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), disableAIProvVertexGemini, disableAIProvVertexGemini__is_set);
}
/**
* element : disableAIProviderRegionFallback of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean disableAIProviderRegionFallback__is_set = false;
private boolean disableAIProviderRegionFallback;
public boolean getDisableAIProviderRegionFallback() {
return disableAIProviderRegionFallback;
}
public boolean isDisableAIProviderRegionFallback() {
return disableAIProviderRegionFallback;
}
public void setDisableAIProviderRegionFallback(boolean disableAIProviderRegionFallback) {
this.disableAIProviderRegionFallback = disableAIProviderRegionFallback;
disableAIProviderRegionFallback__is_set = true;
}
protected void setDisableAIProviderRegionFallback(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("disableAIProviderRegionFallback", "http://soap.sforce.com/2006/04/metadata","disableAIProviderRegionFallback","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setDisableAIProviderRegionFallback(__typeMapper.readBoolean(__in, _lookupTypeInfo("disableAIProviderRegionFallback", "http://soap.sforce.com/2006/04/metadata","disableAIProviderRegionFallback","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldDisableAIProviderRegionFallback(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("disableAIProviderRegionFallback", "http://soap.sforce.com/2006/04/metadata","disableAIProviderRegionFallback","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), disableAIProviderRegionFallback, disableAIProviderRegionFallback__is_set);
}
/**
* element : enableAIModelBeta of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableAIModelBeta__is_set = false;
private boolean enableAIModelBeta;
public boolean getEnableAIModelBeta() {
return enableAIModelBeta;
}
public boolean isEnableAIModelBeta() {
return enableAIModelBeta;
}
public void setEnableAIModelBeta(boolean enableAIModelBeta) {
this.enableAIModelBeta = enableAIModelBeta;
enableAIModelBeta__is_set = true;
}
protected void setEnableAIModelBeta(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("enableAIModelBeta", "http://soap.sforce.com/2006/04/metadata","enableAIModelBeta","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableAIModelBeta(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableAIModelBeta", "http://soap.sforce.com/2006/04/metadata","enableAIModelBeta","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableAIModelBeta(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableAIModelBeta", "http://soap.sforce.com/2006/04/metadata","enableAIModelBeta","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableAIModelBeta, enableAIModelBeta__is_set);
}
/**
* element : enableEinsteinGPTDeployPromptTemplatesAsActive of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableEinsteinGPTDeployPromptTemplatesAsActive__is_set = false;
private boolean enableEinsteinGPTDeployPromptTemplatesAsActive;
public boolean getEnableEinsteinGPTDeployPromptTemplatesAsActive() {
return enableEinsteinGPTDeployPromptTemplatesAsActive;
}
public boolean isEnableEinsteinGPTDeployPromptTemplatesAsActive() {
return enableEinsteinGPTDeployPromptTemplatesAsActive;
}
public void setEnableEinsteinGPTDeployPromptTemplatesAsActive(boolean enableEinsteinGPTDeployPromptTemplatesAsActive) {
this.enableEinsteinGPTDeployPromptTemplatesAsActive = enableEinsteinGPTDeployPromptTemplatesAsActive;
enableEinsteinGPTDeployPromptTemplatesAsActive__is_set = true;
}
protected void setEnableEinsteinGPTDeployPromptTemplatesAsActive(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("enableEinsteinGPTDeployPromptTemplatesAsActive", "http://soap.sforce.com/2006/04/metadata","enableEinsteinGPTDeployPromptTemplatesAsActive","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableEinsteinGPTDeployPromptTemplatesAsActive(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableEinsteinGPTDeployPromptTemplatesAsActive", "http://soap.sforce.com/2006/04/metadata","enableEinsteinGPTDeployPromptTemplatesAsActive","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableEinsteinGPTDeployPromptTemplatesAsActive(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableEinsteinGPTDeployPromptTemplatesAsActive", "http://soap.sforce.com/2006/04/metadata","enableEinsteinGPTDeployPromptTemplatesAsActive","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableEinsteinGPTDeployPromptTemplatesAsActive, enableEinsteinGPTDeployPromptTemplatesAsActive__is_set);
}
/**
* element : enableEinsteinGptAllowUnsafePTInputChanges of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableEinsteinGptAllowUnsafePTInputChanges__is_set = false;
private boolean enableEinsteinGptAllowUnsafePTInputChanges;
public boolean getEnableEinsteinGptAllowUnsafePTInputChanges() {
return enableEinsteinGptAllowUnsafePTInputChanges;
}
public boolean isEnableEinsteinGptAllowUnsafePTInputChanges() {
return enableEinsteinGptAllowUnsafePTInputChanges;
}
public void setEnableEinsteinGptAllowUnsafePTInputChanges(boolean enableEinsteinGptAllowUnsafePTInputChanges) {
this.enableEinsteinGptAllowUnsafePTInputChanges = enableEinsteinGptAllowUnsafePTInputChanges;
enableEinsteinGptAllowUnsafePTInputChanges__is_set = true;
}
protected void setEnableEinsteinGptAllowUnsafePTInputChanges(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("enableEinsteinGptAllowUnsafePTInputChanges", "http://soap.sforce.com/2006/04/metadata","enableEinsteinGptAllowUnsafePTInputChanges","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableEinsteinGptAllowUnsafePTInputChanges(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableEinsteinGptAllowUnsafePTInputChanges", "http://soap.sforce.com/2006/04/metadata","enableEinsteinGptAllowUnsafePTInputChanges","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableEinsteinGptAllowUnsafePTInputChanges(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableEinsteinGptAllowUnsafePTInputChanges", "http://soap.sforce.com/2006/04/metadata","enableEinsteinGptAllowUnsafePTInputChanges","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableEinsteinGptAllowUnsafePTInputChanges, enableEinsteinGptAllowUnsafePTInputChanges__is_set);
}
/**
* element : enableEinsteinGptGlobalLangSupport of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableEinsteinGptGlobalLangSupport__is_set = false;
private boolean enableEinsteinGptGlobalLangSupport;
public boolean getEnableEinsteinGptGlobalLangSupport() {
return enableEinsteinGptGlobalLangSupport;
}
public boolean isEnableEinsteinGptGlobalLangSupport() {
return enableEinsteinGptGlobalLangSupport;
}
public void setEnableEinsteinGptGlobalLangSupport(boolean enableEinsteinGptGlobalLangSupport) {
this.enableEinsteinGptGlobalLangSupport = enableEinsteinGptGlobalLangSupport;
enableEinsteinGptGlobalLangSupport__is_set = true;
}
protected void setEnableEinsteinGptGlobalLangSupport(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("enableEinsteinGptGlobalLangSupport", "http://soap.sforce.com/2006/04/metadata","enableEinsteinGptGlobalLangSupport","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableEinsteinGptGlobalLangSupport(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableEinsteinGptGlobalLangSupport", "http://soap.sforce.com/2006/04/metadata","enableEinsteinGptGlobalLangSupport","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableEinsteinGptGlobalLangSupport(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableEinsteinGptGlobalLangSupport", "http://soap.sforce.com/2006/04/metadata","enableEinsteinGptGlobalLangSupport","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableEinsteinGptGlobalLangSupport, enableEinsteinGptGlobalLangSupport__is_set);
}
/**
* element : enableEinsteinGptPlatform of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableEinsteinGptPlatform__is_set = false;
private boolean enableEinsteinGptPlatform;
public boolean getEnableEinsteinGptPlatform() {
return enableEinsteinGptPlatform;
}
public boolean isEnableEinsteinGptPlatform() {
return enableEinsteinGptPlatform;
}
public void setEnableEinsteinGptPlatform(boolean enableEinsteinGptPlatform) {
this.enableEinsteinGptPlatform = enableEinsteinGptPlatform;
enableEinsteinGptPlatform__is_set = true;
}
protected void setEnableEinsteinGptPlatform(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("enableEinsteinGptPlatform", "http://soap.sforce.com/2006/04/metadata","enableEinsteinGptPlatform","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableEinsteinGptPlatform(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableEinsteinGptPlatform", "http://soap.sforce.com/2006/04/metadata","enableEinsteinGptPlatform","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableEinsteinGptPlatform(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableEinsteinGptPlatform", "http://soap.sforce.com/2006/04/metadata","enableEinsteinGptPlatform","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableEinsteinGptPlatform, enableEinsteinGptPlatform__is_set);
}
/**
* element : enableEnhancedPromptSecurity of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean enableEnhancedPromptSecurity__is_set = false;
private boolean enableEnhancedPromptSecurity;
public boolean getEnableEnhancedPromptSecurity() {
return enableEnhancedPromptSecurity;
}
public boolean isEnableEnhancedPromptSecurity() {
return enableEnhancedPromptSecurity;
}
public void setEnableEnhancedPromptSecurity(boolean enableEnhancedPromptSecurity) {
this.enableEnhancedPromptSecurity = enableEnhancedPromptSecurity;
enableEnhancedPromptSecurity__is_set = true;
}
protected void setEnableEnhancedPromptSecurity(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("enableEnhancedPromptSecurity", "http://soap.sforce.com/2006/04/metadata","enableEnhancedPromptSecurity","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setEnableEnhancedPromptSecurity(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableEnhancedPromptSecurity", "http://soap.sforce.com/2006/04/metadata","enableEnhancedPromptSecurity","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldEnableEnhancedPromptSecurity(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("enableEnhancedPromptSecurity", "http://soap.sforce.com/2006/04/metadata","enableEnhancedPromptSecurity","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableEnhancedPromptSecurity, enableEnhancedPromptSecurity__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", "EinsteinGptSettings");
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("[EinsteinGptSettings ");
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 {
writeFieldDisableAIProvAWSBedrock(__out, __typeMapper);
writeFieldDisableAIProvAzureOpenAI(__out, __typeMapper);
writeFieldDisableAIProvOpenAI(__out, __typeMapper);
writeFieldDisableAIProvVertexGemini(__out, __typeMapper);
writeFieldDisableAIProviderRegionFallback(__out, __typeMapper);
writeFieldEnableAIModelBeta(__out, __typeMapper);
writeFieldEnableEinsteinGPTDeployPromptTemplatesAsActive(__out, __typeMapper);
writeFieldEnableEinsteinGptAllowUnsafePTInputChanges(__out, __typeMapper);
writeFieldEnableEinsteinGptGlobalLangSupport(__out, __typeMapper);
writeFieldEnableEinsteinGptPlatform(__out, __typeMapper);
writeFieldEnableEnhancedPromptSecurity(__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 {
setDisableAIProvAWSBedrock(__in, __typeMapper);
setDisableAIProvAzureOpenAI(__in, __typeMapper);
setDisableAIProvOpenAI(__in, __typeMapper);
setDisableAIProvVertexGemini(__in, __typeMapper);
setDisableAIProviderRegionFallback(__in, __typeMapper);
setEnableAIModelBeta(__in, __typeMapper);
setEnableEinsteinGPTDeployPromptTemplatesAsActive(__in, __typeMapper);
setEnableEinsteinGptAllowUnsafePTInputChanges(__in, __typeMapper);
setEnableEinsteinGptGlobalLangSupport(__in, __typeMapper);
setEnableEinsteinGptPlatform(__in, __typeMapper);
setEnableEnhancedPromptSecurity(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "disableAIProvAWSBedrock", disableAIProvAWSBedrock);
toStringHelper(sb, "disableAIProvAzureOpenAI", disableAIProvAzureOpenAI);
toStringHelper(sb, "disableAIProvOpenAI", disableAIProvOpenAI);
toStringHelper(sb, "disableAIProvVertexGemini", disableAIProvVertexGemini);
toStringHelper(sb, "disableAIProviderRegionFallback", disableAIProviderRegionFallback);
toStringHelper(sb, "enableAIModelBeta", enableAIModelBeta);
toStringHelper(sb, "enableEinsteinGPTDeployPromptTemplatesAsActive", enableEinsteinGPTDeployPromptTemplatesAsActive);
toStringHelper(sb, "enableEinsteinGptAllowUnsafePTInputChanges", enableEinsteinGptAllowUnsafePTInputChanges);
toStringHelper(sb, "enableEinsteinGptGlobalLangSupport", enableEinsteinGptGlobalLangSupport);
toStringHelper(sb, "enableEinsteinGptPlatform", enableEinsteinGptPlatform);
toStringHelper(sb, "enableEnhancedPromptSecurity", enableEnhancedPromptSecurity);
}
}