Class SearchResponse.Summary.CitationMetadata (0.31.0)

public static final class SearchResponse.Summary.CitationMetadata extends GeneratedMessageV3 implements SearchResponse.Summary.CitationMetadataOrBuilder

Citation metadata.

Protobuf type google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SearchResponse.Summary.CitationMetadata

Static Fields

CITATIONS_FIELD_NUMBER

public static final int CITATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SearchResponse.Summary.CitationMetadata getDefaultInstance()
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SearchResponse.Summary.CitationMetadata.Builder newBuilder()
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata.Builder

newBuilder(SearchResponse.Summary.CitationMetadata prototype)

public static SearchResponse.Summary.CitationMetadata.Builder newBuilder(SearchResponse.Summary.CitationMetadata prototype)
Parameter
NameDescription
prototypeSearchResponse.Summary.CitationMetadata
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static SearchResponse.Summary.CitationMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.Summary.CitationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SearchResponse.Summary.CitationMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.Summary.CitationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchResponse.Summary.CitationMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.Summary.CitationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchResponse.Summary.CitationMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.Summary.CitationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SearchResponse.Summary.CitationMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.Summary.CitationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SearchResponse.Summary.CitationMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.Summary.CitationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SearchResponse.Summary.CitationMetadata> parser()
Returns
TypeDescription
Parser<CitationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCitations(int index)

public SearchResponse.Summary.Citation getCitations(int index)

Citations for segments.

repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.Citation citations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchResponse.Summary.Citation

getCitationsCount()

public int getCitationsCount()

Citations for segments.

repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.Citation citations = 1;

Returns
TypeDescription
int

getCitationsList()

public List<SearchResponse.Summary.Citation> getCitationsList()

Citations for segments.

repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.Citation citations = 1;

Returns
TypeDescription
List<Citation>

getCitationsOrBuilder(int index)

public SearchResponse.Summary.CitationOrBuilder getCitationsOrBuilder(int index)

Citations for segments.

repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.Citation citations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchResponse.Summary.CitationOrBuilder

getCitationsOrBuilderList()

public List<? extends SearchResponse.Summary.CitationOrBuilder> getCitationsOrBuilderList()

Citations for segments.

repeated .google.cloud.discoveryengine.v1.SearchResponse.Summary.Citation citations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1.SearchResponse.Summary.CitationOrBuilder>

getDefaultInstanceForType()

public SearchResponse.Summary.CitationMetadata getDefaultInstanceForType()
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata

getParserForType()

public Parser<SearchResponse.Summary.CitationMetadata> getParserForType()
Returns
TypeDescription
Parser<CitationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SearchResponse.Summary.CitationMetadata.Builder newBuilderForType()
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchResponse.Summary.CitationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SearchResponse.Summary.CitationMetadata.Builder toBuilder()
Returns
TypeDescription
SearchResponse.Summary.CitationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException