Class CreateBucketRequest
Inheritance
CreateBucketRequest
Implements
IBufferMessage
IMessage
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class CreateBucketRequest : IMessage<CreateBucketRequest>, IEquatable<CreateBucketRequest>, IDeepCloneable<CreateBucketRequest>, IBufferMessage, IMessage
Constructors
|
Edit this page
View Source
CreateBucketRequest()
Declaration
public CreateBucketRequest()
|
Edit this page
View Source
CreateBucketRequest(CreateBucketRequest)
Declaration
public CreateBucketRequest(CreateBucketRequest other)
Parameters
Fields
|
Edit this page
View Source
BucketNameFieldNumber
Field number for the "bucket_name" field.
Declaration
public const int BucketNameFieldNumber = 1
Field Value
|
Edit this page
View Source
BucketTypeFieldNumber
Field number for the "bucket_type" field.
Declaration
public const int BucketTypeFieldNumber = 2
Field Value
|
Edit this page
View Source
CompressionModeFieldNumber
Field number for the "compression_mode" field.
Declaration
public const int CompressionModeFieldNumber = 9
Field Value
|
Edit this page
View Source
ConflictResolutionTypeFieldNumber
Field number for the "conflict_resolution_type" field.
Declaration
public const int ConflictResolutionTypeFieldNumber = 12
Field Value
|
Edit this page
View Source
EvictionModeFieldNumber
Field number for the "eviction_mode" field.
Declaration
public const int EvictionModeFieldNumber = 7
Field Value
|
Edit this page
View Source
FlushEnabledFieldNumber
Field number for the "flush_enabled" field.
Declaration
public const int FlushEnabledFieldNumber = 5
Field Value
|
Edit this page
View Source
MaxExpirySecsFieldNumber
Field number for the "max_expiry_secs" field.
Declaration
public const int MaxExpirySecsFieldNumber = 8
Field Value
|
Edit this page
View Source
MinimumDurabilityLevelFieldNumber
Field number for the "minimum_durability_level" field.
Declaration
public const int MinimumDurabilityLevelFieldNumber = 10
Field Value
|
Edit this page
View Source
NumReplicasFieldNumber
Field number for the "num_replicas" field.
Declaration
public const int NumReplicasFieldNumber = 4
Field Value
|
Edit this page
View Source
RamQuotaMbFieldNumber
Field number for the "ram_quota_mb" field.
Declaration
public const int RamQuotaMbFieldNumber = 3
Field Value
|
Edit this page
View Source
ReplicaIndexesFieldNumber
Field number for the "replica_indexes" field.
Declaration
public const int ReplicaIndexesFieldNumber = 6
Field Value
|
Edit this page
View Source
StorageBackendFieldNumber
Field number for the "storage_backend" field.
Declaration
public const int StorageBackendFieldNumber = 11
Field Value
Properties
|
Edit this page
View Source
BucketName
Declaration
public string BucketName { get; set; }
Property Value
|
Edit this page
View Source
BucketType
Declaration
public BucketType BucketType { get; set; }
Property Value
|
Edit this page
View Source
CompressionMode
Declaration
public CompressionMode CompressionMode { get; set; }
Property Value
|
Edit this page
View Source
ConflictResolutionType
Declaration
public ConflictResolutionType ConflictResolutionType { 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
EvictionMode
Declaration
public EvictionMode EvictionMode { get; set; }
Property Value
|
Edit this page
View Source
FlushEnabled
Declaration
public bool FlushEnabled { get; set; }
Property Value
|
Edit this page
View Source
HasCompressionMode
Gets whether the "compression_mode" field is set
Declaration
public bool HasCompressionMode { get; }
Property Value
|
Edit this page
View Source
HasConflictResolutionType
Gets whether the "conflict_resolution_type" field is set
Declaration
public bool HasConflictResolutionType { get; }
Property Value
|
Edit this page
View Source
HasEvictionMode
Gets whether the "eviction_mode" field is set
Declaration
public bool HasEvictionMode { get; }
Property Value
|
Edit this page
View Source
HasFlushEnabled
Gets whether the "flush_enabled" field is set
Declaration
public bool HasFlushEnabled { get; }
Property Value
|
Edit this page
View Source
HasMaxExpirySecs
Gets whether the "max_expiry_secs" field is set
Declaration
public bool HasMaxExpirySecs { get; }
Property Value
|
Edit this page
View Source
HasMinimumDurabilityLevel
Gets whether the "minimum_durability_level" field is set
Declaration
public bool HasMinimumDurabilityLevel { get; }
Property Value
|
Edit this page
View Source
HasNumReplicas
Gets whether the "num_replicas" field is set
Declaration
public bool HasNumReplicas { get; }
Property Value
|
Edit this page
View Source
HasRamQuotaMb
Gets whether the "ram_quota_mb" field is set
Declaration
public bool HasRamQuotaMb { get; }
Property Value
|
Edit this page
View Source
HasReplicaIndexes
Gets whether the "replica_indexes" field is set
Declaration
public bool HasReplicaIndexes { get; }
Property Value
|
Edit this page
View Source
HasStorageBackend
Gets whether the "storage_backend" field is set
Declaration
public bool HasStorageBackend { get; }
Property Value
|
Edit this page
View Source
MaxExpirySecs
Declaration
public uint MaxExpirySecs { get; set; }
Property Value
|
Edit this page
View Source
MinimumDurabilityLevel
Declaration
public DurabilityLevel MinimumDurabilityLevel { get; set; }
Property Value
|
Edit this page
View Source
NumReplicas
Declaration
public uint NumReplicas { get; set; }
Property Value
|
Edit this page
View Source
Parser
Declaration
public static MessageParser<CreateBucketRequest> Parser { get; }
Property Value
|
Edit this page
View Source
RamQuotaMb
Declaration
public ulong RamQuotaMb { get; set; }
Property Value
|
Edit this page
View Source
ReplicaIndexes
Declaration
public bool ReplicaIndexes { get; set; }
Property Value
|
Edit this page
View Source
StorageBackend
Declaration
public StorageBackend StorageBackend { 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
ClearCompressionMode()
Clears the value of the "compression_mode" field
Declaration
public void ClearCompressionMode()
|
Edit this page
View Source
ClearConflictResolutionType()
Clears the value of the "conflict_resolution_type" field
Declaration
public void ClearConflictResolutionType()
|
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
ClearReplicaIndexes()
Clears the value of the "replica_indexes" field
Declaration
public void ClearReplicaIndexes()
|
Edit this page
View Source
ClearStorageBackend()
Clears the value of the "storage_backend" field
Declaration
public void ClearStorageBackend()
|
Edit this page
View Source
Clone()
Creates a deep clone of this object.
Declaration
public CreateBucketRequest Clone()
Returns
|
Edit this page
View Source
Equals(CreateBucketRequest)
Declaration
public bool Equals(CreateBucketRequest 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(CreateBucketRequest)
Merges the given message into this one.
Declaration
public void MergeFrom(CreateBucketRequest 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