Couchbase .NET SDK | 3.9.0
Search Results for

    Show / Hide Table of Contents

    Class UpdateBucketRequest

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

    Constructors

    | Edit this page View Source

    UpdateBucketRequest()

    Declaration
    public UpdateBucketRequest()
    | Edit this page View Source

    UpdateBucketRequest(UpdateBucketRequest)

    Declaration
    public UpdateBucketRequest(UpdateBucketRequest other)
    Parameters
    Type Name Description
    UpdateBucketRequest 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

    CompressionModeFieldNumber

    Field number for the "compression_mode" field.

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

    EvictionModeFieldNumber

    Field number for the "eviction_mode" field.

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

    FlushEnabledFieldNumber

    Field number for the "flush_enabled" field.

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

    MaxExpirySecsFieldNumber

    Field number for the "max_expiry_secs" field.

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

    MinimumDurabilityLevelFieldNumber

    Field number for the "minimum_durability_level" field.

    Declaration
    public const int MinimumDurabilityLevelFieldNumber = 8
    Field Value
    Type Description
    int
    | Edit this page View Source

    NumReplicasFieldNumber

    Field number for the "num_replicas" field.

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

    RamQuotaMbFieldNumber

    Field number for the "ram_quota_mb" field.

    Declaration
    public const int RamQuotaMbFieldNumber = 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

    CompressionMode

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

    Descriptor

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

    EvictionMode

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

    FlushEnabled

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

    HasCompressionMode

    Gets whether the "compression_mode" field is set

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

    HasEvictionMode

    Gets whether the "eviction_mode" field is set

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

    HasFlushEnabled

    Gets whether the "flush_enabled" field is set

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

    HasMaxExpirySecs

    Gets whether the "max_expiry_secs" field is set

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

    HasMinimumDurabilityLevel

    Gets whether the "minimum_durability_level" field is set

    Declaration
    public bool HasMinimumDurabilityLevel { 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

    HasRamQuotaMb

    Gets whether the "ram_quota_mb" field is set

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

    MaxExpirySecs

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

    MinimumDurabilityLevel

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

    NumReplicas

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

    Parser

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

    RamQuotaMb

    Declaration
    public ulong RamQuotaMb { get; set; }
    Property Value
    Type Description
    ulong

    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

    ClearCompressionMode()

    Clears the value of the "compression_mode" field

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

    ClearEvictionMode()

    Clears the value of the "eviction_mode" field

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

    ClearFlushEnabled()

    Clears the value of the "flush_enabled" field

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

    ClearMaxExpirySecs()

    Clears the value of the "max_expiry_secs" field

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

    ClearMinimumDurabilityLevel()

    Clears the value of the "minimum_durability_level" field

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

    ClearNumReplicas()

    Clears the value of the "num_replicas" field

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

    ClearRamQuotaMb()

    Clears the value of the "ram_quota_mb" field

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

    Clone()

    Creates a deep clone of this object.

    Declaration
    public UpdateBucketRequest Clone()
    Returns
    Type Description
    UpdateBucketRequest

    A deep clone of this object.

    | Edit this page View Source

    Equals(UpdateBucketRequest)

    Declaration
    public bool Equals(UpdateBucketRequest other)
    Parameters
    Type Name Description
    UpdateBucketRequest 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(UpdateBucketRequest)

    Merges the given message into this one.

    Declaration
    public void MergeFrom(UpdateBucketRequest other)
    Parameters
    Type Name Description
    UpdateBucketRequest 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.