public static final class KnowledgeAssistDebugInfo.QueryGenerationDebugInfo extends GeneratedMessage implements KnowledgeAssistDebugInfo.QueryGenerationDebugInfoOrBuilder
Debug information and model metadata for query generation.
Protobuf type
google.cloud.dialogflow.v2.KnowledgeAssistDebugInfo.QueryGenerationDebugInfo
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CANDIDATES_TOKEN_COUNT_FIELD_NUMBER
public static final int CANDIDATES_TOKEN_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PROMPT_TOKEN_COUNT_FIELD_NUMBER
public static final int PROMPT_TOKEN_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SIMILARITY_TO_LAST_QUERY_FIELD_NUMBER
public static final int SIMILARITY_TO_LAST_QUERY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SIMILARITY_TO_LAST_QUERY_THRESHOLD_FIELD_NUMBER
public static final int SIMILARITY_TO_LAST_QUERY_THRESHOLD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
THINKING_BUDGET_TOKENS_FIELD_NUMBER
public static final int THINKING_BUDGET_TOKENS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
THINKING_LEVEL_FIELD_NUMBER
public static final int THINKING_LEVEL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TOTAL_TOKEN_COUNT_FIELD_NUMBER
public static final int TOTAL_TOKEN_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo.Builder newBuilder()
newBuilder(KnowledgeAssistDebugInfo.QueryGenerationDebugInfo prototype)
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo.Builder newBuilder(KnowledgeAssistDebugInfo.QueryGenerationDebugInfo prototype)
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo parseDelimitedFrom(InputStream input)
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo parseFrom(CodedInputStream input)
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo parseFrom(InputStream input)
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static KnowledgeAssistDebugInfo.QueryGenerationDebugInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<KnowledgeAssistDebugInfo.QueryGenerationDebugInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCandidatesTokenCount()
public int getCandidatesTokenCount()
The total number of tokens in the generated candidates.
int32 candidates_token_count = 2;
| Returns |
| Type |
Description |
int |
The candidatesTokenCount.
|
getDefaultInstanceForType()
public KnowledgeAssistDebugInfo.QueryGenerationDebugInfo getDefaultInstanceForType()
getParserForType()
public Parser<KnowledgeAssistDebugInfo.QueryGenerationDebugInfo> getParserForType()
Overrides
getPromptTokenCount()
public int getPromptTokenCount()
The total number of tokens in the prompt.
int32 prompt_token_count = 1;
| Returns |
| Type |
Description |
int |
The promptTokenCount.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSimilarityToLastQuery()
public float getSimilarityToLastQuery()
The similarity score of the suggested query to the last suggested query.
float similarity_to_last_query = 6;
| Returns |
| Type |
Description |
float |
The similarityToLastQuery.
|
getSimilarityToLastQueryThreshold()
public float getSimilarityToLastQueryThreshold()
The similarity threshold used to filter out queries similar to the last
suggestion.
float similarity_to_last_query_threshold = 7;
| Returns |
| Type |
Description |
float |
The similarityToLastQueryThreshold.
|
getThinkingBudgetTokens()
public int getThinkingBudgetTokens()
The thinking budget (in number of tokens) configured for the Gemini
model.
int32 thinking_budget_tokens = 5;
| Returns |
| Type |
Description |
int |
The thinkingBudgetTokens.
|
getThinkingLevel()
public String getThinkingLevel()
The thinking level configured for the Gemini model.
string thinking_level = 4;
| Returns |
| Type |
Description |
String |
The thinkingLevel.
|
getThinkingLevelBytes()
public ByteString getThinkingLevelBytes()
The thinking level configured for the Gemini model.
string thinking_level = 4;
| Returns |
| Type |
Description |
ByteString |
The bytes for thinkingLevel.
|
getTotalTokenCount()
public int getTotalTokenCount()
The total number of tokens for the entire request.
int32 total_token_count = 3;
| Returns |
| Type |
Description |
int |
The totalTokenCount.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public KnowledgeAssistDebugInfo.QueryGenerationDebugInfo.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected KnowledgeAssistDebugInfo.QueryGenerationDebugInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public KnowledgeAssistDebugInfo.QueryGenerationDebugInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides