public static final class Generator.Builder extends GeneratedMessageV3.Builder<Generator.Builder> implements GeneratorOrBuilderLLM generator.
Protobuf type google.cloud.dialogflow.v2.Generator
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Generator.BuilderImplements
GeneratorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Generator.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Generator.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 |
|
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. |
clearField(Descriptors.FieldDescriptor field)
public Generator.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Generator.Builder |
|
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.v2.FreeFormContext free_form_context = 11;
| Returns | |
|---|---|
| Type | Description |
Generator.Builder |
|
clearInferenceParameter()
public Generator.Builder clearInferenceParameter()Optional. Inference parameters for this generator.
.google.cloud.dialogflow.v2.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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Generator.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Generator.Builder |
|
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. |
clearSummarizationContext()
public Generator.Builder clearSummarizationContext()Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13;
| 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.v2.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 |
|
clone()
public Generator.Builder clone()| Returns | |
|---|---|
| Type | Description |
Generator.Builder |
|
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 |
|
getFoundationModelCase()
public Generator.FoundationModelCase getFoundationModelCase()| Returns | |
|---|---|
| Type | Description |
Generator.FoundationModelCase |
|
getFreeFormContext()
public FreeFormContext getFreeFormContext()Input of free from generator to LLM.
.google.cloud.dialogflow.v2.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.v2.FreeFormContext free_form_context = 11;
| Returns | |
|---|---|
| Type | Description |
FreeFormContext.Builder |
|
getFreeFormContextOrBuilder()
public FreeFormContextOrBuilder getFreeFormContextOrBuilder()Input of free from generator to LLM.
.google.cloud.dialogflow.v2.FreeFormContext free_form_context = 11;
| Returns | |
|---|---|
| Type | Description |
FreeFormContextOrBuilder |
|
getInferenceParameter()
public InferenceParameter getInferenceParameter()Optional. Inference parameters for this generator.
.google.cloud.dialogflow.v2.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.v2.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.v2.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. |
getSummarizationContext()
public SummarizationContext getSummarizationContext()Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13;
| Returns | |
|---|---|
| Type | Description |
SummarizationContext |
The summarizationContext. |
getSummarizationContextBuilder()
public SummarizationContext.Builder getSummarizationContextBuilder()Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13;
| Returns | |
|---|---|
| Type | Description |
SummarizationContext.Builder |
|
getSummarizationContextOrBuilder()
public SummarizationContextOrBuilder getSummarizationContextOrBuilder()Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13;
| Returns | |
|---|---|
| Type | Description |
SummarizationContextOrBuilder |
|
getTriggerEvent()
public TriggerEvent getTriggerEvent()Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.
.google.cloud.dialogflow.v2.TriggerEvent trigger_event = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| 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.v2.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 |
|
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.v2.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.v2.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. |
hasSummarizationContext()
public boolean hasSummarizationContext()Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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.v2.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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Generator.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Generator.Builder |
|
mergeInferenceParameter(InferenceParameter value)
public Generator.Builder mergeInferenceParameter(InferenceParameter value)Optional. Inference parameters for this generator.
.google.cloud.dialogflow.v2.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
InferenceParameter |
| Returns | |
|---|---|
| Type | Description |
Generator.Builder |
|
mergeSummarizationContext(SummarizationContext value)
public Generator.Builder mergeSummarizationContext(SummarizationContext value)Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
SummarizationContext |
| Returns | |
|---|---|
| Type | Description |
Generator.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Generator.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| 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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Generator.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Generator.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Generator.Builder |
|
setFreeFormContext(FreeFormContext value)
public Generator.Builder setFreeFormContext(FreeFormContext value)Input of free from generator to LLM.
.google.cloud.dialogflow.v2.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.v2.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.v2.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.v2.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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for publishedModel to set. |
| Returns | |
|---|---|
| Type | Description |
Generator.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Generator.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Generator.Builder |
|
setSummarizationContext(SummarizationContext value)
public Generator.Builder setSummarizationContext(SummarizationContext value)Input of prebuilt Summarization feature.
.google.cloud.dialogflow.v2.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 prebuilt Summarization feature.
.google.cloud.dialogflow.v2.SummarizationContext summarization_context = 13;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SummarizationContext.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.v2.TriggerEvent trigger_event = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
TriggerEventThe 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.v2.TriggerEvent trigger_event = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for triggerEvent to set. |
| Returns | |
|---|---|
| Type | Description |
Generator.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Generator.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Generator.Builder |
|
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 |
|