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.v1beta.SearchResponse.Summary
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
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
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.
|
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