Couchbase .NET SDK | 3.9.0
Search Results for

    Show / Hide Table of Contents

    Class CreatePrimaryIndexRequest

    Inheritance
    object
    CreatePrimaryIndexRequest
    Implements
    IMessage<CreatePrimaryIndexRequest>
    IEquatable<CreatePrimaryIndexRequest>
    IDeepCloneable<CreatePrimaryIndexRequest>
    IBufferMessage
    IMessage
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Couchbase.Protostellar.Admin.Query.V1
    Assembly: Couchbase.NetClient.dll
    Syntax
    public sealed class CreatePrimaryIndexRequest : IMessage<CreatePrimaryIndexRequest>, IEquatable<CreatePrimaryIndexRequest>, IDeepCloneable<CreatePrimaryIndexRequest>, IBufferMessage, IMessage

    Constructors

    | Edit this page View Source

    CreatePrimaryIndexRequest()

    Declaration
    public CreatePrimaryIndexRequest()
    | Edit this page View Source

    CreatePrimaryIndexRequest(CreatePrimaryIndexRequest)

    Declaration
    public CreatePrimaryIndexRequest(CreatePrimaryIndexRequest other)
    Parameters
    Type Name Description
    CreatePrimaryIndexRequest other

    Fields

    | Edit this page View Source

    BucketNameFieldNumber

    Field number for the "bucket_name" field.

    Declaration
    public const int BucketNameFieldNumber = 1
    Field Value
    Type Description
    int
    | Edit this page View Source

    CollectionNameFieldNumber

    Field number for the "collection_name" field.

    Declaration
    public const int CollectionNameFieldNumber = 3
    Field Value
    Type Description
    int
    | Edit this page View Source

    DeferredFieldNumber

    Field number for the "deferred" field.

    Declaration
    public const int DeferredFieldNumber = 6
    Field Value
    Type Description
    int
    | Edit this page View Source

    IgnoreIfExistsFieldNumber

    Field number for the "ignore_if_exists" field.

    Declaration
    public const int IgnoreIfExistsFieldNumber = 7
    Field Value
    Type Description
    int
    | Edit this page View Source

    NameFieldNumber

    Field number for the "name" field.

    Declaration
    public const int NameFieldNumber = 4
    Field Value
    Type Description
    int
    | Edit this page View Source

    NumReplicasFieldNumber

    Field number for the "num_replicas" field.

    Declaration
    public const int NumReplicasFieldNumber = 5
    Field Value
    Type Description
    int
    | Edit this page View Source

    ScopeNameFieldNumber

    Field number for the "scope_name" field.

    Declaration
    public const int ScopeNameFieldNumber = 2
    Field Value
    Type Description
    int

    Properties

    | Edit this page View Source

    BucketName

    Declaration
    public string BucketName { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    CollectionName

    Declaration
    public string CollectionName { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Deferred

    Declaration
    public bool Deferred { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Descriptor

    Declaration
    public static MessageDescriptor Descriptor { get; }
    Property Value
    Type Description
    MessageDescriptor
    | Edit this page View Source

    HasCollectionName

    Gets whether the "collection_name" field is set

    Declaration
    public bool HasCollectionName { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasDeferred

    Gets whether the "deferred" field is set

    Declaration
    public bool HasDeferred { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasIgnoreIfExists

    Gets whether the "ignore_if_exists" field is set

    Declaration
    public bool HasIgnoreIfExists { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasName

    Gets whether the "name" field is set

    Declaration
    public bool HasName { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasNumReplicas

    Gets whether the "num_replicas" field is set

    Declaration
    public bool HasNumReplicas { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HasScopeName

    Gets whether the "scope_name" field is set

    Declaration
    public bool HasScopeName { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IgnoreIfExists

    Declaration
    public bool IgnoreIfExists { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    NumReplicas

    Declaration
    public int NumReplicas { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Parser

    Declaration
    public static MessageParser<CreatePrimaryIndexRequest> Parser { get; }
    Property Value
    Type Description
    MessageParser<CreatePrimaryIndexRequest>
    | Edit this page View Source

    ScopeName

    Declaration
    public string ScopeName { get; set; }
    Property Value
    Type Description
    string

    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

    ClearCollectionName()

    Clears the value of the "collection_name" field

    Declaration
    public void ClearCollectionName()
    | Edit this page View Source

    ClearDeferred()

    Clears the value of the "deferred" field

    Declaration
    public void ClearDeferred()
    | Edit this page View Source

    ClearIgnoreIfExists()

    Clears the value of the "ignore_if_exists" field

    Declaration
    public void ClearIgnoreIfExists()
    | Edit this page View Source

    ClearName()

    Clears the value of the "name" field

    Declaration
    public void ClearName()
    | Edit this page View Source

    ClearNumReplicas()

    Clears the value of the "num_replicas" field

    Declaration
    public void ClearNumReplicas()
    | Edit this page View Source

    ClearScopeName()

    Clears the value of the "scope_name" field

    Declaration
    public void ClearScopeName()
    | Edit this page View Source

    Clone()

    Creates a deep clone of this object.

    Declaration
    public CreatePrimaryIndexRequest Clone()
    Returns
    Type Description
    CreatePrimaryIndexRequest

    A deep clone of this object.

    | Edit this page View Source

    Equals(CreatePrimaryIndexRequest)

    Declaration
    public bool Equals(CreatePrimaryIndexRequest other)
    Parameters
    Type Name Description
    CreatePrimaryIndexRequest other
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    object other
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    | Edit this page View Source

    MergeFrom(CreatePrimaryIndexRequest)

    Merges the given message into this one.

    Declaration
    public void MergeFrom(CreatePrimaryIndexRequest other)
    Parameters
    Type Name Description
    CreatePrimaryIndexRequest other
    Remarks

    See the user guide for precise merge semantics.

    | Edit this page View Source

    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.

    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    | 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>
    IEquatable<T>
    Google.Protobuf.IDeepCloneable<T>
    Google.Protobuf.IBufferMessage
    Google.Protobuf.IMessage
    • Edit this page
    • View Source
    In this article
    Back to top © 2026 Couchbase, Inc.