Class Facet
Implements
IBufferMessage
IMessage
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class Facet : IMessage<Facet>, IEquatable<Facet>, IDeepCloneable<Facet>, IBufferMessage, IMessage
Constructors
|
Edit this page
View Source
Facet()
Declaration
|
Edit this page
View Source
Facet(Facet)
Declaration
public Facet(Facet other)
Parameters
Type |
Name |
Description |
Facet |
other |
|
Fields
|
Edit this page
View Source
DateRangeFacetFieldNumber
Field number for the "date_range_facet" field.
Declaration
public const int DateRangeFacetFieldNumber = 1
Field Value
|
Edit this page
View Source
NumericRangeFacetFieldNumber
Field number for the "numeric_range_facet" field.
Declaration
public const int NumericRangeFacetFieldNumber = 2
Field Value
|
Edit this page
View Source
TermFacetFieldNumber
Field number for the "term_facet" field.
Declaration
public const int TermFacetFieldNumber = 3
Field Value
Properties
|
Edit this page
View Source
DateRangeFacet
Declaration
public DateRangeFacet DateRangeFacet { get; set; }
Property Value
|
Edit this page
View Source
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
MessageDescriptor |
|
|
Edit this page
View Source
FacetCase
Declaration
public Facet.FacetOneofCase FacetCase { get; }
Property Value
|
Edit this page
View Source
NumericRangeFacet
Declaration
public NumericRangeFacet NumericRangeFacet { get; set; }
Property Value
|
Edit this page
View Source
Parser
Declaration
public static MessageParser<Facet> Parser { get; }
Property Value
Type |
Description |
MessageParser<Facet> |
|
|
Edit this page
View Source
TermFacet
Declaration
public TermFacet TermFacet { get; set; }
Property Value
Methods
|
Edit this page
View Source
CalculateSize()
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.
|
|
Edit this page
View Source
ClearFacet()
Declaration
|
Edit this page
View Source
Clone()
Creates a deep clone of this object.
Declaration
Returns
Type |
Description |
Facet |
A deep clone of this object.
|
|
Edit this page
View Source
Equals(Facet)
Declaration
public bool Equals(Facet other)
Parameters
Type |
Name |
Description |
Facet |
other |
|
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
object |
other |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
MergeFrom(Facet)
Merges the given message into this one.
Declaration
public void MergeFrom(Facet other)
Parameters
Type |
Name |
Description |
Facet |
other |
|
|
Edit this page
View Source
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 |
|
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Edit this page
View Source
WriteTo(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