Send feedback
Class LlmCall.RetrievedExample (0.89.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class LlmCall . RetrievedExample extends GeneratedMessageV3 implements LlmCall . RetrievedExampleOrBuilder
Relevant example used for the LLM prompt.
Protobuf type google.cloud.dialogflow.cx.v3beta1.LlmCall.RetrievedExample
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EXAMPLE_DISPLAY_NAME_FIELD_NUMBER
public static final int EXAMPLE_DISPLAY_NAME_FIELD_NUMBER
Field Value
Type
Description
int
EXAMPLE_ID_FIELD_NUMBER
public static final int EXAMPLE_ID_FIELD_NUMBER
Field Value
Type
Description
int
MATCHED_RETRIEVAL_LABEL_FIELD_NUMBER
public static final int MATCHED_RETRIEVAL_LABEL_FIELD_NUMBER
Field Value
Type
Description
int
RETRIEVAL_STRATEGY_FIELD_NUMBER
public static final int RETRIEVAL_STRATEGY_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static LlmCall . RetrievedExample getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static LlmCall . RetrievedExample . Builder newBuilder ()
newBuilder(LlmCall.RetrievedExample prototype)
public static LlmCall . RetrievedExample . Builder newBuilder ( LlmCall . RetrievedExample prototype )
public static LlmCall . RetrievedExample parseDelimitedFrom ( InputStream input )
public static LlmCall . RetrievedExample parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static LlmCall . RetrievedExample parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LlmCall . RetrievedExample parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static LlmCall . RetrievedExample parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LlmCall . RetrievedExample parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static LlmCall . RetrievedExample parseFrom ( CodedInputStream input )
public static LlmCall . RetrievedExample parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static LlmCall . RetrievedExample parseFrom ( InputStream input )
public static LlmCall . RetrievedExample parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static LlmCall . RetrievedExample parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LlmCall . RetrievedExample parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<LlmCall . RetrievedExample > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public LlmCall . RetrievedExample getDefaultInstanceForType ()
getExampleDisplayName()
public String getExampleDisplayName ()
The display name of the example.
string example_display_name = 2;
Returns
Type
Description
String
The exampleDisplayName.
getExampleDisplayNameBytes()
public ByteString getExampleDisplayNameBytes ()
The display name of the example.
string example_display_name = 2;
Returns
Type
Description
ByteString
The bytes for exampleDisplayName.
getExampleId()
public String getExampleId ()
The id of the example.
string example_id = 1;
Returns
Type
Description
String
The exampleId.
getExampleIdBytes()
public ByteString getExampleIdBytes ()
The id of the example.
string example_id = 1;
Returns
Type
Description
ByteString
The bytes for exampleId.
getMatchedRetrievalLabel()
public String getMatchedRetrievalLabel ()
Optional. The matched retrieval label of this LLM call.
string matched_retrieval_label = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The matchedRetrievalLabel.
getMatchedRetrievalLabelBytes()
public ByteString getMatchedRetrievalLabelBytes ()
Optional. The matched retrieval label of this LLM call.
string matched_retrieval_label = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for matchedRetrievalLabel.
getParserForType()
public Parser<LlmCall . RetrievedExample > getParserForType ()
Overrides
getRetrievalStrategy()
public RetrievalStrategy getRetrievalStrategy ()
Retrieval strategy of the example.
.google.cloud.dialogflow.cx.v3beta1.RetrievalStrategy retrieval_strategy = 3;
getRetrievalStrategyValue()
public int getRetrievalStrategyValue ()
Retrieval strategy of the example.
.google.cloud.dialogflow.cx.v3beta1.RetrievalStrategy retrieval_strategy = 3;
Returns
Type
Description
int
The enum numeric value on the wire for retrievalStrategy.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public LlmCall . RetrievedExample . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LlmCall . RetrievedExample . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public LlmCall . RetrievedExample . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-29 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]