Send feedback
Class SearchResponse.Summary (0.25.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.25.0 keyboard_arrow_down
public static final class SearchResponse . Summary extends GeneratedMessageV3 implements SearchResponse . SummaryOrBuilder
Summary of the top N search result specified by the summary spec.
Protobuf type google.cloud.discoveryengine.v1alpha.SearchResponse.Summary
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>)
Static Fields
SAFETY_ATTRIBUTES_FIELD_NUMBER
public static final int SAFETY_ATTRIBUTES_FIELD_NUMBER
Field Value Type Description int
SUMMARY_SKIPPED_REASONS_FIELD_NUMBER
public static final int SUMMARY_SKIPPED_REASONS_FIELD_NUMBER
Field Value Type Description int
SUMMARY_TEXT_FIELD_NUMBER
public static final int SUMMARY_TEXT_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static SearchResponse . Summary getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static SearchResponse . Summary . Builder newBuilder ()
newBuilder(SearchResponse.Summary prototype)
public static SearchResponse . Summary . Builder newBuilder ( SearchResponse . Summary prototype )
public static SearchResponse . Summary parseDelimitedFrom ( InputStream input )
public static SearchResponse . Summary parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static SearchResponse . Summary parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchResponse . Summary parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static SearchResponse . Summary parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchResponse . Summary parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static SearchResponse . Summary parseFrom ( CodedInputStream input )
public static SearchResponse . Summary parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static SearchResponse . Summary parseFrom ( InputStream input )
public static SearchResponse . Summary parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static SearchResponse . Summary parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchResponse . Summary parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<SearchResponse . Summary > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public SearchResponse . Summary getDefaultInstanceForType ()
getParserForType()
public Parser<SearchResponse . Summary > getParserForType ()
Overrides
getSafetyAttributes()
public SearchResponse . Summary . SafetyAttributes getSafetyAttributes ()
A collection of Safety Attribute categories and their associated
confidence scores.
.google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SafetyAttributes safety_attributes = 3;
getSafetyAttributesOrBuilder()
public SearchResponse . Summary . SafetyAttributesOrBuilder getSafetyAttributesOrBuilder ()
A collection of Safety Attribute categories and their associated
confidence scores.
.google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SafetyAttributes safety_attributes = 3;
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getSummarySkippedReasons(int index)
public SearchResponse . Summary . SummarySkippedReason getSummarySkippedReasons ( int index )
Additional summary-skipped reasons. This provides the reason for ignored
cases. If nothing is skipped, this field is not set.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummarySkippedReason summary_skipped_reasons = 2;
Parameter Name Description index
int
The index of the element to return.
getSummarySkippedReasonsCount()
public int getSummarySkippedReasonsCount ()
Additional summary-skipped reasons. This provides the reason for ignored
cases. If nothing is skipped, this field is not set.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummarySkippedReason summary_skipped_reasons = 2;
Returns Type Description int
The count of summarySkippedReasons.
getSummarySkippedReasonsList()
public List<SearchResponse . Summary . SummarySkippedReason > getSummarySkippedReasonsList ()
Additional summary-skipped reasons. This provides the reason for ignored
cases. If nothing is skipped, this field is not set.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummarySkippedReason summary_skipped_reasons = 2;
getSummarySkippedReasonsValue(int index)
public int getSummarySkippedReasonsValue ( int index )
Additional summary-skipped reasons. This provides the reason for ignored
cases. If nothing is skipped, this field is not set.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummarySkippedReason summary_skipped_reasons = 2;
Parameter Name Description index
int
The index of the value to return.
Returns Type Description int
The enum numeric value on the wire of summarySkippedReasons at the given index.
getSummarySkippedReasonsValueList()
public List<Integer> getSummarySkippedReasonsValueList ()
Additional summary-skipped reasons. This provides the reason for ignored
cases. If nothing is skipped, this field is not set.
repeated .google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SummarySkippedReason summary_skipped_reasons = 2;
Returns Type Description List <Integer >
A list containing the enum numeric values on the wire for summarySkippedReasons.
getSummaryText()
public String getSummaryText ()
The summary content.
string summary_text = 1;
Returns Type Description String
The summaryText.
getSummaryTextBytes()
public ByteString getSummaryTextBytes ()
The summary content.
string summary_text = 1;
Returns Type Description ByteString
The bytes for summaryText.
hasSafetyAttributes()
public boolean hasSafetyAttributes ()
A collection of Safety Attribute categories and their associated
confidence scores.
.google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.SafetyAttributes safety_attributes = 3;
Returns Type Description boolean
Whether the safetyAttributes field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public SearchResponse . Summary . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchResponse . Summary . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public SearchResponse . Summary . 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-01-28 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-01-28 UTC."],[],[]]