Class CreateIndexRequest
CreateIndexRequest does not use Index because of the uuid field.
Inheritance
CreateIndexRequest
Implements
IBufferMessage
IMessage
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class CreateIndexRequest : IMessage<CreateIndexRequest>, IEquatable<CreateIndexRequest>, IDeepCloneable<CreateIndexRequest>, IBufferMessage, IMessage
Constructors
|
Edit this page
View Source
CreateIndexRequest()
Declaration
public CreateIndexRequest()
|
Edit this page
View Source
CreateIndexRequest(CreateIndexRequest)
Declaration
public CreateIndexRequest(CreateIndexRequest other)
Parameters
Fields
|
Edit this page
View Source
BucketNameFieldNumber
Field number for the "bucket_name" field.
Declaration
public const int BucketNameFieldNumber = 10
Field Value
|
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
PrevIndexUuidFieldNumber
Field number for the "prev_index_uuid" field.
Declaration
public const int PrevIndexUuidFieldNumber = 4
Field Value
|
Edit this page
View Source
ScopeNameFieldNumber
Field number for the "scope_name" field.
Declaration
public const int ScopeNameFieldNumber = 11
Field Value
|
Edit this page
View Source
SourceNameFieldNumber
Field number for the "source_name" field.
Declaration
public const int SourceNameFieldNumber = 5
Field Value
|
Edit this page
View Source
SourceParamsFieldNumber
Field number for the "source_params" field.
Declaration
public const int SourceParamsFieldNumber = 6
Field Value
|
Edit this page
View Source
SourceTypeFieldNumber
Field number for the "source_type" field.
Declaration
public const int SourceTypeFieldNumber = 7
Field Value
|
Edit this page
View Source
SourceUuidFieldNumber
Field number for the "source_uuid" field.
Declaration
public const int SourceUuidFieldNumber = 8
Field Value
|
Edit this page
View Source
TypeFieldNumber
Field number for the "type" field.
Declaration
public const int TypeFieldNumber = 9
Field Value
Properties
|
Edit this page
View Source
BucketName
Declaration
public string BucketName { 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
HasBucketName
Gets whether the "bucket_name" field is set
Declaration
public bool HasBucketName { get; }
Property Value
|
Edit this page
View Source
HasPrevIndexUuid
Gets whether the "prev_index_uuid" field is set
Declaration
public bool HasPrevIndexUuid { get; }
Property Value
|
Edit this page
View Source
HasScopeName
Gets whether the "scope_name" field is set
Declaration
public bool HasScopeName { get; }
Property Value
|
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<CreateIndexRequest> Parser { get; }
Property Value
|
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
PrevIndexUuid
Declaration
public string PrevIndexUuid { get; set; }
Property Value
|
Edit this page
View Source
ScopeName
Declaration
public string ScopeName { get; set; }
Property Value
|
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
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
ClearBucketName()
Clears the value of the "bucket_name" field
Declaration
public void ClearBucketName()
|
Edit this page
View Source
ClearPrevIndexUuid()
Clears the value of the "prev_index_uuid" field
Declaration
public void ClearPrevIndexUuid()
|
Edit this page
View Source
ClearScopeName()
Clears the value of the "scope_name" field
Declaration
public void ClearScopeName()
|
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
public CreateIndexRequest Clone()
Returns
|
Edit this page
View Source
Equals(CreateIndexRequest)
Declaration
public bool Equals(CreateIndexRequest other)
Parameters
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(CreateIndexRequest)
Merges the given message into this one.
Declaration
public void MergeFrom(CreateIndexRequest other)
Parameters
|
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