UpdateBucketRequest
extends Message
in package
Generated from protobuf message <code>couchbase.admin.bucket.v1.UpdateBucketRequest</code>
Table of Contents
- $bucket_name : mixed
- Generated from protobuf field <code>string bucket_name = 1;</code>
- $compression_mode : mixed
- Generated from protobuf field <code>optional .couchbase.admin.bucket.v1.CompressionMode compression_mode = 7;</code>
- $eviction_mode : mixed
- Generated from protobuf field <code>optional .couchbase.admin.bucket.v1.EvictionMode eviction_mode = 5;</code>
- $flush_enabled : mixed
- Generated from protobuf field <code>optional bool flush_enabled = 4;</code>
- $max_expiry_secs : mixed
- Generated from protobuf field <code>optional uint32 max_expiry_secs = 6;</code>
- $minimum_durability_level : mixed
- Generated from protobuf field <code>optional .couchbase.kv.v1.DurabilityLevel minimum_durability_level = 8;</code>
- $num_replicas : mixed
- Generated from protobuf field <code>optional uint32 num_replicas = 3;</code>
- $ram_quota_mb : mixed
- Generated from protobuf field <code>optional uint64 ram_quota_mb = 2;</code>
- __construct() : mixed
- Constructor.
- clearCompressionMode() : mixed
- clearEvictionMode() : mixed
- clearFlushEnabled() : mixed
- clearMaxExpirySecs() : mixed
- clearMinimumDurabilityLevel() : mixed
- clearNumReplicas() : mixed
- clearRamQuotaMb() : mixed
- getBucketName() : string
- Generated from protobuf field <code>string bucket_name = 1;</code>
- getCompressionMode() : int
- Generated from protobuf field <code>optional .couchbase.admin.bucket.v1.CompressionMode compression_mode = 7;</code>
- getEvictionMode() : int
- Generated from protobuf field <code>optional .couchbase.admin.bucket.v1.EvictionMode eviction_mode = 5;</code>
- getFlushEnabled() : bool
- Generated from protobuf field <code>optional bool flush_enabled = 4;</code>
- getMaxExpirySecs() : int
- Generated from protobuf field <code>optional uint32 max_expiry_secs = 6;</code>
- getMinimumDurabilityLevel() : int
- Generated from protobuf field <code>optional .couchbase.kv.v1.DurabilityLevel minimum_durability_level = 8;</code>
- getNumReplicas() : int
- Generated from protobuf field <code>optional uint32 num_replicas = 3;</code>
- getRamQuotaMb() : int|string
- Generated from protobuf field <code>optional uint64 ram_quota_mb = 2;</code>
- hasCompressionMode() : mixed
- hasEvictionMode() : mixed
- hasFlushEnabled() : mixed
- hasMaxExpirySecs() : mixed
- hasMinimumDurabilityLevel() : mixed
- hasNumReplicas() : mixed
- hasRamQuotaMb() : mixed
- setBucketName() : $this
- Generated from protobuf field <code>string bucket_name = 1;</code>
- setCompressionMode() : $this
- Generated from protobuf field <code>optional .couchbase.admin.bucket.v1.CompressionMode compression_mode = 7;</code>
- setEvictionMode() : $this
- Generated from protobuf field <code>optional .couchbase.admin.bucket.v1.EvictionMode eviction_mode = 5;</code>
- setFlushEnabled() : $this
- Generated from protobuf field <code>optional bool flush_enabled = 4;</code>
- setMaxExpirySecs() : $this
- Generated from protobuf field <code>optional uint32 max_expiry_secs = 6;</code>
- setMinimumDurabilityLevel() : $this
- Generated from protobuf field <code>optional .couchbase.kv.v1.DurabilityLevel minimum_durability_level = 8;</code>
- setNumReplicas() : $this
- Generated from protobuf field <code>optional uint32 num_replicas = 3;</code>
- setRamQuotaMb() : $this
- Generated from protobuf field <code>optional uint64 ram_quota_mb = 2;</code>
Properties
$bucket_name
Generated from protobuf field <code>string bucket_name = 1;</code>
protected
mixed
$bucket_name
= ''
$compression_mode
Generated from protobuf field <code>optional .couchbase.admin.bucket.v1.CompressionMode compression_mode = 7;</code>
protected
mixed
$compression_mode
= null
$eviction_mode
Generated from protobuf field <code>optional .couchbase.admin.bucket.v1.EvictionMode eviction_mode = 5;</code>
protected
mixed
$eviction_mode
= null
$flush_enabled
Generated from protobuf field <code>optional bool flush_enabled = 4;</code>
protected
mixed
$flush_enabled
= null
$max_expiry_secs
Generated from protobuf field <code>optional uint32 max_expiry_secs = 6;</code>
protected
mixed
$max_expiry_secs
= null
$minimum_durability_level
Generated from protobuf field <code>optional .couchbase.kv.v1.DurabilityLevel minimum_durability_level = 8;</code>
protected
mixed
$minimum_durability_level
= null
$num_replicas
Generated from protobuf field <code>optional uint32 num_replicas = 3;</code>
protected
mixed
$num_replicas
= null
$ram_quota_mb
Generated from protobuf field <code>optional uint64 ram_quota_mb = 2;</code>
protected
mixed
$ram_quota_mb
= null
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type string $bucket_name @type int|string $ram_quota_mb @type int $num_replicas @type bool $flush_enabled @type int $eviction_mode @type int $max_expiry_secs @type int $compression_mode @type int $minimum_durability_level
}
Return values
mixed —clearCompressionMode()
public
clearCompressionMode() : mixed
Return values
mixed —clearEvictionMode()
public
clearEvictionMode() : mixed
Return values
mixed —clearFlushEnabled()
public
clearFlushEnabled() : mixed
Return values
mixed —clearMaxExpirySecs()
public
clearMaxExpirySecs() : mixed
Return values
mixed —clearMinimumDurabilityLevel()
public
clearMinimumDurabilityLevel() : mixed
Return values
mixed —clearNumReplicas()
public
clearNumReplicas() : mixed
Return values
mixed —clearRamQuotaMb()
public
clearRamQuotaMb() : mixed
Return values
mixed —getBucketName()
Generated from protobuf field <code>string bucket_name = 1;</code>
public
getBucketName() : string
Return values
string —getCompressionMode()
Generated from protobuf field <code>optional .couchbase.admin.bucket.v1.CompressionMode compression_mode = 7;</code>
public
getCompressionMode() : int
Return values
int —getEvictionMode()
Generated from protobuf field <code>optional .couchbase.admin.bucket.v1.EvictionMode eviction_mode = 5;</code>
public
getEvictionMode() : int
Return values
int —getFlushEnabled()
Generated from protobuf field <code>optional bool flush_enabled = 4;</code>
public
getFlushEnabled() : bool
Return values
bool —getMaxExpirySecs()
Generated from protobuf field <code>optional uint32 max_expiry_secs = 6;</code>
public
getMaxExpirySecs() : int
Return values
int —getMinimumDurabilityLevel()
Generated from protobuf field <code>optional .couchbase.kv.v1.DurabilityLevel minimum_durability_level = 8;</code>
public
getMinimumDurabilityLevel() : int
Return values
int —getNumReplicas()
Generated from protobuf field <code>optional uint32 num_replicas = 3;</code>
public
getNumReplicas() : int
Return values
int —getRamQuotaMb()
Generated from protobuf field <code>optional uint64 ram_quota_mb = 2;</code>
public
getRamQuotaMb() : int|string
Return values
int|string —hasCompressionMode()
public
hasCompressionMode() : mixed
Return values
mixed —hasEvictionMode()
public
hasEvictionMode() : mixed
Return values
mixed —hasFlushEnabled()
public
hasFlushEnabled() : mixed
Return values
mixed —hasMaxExpirySecs()
public
hasMaxExpirySecs() : mixed
Return values
mixed —hasMinimumDurabilityLevel()
public
hasMinimumDurabilityLevel() : mixed
Return values
mixed —hasNumReplicas()
public
hasNumReplicas() : mixed
Return values
mixed —hasRamQuotaMb()
public
hasRamQuotaMb() : mixed
Return values
mixed —setBucketName()
Generated from protobuf field <code>string bucket_name = 1;</code>
public
setBucketName(string $var) : $this
Parameters
- $var : string
Return values
$this —setCompressionMode()
Generated from protobuf field <code>optional .couchbase.admin.bucket.v1.CompressionMode compression_mode = 7;</code>
public
setCompressionMode(int $var) : $this
Parameters
- $var : int
Return values
$this —setEvictionMode()
Generated from protobuf field <code>optional .couchbase.admin.bucket.v1.EvictionMode eviction_mode = 5;</code>
public
setEvictionMode(int $var) : $this
Parameters
- $var : int
Return values
$this —setFlushEnabled()
Generated from protobuf field <code>optional bool flush_enabled = 4;</code>
public
setFlushEnabled(bool $var) : $this
Parameters
- $var : bool
Return values
$this —setMaxExpirySecs()
Generated from protobuf field <code>optional uint32 max_expiry_secs = 6;</code>
public
setMaxExpirySecs(int $var) : $this
Parameters
- $var : int
Return values
$this —setMinimumDurabilityLevel()
Generated from protobuf field <code>optional .couchbase.kv.v1.DurabilityLevel minimum_durability_level = 8;</code>
public
setMinimumDurabilityLevel(int $var) : $this
Parameters
- $var : int
Return values
$this —setNumReplicas()
Generated from protobuf field <code>optional uint32 num_replicas = 3;</code>
public
setNumReplicas(int $var) : $this
Parameters
- $var : int
Return values
$this —setRamQuotaMb()
Generated from protobuf field <code>optional uint64 ram_quota_mb = 2;</code>
public
setRamQuotaMb(int|string $var) : $this
Parameters
- $var : int|string