public static final class SearchResponse.Summary.CitationSource extends GeneratedMessageV3 implements SearchResponse.Summary.CitationSourceOrBuilder
Citation source.
Protobuf type google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationSource
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
REFERENCE_INDEX_FIELD_NUMBER
public static final int REFERENCE_INDEX_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SearchResponse.Summary.CitationSource getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SearchResponse.Summary.CitationSource.Builder newBuilder()
newBuilder(SearchResponse.Summary.CitationSource prototype)
public static SearchResponse.Summary.CitationSource.Builder newBuilder(SearchResponse.Summary.CitationSource prototype)
public static SearchResponse.Summary.CitationSource parseDelimitedFrom(InputStream input)
public static SearchResponse.Summary.CitationSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SearchResponse.Summary.CitationSource parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchResponse.Summary.CitationSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SearchResponse.Summary.CitationSource parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchResponse.Summary.CitationSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchResponse.Summary.CitationSource parseFrom(CodedInputStream input)
public static SearchResponse.Summary.CitationSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchResponse.Summary.CitationSource parseFrom(InputStream input)
public static SearchResponse.Summary.CitationSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SearchResponse.Summary.CitationSource parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchResponse.Summary.CitationSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SearchResponse.Summary.CitationSource> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public SearchResponse.Summary.CitationSource getDefaultInstanceForType()
getParserForType()
public Parser<SearchResponse.Summary.CitationSource> getParserForType()
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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SearchResponse.Summary.CitationSource.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchResponse.Summary.CitationSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SearchResponse.Summary.CitationSource.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides