Interface GenerativeSettingsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerativeSettings
,GenerativeSettings.Builder
public interface GenerativeSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GenerativeSettings.FallbackSettings
getFallbackSettings()
Settings for Generative Fallback.GenerativeSettings.FallbackSettingsOrBuilder
getFallbackSettingsOrBuilder()
Settings for Generative Fallback.SafetySettings
getGenerativeSafetySettings()
Settings for Generative Safety.SafetySettingsOrBuilder
getGenerativeSafetySettingsOrBuilder()
Settings for Generative Safety.GenerativeSettings.KnowledgeConnectorSettings
getKnowledgeConnectorSettings()
Settings for knowledge connector.GenerativeSettings.KnowledgeConnectorSettingsOrBuilder
getKnowledgeConnectorSettingsOrBuilder()
Settings for knowledge connector.String
getLanguageCode()
Language for this settings.com.google.protobuf.ByteString
getLanguageCodeBytes()
Language for this settings.String
getName()
Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generativeSettings`.com.google.protobuf.ByteString
getNameBytes()
Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generativeSettings`.boolean
hasFallbackSettings()
Settings for Generative Fallback.boolean
hasGenerativeSafetySettings()
Settings for Generative Safety.boolean
hasKnowledgeConnectorSettings()
Settings for knowledge connector.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generativeSettings`.
string name = 5;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generativeSettings`.
string name = 5;
- Returns:
- The bytes for name.
-
hasFallbackSettings
boolean hasFallbackSettings()
Settings for Generative Fallback.
.google.cloud.dialogflow.cx.v3.GenerativeSettings.FallbackSettings fallback_settings = 1;
- Returns:
- Whether the fallbackSettings field is set.
-
getFallbackSettings
GenerativeSettings.FallbackSettings getFallbackSettings()
Settings for Generative Fallback.
.google.cloud.dialogflow.cx.v3.GenerativeSettings.FallbackSettings fallback_settings = 1;
- Returns:
- The fallbackSettings.
-
getFallbackSettingsOrBuilder
GenerativeSettings.FallbackSettingsOrBuilder getFallbackSettingsOrBuilder()
Settings for Generative Fallback.
.google.cloud.dialogflow.cx.v3.GenerativeSettings.FallbackSettings fallback_settings = 1;
-
hasGenerativeSafetySettings
boolean hasGenerativeSafetySettings()
Settings for Generative Safety.
.google.cloud.dialogflow.cx.v3.SafetySettings generative_safety_settings = 3;
- Returns:
- Whether the generativeSafetySettings field is set.
-
getGenerativeSafetySettings
SafetySettings getGenerativeSafetySettings()
Settings for Generative Safety.
.google.cloud.dialogflow.cx.v3.SafetySettings generative_safety_settings = 3;
- Returns:
- The generativeSafetySettings.
-
getGenerativeSafetySettingsOrBuilder
SafetySettingsOrBuilder getGenerativeSafetySettingsOrBuilder()
Settings for Generative Safety.
.google.cloud.dialogflow.cx.v3.SafetySettings generative_safety_settings = 3;
-
hasKnowledgeConnectorSettings
boolean hasKnowledgeConnectorSettings()
Settings for knowledge connector.
.google.cloud.dialogflow.cx.v3.GenerativeSettings.KnowledgeConnectorSettings knowledge_connector_settings = 7;
- Returns:
- Whether the knowledgeConnectorSettings field is set.
-
getKnowledgeConnectorSettings
GenerativeSettings.KnowledgeConnectorSettings getKnowledgeConnectorSettings()
Settings for knowledge connector.
.google.cloud.dialogflow.cx.v3.GenerativeSettings.KnowledgeConnectorSettings knowledge_connector_settings = 7;
- Returns:
- The knowledgeConnectorSettings.
-
getKnowledgeConnectorSettingsOrBuilder
GenerativeSettings.KnowledgeConnectorSettingsOrBuilder getKnowledgeConnectorSettingsOrBuilder()
Settings for knowledge connector.
.google.cloud.dialogflow.cx.v3.GenerativeSettings.KnowledgeConnectorSettings knowledge_connector_settings = 7;
-
getLanguageCode
String getLanguageCode()
Language for this settings.
string language_code = 4;
- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()
Language for this settings.
string language_code = 4;
- Returns:
- The bytes for languageCode.
-
-