Interface GenerativeSettingsOrBuilder (0.38.0)

public interface GenerativeSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFallbackSettings()

public abstract GenerativeSettings.FallbackSettings getFallbackSettings()

Settings for Generative Fallback.

.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings fallback_settings = 1;

Returns
Type Description
GenerativeSettings.FallbackSettings

The fallbackSettings.

getFallbackSettingsOrBuilder()

public abstract GenerativeSettings.FallbackSettingsOrBuilder getFallbackSettingsOrBuilder()

Settings for Generative Fallback.

.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings fallback_settings = 1;

Returns
Type Description
GenerativeSettings.FallbackSettingsOrBuilder

getGenerativeSafetySettings()

public abstract SafetySettings getGenerativeSafetySettings()

Settings for Generative Safety.

.google.cloud.dialogflow.cx.v3beta1.SafetySettings generative_safety_settings = 3;

Returns
Type Description
SafetySettings

The generativeSafetySettings.

getGenerativeSafetySettingsOrBuilder()

public abstract SafetySettingsOrBuilder getGenerativeSafetySettingsOrBuilder()

Settings for Generative Safety.

.google.cloud.dialogflow.cx.v3beta1.SafetySettings generative_safety_settings = 3;

Returns
Type Description
SafetySettingsOrBuilder

getKnowledgeConnectorSettings()

public abstract GenerativeSettings.KnowledgeConnectorSettings getKnowledgeConnectorSettings()

Settings for knowledge connector.

.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings knowledge_connector_settings = 7;

Returns
Type Description
GenerativeSettings.KnowledgeConnectorSettings

The knowledgeConnectorSettings.

getKnowledgeConnectorSettingsOrBuilder()

public abstract GenerativeSettings.KnowledgeConnectorSettingsOrBuilder getKnowledgeConnectorSettingsOrBuilder()

Settings for knowledge connector.

.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings knowledge_connector_settings = 7;

Returns
Type Description
GenerativeSettings.KnowledgeConnectorSettingsOrBuilder

getLanguageCode()

public abstract String getLanguageCode()

Language for this settings.

string language_code = 4;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Language for this settings.

string language_code = 4;

Returns
Type Description
ByteString

The bytes for languageCode.

getName()

public abstract String getName()

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generativeSettings.

string name = 5;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generativeSettings.

string name = 5;

Returns
Type Description
ByteString

The bytes for name.

hasFallbackSettings()

public abstract boolean hasFallbackSettings()

Settings for Generative Fallback.

.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings fallback_settings = 1;

Returns
Type Description
boolean

Whether the fallbackSettings field is set.

hasGenerativeSafetySettings()

public abstract boolean hasGenerativeSafetySettings()

Settings for Generative Safety.

.google.cloud.dialogflow.cx.v3beta1.SafetySettings generative_safety_settings = 3;

Returns
Type Description
boolean

Whether the generativeSafetySettings field is set.

hasKnowledgeConnectorSettings()

public abstract boolean hasKnowledgeConnectorSettings()

Settings for knowledge connector.

.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings knowledge_connector_settings = 7;

Returns
Type Description
boolean

Whether the knowledgeConnectorSettings field is set.