- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public interface GenerativeQuestionConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAllowedInConversation()
public abstract boolean getAllowedInConversation()
Optional. Whether the question is asked at serving time.
bool allowed_in_conversation = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The allowedInConversation. |
getCatalog()
public abstract String getCatalog()
Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}
string catalog = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The catalog. |
getCatalogBytes()
public abstract ByteString getCatalogBytes()
Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}
string catalog = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for catalog. |
getExampleValues(int index)
public abstract String getExampleValues(int index)
Output only. Values that can be used to answer the question.
repeated string example_values = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The exampleValues at the given index. |
getExampleValuesBytes(int index)
public abstract ByteString getExampleValuesBytes(int index)
Output only. Values that can be used to answer the question.
repeated string example_values = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the exampleValues at the given index. |
getExampleValuesCount()
public abstract int getExampleValuesCount()
Output only. Values that can be used to answer the question.
repeated string example_values = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The count of exampleValues. |
getExampleValuesList()
public abstract List<String> getExampleValuesList()
Output only. Values that can be used to answer the question.
repeated string example_values = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the exampleValues. |
getFacet()
public abstract String getFacet()
Required. The facet to which the question is associated.
string facet = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The facet. |
getFacetBytes()
public abstract ByteString getFacetBytes()
Required. The facet to which the question is associated.
string facet = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for facet. |
getFinalQuestion()
public abstract String getFinalQuestion()
Optional. The question that will be used at serving time. Question can have a max length of 300 bytes. When not populated, generated_question should be used.
string final_question = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The finalQuestion. |
getFinalQuestionBytes()
public abstract ByteString getFinalQuestionBytes()
Optional. The question that will be used at serving time. Question can have a max length of 300 bytes. When not populated, generated_question should be used.
string final_question = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for finalQuestion. |
getFrequency()
public abstract float getFrequency()
Output only. The ratio of how often a question was asked.
float frequency = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
float |
The frequency. |
getGeneratedQuestion()
public abstract String getGeneratedQuestion()
Output only. The LLM generated question.
string generated_question = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The generatedQuestion. |
getGeneratedQuestionBytes()
public abstract ByteString getGeneratedQuestionBytes()
Output only. The LLM generated question.
string generated_question = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for generatedQuestion. |