Package com.google.cloud.dialogflow.v2
Class Generator.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Generator.Builder>
com.google.cloud.dialogflow.v2.Generator.Builder
- All Implemented Interfaces:
GeneratorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Generator
public static final class Generator.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Generator.Builder>
implements GeneratorOrBuilder
LLM generator.Protobuf type
google.cloud.dialogflow.v2.Generator-
Method Summary
Modifier and TypeMethodDescriptionaddAllCesAppSpecs(Iterable<? extends CesAppSpec> values) Optional.addAllCesToolSpecs(Iterable<? extends CesToolSpec> values) Optional.addAllTools(Iterable<String> values) Optional.addAllToolsetTools(Iterable<? extends ToolsetTool> values) Optional.addCesAppSpecs(int index, CesAppSpec value) Optional.addCesAppSpecs(int index, CesAppSpec.Builder builderForValue) Optional.addCesAppSpecs(CesAppSpec value) Optional.addCesAppSpecs(CesAppSpec.Builder builderForValue) Optional.Optional.addCesAppSpecsBuilder(int index) Optional.addCesToolSpecs(int index, CesToolSpec value) Optional.addCesToolSpecs(int index, CesToolSpec.Builder builderForValue) Optional.addCesToolSpecs(CesToolSpec value) Optional.addCesToolSpecs(CesToolSpec.Builder builderForValue) Optional.Optional.addCesToolSpecsBuilder(int index) Optional.Optional.addToolsBytes(com.google.protobuf.ByteString value) Optional.addToolsetTools(int index, ToolsetTool value) Optional.addToolsetTools(int index, ToolsetTool.Builder builderForValue) Optional.addToolsetTools(ToolsetTool value) Optional.addToolsetTools(ToolsetTool.Builder builderForValue) Optional.Optional.addToolsetToolsBuilder(int index) Optional.build()clear()Input of prebuilt Agent Coaching feature.Optional.Optional.Output only.Optional.Input of free from generator to LLM.Optional.Output only.Optional.Optional.Input of prebuilt Summarization feature.Optional.Optional.Optional.Output only.Input of prebuilt Agent Coaching feature.Input of prebuilt Agent Coaching feature.Input of prebuilt Agent Coaching feature.getCesAppSpecs(int index) Optional.getCesAppSpecsBuilder(int index) Optional.Optional.intOptional.Optional.getCesAppSpecsOrBuilder(int index) Optional.List<? extends CesAppSpecOrBuilder>Optional.getCesToolSpecs(int index) Optional.getCesToolSpecsBuilder(int index) Optional.Optional.intOptional.Optional.getCesToolSpecsOrBuilder(int index) Optional.List<? extends CesToolSpecOrBuilder>Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorInput of free from generator to LLM.Input of free from generator to LLM.Input of free from generator to LLM.Optional.Optional.Optional.getName()Output only.com.google.protobuf.ByteStringOutput only.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.Optional.Input of prebuilt Summarization feature.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.getToolsetToolsBuilder(int index) Optional.Optional.intOptional.Optional.getToolsetToolsOrBuilder(int index) Optional.List<? extends ToolsetToolOrBuilder>Optional.com.google.protobuf.ProtocolStringListOptional.Optional.intOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanInput of prebuilt Agent Coaching feature.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.Input of free from generator to LLM.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Optional.Input of prebuilt Summarization feature.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.removeCesAppSpecs(int index) Optional.removeCesToolSpecs(int index) Optional.removeToolsetTools(int index) Optional.Input of prebuilt Agent Coaching feature.setAgentCoachingContext(AgentCoachingContext.Builder builderForValue) Input of prebuilt Agent Coaching feature.setCesAppSpecs(int index, CesAppSpec value) Optional.setCesAppSpecs(int index, CesAppSpec.Builder builderForValue) Optional.setCesToolSpecs(int index, CesToolSpec value) Optional.setCesToolSpecs(int index, CesToolSpec.Builder builderForValue) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.Input of free from generator to LLM.setFreeFormContext(FreeFormContext.Builder builderForValue) Input of free from generator to LLM.Optional.setInferenceParameter(InferenceParameter.Builder builderForValue) Optional.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setPublishedModel(String value) Optional.setPublishedModelBytes(com.google.protobuf.ByteString value) Optional.Optional.setSuggestionDedupingConfig(SuggestionDedupingConfig.Builder builderForValue) Optional.Input of prebuilt Summarization feature.setSummarizationContext(SummarizationContext.Builder builderForValue) Input of prebuilt Summarization feature.Optional.setToolsetTools(int index, ToolsetTool value) Optional.setToolsetTools(int index, ToolsetTool.Builder builderForValue) Optional.setTriggerEvent(TriggerEvent value) Optional.setTriggerEventValue(int value) Optional.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Generator.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Generator.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Generator.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generator.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Generator.Builder>
-
mergeFrom
public Generator.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generator.Builder>- Throws:
IOException
-
getContextCase
- Specified by:
getContextCasein interfaceGeneratorOrBuilder
-
clearContext
-
getFoundationModelCase
- Specified by:
getFoundationModelCasein interfaceGeneratorOrBuilder
-
clearFoundationModel
-
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];- Specified by:
getNamein interfaceGeneratorOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceGeneratorOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
Optional. Human readable description of the generator.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceGeneratorOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. Human readable description of the generator.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceGeneratorOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. Human readable description of the generator.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. Human readable description of the generator.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. Human readable description of the generator.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasFreeFormContext
public boolean hasFreeFormContext()Input of free from generator to LLM.
.google.cloud.dialogflow.v2.FreeFormContext free_form_context = 11;- Specified by:
hasFreeFormContextin interfaceGeneratorOrBuilder- Returns:
- Whether the freeFormContext field is set.
-
getFreeFormContext
Input of free from generator to LLM.
.google.cloud.dialogflow.v2.FreeFormContext free_form_context = 11;- Specified by:
getFreeFormContextin interfaceGeneratorOrBuilder- Returns:
- The freeFormContext.
-
setFreeFormContext
Input of free from generator to LLM.
.google.cloud.dialogflow.v2.FreeFormContext free_form_context = 11; -
setFreeFormContext
Input of free from generator to LLM.
.google.cloud.dialogflow.v2.FreeFormContext free_form_context = 11; -
mergeFreeFormContext
Input of free from generator to LLM.
.google.cloud.dialogflow.v2.FreeFormContext free_form_context = 11; -
clearFreeFormContext
Input of free from generator to LLM.
.google.cloud.dialogflow.v2.FreeFormContext free_form_context = 11; -
getFreeFormContextBuilder
Input of free from generator to LLM.
.google.cloud.dialogflow.v2.FreeFormContext free_form_context = 11; -
getFreeFormContextOrBuilder
Input of free from generator to LLM.
.google.cloud.dialogflow.v2.FreeFormContext free_form_context = 11;- Specified by:
getFreeFormContextOrBuilderin interfaceGeneratorOrBuilder
-
hasAgentCoachingContext
public boolean hasAgentCoachingContext()Input of prebuilt Agent Coaching feature.
.google.cloud.dialogflow.v2.AgentCoachingContext agent_coaching_context = 12;- Specified by:
hasAgentCoachingContextin interfaceGeneratorOrBuilder- Returns:
- Whether the agentCoachingContext field is set.
-
getAgentCoachingContext
Input of prebuilt Agent Coaching feature.
.google.cloud.dialogflow.v2.AgentCoachingContext agent_coaching_context = 12;- Specified by:
getAgentCoachingContextin interfaceGeneratorOrBuilder- Returns:
- The agentCoachingContext.
-
setAgentCoachingContext
Input of prebuilt Agent Coaching feature.
.google.cloud.dialogflow.v2.AgentCoachingContext agent_coaching_context = 12; -
setAgentCoachingContext
Input of prebuilt Agent Coaching feature.
.google.cloud.dialogflow.v2.AgentCoachingContext agent_coaching_context = 12; -
mergeAgentCoachingContext
Input of prebuilt Agent Coaching feature.
.google.cloud.dialogflow.v2.AgentCoachingContext agent_coaching_context = 12; -
clearAgentCoachingContext
Input of prebuilt Agent Coaching feature.
.google.cloud.dialogflow.v2.AgentCoachingContext agent_coaching_context = 12; -
getAgentCoachingContextBuilder
Input of prebuilt Agent Coaching feature.
.google.cloud.dialogflow.v2.AgentCoachingContext agent_coaching_context = 12; -
getAgentCoachingContextOrBuilder
Input of prebuilt Agent Coaching feature.
.google.cloud.dialogflow.v2.AgentCoachingContext agent_coaching_context = 12;- Specified by:
getAgentCoachingContextOrBuilderin interfaceGeneratorOrBuilder
-
hasSummarizationContext
public boolean hasSummarizationContext()Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13;- Specified by:
hasSummarizationContextin interfaceGeneratorOrBuilder- Returns:
- Whether the summarizationContext field is set.
-
getSummarizationContext
Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13;- Specified by:
getSummarizationContextin interfaceGeneratorOrBuilder- Returns:
- The summarizationContext.
-
setSummarizationContext
Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13; -
setSummarizationContext
Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13; -
mergeSummarizationContext
Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13; -
clearSummarizationContext
Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13; -
getSummarizationContextBuilder
Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13; -
getSummarizationContextOrBuilder
Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13;- Specified by:
getSummarizationContextOrBuilderin interfaceGeneratorOrBuilder
-
hasInferenceParameter
public boolean hasInferenceParameter()Optional. Inference parameters for this generator.
.google.cloud.dialogflow.v2.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasInferenceParameterin interfaceGeneratorOrBuilder- Returns:
- Whether the inferenceParameter field is set.
-
getInferenceParameter
Optional. Inference parameters for this generator.
.google.cloud.dialogflow.v2.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInferenceParameterin interfaceGeneratorOrBuilder- Returns:
- The inferenceParameter.
-
setInferenceParameter
Optional. Inference parameters for this generator.
.google.cloud.dialogflow.v2.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setInferenceParameter
Optional. Inference parameters for this generator.
.google.cloud.dialogflow.v2.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergeInferenceParameter
Optional. Inference parameters for this generator.
.google.cloud.dialogflow.v2.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearInferenceParameter
Optional. Inference parameters for this generator.
.google.cloud.dialogflow.v2.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getInferenceParameterBuilder
Optional. Inference parameters for this generator.
.google.cloud.dialogflow.v2.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getInferenceParameterOrBuilder
Optional. Inference parameters for this generator.
.google.cloud.dialogflow.v2.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInferenceParameterOrBuilderin interfaceGeneratorOrBuilder
-
getTriggerEventValue
public 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];- Specified by:
getTriggerEventValuein interfaceGeneratorOrBuilder- Returns:
- The enum numeric value on the wire for triggerEvent.
-
setTriggerEventValue
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];- Parameters:
value- The enum numeric value on the wire for triggerEvent to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getTriggerEventin interfaceGeneratorOrBuilder- Returns:
- The triggerEvent.
-
setTriggerEvent
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];- Parameters:
value- The triggerEvent to set.- Returns:
- This builder for chaining.
-
clearTriggerEvent
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:
- This builder for chaining.
-
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];- Specified by:
hasPublishedModelin interfaceGeneratorOrBuilder- Returns:
- Whether the publishedModel field is set.
-
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];- Specified by:
getPublishedModelin interfaceGeneratorOrBuilder- Returns:
- The publishedModel.
-
getPublishedModelBytes
public 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];- Specified by:
getPublishedModelBytesin interfaceGeneratorOrBuilder- Returns:
- The bytes for publishedModel.
-
setPublishedModel
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];- Parameters:
value- The publishedModel to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setPublishedModelBytes
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];- Parameters:
value- The bytes for publishedModel to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. Creation time of this generator.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceGeneratorOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Creation time of this generator.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceGeneratorOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Creation time of this generator.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Creation time of this generator.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Creation time of this generator.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Creation time of this generator.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Creation time of this generator.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation time of this generator.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceGeneratorOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Update time of this generator.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceGeneratorOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Update time of this generator.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceGeneratorOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Update time of this generator.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Update time of this generator.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Update time of this generator.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Update time of this generator.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Update time of this generator.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Update time of this generator.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceGeneratorOrBuilder
-
getToolsList
public com.google.protobuf.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) = { ... }- Specified by:
getToolsListin interfaceGeneratorOrBuilder- Returns:
- A list containing the tools.
-
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) = { ... }- Specified by:
getToolsCountin interfaceGeneratorOrBuilder- 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) = { ... }- Specified by:
getToolsin interfaceGeneratorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tools at the given index.
-
getToolsBytes
public 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) = { ... }- Specified by:
getToolsBytesin interfaceGeneratorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tools at the given index.
-
setTools
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 to set the value at.value- The tools to set.- Returns:
- This builder for chaining.
-
addTools
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:
value- The tools to add.- Returns:
- This builder for chaining.
-
addAllTools
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:
values- The tools to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addToolsBytes
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:
value- The bytes of the tools to add.- Returns:
- This builder for chaining.
-
hasSuggestionDedupingConfig
public 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];- Specified by:
hasSuggestionDedupingConfigin interfaceGeneratorOrBuilder- Returns:
- Whether the suggestionDedupingConfig field is set.
-
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];- Specified by:
getSuggestionDedupingConfigin interfaceGeneratorOrBuilder- Returns:
- The suggestionDedupingConfig.
-
setSuggestionDedupingConfig
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]; -
setSuggestionDedupingConfig
public Generator.Builder setSuggestionDedupingConfig(SuggestionDedupingConfig.Builder builderForValue) 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]; -
mergeSuggestionDedupingConfig
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]; -
clearSuggestionDedupingConfig
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]; -
getSuggestionDedupingConfigBuilder
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]; -
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];- Specified by:
getSuggestionDedupingConfigOrBuilderin interfaceGeneratorOrBuilder
-
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];- Specified by:
getToolsetToolsListin interfaceGeneratorOrBuilder
-
getToolsetToolsCount
public 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];- Specified by:
getToolsetToolsCountin interfaceGeneratorOrBuilder
-
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];- Specified by:
getToolsetToolsin interfaceGeneratorOrBuilder
-
setToolsetTools
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]; -
setToolsetTools
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]; -
addToolsetTools
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]; -
addToolsetTools
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]; -
addToolsetTools
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]; -
addToolsetTools
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]; -
addAllToolsetTools
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]; -
clearToolsetTools
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]; -
removeToolsetTools
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]; -
getToolsetToolsBuilder
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];- Specified by:
getToolsetToolsOrBuilderin interfaceGeneratorOrBuilder
-
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];- Specified by:
getToolsetToolsOrBuilderListin interfaceGeneratorOrBuilder
-
addToolsetToolsBuilder
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]; -
addToolsetToolsBuilder
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]; -
getToolsetToolsBuilderList
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
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];- Specified by:
getCesToolSpecsListin interfaceGeneratorOrBuilder
-
getCesToolSpecsCount
public 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];- Specified by:
getCesToolSpecsCountin interfaceGeneratorOrBuilder
-
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];- Specified by:
getCesToolSpecsin interfaceGeneratorOrBuilder
-
setCesToolSpecs
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]; -
setCesToolSpecs
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]; -
addCesToolSpecs
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]; -
addCesToolSpecs
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]; -
addCesToolSpecs
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]; -
addCesToolSpecs
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]; -
addAllCesToolSpecs
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]; -
clearCesToolSpecs
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]; -
removeCesToolSpecs
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]; -
getCesToolSpecsBuilder
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];- Specified by:
getCesToolSpecsOrBuilderin interfaceGeneratorOrBuilder
-
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];- Specified by:
getCesToolSpecsOrBuilderListin interfaceGeneratorOrBuilder
-
addCesToolSpecsBuilder
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]; -
addCesToolSpecsBuilder
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]; -
getCesToolSpecsBuilderList
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
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];- Specified by:
getCesAppSpecsListin interfaceGeneratorOrBuilder
-
getCesAppSpecsCount
public 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];- Specified by:
getCesAppSpecsCountin interfaceGeneratorOrBuilder
-
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];- Specified by:
getCesAppSpecsin interfaceGeneratorOrBuilder
-
setCesAppSpecs
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]; -
setCesAppSpecs
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]; -
addCesAppSpecs
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]; -
addCesAppSpecs
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]; -
addCesAppSpecs
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]; -
addCesAppSpecs
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]; -
addAllCesAppSpecs
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]; -
clearCesAppSpecs
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]; -
removeCesAppSpecs
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]; -
getCesAppSpecsBuilder
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];- Specified by:
getCesAppSpecsOrBuilderin interfaceGeneratorOrBuilder
-
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];- Specified by:
getCesAppSpecsOrBuilderListin interfaceGeneratorOrBuilder
-
addCesAppSpecsBuilder
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]; -
addCesAppSpecsBuilder
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]; -
getCesAppSpecsBuilderList
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];
-