public static final class SearchResponse.Summary.CitationSource.Builder extends GeneratedMessageV3.Builder<SearchResponse.Summary.CitationSource.Builder> implements SearchResponse.Summary.CitationSourceOrBuilder
Citation source.
Protobuf type google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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.CitationSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchResponse.Summary.CitationSource build()
buildPartial()
public SearchResponse.Summary.CitationSource buildPartial()
clear()
public SearchResponse.Summary.CitationSource.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchResponse.Summary.CitationSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchResponse.Summary.CitationSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReferenceIndex()
public SearchResponse.Summary.CitationSource.Builder clearReferenceIndex()
Document reference index from SummaryWithMetadata.references.
It is 0-indexed and the value will be zero if the reference_index is
not set explicitly.
int64 reference_index = 4;
clone()
public SearchResponse.Summary.CitationSource.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchResponse.Summary.CitationSource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getReferenceIndex()
public long getReferenceIndex()
Document reference index from SummaryWithMetadata.references.
It is 0-indexed and the value will be zero if the reference_index is
not set explicitly.
int64 reference_index = 4;
Returns |
---|
Type | Description |
long | The referenceIndex.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchResponse.Summary.CitationSource other)
public SearchResponse.Summary.CitationSource.Builder mergeFrom(SearchResponse.Summary.CitationSource other)
public SearchResponse.Summary.CitationSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchResponse.Summary.CitationSource.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchResponse.Summary.CitationSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SearchResponse.Summary.CitationSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setReferenceIndex(long value)
public SearchResponse.Summary.CitationSource.Builder setReferenceIndex(long value)
Document reference index from SummaryWithMetadata.references.
It is 0-indexed and the value will be zero if the reference_index is
not set explicitly.
int64 reference_index = 4;
Parameter |
---|
Name | Description |
value | long
The referenceIndex to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchResponse.Summary.CitationSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchResponse.Summary.CitationSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides