public interface GeneratorOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContextCase()
public abstract Generator.ContextCase getContextCase()| Returns | |
|---|---|
| Type | Description |
Generator.ContextCase |
|
getCreateTime()
public abstract 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. |
getCreateTimeOrBuilder()
public abstract 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 |
|
getDescription()
public abstract 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 abstract 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. |
getFoundationModelCase()
public abstract Generator.FoundationModelCase getFoundationModelCase()| Returns | |
|---|---|
| Type | Description |
Generator.FoundationModelCase |
|
getFreeFormContext()
public abstract FreeFormContext getFreeFormContext()Input of free from generator to LLM.
.google.cloud.dialogflow.v2beta1.FreeFormContext free_form_context = 11;
| Returns | |
|---|---|
| Type | Description |
FreeFormContext |
The freeFormContext. |
getFreeFormContextOrBuilder()
public abstract FreeFormContextOrBuilder getFreeFormContextOrBuilder()Input of free from generator to LLM.
.google.cloud.dialogflow.v2beta1.FreeFormContext free_form_context = 11;
| Returns | |
|---|---|
| Type | Description |
FreeFormContextOrBuilder |
|
getInferenceParameter()
public abstract 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. |
getInferenceParameterOrBuilder()
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract SummarizationContext getSummarizationContext()Input of Summarization feature.
.google.cloud.dialogflow.v2beta1.SummarizationContext summarization_context = 13;
| Returns | |
|---|---|
| Type | Description |
SummarizationContext |
The summarizationContext. |
getSummarizationContextOrBuilder()
public abstract SummarizationContextOrBuilder getSummarizationContextOrBuilder()Input of Summarization feature.
.google.cloud.dialogflow.v2beta1.SummarizationContext summarization_context = 13;
| Returns | |
|---|---|
| Type | Description |
SummarizationContextOrBuilder |
|
getTriggerEvent()
public abstract 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 abstract 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 abstract 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. |
getUpdateTimeOrBuilder()
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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. |