Class SearchResponse.Summary.SummaryWithMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchResponse.Summary.SummaryWithMetadata.Builder>
com.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.SummaryWithMetadata.Builder
- All Implemented Interfaces:
SearchResponse.Summary.SummaryWithMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchResponse.Summary.SummaryWithMetadata
public static final class SearchResponse.Summary.SummaryWithMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchResponse.Summary.SummaryWithMetadata.Builder>
implements SearchResponse.Summary.SummaryWithMetadataOrBuilder
Summary with metadata information.Protobuf type
google.cloud.discoveryengine.v1beta.SearchResponse.Summary.SummaryWithMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddAllReferences(Iterable<? extends SearchResponse.Summary.Reference> values) Document References.addReferences(int index, SearchResponse.Summary.Reference value) Document References.addReferences(int index, SearchResponse.Summary.Reference.Builder builderForValue) Document References.Document References.addReferences(SearchResponse.Summary.Reference.Builder builderForValue) Document References.Document References.addReferencesBuilder(int index) Document References.build()clear()Citation metadata for given summary.Document References.Summary text with no citation information.Citation metadata for given summary.Citation metadata for given summary.Citation metadata for given summary.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetReferences(int index) Document References.getReferencesBuilder(int index) Document References.Document References.intDocument References.Document References.getReferencesOrBuilder(int index) Document References.List<? extends SearchResponse.Summary.ReferenceOrBuilder>Document References.Summary text with no citation information.com.google.protobuf.ByteStringSummary text with no citation information.booleanCitation metadata for given summary.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanCitation metadata for given summary.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeReferences(int index) Document References.Citation metadata for given summary.setCitationMetadata(SearchResponse.Summary.CitationMetadata.Builder builderForValue) Citation metadata for given summary.setReferences(int index, SearchResponse.Summary.Reference value) Document References.setReferences(int index, SearchResponse.Summary.Reference.Builder builderForValue) Document References.setSummary(String value) Summary text with no citation information.setSummaryBytes(com.google.protobuf.ByteString value) Summary text with no citation information.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SearchResponse.Summary.SummaryWithMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchResponse.Summary.SummaryWithMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchResponse.Summary.SummaryWithMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public SearchResponse.Summary.SummaryWithMetadata.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchResponse.Summary.SummaryWithMetadata.Builder>
-
mergeFrom
public SearchResponse.Summary.SummaryWithMetadata.Builder mergeFrom(SearchResponse.Summary.SummaryWithMetadata other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchResponse.Summary.SummaryWithMetadata.Builder>
-
mergeFrom
public SearchResponse.Summary.SummaryWithMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchResponse.Summary.SummaryWithMetadata.Builder>- Throws:
IOException
-
getSummary
Summary text with no citation information.
string summary = 1;- Specified by:
getSummaryin interfaceSearchResponse.Summary.SummaryWithMetadataOrBuilder- Returns:
- The summary.
-
getSummaryBytes
public com.google.protobuf.ByteString getSummaryBytes()Summary text with no citation information.
string summary = 1;- Specified by:
getSummaryBytesin interfaceSearchResponse.Summary.SummaryWithMetadataOrBuilder- Returns:
- The bytes for summary.
-
setSummary
Summary text with no citation information.
string summary = 1;- Parameters:
value- The summary to set.- Returns:
- This builder for chaining.
-
clearSummary
Summary text with no citation information.
string summary = 1;- Returns:
- This builder for chaining.
-
setSummaryBytes
public SearchResponse.Summary.SummaryWithMetadata.Builder setSummaryBytes(com.google.protobuf.ByteString value) Summary text with no citation information.
string summary = 1;- Parameters:
value- The bytes for summary to set.- Returns:
- This builder for chaining.
-
hasCitationMetadata
public boolean hasCitationMetadata()Citation metadata for given summary.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.CitationMetadata citation_metadata = 2;- Specified by:
hasCitationMetadatain interfaceSearchResponse.Summary.SummaryWithMetadataOrBuilder- Returns:
- Whether the citationMetadata field is set.
-
getCitationMetadata
Citation metadata for given summary.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.CitationMetadata citation_metadata = 2;- Specified by:
getCitationMetadatain interfaceSearchResponse.Summary.SummaryWithMetadataOrBuilder- Returns:
- The citationMetadata.
-
setCitationMetadata
public SearchResponse.Summary.SummaryWithMetadata.Builder setCitationMetadata(SearchResponse.Summary.CitationMetadata value) Citation metadata for given summary.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.CitationMetadata citation_metadata = 2; -
setCitationMetadata
public SearchResponse.Summary.SummaryWithMetadata.Builder setCitationMetadata(SearchResponse.Summary.CitationMetadata.Builder builderForValue) Citation metadata for given summary.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.CitationMetadata citation_metadata = 2; -
mergeCitationMetadata
public SearchResponse.Summary.SummaryWithMetadata.Builder mergeCitationMetadata(SearchResponse.Summary.CitationMetadata value) Citation metadata for given summary.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.CitationMetadata citation_metadata = 2; -
clearCitationMetadata
Citation metadata for given summary.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.CitationMetadata citation_metadata = 2; -
getCitationMetadataBuilder
Citation metadata for given summary.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.CitationMetadata citation_metadata = 2; -
getCitationMetadataOrBuilder
Citation metadata for given summary.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.CitationMetadata citation_metadata = 2;- Specified by:
getCitationMetadataOrBuilderin interfaceSearchResponse.Summary.SummaryWithMetadataOrBuilder
-
getReferencesList
Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3;- Specified by:
getReferencesListin interfaceSearchResponse.Summary.SummaryWithMetadataOrBuilder
-
getReferencesCount
public int getReferencesCount()Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3;- Specified by:
getReferencesCountin interfaceSearchResponse.Summary.SummaryWithMetadataOrBuilder
-
getReferences
Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3;- Specified by:
getReferencesin interfaceSearchResponse.Summary.SummaryWithMetadataOrBuilder
-
setReferences
public SearchResponse.Summary.SummaryWithMetadata.Builder setReferences(int index, SearchResponse.Summary.Reference value) Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3; -
setReferences
public SearchResponse.Summary.SummaryWithMetadata.Builder setReferences(int index, SearchResponse.Summary.Reference.Builder builderForValue) Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3; -
addReferences
public SearchResponse.Summary.SummaryWithMetadata.Builder addReferences(SearchResponse.Summary.Reference value) Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3; -
addReferences
public SearchResponse.Summary.SummaryWithMetadata.Builder addReferences(int index, SearchResponse.Summary.Reference value) Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3; -
addReferences
public SearchResponse.Summary.SummaryWithMetadata.Builder addReferences(SearchResponse.Summary.Reference.Builder builderForValue) Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3; -
addReferences
public SearchResponse.Summary.SummaryWithMetadata.Builder addReferences(int index, SearchResponse.Summary.Reference.Builder builderForValue) Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3; -
addAllReferences
public SearchResponse.Summary.SummaryWithMetadata.Builder addAllReferences(Iterable<? extends SearchResponse.Summary.Reference> values) Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3; -
clearReferences
Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3; -
removeReferences
Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3; -
getReferencesBuilder
Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3; -
getReferencesOrBuilder
Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3;- Specified by:
getReferencesOrBuilderin interfaceSearchResponse.Summary.SummaryWithMetadataOrBuilder
-
getReferencesOrBuilderList
Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3;- Specified by:
getReferencesOrBuilderListin interfaceSearchResponse.Summary.SummaryWithMetadataOrBuilder
-
addReferencesBuilder
Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3; -
addReferencesBuilder
Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3; -
getReferencesBuilderList
Document References.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Reference references = 3;
-