Package com.google.cloud.dialogflow.v2
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 TypeMethodDescriptionInput of prebuilt Agent Coaching feature.Input of prebuilt Agent Coaching feature.getCesAppSpecs(int index) Optional.intOptional.Optional.getCesAppSpecsOrBuilder(int index) Optional.List<? extends CesAppSpecOrBuilder>Optional.getCesToolSpecs(int index) Optional.intOptional.Optional.getCesToolSpecsOrBuilder(int index) Optional.List<? extends CesToolSpecOrBuilder>Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.Input of free from generator to LLM.Input of free from generator to LLM.Optional.Optional.getName()Output only.com.google.protobuf.ByteStringOutput only.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.Input of prebuilt Summarization feature.Input of prebuilt Summarization feature.getTools(int index) Optional.com.google.protobuf.ByteStringgetToolsBytes(int index) Optional.intOptional.getToolsetTools(int index) Optional.intOptional.Optional.getToolsetToolsOrBuilder(int index) Optional.List<? extends ToolsetToolOrBuilder>Optional.Optional.Optional.intOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanInput of prebuilt Agent Coaching feature.booleanOutput only.booleanInput of free from generator to LLM.booleanOptional.booleanOptional.booleanOptional.booleanInput of prebuilt Summarization feature.booleanOutput only.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()Output only. Identifier. The resource name of the generator. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. Identifier. The resource name of the generator. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getDescription
String getDescription()Optional. Human readable description of the generator.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. Human readable description of the generator.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
hasFreeFormContext
boolean hasFreeFormContext()Input of free from generator to LLM.
.google.cloud.dialogflow.v2.FreeFormContext free_form_context = 11;- Returns:
- Whether the freeFormContext field is set.
-
getFreeFormContext
FreeFormContext getFreeFormContext()Input of free from generator to LLM.
.google.cloud.dialogflow.v2.FreeFormContext free_form_context = 11;- Returns:
- The freeFormContext.
-
getFreeFormContextOrBuilder
FreeFormContextOrBuilder getFreeFormContextOrBuilder()Input of free from generator to LLM.
.google.cloud.dialogflow.v2.FreeFormContext free_form_context = 11; -
hasAgentCoachingContext
boolean hasAgentCoachingContext()Input of prebuilt Agent Coaching feature.
.google.cloud.dialogflow.v2.AgentCoachingContext agent_coaching_context = 12;- Returns:
- Whether the agentCoachingContext field is set.
-
getAgentCoachingContext
AgentCoachingContext getAgentCoachingContext()Input of prebuilt Agent Coaching feature.
.google.cloud.dialogflow.v2.AgentCoachingContext agent_coaching_context = 12;- Returns:
- The agentCoachingContext.
-
getAgentCoachingContextOrBuilder
AgentCoachingContextOrBuilder getAgentCoachingContextOrBuilder()Input of prebuilt Agent Coaching feature.
.google.cloud.dialogflow.v2.AgentCoachingContext agent_coaching_context = 12; -
hasSummarizationContext
boolean hasSummarizationContext()Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13;- Returns:
- Whether the summarizationContext field is set.
-
getSummarizationContext
SummarizationContext getSummarizationContext()Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13;- Returns:
- The summarizationContext.
-
getSummarizationContextOrBuilder
SummarizationContextOrBuilder getSummarizationContextOrBuilder()Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13; -
hasInferenceParameter
boolean hasInferenceParameter()Optional. Inference parameters for this generator.
.google.cloud.dialogflow.v2.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the inferenceParameter field is set.
-
getInferenceParameter
InferenceParameter getInferenceParameter()Optional. Inference parameters for this generator.
.google.cloud.dialogflow.v2.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The inferenceParameter.
-
getInferenceParameterOrBuilder
InferenceParameterOrBuilder getInferenceParameterOrBuilder()Optional. Inference parameters for this generator.
.google.cloud.dialogflow.v2.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getTriggerEventValue
int getTriggerEventValue()Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.
.google.cloud.dialogflow.v2.TriggerEvent trigger_event = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for triggerEvent.
-
getTriggerEvent
TriggerEvent getTriggerEvent()Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.
.google.cloud.dialogflow.v2.TriggerEvent trigger_event = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The triggerEvent.
-
hasPublishedModel
boolean hasPublishedModel()Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: `text-bison` * To use a stable model version, specify the version number as well. Example: `text-bison@002`.
string published_model = 15 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the publishedModel field is set.
-
getPublishedModel
String getPublishedModel()Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: `text-bison` * To use a stable model version, specify the version number as well. Example: `text-bison@002`.
string published_model = 15 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The publishedModel.
-
getPublishedModelBytes
com.google.protobuf.ByteString getPublishedModelBytes()Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: `text-bison` * To use a stable model version, specify the version number as well. Example: `text-bison@002`.
string published_model = 15 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for publishedModel.
-
hasCreateTime
boolean hasCreateTime()Output only. Creation time of this generator.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Creation time of this generator.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation time of this generator.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Update time of this generator.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Update time of this generator.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Update time of this generator.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getToolsList
Optional. Resource names of the tools that the generator can choose from. Format: `projects/<Project ID>/locations/<Location ID>/tools/<tool ID>`.
repeated string tools = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- A list containing the tools.
-
getToolsCount
int getToolsCount()Optional. Resource names of the tools that the generator can choose from. Format: `projects/<Project ID>/locations/<Location ID>/tools/<tool ID>`.
repeated string tools = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The count of tools.
-
getTools
Optional. Resource names of the tools that the generator can choose from. Format: `projects/<Project ID>/locations/<Location ID>/tools/<tool ID>`.
repeated string tools = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The tools at the given index.
-
getToolsBytes
com.google.protobuf.ByteString getToolsBytes(int index) Optional. Resource names of the tools that the generator can choose from. Format: `projects/<Project ID>/locations/<Location ID>/tools/<tool ID>`.
repeated string tools = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tools at the given index.
-
hasSuggestionDedupingConfig
boolean hasSuggestionDedupingConfig()Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.
.google.cloud.dialogflow.v2.SuggestionDedupingConfig suggestion_deduping_config = 23 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the suggestionDedupingConfig field is set.
-
getSuggestionDedupingConfig
SuggestionDedupingConfig getSuggestionDedupingConfig()Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.
.google.cloud.dialogflow.v2.SuggestionDedupingConfig suggestion_deduping_config = 23 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The suggestionDedupingConfig.
-
getSuggestionDedupingConfigOrBuilder
SuggestionDedupingConfigOrBuilder getSuggestionDedupingConfigOrBuilder()Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.
.google.cloud.dialogflow.v2.SuggestionDedupingConfig suggestion_deduping_config = 23 [(.google.api.field_behavior) = OPTIONAL]; -
getToolsetToolsList
List<ToolsetTool> getToolsetToolsList()Optional. List of CES toolset specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL]; -
getToolsetTools
Optional. List of CES toolset specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL]; -
getToolsetToolsCount
int getToolsetToolsCount()Optional. List of CES toolset specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL]; -
getToolsetToolsOrBuilderList
List<? extends ToolsetToolOrBuilder> getToolsetToolsOrBuilderList()Optional. List of CES toolset specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL]; -
getToolsetToolsOrBuilder
Optional. List of CES toolset specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL]; -
getCesToolSpecsList
List<CesToolSpec> getCesToolSpecsList()Optional. List of CES tool specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL]; -
getCesToolSpecs
Optional. List of CES tool specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL]; -
getCesToolSpecsCount
int getCesToolSpecsCount()Optional. List of CES tool specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL]; -
getCesToolSpecsOrBuilderList
List<? extends CesToolSpecOrBuilder> getCesToolSpecsOrBuilderList()Optional. List of CES tool specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL]; -
getCesToolSpecsOrBuilder
Optional. List of CES tool specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL]; -
getCesAppSpecsList
List<CesAppSpec> getCesAppSpecsList()Optional. List of CES app specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL]; -
getCesAppSpecs
Optional. List of CES app specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL]; -
getCesAppSpecsCount
int getCesAppSpecsCount()Optional. List of CES app specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL]; -
getCesAppSpecsOrBuilderList
List<? extends CesAppSpecOrBuilder> getCesAppSpecsOrBuilderList()Optional. List of CES app specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL]; -
getCesAppSpecsOrBuilder
Optional. List of CES app specs that the generator can choose from.
repeated .google.cloud.dialogflow.v2.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL]; -
getContextCase
Generator.ContextCase getContextCase() -
getFoundationModelCase
Generator.FoundationModelCase getFoundationModelCase()
-