public interface GeneratorOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
Generator.ModelParameter |
getModelParameter()
Parameters passed to the LLM to configure its behavior.
|
Generator.ModelParameterOrBuilder |
getModelParameterOrBuilder()
Parameters passed to the LLM to configure its behavior.
|
String |
getName()
The unique identifier of the generator.
|
com.google.protobuf.ByteString |
getNameBytes()
The unique identifier of the generator.
|
Generator.Placeholder |
getPlaceholders(int index)
Optional.
|
int |
getPlaceholdersCount()
Optional.
|
List<Generator.Placeholder> |
getPlaceholdersList()
Optional.
|
Generator.PlaceholderOrBuilder |
getPlaceholdersOrBuilder(int index)
Optional.
|
List<? extends Generator.PlaceholderOrBuilder> |
getPlaceholdersOrBuilderList()
Optional.
|
Phrase |
getPromptText()
Required.
|
PhraseOrBuilder |
getPromptTextOrBuilder()
Required.
|
boolean |
hasModelParameter()
Parameters passed to the LLM to configure its behavior.
|
boolean |
hasPromptText()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The unique identifier of the generator. Must be set for the [Generators.UpdateGenerator][google.cloud.dialogflow.cx.v3.Generators.UpdateGenerator] method. [Generators.CreateGenerate][] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generators/<GeneratorID>`.
string name = 1;com.google.protobuf.ByteString getNameBytes()
The unique identifier of the generator. Must be set for the [Generators.UpdateGenerator][google.cloud.dialogflow.cx.v3.Generators.UpdateGenerator] method. [Generators.CreateGenerate][] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generators/<GeneratorID>`.
string name = 1;String getDisplayName()
Required. The human-readable name of the generator, unique within the agent. The prompt contains pre-defined parameters such as $conversation, $last-user-utterance, etc. populated by Dialogflow. It can also contain custom placeholders which will be resolved during fulfillment.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getDisplayNameBytes()
Required. The human-readable name of the generator, unique within the agent. The prompt contains pre-defined parameters such as $conversation, $last-user-utterance, etc. populated by Dialogflow. It can also contain custom placeholders which will be resolved during fulfillment.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];boolean hasPromptText()
Required. Prompt for the LLM model.
.google.cloud.dialogflow.cx.v3.Phrase prompt_text = 3 [(.google.api.field_behavior) = REQUIRED];
Phrase getPromptText()
Required. Prompt for the LLM model.
.google.cloud.dialogflow.cx.v3.Phrase prompt_text = 3 [(.google.api.field_behavior) = REQUIRED];
PhraseOrBuilder getPromptTextOrBuilder()
Required. Prompt for the LLM model.
.google.cloud.dialogflow.cx.v3.Phrase prompt_text = 3 [(.google.api.field_behavior) = REQUIRED];
List<Generator.Placeholder> getPlaceholdersList()
Optional. List of custom placeholders in the prompt text.
repeated .google.cloud.dialogflow.cx.v3.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL];
Generator.Placeholder getPlaceholders(int index)
Optional. List of custom placeholders in the prompt text.
repeated .google.cloud.dialogflow.cx.v3.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL];
int getPlaceholdersCount()
Optional. List of custom placeholders in the prompt text.
repeated .google.cloud.dialogflow.cx.v3.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL];
List<? extends Generator.PlaceholderOrBuilder> getPlaceholdersOrBuilderList()
Optional. List of custom placeholders in the prompt text.
repeated .google.cloud.dialogflow.cx.v3.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL];
Generator.PlaceholderOrBuilder getPlaceholdersOrBuilder(int index)
Optional. List of custom placeholders in the prompt text.
repeated .google.cloud.dialogflow.cx.v3.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL];
boolean hasModelParameter()
Parameters passed to the LLM to configure its behavior.
.google.cloud.dialogflow.cx.v3.Generator.ModelParameter model_parameter = 8;Generator.ModelParameter getModelParameter()
Parameters passed to the LLM to configure its behavior.
.google.cloud.dialogflow.cx.v3.Generator.ModelParameter model_parameter = 8;Generator.ModelParameterOrBuilder getModelParameterOrBuilder()
Parameters passed to the LLM to configure its behavior.
.google.cloud.dialogflow.cx.v3.Generator.ModelParameter model_parameter = 8;Copyright © 2025 Google LLC. All rights reserved.