Class SearchQueryResponse
Implements
IMessage<SearchQueryResponse>
IDeepCloneable<SearchQueryResponse>
IBufferMessage
IMessage
Inherited Members
Namespace: Couchbase.Protostellar.Search.V1
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class SearchQueryResponse : IMessage<SearchQueryResponse>, IEquatable<SearchQueryResponse>, IDeepCloneable<SearchQueryResponse>, IBufferMessage, IMessage
Constructors
| Edit this page View SourceSearchQueryResponse()
Declaration
public SearchQueryResponse()
SearchQueryResponse(SearchQueryResponse)
Declaration
public SearchQueryResponse(SearchQueryResponse other)
Parameters
Type | Name | Description |
---|---|---|
SearchQueryResponse | other |
Fields
| Edit this page View SourceFacetsFieldNumber
Field number for the "facets" field.
Declaration
public const int FacetsFieldNumber = 2
Field Value
Type | Description |
---|---|
int |
HitsFieldNumber
Field number for the "hits" field.
Declaration
public const int HitsFieldNumber = 1
Field Value
Type | Description |
---|---|
int |
MetaDataFieldNumber
Field number for the "meta_data" field.
Declaration
public const int MetaDataFieldNumber = 3
Field Value
Type | Description |
---|---|
int |
Properties
| Edit this page View SourceDescriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
MessageDescriptor |
Facets
Declaration
public MapField<string, SearchQueryResponse.Types.FacetResult> Facets { get; }
Property Value
Type | Description |
---|---|
MapField<string, SearchQueryResponse.Types.FacetResult> |
Hits
Declaration
public RepeatedField<SearchQueryResponse.Types.SearchQueryRow> Hits { get; }
Property Value
Type | Description |
---|---|
RepeatedField<SearchQueryResponse.Types.SearchQueryRow> |
MetaData
Declaration
public SearchQueryResponse.Types.MetaData MetaData { get; set; }
Property Value
Type | Description |
---|---|
SearchQueryResponse.Types.MetaData |
Parser
Declaration
public static MessageParser<SearchQueryResponse> Parser { get; }
Property Value
Type | Description |
---|---|
MessageParser<SearchQueryResponse> |
Methods
| Edit this page View SourceCalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
Declaration
public int CalculateSize()
Returns
Type | Description |
---|---|
int | The number of bytes required to write this message to a coded output stream. |
Clone()
Creates a deep clone of this object.
Declaration
public SearchQueryResponse Clone()
Returns
Type | Description |
---|---|
SearchQueryResponse | A deep clone of this object. |
Equals(SearchQueryResponse)
Declaration
public bool Equals(SearchQueryResponse other)
Parameters
Type | Name | Description |
---|---|---|
SearchQueryResponse | other |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
object | other |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
| Edit this page View SourceMergeFrom(SearchQueryResponse)
Merges the given message into this one.
Declaration
public void MergeFrom(SearchQueryResponse other)
Parameters
Type | Name | Description |
---|---|---|
SearchQueryResponse | other |
Remarks
See the user guide for precise merge semantics.
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type | Name | Description |
---|---|---|
CodedInputStream | input |
Remarks
See the user guide for precise merge semantics.
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
| Edit this page View SourceWriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type | Name | Description |
---|---|---|
CodedOutputStream | output | Coded output stream to write the data to. Must not be null. |
Implements
Google.Protobuf.IMessage<T>
Google.Protobuf.IDeepCloneable<T>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage