Interface GeneratorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generator,Generator.Builder
@Generated
public interface GeneratorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.The LLM model settings.The LLM model settings.Parameters passed to the LLM to configure its behavior.Parameters passed to the LLM to configure its behavior.getName()The unique identifier of the generator.com.google.protobuf.ByteStringThe unique identifier of the generator.getPlaceholders(int index) Optional.intOptional.Optional.getPlaceholdersOrBuilder(int index) Optional.List<? extends Generator.PlaceholderOrBuilder>Optional.Required.Required.booleanThe LLM model settings.booleanParameters passed to the LLM to configure its behavior.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The unique identifier of the generator. Must be set for the [Generators.UpdateGenerator][google.cloud.dialogflow.cx.v3beta1.Generators.UpdateGenerator] method. [Generators.CreateGenerate][] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generators/<GeneratorID>`.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The unique identifier of the generator. Must be set for the [Generators.UpdateGenerator][google.cloud.dialogflow.cx.v3beta1.Generators.UpdateGenerator] method. [Generators.CreateGenerate][] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generators/<GeneratorID>`.
string name = 1;- Returns:
- The bytes for name.
-
getDisplayName
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];- Returns:
- The displayName.
-
getDisplayNameBytes
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];- Returns:
- The bytes for displayName.
-
hasPromptText
boolean hasPromptText()Required. Prompt for the LLM model.
.google.cloud.dialogflow.cx.v3beta1.Phrase prompt_text = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the promptText field is set.
-
getPromptText
Phrase getPromptText()Required. Prompt for the LLM model.
.google.cloud.dialogflow.cx.v3beta1.Phrase prompt_text = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The promptText.
-
getPromptTextOrBuilder
PhraseOrBuilder getPromptTextOrBuilder()Required. Prompt for the LLM model.
.google.cloud.dialogflow.cx.v3beta1.Phrase prompt_text = 3 [(.google.api.field_behavior) = REQUIRED]; -
getPlaceholdersList
List<Generator.Placeholder> getPlaceholdersList()Optional. List of custom placeholders in the prompt text.
repeated .google.cloud.dialogflow.cx.v3beta1.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaceholders
Optional. List of custom placeholders in the prompt text.
repeated .google.cloud.dialogflow.cx.v3beta1.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaceholdersCount
int getPlaceholdersCount()Optional. List of custom placeholders in the prompt text.
repeated .google.cloud.dialogflow.cx.v3beta1.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaceholdersOrBuilderList
List<? extends Generator.PlaceholderOrBuilder> getPlaceholdersOrBuilderList()Optional. List of custom placeholders in the prompt text.
repeated .google.cloud.dialogflow.cx.v3beta1.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getPlaceholdersOrBuilder
Optional. List of custom placeholders in the prompt text.
repeated .google.cloud.dialogflow.cx.v3beta1.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL]; -
hasLlmModelSettings
boolean hasLlmModelSettings()The LLM model settings.
.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 9;- Returns:
- Whether the llmModelSettings field is set.
-
getLlmModelSettings
LlmModelSettings getLlmModelSettings()The LLM model settings.
.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 9;- Returns:
- The llmModelSettings.
-
getLlmModelSettingsOrBuilder
LlmModelSettingsOrBuilder getLlmModelSettingsOrBuilder()The LLM model settings.
.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 9; -
hasModelParameter
boolean hasModelParameter()Parameters passed to the LLM to configure its behavior.
.google.cloud.dialogflow.cx.v3beta1.Generator.ModelParameter model_parameter = 8;- Returns:
- Whether the modelParameter field is set.
-
getModelParameter
Generator.ModelParameter getModelParameter()Parameters passed to the LLM to configure its behavior.
.google.cloud.dialogflow.cx.v3beta1.Generator.ModelParameter model_parameter = 8;- Returns:
- The modelParameter.
-
getModelParameterOrBuilder
Generator.ModelParameterOrBuilder getModelParameterOrBuilder()Parameters passed to the LLM to configure its behavior.
.google.cloud.dialogflow.cx.v3beta1.Generator.ModelParameter model_parameter = 8;
-