Class Generator.Builder (4.97.0)

public static final class Generator.Builder extends GeneratedMessage.Builder<Generator.Builder> implements GeneratorOrBuilder

LLM generator.

Protobuf type google.cloud.dialogflow.v2beta1.Generator

Implements

GeneratorOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllCesAppSpecs(Iterable<? extends CesAppSpec> values)

public Generator.Builder addAllCesAppSpecs(Iterable<? extends CesAppSpec> values)

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2beta1.CesAppSpec>
Returns
Type Description
Generator.Builder

addAllCesToolSpecs(Iterable<? extends CesToolSpec> values)

public Generator.Builder addAllCesToolSpecs(Iterable<? extends CesToolSpec> values)

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2beta1.CesToolSpec>
Returns
Type Description
Generator.Builder

addAllTools(Iterable<String> values)

public Generator.Builder addAllTools(Iterable<String> values)

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) = { ... }

Parameter
Name Description
values Iterable<String>

The tools to add.

Returns
Type Description
Generator.Builder

This builder for chaining.

addAllToolsetTools(Iterable<? extends ToolsetTool> values)

public Generator.Builder addAllToolsetTools(Iterable<? extends ToolsetTool> values)

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2beta1.ToolsetTool>
Returns
Type Description
Generator.Builder

addCesAppSpecs(CesAppSpec value)

public Generator.Builder addCesAppSpecs(CesAppSpec value)

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CesAppSpec
Returns
Type Description
Generator.Builder

addCesAppSpecs(CesAppSpec.Builder builderForValue)

public Generator.Builder addCesAppSpecs(CesAppSpec.Builder builderForValue)

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue CesAppSpec.Builder
Returns
Type Description
Generator.Builder

addCesAppSpecs(int index, CesAppSpec value)

public Generator.Builder addCesAppSpecs(int index, CesAppSpec value)

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value CesAppSpec
Returns
Type Description
Generator.Builder

addCesAppSpecs(int index, CesAppSpec.Builder builderForValue)

public Generator.Builder addCesAppSpecs(int index, CesAppSpec.Builder builderForValue)

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue CesAppSpec.Builder
Returns
Type Description
Generator.Builder

addCesAppSpecsBuilder()

public CesAppSpec.Builder addCesAppSpecsBuilder()

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CesAppSpec.Builder

addCesAppSpecsBuilder(int index)

public CesAppSpec.Builder addCesAppSpecsBuilder(int index)

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CesAppSpec.Builder

addCesToolSpecs(CesToolSpec value)

public Generator.Builder addCesToolSpecs(CesToolSpec value)

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CesToolSpec
Returns
Type Description
Generator.Builder

addCesToolSpecs(CesToolSpec.Builder builderForValue)

public Generator.Builder addCesToolSpecs(CesToolSpec.Builder builderForValue)

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue CesToolSpec.Builder
Returns
Type Description
Generator.Builder

addCesToolSpecs(int index, CesToolSpec value)

public Generator.Builder addCesToolSpecs(int index, CesToolSpec value)

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value CesToolSpec
Returns
Type Description
Generator.Builder

addCesToolSpecs(int index, CesToolSpec.Builder builderForValue)

public Generator.Builder addCesToolSpecs(int index, CesToolSpec.Builder builderForValue)

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue CesToolSpec.Builder
Returns
Type Description
Generator.Builder

addCesToolSpecsBuilder()

public CesToolSpec.Builder addCesToolSpecsBuilder()

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CesToolSpec.Builder

addCesToolSpecsBuilder(int index)

public CesToolSpec.Builder addCesToolSpecsBuilder(int index)

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CesToolSpec.Builder

addTools(String value)

public Generator.Builder addTools(String value)

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) = { ... }

Parameter
Name Description
value String

The tools to add.

Returns
Type Description
Generator.Builder

This builder for chaining.

addToolsBytes(ByteString value)

public Generator.Builder addToolsBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes of the tools to add.

Returns
Type Description
Generator.Builder

This builder for chaining.

addToolsetTools(ToolsetTool value)

public Generator.Builder addToolsetTools(ToolsetTool value)

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ToolsetTool
Returns
Type Description
Generator.Builder

addToolsetTools(ToolsetTool.Builder builderForValue)

public Generator.Builder addToolsetTools(ToolsetTool.Builder builderForValue)

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ToolsetTool.Builder
Returns
Type Description
Generator.Builder

addToolsetTools(int index, ToolsetTool value)

public Generator.Builder addToolsetTools(int index, ToolsetTool value)

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ToolsetTool
Returns
Type Description
Generator.Builder

addToolsetTools(int index, ToolsetTool.Builder builderForValue)

public Generator.Builder addToolsetTools(int index, ToolsetTool.Builder builderForValue)

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ToolsetTool.Builder
Returns
Type Description
Generator.Builder

addToolsetToolsBuilder()

public ToolsetTool.Builder addToolsetToolsBuilder()

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ToolsetTool.Builder

addToolsetToolsBuilder(int index)

public ToolsetTool.Builder addToolsetToolsBuilder(int index)

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ToolsetTool.Builder

build()

public Generator build()
Returns
Type Description
Generator

buildPartial()

public Generator buildPartial()
Returns
Type Description
Generator

clear()

public Generator.Builder clear()
Returns
Type Description
Generator.Builder
Overrides

clearAgentCoachingContext()

public Generator.Builder clearAgentCoachingContext()

Input of Agent Coaching feature.

.google.cloud.dialogflow.v2beta1.AgentCoachingContext agent_coaching_context = 12;

Returns
Type Description
Generator.Builder

clearCesAppSpecs()

public Generator.Builder clearCesAppSpecs()

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Generator.Builder

clearCesToolSpecs()

public Generator.Builder clearCesToolSpecs()

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Generator.Builder

clearContext()

public Generator.Builder clearContext()
Returns
Type Description
Generator.Builder

clearCreateTime()

public Generator.Builder clearCreateTime()

Output only. Creation time of this generator.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Generator.Builder

clearDescription()

public Generator.Builder clearDescription()

Optional. Human readable description of the generator.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Generator.Builder

This builder for chaining.

clearFoundationModel()

public Generator.Builder clearFoundationModel()
Returns
Type Description
Generator.Builder

clearFreeFormContext()

public Generator.Builder clearFreeFormContext()

Input of free from generator to LLM.

.google.cloud.dialogflow.v2beta1.FreeFormContext free_form_context = 11;

Returns
Type Description
Generator.Builder

clearInferenceParameter()

public Generator.Builder clearInferenceParameter()

Optional. Inference parameters for this generator.

.google.cloud.dialogflow.v2beta1.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Generator.Builder

clearName()

public Generator.Builder clearName()

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
Type Description
Generator.Builder

This builder for chaining.

clearPublishedModel()

public Generator.Builder clearPublishedModel()

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
Type Description
Generator.Builder

This builder for chaining.

clearSuggestionDedupingConfig()

public Generator.Builder clearSuggestionDedupingConfig()

Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.

.google.cloud.dialogflow.v2beta1.SuggestionDedupingConfig suggestion_deduping_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Generator.Builder

clearSummarizationContext()

public Generator.Builder clearSummarizationContext()

Input of Summarization feature.

.google.cloud.dialogflow.v2beta1.SummarizationContext summarization_context = 13;

Returns
Type Description
Generator.Builder

clearTools()

public Generator.Builder clearTools()

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
Type Description
Generator.Builder

This builder for chaining.

clearToolsetTools()

public Generator.Builder clearToolsetTools()

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Generator.Builder

clearTriggerEvent()

public Generator.Builder clearTriggerEvent()

Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.

.google.cloud.dialogflow.v2beta1.TriggerEvent trigger_event = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Generator.Builder

This builder for chaining.

clearUpdateTime()

public Generator.Builder clearUpdateTime()

Output only. Update time of this generator.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Generator.Builder

getAgentCoachingContext()

public AgentCoachingContext getAgentCoachingContext()

Input of Agent Coaching feature.

.google.cloud.dialogflow.v2beta1.AgentCoachingContext agent_coaching_context = 12;

Returns
Type Description
AgentCoachingContext

The agentCoachingContext.

getAgentCoachingContextBuilder()

public AgentCoachingContext.Builder getAgentCoachingContextBuilder()

Input of Agent Coaching feature.

.google.cloud.dialogflow.v2beta1.AgentCoachingContext agent_coaching_context = 12;

Returns
Type Description
AgentCoachingContext.Builder

getAgentCoachingContextOrBuilder()

public AgentCoachingContextOrBuilder getAgentCoachingContextOrBuilder()

Input of Agent Coaching feature.

.google.cloud.dialogflow.v2beta1.AgentCoachingContext agent_coaching_context = 12;

Returns
Type Description
AgentCoachingContextOrBuilder

getCesAppSpecs(int index)

public CesAppSpec getCesAppSpecs(int index)

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CesAppSpec

getCesAppSpecsBuilder(int index)

public CesAppSpec.Builder getCesAppSpecsBuilder(int index)

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CesAppSpec.Builder

getCesAppSpecsBuilderList()

public List<CesAppSpec.Builder> getCesAppSpecsBuilderList()

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getCesAppSpecsCount()

public int getCesAppSpecsCount()

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCesAppSpecsList()

public List<CesAppSpec> getCesAppSpecsList()

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<CesAppSpec>

getCesAppSpecsOrBuilder(int index)

public CesAppSpecOrBuilder getCesAppSpecsOrBuilder(int index)

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CesAppSpecOrBuilder

getCesAppSpecsOrBuilderList()

public List<? extends CesAppSpecOrBuilder> getCesAppSpecsOrBuilderList()

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.CesAppSpecOrBuilder>

getCesToolSpecs(int index)

public CesToolSpec getCesToolSpecs(int index)

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CesToolSpec

getCesToolSpecsBuilder(int index)

public CesToolSpec.Builder getCesToolSpecsBuilder(int index)

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CesToolSpec.Builder

getCesToolSpecsBuilderList()

public List<CesToolSpec.Builder> getCesToolSpecsBuilderList()

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getCesToolSpecsCount()

public int getCesToolSpecsCount()

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCesToolSpecsList()

public List<CesToolSpec> getCesToolSpecsList()

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<CesToolSpec>

getCesToolSpecsOrBuilder(int index)

public CesToolSpecOrBuilder getCesToolSpecsOrBuilder(int index)

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CesToolSpecOrBuilder

getCesToolSpecsOrBuilderList()

public List<? extends CesToolSpecOrBuilder> getCesToolSpecsOrBuilderList()

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.CesToolSpecOrBuilder>

getContextCase()

public Generator.ContextCase getContextCase()
Returns
Type Description
Generator.ContextCase

getCreateTime()

public Timestamp getCreateTime()

Output only. Creation time of this generator.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Creation time of this generator.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Creation time of this generator.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Generator getDefaultInstanceForType()
Returns
Type Description
Generator

getDescription()

public String getDescription()

Optional. Human readable description of the generator.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Human readable description of the generator.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFoundationModelCase()

public Generator.FoundationModelCase getFoundationModelCase()
Returns
Type Description
Generator.FoundationModelCase

getFreeFormContext()

public FreeFormContext getFreeFormContext()

Input of free from generator to LLM.

.google.cloud.dialogflow.v2beta1.FreeFormContext free_form_context = 11;

Returns
Type Description
FreeFormContext

The freeFormContext.

getFreeFormContextBuilder()

public FreeFormContext.Builder getFreeFormContextBuilder()

Input of free from generator to LLM.

.google.cloud.dialogflow.v2beta1.FreeFormContext free_form_context = 11;

Returns
Type Description
FreeFormContext.Builder

getFreeFormContextOrBuilder()

public FreeFormContextOrBuilder getFreeFormContextOrBuilder()

Input of free from generator to LLM.

.google.cloud.dialogflow.v2beta1.FreeFormContext free_form_context = 11;

Returns
Type Description
FreeFormContextOrBuilder

getInferenceParameter()

public InferenceParameter getInferenceParameter()

Optional. Inference parameters for this generator.

.google.cloud.dialogflow.v2beta1.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InferenceParameter

The inferenceParameter.

getInferenceParameterBuilder()

public InferenceParameter.Builder getInferenceParameterBuilder()

Optional. Inference parameters for this generator.

.google.cloud.dialogflow.v2beta1.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InferenceParameter.Builder

getInferenceParameterOrBuilder()

public InferenceParameterOrBuilder getInferenceParameterOrBuilder()

Optional. Inference parameters for this generator.

.google.cloud.dialogflow.v2beta1.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InferenceParameterOrBuilder

getName()

public 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
Type Description
String

The name.

getNameBytes()

public 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
Type Description
ByteString

The bytes for name.

getPublishedModel()

public 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
Type Description
String

The publishedModel.

getPublishedModelBytes()

public 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
Type Description
ByteString

The bytes for publishedModel.

getSuggestionDedupingConfig()

public SuggestionDedupingConfig getSuggestionDedupingConfig()

Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.

.google.cloud.dialogflow.v2beta1.SuggestionDedupingConfig suggestion_deduping_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SuggestionDedupingConfig

The suggestionDedupingConfig.

getSuggestionDedupingConfigBuilder()

public SuggestionDedupingConfig.Builder getSuggestionDedupingConfigBuilder()

Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.

.google.cloud.dialogflow.v2beta1.SuggestionDedupingConfig suggestion_deduping_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SuggestionDedupingConfig.Builder

getSuggestionDedupingConfigOrBuilder()

public SuggestionDedupingConfigOrBuilder getSuggestionDedupingConfigOrBuilder()

Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.

.google.cloud.dialogflow.v2beta1.SuggestionDedupingConfig suggestion_deduping_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SuggestionDedupingConfigOrBuilder

getSummarizationContext()

public SummarizationContext getSummarizationContext()

Input of Summarization feature.

.google.cloud.dialogflow.v2beta1.SummarizationContext summarization_context = 13;

Returns
Type Description
SummarizationContext

The summarizationContext.

getSummarizationContextBuilder()

public SummarizationContext.Builder getSummarizationContextBuilder()

Input of Summarization feature.

.google.cloud.dialogflow.v2beta1.SummarizationContext summarization_context = 13;

Returns
Type Description
SummarizationContext.Builder

getSummarizationContextOrBuilder()

public SummarizationContextOrBuilder getSummarizationContextOrBuilder()

Input of Summarization feature.

.google.cloud.dialogflow.v2beta1.SummarizationContext summarization_context = 13;

Returns
Type Description
SummarizationContextOrBuilder

getTools(int index)

public String getTools(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) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tools at the given index.

getToolsBytes(int index)

public 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) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tools at the given index.

getToolsCount()

public 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
Type Description
int

The count of tools.

getToolsList()

public ProtocolStringList 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
Type Description
ProtocolStringList

A list containing the tools.

getToolsetTools(int index)

public ToolsetTool getToolsetTools(int index)

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ToolsetTool

getToolsetToolsBuilder(int index)

public ToolsetTool.Builder getToolsetToolsBuilder(int index)

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ToolsetTool.Builder

getToolsetToolsBuilderList()

public List<ToolsetTool.Builder> getToolsetToolsBuilderList()

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getToolsetToolsCount()

public int getToolsetToolsCount()

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getToolsetToolsList()

public List<ToolsetTool> getToolsetToolsList()

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ToolsetTool>

getToolsetToolsOrBuilder(int index)

public ToolsetToolOrBuilder getToolsetToolsOrBuilder(int index)

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ToolsetToolOrBuilder

getToolsetToolsOrBuilderList()

public List<? extends ToolsetToolOrBuilder> getToolsetToolsOrBuilderList()

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.ToolsetToolOrBuilder>

getTriggerEvent()

public TriggerEvent getTriggerEvent()

Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.

.google.cloud.dialogflow.v2beta1.TriggerEvent trigger_event = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TriggerEvent

The triggerEvent.

getTriggerEventValue()

public int getTriggerEventValue()

Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.

.google.cloud.dialogflow.v2beta1.TriggerEvent trigger_event = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for triggerEvent.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Update time of this generator.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Update time of this generator.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update time of this generator.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasAgentCoachingContext()

public boolean hasAgentCoachingContext()

Input of Agent Coaching feature.

.google.cloud.dialogflow.v2beta1.AgentCoachingContext agent_coaching_context = 12;

Returns
Type Description
boolean

Whether the agentCoachingContext field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. Creation time of this generator.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasFreeFormContext()

public boolean hasFreeFormContext()

Input of free from generator to LLM.

.google.cloud.dialogflow.v2beta1.FreeFormContext free_form_context = 11;

Returns
Type Description
boolean

Whether the freeFormContext field is set.

hasInferenceParameter()

public boolean hasInferenceParameter()

Optional. Inference parameters for this generator.

.google.cloud.dialogflow.v2beta1.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the inferenceParameter field is set.

hasPublishedModel()

public 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
Type Description
boolean

Whether the publishedModel field is set.

hasSuggestionDedupingConfig()

public boolean hasSuggestionDedupingConfig()

Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.

.google.cloud.dialogflow.v2beta1.SuggestionDedupingConfig suggestion_deduping_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the suggestionDedupingConfig field is set.

hasSummarizationContext()

public boolean hasSummarizationContext()

Input of Summarization feature.

.google.cloud.dialogflow.v2beta1.SummarizationContext summarization_context = 13;

Returns
Type Description
boolean

Whether the summarizationContext field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Update time of this generator.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAgentCoachingContext(AgentCoachingContext value)

public Generator.Builder mergeAgentCoachingContext(AgentCoachingContext value)

Input of Agent Coaching feature.

.google.cloud.dialogflow.v2beta1.AgentCoachingContext agent_coaching_context = 12;

Parameter
Name Description
value AgentCoachingContext
Returns
Type Description
Generator.Builder

mergeCreateTime(Timestamp value)

public Generator.Builder mergeCreateTime(Timestamp value)

Output only. Creation time of this generator.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Generator.Builder

mergeFreeFormContext(FreeFormContext value)

public Generator.Builder mergeFreeFormContext(FreeFormContext value)

Input of free from generator to LLM.

.google.cloud.dialogflow.v2beta1.FreeFormContext free_form_context = 11;

Parameter
Name Description
value FreeFormContext
Returns
Type Description
Generator.Builder

mergeFrom(Generator other)

public Generator.Builder mergeFrom(Generator other)
Parameter
Name Description
other Generator
Returns
Type Description
Generator.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Generator.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Generator.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Generator.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Generator.Builder
Overrides

mergeInferenceParameter(InferenceParameter value)

public Generator.Builder mergeInferenceParameter(InferenceParameter value)

Optional. Inference parameters for this generator.

.google.cloud.dialogflow.v2beta1.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value InferenceParameter
Returns
Type Description
Generator.Builder

mergeSuggestionDedupingConfig(SuggestionDedupingConfig value)

public Generator.Builder mergeSuggestionDedupingConfig(SuggestionDedupingConfig value)

Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.

.google.cloud.dialogflow.v2beta1.SuggestionDedupingConfig suggestion_deduping_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SuggestionDedupingConfig
Returns
Type Description
Generator.Builder

mergeSummarizationContext(SummarizationContext value)

public Generator.Builder mergeSummarizationContext(SummarizationContext value)

Input of Summarization feature.

.google.cloud.dialogflow.v2beta1.SummarizationContext summarization_context = 13;

Parameter
Name Description
value SummarizationContext
Returns
Type Description
Generator.Builder

mergeUpdateTime(Timestamp value)

public Generator.Builder mergeUpdateTime(Timestamp value)

Output only. Update time of this generator.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Generator.Builder

removeCesAppSpecs(int index)

public Generator.Builder removeCesAppSpecs(int index)

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Generator.Builder

removeCesToolSpecs(int index)

public Generator.Builder removeCesToolSpecs(int index)

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Generator.Builder

removeToolsetTools(int index)

public Generator.Builder removeToolsetTools(int index)

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Generator.Builder

setAgentCoachingContext(AgentCoachingContext value)

public Generator.Builder setAgentCoachingContext(AgentCoachingContext value)

Input of Agent Coaching feature.

.google.cloud.dialogflow.v2beta1.AgentCoachingContext agent_coaching_context = 12;

Parameter
Name Description
value AgentCoachingContext
Returns
Type Description
Generator.Builder

setAgentCoachingContext(AgentCoachingContext.Builder builderForValue)

public Generator.Builder setAgentCoachingContext(AgentCoachingContext.Builder builderForValue)

Input of Agent Coaching feature.

.google.cloud.dialogflow.v2beta1.AgentCoachingContext agent_coaching_context = 12;

Parameter
Name Description
builderForValue AgentCoachingContext.Builder
Returns
Type Description
Generator.Builder

setCesAppSpecs(int index, CesAppSpec value)

public Generator.Builder setCesAppSpecs(int index, CesAppSpec value)

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value CesAppSpec
Returns
Type Description
Generator.Builder

setCesAppSpecs(int index, CesAppSpec.Builder builderForValue)

public Generator.Builder setCesAppSpecs(int index, CesAppSpec.Builder builderForValue)

Optional. List of CES app specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesAppSpec ces_app_specs = 29 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue CesAppSpec.Builder
Returns
Type Description
Generator.Builder

setCesToolSpecs(int index, CesToolSpec value)

public Generator.Builder setCesToolSpecs(int index, CesToolSpec value)

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value CesToolSpec
Returns
Type Description
Generator.Builder

setCesToolSpecs(int index, CesToolSpec.Builder builderForValue)

public Generator.Builder setCesToolSpecs(int index, CesToolSpec.Builder builderForValue)

Optional. List of CES tool specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.CesToolSpec ces_tool_specs = 28 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue CesToolSpec.Builder
Returns
Type Description
Generator.Builder

setCreateTime(Timestamp value)

public Generator.Builder setCreateTime(Timestamp value)

Output only. Creation time of this generator.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Generator.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Generator.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Creation time of this generator.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Generator.Builder

setDescription(String value)

public Generator.Builder setDescription(String value)

Optional. Human readable description of the generator.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Generator.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Generator.Builder setDescriptionBytes(ByteString value)

Optional. Human readable description of the generator.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Generator.Builder

This builder for chaining.

setFreeFormContext(FreeFormContext value)

public Generator.Builder setFreeFormContext(FreeFormContext value)

Input of free from generator to LLM.

.google.cloud.dialogflow.v2beta1.FreeFormContext free_form_context = 11;

Parameter
Name Description
value FreeFormContext
Returns
Type Description
Generator.Builder

setFreeFormContext(FreeFormContext.Builder builderForValue)

public Generator.Builder setFreeFormContext(FreeFormContext.Builder builderForValue)

Input of free from generator to LLM.

.google.cloud.dialogflow.v2beta1.FreeFormContext free_form_context = 11;

Parameter
Name Description
builderForValue FreeFormContext.Builder
Returns
Type Description
Generator.Builder

setInferenceParameter(InferenceParameter value)

public Generator.Builder setInferenceParameter(InferenceParameter value)

Optional. Inference parameters for this generator.

.google.cloud.dialogflow.v2beta1.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value InferenceParameter
Returns
Type Description
Generator.Builder

setInferenceParameter(InferenceParameter.Builder builderForValue)

public Generator.Builder setInferenceParameter(InferenceParameter.Builder builderForValue)

Optional. Inference parameters for this generator.

.google.cloud.dialogflow.v2beta1.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue InferenceParameter.Builder
Returns
Type Description
Generator.Builder

setName(String value)

public Generator.Builder setName(String value)

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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Generator.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Generator.Builder setNameBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Generator.Builder

This builder for chaining.

setPublishedModel(String value)

public Generator.Builder setPublishedModel(String value)

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];

Parameter
Name Description
value String

The publishedModel to set.

Returns
Type Description
Generator.Builder

This builder for chaining.

setPublishedModelBytes(ByteString value)

public Generator.Builder setPublishedModelBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for publishedModel to set.

Returns
Type Description
Generator.Builder

This builder for chaining.

setSuggestionDedupingConfig(SuggestionDedupingConfig value)

public Generator.Builder setSuggestionDedupingConfig(SuggestionDedupingConfig value)

Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.

.google.cloud.dialogflow.v2beta1.SuggestionDedupingConfig suggestion_deduping_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SuggestionDedupingConfig
Returns
Type Description
Generator.Builder

setSuggestionDedupingConfig(SuggestionDedupingConfig.Builder builderForValue)

public Generator.Builder setSuggestionDedupingConfig(SuggestionDedupingConfig.Builder builderForValue)

Optional. Configuration for suggestion deduping. This is only applicable to AI Coach feature.

.google.cloud.dialogflow.v2beta1.SuggestionDedupingConfig suggestion_deduping_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SuggestionDedupingConfig.Builder
Returns
Type Description
Generator.Builder

setSummarizationContext(SummarizationContext value)

public Generator.Builder setSummarizationContext(SummarizationContext value)

Input of Summarization feature.

.google.cloud.dialogflow.v2beta1.SummarizationContext summarization_context = 13;

Parameter
Name Description
value SummarizationContext
Returns
Type Description
Generator.Builder

setSummarizationContext(SummarizationContext.Builder builderForValue)

public Generator.Builder setSummarizationContext(SummarizationContext.Builder builderForValue)

Input of Summarization feature.

.google.cloud.dialogflow.v2beta1.SummarizationContext summarization_context = 13;

Parameter
Name Description
builderForValue SummarizationContext.Builder
Returns
Type Description
Generator.Builder

setTools(int index, String value)

public Generator.Builder setTools(int index, String value)

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
Name Description
index int

The index to set the value at.

value String

The tools to set.

Returns
Type Description
Generator.Builder

This builder for chaining.

setToolsetTools(int index, ToolsetTool value)

public Generator.Builder setToolsetTools(int index, ToolsetTool value)

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ToolsetTool
Returns
Type Description
Generator.Builder

setToolsetTools(int index, ToolsetTool.Builder builderForValue)

public Generator.Builder setToolsetTools(int index, ToolsetTool.Builder builderForValue)

Optional. List of CES toolset specs that the generator can choose from.

repeated .google.cloud.dialogflow.v2beta1.ToolsetTool toolset_tools = 27 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ToolsetTool.Builder
Returns
Type Description
Generator.Builder

setTriggerEvent(TriggerEvent value)

public Generator.Builder setTriggerEvent(TriggerEvent value)

Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.

.google.cloud.dialogflow.v2beta1.TriggerEvent trigger_event = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TriggerEvent

The triggerEvent to set.

Returns
Type Description
Generator.Builder

This builder for chaining.

setTriggerEventValue(int value)

public Generator.Builder setTriggerEventValue(int value)

Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.

.google.cloud.dialogflow.v2beta1.TriggerEvent trigger_event = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for triggerEvent to set.

Returns
Type Description
Generator.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public Generator.Builder setUpdateTime(Timestamp value)

Output only. Update time of this generator.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Generator.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Generator.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Update time of this generator.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Generator.Builder