public static final class SearchResponse.Summary.Builder extends GeneratedMessageV3.Builder<SearchResponse.Summary.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchResponse.Summary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchResponse.Summary build()
buildPartial()
public SearchResponse.Summary buildPartial()
clear()
public SearchResponse.Summary.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchResponse.Summary.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchResponse.Summary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSummaryText()
public SearchResponse.Summary.Builder clearSummaryText()
The summary content.
string summary_text = 1;
clone()
public SearchResponse.Summary.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchResponse.Summary getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchResponse.Summary other)
public SearchResponse.Summary.Builder mergeFrom(SearchResponse.Summary other)
public SearchResponse.Summary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchResponse.Summary.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchResponse.Summary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SearchResponse.Summary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchResponse.Summary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSummaryText(String value)
public SearchResponse.Summary.Builder setSummaryText(String value)
The summary content.
string summary_text = 1;
Parameter |
---|
Name | Description |
value | String
The summaryText to set.
|
setSummaryTextBytes(ByteString value)
public SearchResponse.Summary.Builder setSummaryTextBytes(ByteString value)
The summary content.
string summary_text = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for summaryText to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchResponse.Summary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides