- 0.63.0 (latest)
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class GenerativeSettings.Builder extends GeneratedMessageV3.Builder<GenerativeSettings.Builder> implements GenerativeSettingsOrBuilder
Settings for Generative AI.
Protobuf type google.cloud.dialogflow.cx.v3beta1.GenerativeSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerativeSettings.BuilderImplements
GenerativeSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerativeSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
build()
public GenerativeSettings build()
Returns | |
---|---|
Type | Description |
GenerativeSettings |
buildPartial()
public GenerativeSettings buildPartial()
Returns | |
---|---|
Type | Description |
GenerativeSettings |
clear()
public GenerativeSettings.Builder clear()
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
clearFallbackSettings()
public GenerativeSettings.Builder clearFallbackSettings()
Settings for Generative Fallback.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings fallback_settings = 1;
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
clearField(Descriptors.FieldDescriptor field)
public GenerativeSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
clearGenerativeSafetySettings()
public GenerativeSettings.Builder clearGenerativeSafetySettings()
Settings for Generative Safety.
.google.cloud.dialogflow.cx.v3beta1.SafetySettings generative_safety_settings = 3;
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
clearKnowledgeConnectorSettings()
public GenerativeSettings.Builder clearKnowledgeConnectorSettings()
Settings for knowledge connector.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings knowledge_connector_settings = 7;
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
clearLanguageCode()
public GenerativeSettings.Builder clearLanguageCode()
Language for this settings.
string language_code = 4;
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
This builder for chaining. |
clearLlmModelSettings()
public GenerativeSettings.Builder clearLlmModelSettings()
LLM model settings.
.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 8;
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
clearName()
public GenerativeSettings.Builder clearName()
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/generativeSettings
.
string name = 5;
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerativeSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
clone()
public GenerativeSettings.Builder clone()
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
getDefaultInstanceForType()
public GenerativeSettings getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GenerativeSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFallbackSettings()
public GenerativeSettings.FallbackSettings getFallbackSettings()
Settings for Generative Fallback.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings fallback_settings = 1;
Returns | |
---|---|
Type | Description |
GenerativeSettings.FallbackSettings |
The fallbackSettings. |
getFallbackSettingsBuilder()
public GenerativeSettings.FallbackSettings.Builder getFallbackSettingsBuilder()
Settings for Generative Fallback.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings fallback_settings = 1;
Returns | |
---|---|
Type | Description |
GenerativeSettings.FallbackSettings.Builder |
getFallbackSettingsOrBuilder()
public GenerativeSettings.FallbackSettingsOrBuilder getFallbackSettingsOrBuilder()
Settings for Generative Fallback.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings fallback_settings = 1;
Returns | |
---|---|
Type | Description |
GenerativeSettings.FallbackSettingsOrBuilder |
getGenerativeSafetySettings()
public SafetySettings getGenerativeSafetySettings()
Settings for Generative Safety.
.google.cloud.dialogflow.cx.v3beta1.SafetySettings generative_safety_settings = 3;
Returns | |
---|---|
Type | Description |
SafetySettings |
The generativeSafetySettings. |
getGenerativeSafetySettingsBuilder()
public SafetySettings.Builder getGenerativeSafetySettingsBuilder()
Settings for Generative Safety.
.google.cloud.dialogflow.cx.v3beta1.SafetySettings generative_safety_settings = 3;
Returns | |
---|---|
Type | Description |
SafetySettings.Builder |
getGenerativeSafetySettingsOrBuilder()
public SafetySettingsOrBuilder getGenerativeSafetySettingsOrBuilder()
Settings for Generative Safety.
.google.cloud.dialogflow.cx.v3beta1.SafetySettings generative_safety_settings = 3;
Returns | |
---|---|
Type | Description |
SafetySettingsOrBuilder |
getKnowledgeConnectorSettings()
public 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. |
getKnowledgeConnectorSettingsBuilder()
public GenerativeSettings.KnowledgeConnectorSettings.Builder getKnowledgeConnectorSettingsBuilder()
Settings for knowledge connector.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings knowledge_connector_settings = 7;
Returns | |
---|---|
Type | Description |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
getKnowledgeConnectorSettingsOrBuilder()
public 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 String getLanguageCode()
Language for this settings.
string language_code = 4;
Returns | |
---|---|
Type | Description |
String |
The languageCode. |
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
Language for this settings.
string language_code = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for languageCode. |
getLlmModelSettings()
public LlmModelSettings getLlmModelSettings()
LLM model settings.
.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 8;
Returns | |
---|---|
Type | Description |
LlmModelSettings |
The llmModelSettings. |
getLlmModelSettingsBuilder()
public LlmModelSettings.Builder getLlmModelSettingsBuilder()
LLM model settings.
.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 8;
Returns | |
---|---|
Type | Description |
LlmModelSettings.Builder |
getLlmModelSettingsOrBuilder()
public LlmModelSettingsOrBuilder getLlmModelSettingsOrBuilder()
LLM model settings.
.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 8;
Returns | |
---|---|
Type | Description |
LlmModelSettingsOrBuilder |
getName()
public String getName()
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/generativeSettings
.
string name = 5;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public 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 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 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 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. |
hasLlmModelSettings()
public boolean hasLlmModelSettings()
LLM model settings.
.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the llmModelSettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFallbackSettings(GenerativeSettings.FallbackSettings value)
public GenerativeSettings.Builder mergeFallbackSettings(GenerativeSettings.FallbackSettings value)
Settings for Generative Fallback.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings fallback_settings = 1;
Parameter | |
---|---|
Name | Description |
value |
GenerativeSettings.FallbackSettings |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
mergeFrom(GenerativeSettings other)
public GenerativeSettings.Builder mergeFrom(GenerativeSettings other)
Parameter | |
---|---|
Name | Description |
other |
GenerativeSettings |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerativeSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GenerativeSettings.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
mergeGenerativeSafetySettings(SafetySettings value)
public GenerativeSettings.Builder mergeGenerativeSafetySettings(SafetySettings value)
Settings for Generative Safety.
.google.cloud.dialogflow.cx.v3beta1.SafetySettings generative_safety_settings = 3;
Parameter | |
---|---|
Name | Description |
value |
SafetySettings |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
mergeKnowledgeConnectorSettings(GenerativeSettings.KnowledgeConnectorSettings value)
public GenerativeSettings.Builder mergeKnowledgeConnectorSettings(GenerativeSettings.KnowledgeConnectorSettings value)
Settings for knowledge connector.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings knowledge_connector_settings = 7;
Parameter | |
---|---|
Name | Description |
value |
GenerativeSettings.KnowledgeConnectorSettings |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
mergeLlmModelSettings(LlmModelSettings value)
public GenerativeSettings.Builder mergeLlmModelSettings(LlmModelSettings value)
LLM model settings.
.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 8;
Parameter | |
---|---|
Name | Description |
value |
LlmModelSettings |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerativeSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
setFallbackSettings(GenerativeSettings.FallbackSettings value)
public GenerativeSettings.Builder setFallbackSettings(GenerativeSettings.FallbackSettings value)
Settings for Generative Fallback.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings fallback_settings = 1;
Parameter | |
---|---|
Name | Description |
value |
GenerativeSettings.FallbackSettings |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
setFallbackSettings(GenerativeSettings.FallbackSettings.Builder builderForValue)
public GenerativeSettings.Builder setFallbackSettings(GenerativeSettings.FallbackSettings.Builder builderForValue)
Settings for Generative Fallback.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings fallback_settings = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
GenerativeSettings.FallbackSettings.Builder |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GenerativeSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
setGenerativeSafetySettings(SafetySettings value)
public GenerativeSettings.Builder setGenerativeSafetySettings(SafetySettings value)
Settings for Generative Safety.
.google.cloud.dialogflow.cx.v3beta1.SafetySettings generative_safety_settings = 3;
Parameter | |
---|---|
Name | Description |
value |
SafetySettings |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
setGenerativeSafetySettings(SafetySettings.Builder builderForValue)
public GenerativeSettings.Builder setGenerativeSafetySettings(SafetySettings.Builder builderForValue)
Settings for Generative Safety.
.google.cloud.dialogflow.cx.v3beta1.SafetySettings generative_safety_settings = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
SafetySettings.Builder |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
setKnowledgeConnectorSettings(GenerativeSettings.KnowledgeConnectorSettings value)
public GenerativeSettings.Builder setKnowledgeConnectorSettings(GenerativeSettings.KnowledgeConnectorSettings value)
Settings for knowledge connector.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings knowledge_connector_settings = 7;
Parameter | |
---|---|
Name | Description |
value |
GenerativeSettings.KnowledgeConnectorSettings |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
setKnowledgeConnectorSettings(GenerativeSettings.KnowledgeConnectorSettings.Builder builderForValue)
public GenerativeSettings.Builder setKnowledgeConnectorSettings(GenerativeSettings.KnowledgeConnectorSettings.Builder builderForValue)
Settings for knowledge connector.
.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings knowledge_connector_settings = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
GenerativeSettings.KnowledgeConnectorSettings.Builder |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
setLanguageCode(String value)
public GenerativeSettings.Builder setLanguageCode(String value)
Language for this settings.
string language_code = 4;
Parameter | |
---|---|
Name | Description |
value |
String The languageCode to set. |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public GenerativeSettings.Builder setLanguageCodeBytes(ByteString value)
Language for this settings.
string language_code = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for languageCode to set. |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
This builder for chaining. |
setLlmModelSettings(LlmModelSettings value)
public GenerativeSettings.Builder setLlmModelSettings(LlmModelSettings value)
LLM model settings.
.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 8;
Parameter | |
---|---|
Name | Description |
value |
LlmModelSettings |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
setLlmModelSettings(LlmModelSettings.Builder builderForValue)
public GenerativeSettings.Builder setLlmModelSettings(LlmModelSettings.Builder builderForValue)
LLM model settings.
.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 8;
Parameter | |
---|---|
Name | Description |
builderForValue |
LlmModelSettings.Builder |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
setName(String value)
public GenerativeSettings.Builder setName(String value)
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/generativeSettings
.
string name = 5;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GenerativeSettings.Builder setNameBytes(ByteString value)
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/generativeSettings
.
string name = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerativeSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerativeSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerativeSettings.Builder |