Class Index
Implements
IBufferMessage
IMessage
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class Index : IMessage<Index>, IEquatable<Index>, IDeepCloneable<Index>, IBufferMessage, IMessage
Constructors
|
Edit this page
View Source
Index()
Declaration
|
Edit this page
View Source
Index(Index)
Declaration
public Index(Index other)
Parameters
Type |
Name |
Description |
Index |
other |
|
Fields
|
Edit this page
View Source
NameFieldNumber
Field number for the "name" field.
Declaration
public const int NameFieldNumber = 1
Field Value
|
Edit this page
View Source
ParamsFieldNumber
Field number for the "params" field.
Declaration
public const int ParamsFieldNumber = 2
Field Value
|
Edit this page
View Source
PlanParamsFieldNumber
Field number for the "plan_params" field.
Declaration
public const int PlanParamsFieldNumber = 3
Field Value
|
Edit this page
View Source
SourceNameFieldNumber
Field number for the "source_name" field.
Declaration
public const int SourceNameFieldNumber = 4
Field Value
|
Edit this page
View Source
SourceParamsFieldNumber
Field number for the "source_params" field.
Declaration
public const int SourceParamsFieldNumber = 5
Field Value
|
Edit this page
View Source
SourceTypeFieldNumber
Field number for the "source_type" field.
Declaration
public const int SourceTypeFieldNumber = 6
Field Value
|
Edit this page
View Source
SourceUuidFieldNumber
Field number for the "source_uuid" field.
Declaration
public const int SourceUuidFieldNumber = 7
Field Value
|
Edit this page
View Source
TypeFieldNumber
Field number for the "type" field.
Declaration
public const int TypeFieldNumber = 8
Field Value
|
Edit this page
View Source
UuidFieldNumber
Field number for the "uuid" field.
Declaration
public const int UuidFieldNumber = 9
Field Value
Properties
|
Edit this page
View Source
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
MessageDescriptor |
|
|
Edit this page
View Source
HasSourceName
Gets whether the "source_name" field is set
Declaration
public bool HasSourceName { get; }
Property Value
|
Edit this page
View Source
HasSourceType
Gets whether the "source_type" field is set
Declaration
public bool HasSourceType { get; }
Property Value
|
Edit this page
View Source
HasSourceUuid
Gets whether the "source_uuid" field is set
Declaration
public bool HasSourceUuid { get; }
Property Value
|
Edit this page
View Source
Name
Declaration
public string Name { get; set; }
Property Value
|
Edit this page
View Source
Params
Declaration
public MapField<string, ByteString> Params { get; }
Property Value
Type |
Description |
MapField<string, ByteString> |
|
|
Edit this page
View Source
Parser
Declaration
public static MessageParser<Index> Parser { get; }
Property Value
Type |
Description |
MessageParser<Index> |
|
|
Edit this page
View Source
PlanParams
Declaration
public MapField<string, ByteString> PlanParams { get; }
Property Value
Type |
Description |
MapField<string, ByteString> |
|
|
Edit this page
View Source
SourceName
Declaration
public string SourceName { get; set; }
Property Value
|
Edit this page
View Source
SourceParams
Declaration
public MapField<string, ByteString> SourceParams { get; }
Property Value
Type |
Description |
MapField<string, ByteString> |
|
|
Edit this page
View Source
SourceType
Declaration
public string SourceType { get; set; }
Property Value
|
Edit this page
View Source
SourceUuid
Declaration
public string SourceUuid { get; set; }
Property Value
|
Edit this page
View Source
Type
Declaration
public string Type { get; set; }
Property Value
|
Edit this page
View Source
Uuid
Declaration
public string Uuid { 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
ClearSourceName()
Clears the value of the "source_name" field
Declaration
public void ClearSourceName()
|
Edit this page
View Source
ClearSourceType()
Clears the value of the "source_type" field
Declaration
public void ClearSourceType()
|
Edit this page
View Source
ClearSourceUuid()
Clears the value of the "source_uuid" field
Declaration
public void ClearSourceUuid()
|
Edit this page
View Source
Clone()
Creates a deep clone of this object.
Declaration
Returns
Type |
Description |
Index |
A deep clone of this object.
|
|
Edit this page
View Source
Equals(Index)
Declaration
public bool Equals(Index other)
Parameters
Type |
Name |
Description |
Index |
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(Index)
Merges the given message into this one.
Declaration
public void MergeFrom(Index other)
Parameters
Type |
Name |
Description |
Index |
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